Method and apparatus for displaying indicator mark, and device and storage medium
Patent Information
- Application Number
- PCT/CN2026/084649
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-04-15
- Filing Date
- 2026-03-19
- Publication Date
- 2026-10-22
Smart Images

Figure CN2026084649_22102026_PF_FP_ABST
Abstract
Description
Methods, devices, equipment and storage media for displaying indicators
[0001] This application claims priority to Chinese Patent Application No. 202510472369.0, filed on April 15, 2025, entitled “Method, Apparatus, Device and Storage Medium for Displaying Indicators”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of computer technology, and in particular to a method, apparatus, device and storage medium for displaying indicators. Background Technology
[0003] In multiplayer cooperative SLG (Simulation Game) territory defense virtual scenarios, users typically need to cooperate closely with teammates to gain a combat advantage. For this close cooperation, users generally need to obtain information about the actions of their teammates to ensure consistency in their objectives. Therefore, a method for displaying indicators is needed to allow users to obtain information about their teammates' actions. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for displaying indicators, which improves information transmission efficiency while ensuring the interface display effect. The technical solution provided by this application is as follows.
[0005] According to one aspect of the embodiments of this application, a method for displaying an indicator is provided, executed by a computer device, the method comprising:
[0006] Display a virtual scene, which includes the territories of multiple factions;
[0007] If at least one user in the target faction has allocated resources to initiate an interactive action in the virtual scene, an indicator is displayed in the virtual scene. The indicator points from the territory of the target faction to the target area of the interactive action. The display effect of the indicator is related to a first quantity, which is the number of resources allocated in the target faction.
[0008] The target faction refers to the faction to which the terminal login user belongs.
[0009] According to another aspect of the embodiments of this application, a display device for an indicator is provided, the device comprising:
[0010] The first display module is used to display a virtual scene, which includes the territories of multiple factions.
[0011] The second display module is used to display an indicator in the virtual scene if at least one user in the target faction has scheduled resources to initiate an interactive behavior in the virtual scene. The indicator points from the territory of the target faction to the target area of the interactive behavior. The display effect of the indicator is related to a first quantity, which is the number of resources scheduled in the target faction.
[0012] The target faction refers to the faction to which the terminal login user belongs.
[0013] In some embodiments, the second display module is configured to:
[0014] The indicator is displayed in the virtual scene based on the ratio between the first quantity and the second quantity, where the second quantity is the total number of resources that can be deployed in the target camp, and the display effect of the indicator is positively correlated with the ratio.
[0015] In some embodiments, the resources scheduled in the target camp include at least one type of resource, and resources of the same type have the same resource unit value. The second display module is used for:
[0016] The indicator is displayed in the virtual scene based on the ratio between the first total resource value and the second total resource value, and the display effect of the indicator is positively correlated with the ratio.
[0017] Wherein, the first total resource value is the sum of the resource aggregate values of all types of resources that are scheduled, the resource aggregate value of each type of resource is the product of the quantity of that type of resource and the resource unit value of that type of resource, and the second total resource value is the sum of the resource aggregate values of all types of resources under the target camp.
[0018] In some embodiments, the second display module is configured to:
[0019] An indicator for a first display effect is displayed in the virtual scene. The first display effect is obtained by adjusting a preset display effect based on the ratio.
[0020] In some embodiments, the virtual scene may further display at least one of the following: the first quantity; the second quantity; the ratio between the first quantity and the second quantity; the first total resource value; the second total resource value; and the ratio between the first total resource value and the second total resource value.
[0021] In some embodiments, the second display module is configured to:
[0022] In the virtual scene, an indicator pointing from the first position to the second position is displayed;
[0023] Wherein, the first position is any one of the following: the position on the boundary of the target camp's territory, the center of the target camp's territory, or a marker point in the target camp's territory;
[0024] The second position is any one of the following: the position on the boundary of the target area, the center of the target area, or a marker point of the target area.
[0025] In some embodiments, when the first position belongs to the territory boundary and the second position does not belong to the area boundary, the first position is the closest position on the territory boundary to the second position; when the second position belongs to the area boundary and the first position does not belong to the territory boundary, the second position is the closest position on the area boundary to the first position; when the first position belongs to the territory boundary and the second position belongs to the area boundary, the first position and the second position are the two closest positions between the territory boundary and the area boundary.
[0026] In some embodiments, the territory of the target faction includes the sub-territories of each user in the target faction, and the second display module is configured to:
[0027] In the virtual scene, indicator markers pointing from each target sub-territory to the target area are displayed. Each target sub-territory is a sub-territory of each user performing a scheduling operation. The display effect of the indicator markers corresponding to each target sub-territory is related to the number of resources initiating interactive behavior in the target sub-territory.
[0028] In some embodiments, the second display module is configured to:
[0029] For each target sub-territory, an indicator pointing from the third position to the fourth position is displayed in the virtual scene;
[0030] The third position is any one of the following: the position on the boundary of the target sub-territory, the center of the target sub-territory, or the marker point of the target sub-territory;
[0031] The fourth position is any one of the following: the position on the boundary of the target area, the center of the target area, or a marker point of the target area.
[0032] In some embodiments, when the third position belongs to the sub-territory boundary and the fourth position does not belong to the region boundary, the third position is the closest position on the sub-territory boundary to the fourth position; when the fourth position belongs to the region boundary and the third position does not belong to the sub-territory boundary, the fourth position is the closest position on the region boundary to the third position; when the third position belongs to the sub-territory boundary and the fourth position belongs to the region boundary, the third position and the fourth position are the two closest positions between the sub-territory boundary and the region boundary.
[0033] In some embodiments, the target faction's territory comprises multiple plots, and the second display module is configured to:
[0034] In the virtual scene, an indicator pointing from the first territory to the target area is displayed. The first territory is the territory closest to the target area among the multiple territories of the target faction.
[0035] In some embodiments, the target faction has multiple territories containing the resources being deployed, and the second display module is configured to:
[0036] Multiple first indicator icons are displayed in the virtual scene. These first indicator icons point to the target area from multiple second territories. The multiple second territories are the territories where the scheduled resources are located. The display effect of the first indicator icon corresponding to each second territory is related to the number of resources that initiate interactive behavior in the second territory.
[0037] In some embodiments, the target area comprises multiple blocks, and the second display module is configured to:
[0038] Multiple second indicator markers are displayed in the virtual scene. These multiple second indicator markers point from the territory of the target faction to multiple target areas respectively. The display effect of the second indicator marker corresponding to each target area is related to the number of resources in the scheduled resources that initiate interactive behavior to the target area.
[0039] In some embodiments, the display effect of the indicator is varied by adjusting at least one of the indicator's size, color, brightness, and transparency.
[0040] In some embodiments, the indicator is an arrowed line, and the size of the indicator includes at least one of the width of the line and the size of the arrow.
[0041] In some embodiments, the line is an arc, with the two ends of the arc pointing to the territory of the target faction and the target area, respectively;
[0042] Alternatively, the line may be a straight line, with its two ends pointing to the territory of the target faction and the target area, respectively.
[0043] Alternatively, the line may be a curve along a road between the territory of the target faction and the target area.
[0044] In some embodiments, the second display module is further configured to:
[0045] If the resources scheduled by the user in the target camp change, the indicator displayed in the virtual scene will change, and the change may include at least one of the changes in display effect and direction.
[0046] In some embodiments, the second display module is configured to:
[0047] If the resources allocated by users in the target camp increase, the display effect of the indicator in the virtual scene will be higher than the previous display effect.
[0048] In some embodiments, the second display module is configured to:
[0049] If the resources allocated by users in the target camp are reduced, the display effect of the indicator in the virtual scene will be lower than the original display effect.
[0050] In some embodiments, the second display module is configured to:
[0051] If the target area for user resource scheduling and interactive behavior in the target camp is adjusted, the indicator in the virtual scene will be displayed pointing to the adjusted target area.
[0052] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory being used to store a computer program, the computer program being loaded and executed by the processor to implement the method for displaying the indicator in the embodiments of this application.
[0053] On the other hand, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, the computer program being loaded and executed by a processor to implement the method for displaying the indicator in the embodiments of this application.
[0054] On the other hand, a computer program product is provided, the computer program product including a computer program stored in a computer-readable storage medium, a processor of a computer device reading the computer program from the computer-readable storage medium, the processor executing the computer program, causing the computer device to perform the indicator display method described in any of the above implementations.
[0055] This application provides a method for displaying an indicator. When a user in a target faction schedules resources to initiate an interactive action, an indicator is displayed. This indicator points from the target faction's territory to the target area of the interactive action, thus achieving a visual presentation of the interaction direction at the faction level. Compared to the traditional method of indicating the scheduling behavior of each user, the current method avoids displaying too many elements in the virtual scene to convey information, avoids visual interference caused by redundant information, and reduces the obstruction of the virtual scene interface. It is obviously more efficient, intuitive, and concise, improving the efficiency of information transmission. At the same time, the display effect of the indicator is associated with the amount of resources scheduled in the target faction, indicating the scale of resource investment without additional information. This allows users to quickly perceive how many resources the target faction has scheduled to initiate an interactive action in the target area simply through this indicator, further improving the efficiency of information transmission while ensuring the interface display effect. Attached Figure Description
[0056] Figure 1 is a schematic diagram of the implementation environment of a solution provided in an embodiment of this application;
[0057] Figure 2 is a schematic diagram of the implementation environment of a solution provided in an embodiment of this application;
[0058] Figure 3 is a flowchart of a method for displaying an indicator according to an embodiment of this application;
[0059] Figure 4 is a schematic diagram of multiple territories provided in one embodiment of this application;
[0060] Figure 5 is a flowchart of a method for displaying an indicator according to an embodiment of this application;
[0061] Figure 6 is a schematic diagram of the preset display effect of an indicator provided in an embodiment of this application;
[0062] Figure 7 is a schematic diagram of different shapes of indicator marks provided in one embodiment of this application;
[0063] Figure 8 is a schematic diagram of various locations of an indicator provided in one embodiment of this application;
[0064] Figure 9 is a schematic diagram of a plurality of indicator marks provided in one embodiment of this application;
[0065] Figure 10 is a schematic diagram of a plurality of indicator marks provided in one embodiment of this application;
[0066] Figure 11 is a schematic diagram of a plurality of indicator marks provided in one embodiment of this application;
[0067] Figure 12 is a schematic diagram showing the variation of the indicator provided in one embodiment of this application;
[0068] Figure 13 is a flowchart illustrating the variation of an indicator provided in one embodiment of this application;
[0069] Figure 14 is a block diagram of an indicator display device provided in one embodiment of this application;
[0070] Figure 15 is a schematic diagram of the structure of a terminal provided in an embodiment of this application;
[0071] Figure 16 is a schematic diagram of the structure of a server provided in one embodiment of this application. Detailed Implementation
[0072] 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.
[0073] Figure 1 shows a structural block diagram of a computer system provided in an exemplary embodiment of this application. The computer system 100 includes a terminal 110 and a server 120.
[0074] Terminal 110 has a client 111 installed and running that supports virtual scenes. This client 111 can be a multiplayer online battle arena program. When the terminal runs the client 111, the user interface of the client 111 is displayed on the screen of terminal 110. The client 111 can be any of the following: battle royale shooting game, virtual reality (VR) application, augmented reality (AR) program, 3D mapping program, virtual reality game, augmented reality game, casual game, party game, first-person shooter (FPS) game, third-person shooter (TPS) game, multiplayer online battle arena (MOBA) game, or simulation game (SLG). In this embodiment, the client 111 is an SLG game as an example. Terminal 110 is the terminal used by terminal login user 112, who uses terminal 110 to schedule interactive actions with virtual objects located in the virtual scene. Interactive behaviors performed by virtual objects include, but are not limited to, at least one of the following: moving, jumping, teleporting, using items, adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing. For illustrative purposes, virtual objects can be virtual characters, virtual items, or virtual animals. Virtual characters may include virtual cavalry, virtual infantry, or virtual tank soldiers, while virtual items may include virtual tanks, virtual armored vehicles, or virtual weapons.
[0075] Terminal 110 can refer to one of multiple terminals; this embodiment uses only one terminal 110 as an example. The device types of the terminal include at least one of the following: smartphone, tablet computer, e-book reader, MP3 player, MP4 player, laptop computer, and desktop computer. Terminal 110 and other terminals are connected to server 120 via a wireless network or wired network.
[0076] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide backend services for clients supporting a 3D virtual environment. Optionally, server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, server 120 and terminal 110 use a distributed computing architecture for collaborative computing.
[0077] In an illustrative example, server 120 includes a processor 121, a user account database 122, a battle service module 123, and a user-facing input / output interface (I / O interface) 124. The processor 121 loads instructions stored in server 120 and processes data in the user database 122 and battle service module 123. The user database 122 stores user data used by terminal 110 and other terminals, such as user avatars, nicknames, combat power indices, and the service area where users are located. The battle service module 123 provides multiple battle rooms for users to engage in battles, such as 1v1, 3v3, and 5v5 battles. The user-facing I / O interface 124 establishes communication and exchanges data with terminal 110 and / or other terminals via a wireless or wired network.
[0078] The methods provided in this application may be applied to at least one of the following scenarios: virtual reality applications, 3D mapping programs, casual games, party games, first-person shooter (FPS) games, third-person shooter (TPS) games, multiplayer online battle arena (MOBA) games, and simulation games (SLG).
[0079] The embodiment described in Figure 1 above illustrates the entire implementation environment of this application. Based on the above implementation environment, the implementation environment shown in Figure 2 can be provided. In this virtual scene, multiple factions' respective territories 2011, 2012, and 2013 are displayed. If at least one user in the target faction initiates an interactive action by scheduling resources 202 in the virtual scene, an indicator 203 is displayed in the virtual scene. The indicator 203 points from the target faction's territory 2011 to the target area 204 of the interactive action. The display effect of the indicator 203 is related to a first quantity, which is the number of resources 202 scheduled in the target faction.
[0080] The target faction refers to the faction to which the logged-in user belongs, and the resources allocated can be virtual objects within the virtual scene. The display effect of the indicator can be changed by adjusting at least one of the following: size, color, transparency, and brightness.
[0081] In this embodiment, when a user in the target faction schedules resources to initiate an interactive action, an indicator is displayed. This indicator points from the target faction's territory to the target area of the interactive action, thus achieving a visual presentation of the interaction direction at the faction level. Compared to the traditional method of indicating the scheduling behavior of each user individually, the current method avoids displaying too many elements in the virtual scene to convey information, avoids visual interference caused by redundant information, and reduces the obstruction of the virtual scene interface. It is obviously more efficient, intuitive, and concise, improving the efficiency of information transmission. At the same time, the display effect of the indicator is associated with the amount of resources scheduled in the target faction, indicating the scale of resource investment without additional information. This allows users to quickly perceive how many resources the target faction has scheduled to initiate an interactive action in the target area simply through this indicator, further improving the efficiency of information transmission while ensuring the interface display effect.
[0082] Please refer to Figure 3, which is a flowchart of a method for displaying an indicator according to an embodiment of this application. The execution entity for each step of this method can be a computer device, such as a terminal in the computer system shown in Figure 1. This method may include at least one of the following steps 301 to 303.
[0083] 301. The terminal displays a virtual scene, which includes the territories of multiple factions.
[0084] In this embodiment, each faction may have one or more territories, and the size of each territory can be set as needed. If a faction has multiple territories, these territories are not connected to each other in the virtual scene. For example, see Figure 4, which is a schematic diagram of multiple territories provided in an embodiment of this application. The virtual scene includes multiple territories 401 of this faction.
[0085] Each territory within each faction includes sub-territories belonging to at least one user within that faction. The sub-territories within each territory are adjacent to each other. For example, continuing to refer to Figure 4, territory 401 includes multiple adjacent sub-territories 4011.
[0086] Each user in a faction can have one or more sub-territories. If a user in a faction has multiple sub-territories, these sub-territories can be distributed across the same territory within the faction or across different territories within the faction. If multiple sub-territories are located on the same territory within the faction, these sub-territories can be adjacent or non-adjacent, without limitation.
[0087] 302. If at least one user in the target camp has allocated resources to initiate an interactive behavior in the virtual scene, the terminal displays an indicator in the virtual scene. The indicator points from the territory of the target camp to the target area of the interactive behavior. The display effect of the indicator is related to a first quantity, which is the number of resources allocated in the target camp. The target camp is the camp to which the terminal's logged-in user belongs.
[0088] In this embodiment, each user in each faction can allocate resources to initiate interactive actions. The resources they can allocate can be all resources within their faction, or only resources owned by that user. The resources in this embodiment can be virtual objects, and the virtual scene is a virtual space where virtual objects perform virtual activities. Virtual objects can be virtual characters, virtual props, etc. For example, a virtual character can be a virtual soldier, which can further be virtual cavalry, virtual infantry, virtual tank soldiers, etc. Virtual props can be virtual offensive equipment, which can further be virtual tanks, virtual armored vehicles, virtual weapons, etc.
[0089] Virtual objects can use virtual items to interact with other virtual objects. For example, a virtual object can use virtual weapons such as shooting tools, daggers, knives, swords, and axes to damage other virtual objects. Virtual items can also be directly controlled by the user without requiring the configuration of virtual objects. For instance, a user can directly control a virtual tank to initiate interactive actions without requiring a virtual object to control the virtual tank.
[0090] Each user can allocate one or more resources, or allocate some or all of their owned resources. Users can initiate interactive actions against a target area, which can be offensive actions. Upon successful attack, the target area is claimed as territory by the user's faction. Optionally, multiple virtual objects are distributed across the target area. These virtual objects interact with the virtual objects that initiate interactive actions against the target area; in other words, the virtual objects on the target area are used for defense. The target area can be territory belonging to other factions in the virtual scenario, or territory that has not yet been claimed by any faction.
[0091] The target area can be one or more areas, meaning users in the target faction can allocate resources to initiate interactive actions in one or more areas. Since each user can allocate multiple resources, each user can also allocate resources to initiate interactive actions in different target areas, which is not limited here.
[0092] The display effect of the indicator can be varied by adjusting at least one of its size, color, brightness, and transparency. Since the display effect of the indicator is related to the number of resources being scheduled, information about the number of resources being scheduled can be conveyed based on the display effect. For example, the quality of the display effect can be determined by statistically analyzing visual parameters such as size, color, brightness, and transparency. These visual parameters are merely illustrative and do not constitute a limitation.
[0093] Each user's terminal may display only the indicator corresponding to the resources scheduled by their own faction to improve the simplicity of the interface; it may also display the indicator corresponding to the resources scheduled by other factions to improve the richness of the information displayed. This application embodiment does not limit this. The term "at least one user" may or may not include the currently logged-in user; this application embodiment does not limit this.
[0094] This application provides a method for displaying an indicator. When a user in a target faction schedules resources to initiate an interactive action, an indicator is displayed. This indicator points from the target faction's territory to the target area of the interactive action, thus achieving a visual presentation of the interaction direction at the faction level. Compared to the traditional method of indicating the scheduling behavior of each user, the current method avoids displaying too many elements in the virtual scene to convey information, avoids visual interference caused by redundant information, and reduces the obstruction of the virtual scene interface. It is obviously more efficient, intuitive, and concise, improving the efficiency of information transmission. At the same time, the display effect of the indicator is associated with the amount of resources scheduled in the target faction, indicating the scale of resource investment without additional information. This allows users to quickly perceive how many resources the target faction has scheduled to initiate an interactive action in the target area simply through this indicator, further improving the efficiency of information transmission while ensuring the interface display effect.
[0095] In this application embodiment, the process of displaying an indicator is briefly described through the embodiment shown in FIG3 above. The process is further described below through the embodiment shown in FIG5. Referring to FIG5, FIG5 is a flowchart of an indicator display method provided in an embodiment of this application. The executing entity of each step of this method can be a computer device, such as a terminal in the computer system shown in FIG1. The method may include at least one of the following steps 501-504.
[0096] 501. The terminal displays a virtual scene, which includes the territories of multiple factions.
[0097] In the embodiments of this application, step 501 is the same as step 301, and will not be described again here.
[0098] The terminal can display corresponding display effect indicators based on different numerical references, as shown in steps 502 and 503 below.
[0099] 502. If at least one user in the target camp has scheduled resources to initiate an interactive behavior in the virtual scene, the terminal displays an indicator in the virtual scene based on the ratio between the first quantity and the second quantity. The first quantity is the number of resources scheduled in the target camp, and the second quantity is the total number of resources that can be scheduled in the target camp. The indicator points from the territory of the target camp to the target area of the interactive behavior, and the display effect of the indicator is positively correlated with the ratio.
[0100] In this embodiment, the display effect of the indicator can be varied by adjusting at least one of the indicator's size, color, brightness, and transparency. Since the display effect is positively correlated with the ratio between the first quantity and the second quantity, the larger the ratio, the more obvious the display effect, indicating that the proportion of resources currently allocated by this faction to initiate interactive behavior towards the target area is greater than the total resources of this faction.
[0101] The following examples illustrate how display effects can be altered by adjusting the size of the indicator. Since a larger size results in a more pronounced display effect, a larger ratio is needed. Similarly, adjusting the color of the indicator also works: as darker colors result in a more pronounced display effect, a larger ratio is needed. Adjusting the brightness of the indicator further illustrates this: as greater brightness results in a more pronounced display effect, a larger ratio is needed. Finally, adjusting the transparency of the indicator demonstrates how lower transparency results in a more pronounced display effect, thus requiring a larger ratio.
[0102] In some embodiments, a pre-defined correspondence between the ratio and the display effect is established, which facilitates the determination of the display effect based on the correspondence, thereby improving processing efficiency.
[0103] In this embodiment, step 502 implements the process of displaying indicator markers in the virtual scene. In this embodiment, the display effect of the indicator markers is correlated with the ratio of the current resource allocation of the current faction to the total resource quantity of the faction, and this correlation is set to positive. Compared to using only the quantity, this relative ratio can eliminate the problem of numerical incomparability caused by differences in the total resource volume of different factions, and can more accurately reflect the actual mobilization ratio of faction resources. This makes the visual intensity of the indicator markers match the actual level of deployment, improving the intuitiveness and transmission efficiency of the prompt information.
[0104] In some embodiments, the process of the terminal displaying an indicator in a virtual scene further includes the following implementation: the terminal displays an indicator of a first display effect in the virtual scene, wherein the first display effect is obtained by adjusting a preset display effect based on the ratio between a first quantity and a second quantity.
[0105] The preset display effect corresponds to a ratio of 1, i.e., the maximum display effect. Therefore, reducing or decreasing the preset display effect based on the current ratio will yield the display effect corresponding to the current ratio. For example, if the display effect is changed by adjusting the size of the indicator, the preset display effect corresponds to the maximum size of the indicator. Similarly, if the display effect is changed by adjusting the color of the indicator, the preset display effect corresponds to the darkest color of the indicator. Finally, if the display effect is changed by adjusting the brightness of the indicator, the preset display effect corresponds to the maximum brightness of the indicator.
[0106] For example, referring to Figure 6, which is a schematic diagram of the preset display effect of an indicator provided in an embodiment of this application. The example illustrates how the indicator is a line with an arrow, and the display effect is changed by adjusting the size of the indicator. The preset display effect corresponding to a ratio of 1 is also the display effect corresponding to the maximum size of the indicator. Furthermore, the ratio determines the width of the indicator; therefore, adjusting the maximum width of the indicator based on the ratio will adjust the display effect.
[0107] In this embodiment, by pre-setting the display effect of the indicator standard, when determining the display effect based on the ratio, it is only necessary to adjust the preset display effect based on the ratio, thereby improving the efficiency of determining the display effect and thus increasing the display speed of the indicator.
[0108] Optionally, for any two areas in the virtual scene, the display positions and preset display effects of the indicators between these two areas are pre-defined. The two areas are defined as a first area and a second area, respectively. The indicators between these two areas include those pointing from the first area to the second area, and those pointing from the second area to the first area. When subsequently displaying the indicators between any two areas, it is only necessary to adjust the preset display effects of the indicators based on the ratio, without needing to determine the starting and ending points of the indicators, thus improving the display speed.
[0109] In some embodiments, the indicator is a line with an arrow. Accordingly, the size of the indicator includes at least one of the line width and the arrow size. Since the display effect of the indicator varies by adjusting the size of the indicator, optionally, at least one of the line width and the arrow size is related to the amount of resources being scheduled. The length of the line is generally not limited by resources and is determined by the distance between the target faction's territory and the target area.
[0110] In this embodiment, the indicator is a line with an arrow, which can be pointed to by the arrow. The length of the line can indicate the distance between the target camp's territory and the target area. The width of the line and the size of the arrow can indicate the amount of resources being deployed. That is, the size change is directly related to the intensity of resource investment. This indicator can convey as much information as possible, so that users can quickly obtain the scale of interactive behavior and improve the efficiency of information transmission.
[0111] In this embodiment, the indicator is described using a line with an arrow as an example. In other embodiments, the indicator may also be a line with a preset graphic at one end, such as a circle, a pentagram, or a triangle. One end of the indicator points to the territory of the target faction, and the other end points to the target area. If the end with the preset graphic points to the target area, then the other end points to the territory of the target faction; if one end with the preset graphic points to the territory of the target faction, then the other end points to the target area.
[0112] In some embodiments, the width of the center line of the indicator remains constant; in other embodiments, the width of the center line varies, such as the line width gradually decreasing from the start to the end. In some embodiments, the color of the indicator remains constant. In other embodiments, the color of the indicator is a gradient, such as the color of the indicator gradually deepening from the start to the end.
[0113] The indicator is a line with an arrow, which can have different shapes, including the following implementation methods: the line is an arc, with the two ends of the arc pointing to the territory of the target faction and the target area respectively; or, the line is a straight line, with the two ends of the straight line pointing to the territory of the target faction and the target area respectively; or, the line is a curve along the road between the territory of the target faction and the target area.
[0114] In this embodiment, there may be obstacles between different areas in the virtual scene, such as virtual rivers and virtual mountains. Therefore, setting up roads between different areas in the virtual scene allows scheduled resources to move between the two areas along the roads. Resources in the virtual scene travel from one area to another along the roads, and the indicator lines follow the roads between the target faction's territory and the target area. This indicator further indicates the route of the scheduled resources, further improving information transmission efficiency. Additionally, the indicator lines are curved, improving the aesthetics of the indicator and thus enhancing the interface display effect. Straight lines are simple and intuitive, allowing users to quickly understand the direction of the indicator's ends, improving information transmission efficiency.
[0115] By offering a variety of line types, such as straight lines, arcs, or curves along roads between the territory and the target area, it can adapt to the style and terrain rules of different virtual scenes. This not only improves the integration of signage with the scene, but also allows the curves along the road to reflect the actual travel path within the virtual scene, making directional indications more consistent with the scene logic and improving the intuitiveness and efficiency of information transmission.
[0116] For example, referring to Figure 7, which is a schematic diagram of different shapes of indicator signs provided in one embodiment of this application. Figure 7(a) shows an indicator sign with a straight line, Figure 7(b) shows an indicator sign with an arc line, and Figure 7(c) shows an indicator sign with a curve along a road.
[0117] Optionally, preset display effects for directional signs along roads in different areas of the virtual scene are preset, and then the preset display effects of directional signs along roads can be adjusted based on the ratio to obtain the display effect corresponding to the ratio, thereby improving processing efficiency.
[0118] In some embodiments, the terminal also displays at least one of a first quantity, a second quantity, and a ratio between the first quantity and the second quantity in a virtual scene.
[0119] In this embodiment, this complements the visual cues of the indicator signs, not only meeting the user's need to quickly scan and obtain intuitive information, but also providing precise values for the user to make in-depth judgments, improving the completeness and flexibility of information display in the virtual scene, adapting to the information acquisition habits of different users, and further improving the efficiency of information transmission.
[0120] 503. If at least one user in the target camp has scheduled resources to initiate an interactive behavior in the virtual scene, the terminal displays an indicator in the virtual scene based on the ratio between the first total resource value and the second total resource value. The first total resource value is the sum of the resource summation values of all types of resources scheduled. The resource summation value of each type of resource is the product of the quantity of that type of resource and the resource unit value of that type of resource. The second total resource value is the sum of the resource summation values of all types of resources under the target camp. The indicator points from the territory of the target camp to the target area of the interactive behavior. The display effect of the indicator is positively correlated with the ratio.
[0121] In this embodiment, the resources deployed within the target camp include at least one type of resource, with resources of the same type having the same resource unit value. In this embodiment, the deployed resources are virtual objects, and the resource type to which the virtual objects belong can be virtual cavalry, virtual infantry, virtual tank crew, virtual tanks, virtual armored vehicles, virtual weapons, etc. Resources of the same type have the same resource unit value; for example, each virtual cavalryman has a resource unit value of 10, and each virtual infantryman has a resource unit value of 5.
[0122] In this embodiment of the application, the display effect is determined based on the ratio corresponding to the number of resources in step 502. Optionally, step 502 is illustrated using the example of each resource having the same resource unit value.
[0123] In this embodiment, for situations where the target faction possesses multiple types of resources of different values, a unified resource unit value for resources of the same type is introduced. The display effect of the indicator is controlled by determining the ratio of the total resource value of all types of resources already deployed to the total resource value of the faction. This achieves unified weighted quantification of different strategic resources, making the indicator not only reflect the quantity of resources but also more accurately reflect the overall investment intensity of the faction. In other words, the total resource value deployed is directly related to the interaction result; the larger the total resource value, the greater the probability of victory and the shorter the time required. Therefore, displaying the indicator based on the ratio between total resource values allows for a more accurate indication of the proportion of resources deployed by the faction, increasing the reference value of the indicator and further improving the accuracy of information transmission.
[0124] In some embodiments, the terminal displays an indicator of a first display effect in a virtual scene. The first display effect is obtained by adjusting a preset display effect based on the ratio between a first total resource value and a second total resource value. The implementation of this process is the same as the corresponding process in step 502, and will not be described again here.
[0125] In some embodiments, the terminal also displays at least one of the following in the virtual scene: a first total resource value, a second total resource value, and a ratio between the first total resource value and the second total resource value.
[0126] In this embodiment, this complements the visual cues of the indicator signs, not only meeting the user's need to quickly scan and obtain intuitive information, but also providing precise values for the user to make in-depth judgments, improving the completeness and flexibility of information display in the virtual scene, adapting to the information acquisition habits of different users, and further improving the efficiency of information transmission.
[0127] In this embodiment of the application, the display effect of the indicator is described through the above steps 502 and 503. Steps 502 and 503 are optional implementation methods. The sequence numbers are only for ease of description and are not used to limit the execution order.
[0128] Both ratios can be determined by the terminal or by the server. Specifically, in response to at least one user in the target group initiating an interactive action by allocating resources, the server determines the corresponding ratio and sends it to the terminal, which then determines the display effect of the indicator based on the ratio. Alternatively, the server determines the display effect of the indicator based on the ratio, sends the display effect data to the terminal, and the terminal displays the indicator corresponding to the desired effect.
[0129] The display location and number of signs can be implemented in various ways, which will be introduced below.
[0130] In this embodiment of the application, the indicator points from the territory of the target faction to the target area. Since there are multiple locations on both the territory of the target faction and the target area, the starting and ending positions of the indicator can also be varied.
[0131] In some embodiments, an indicator pointing from a first location to a second location is displayed in the virtual scene. The first location is any one of the following: a location on the boundary of the target faction's territory, the center of the target faction's territory, or a marker point on the target faction's territory; the second location is any one of the following: a location on the boundary of the target area, the center of the target area, or a marker point on the target area.
[0132] In this embodiment, the indicator points from the boundary, center, or marker of the target faction's territory to the boundary, center, or marker of the target area. Standardized point selection rules are set for the indicator, making the spatial relationship between the faction's territory and the interactive target area clearer and improving the accuracy of directional indication.
[0133] In some embodiments, when the first position is a territory boundary and the second position is not a region boundary, the first position is the closest position on the territory boundary to the second position; when the second position is a region boundary and the first position is not a territory boundary, the second position is the closest position on the region boundary to the first position; when the first position is a territory boundary and the second position is a region boundary, the first position and the second position are the two closest positions between the territory boundary and the region boundary.
[0134] In this embodiment, the points closest to each other on the boundaries of both sides are used as the start and end points of the indicator, which allows the indicator to present the interactive direction along the shortest spatial path, conforming to the user's intuitive understanding of the camp's movement path and enhancing the intuitiveness of the visual presentation.
[0135] For ease of understanding, the following describes the various scenarios. Accordingly, the process of the terminal displaying the indicator in the virtual scene includes the following implementation methods (1)-(9).
[0136] (1) The terminal displays an indicator in the virtual scene that points from the marker in the territory of the target faction to the marker in the target area.
[0137] The markers for the target faction's territory can be locations marked by any user within the target faction, or locations pre-marked by the server within the target faction's territory. Similarly, the markers for the target region can be locations marked by any user within the target faction, or locations pre-marked by the server within the target region. Optionally, the markers for the target faction's territory and the target region may display a first identifier and a second identifier, respectively, to indicate these two markers.
[0138] The indicator points from the target faction's territory marker to the target area marker; that is, the indicator's starting point is the target faction's territory marker, and its ending point is the target area marker. The target area can be the territory of another faction in the virtual scene, or it can be an unoccupied area in the virtual scene. If the target area is the territory of another faction, it can be a sub-territory of a user within that other faction, or it can include sub-territories of multiple users within that other faction.
[0139] In this scenario, any user in the target faction can trigger any location in the virtual scene to determine the sub-territory to which that location belongs, and then designate that sub-territory as the target area. Alternatively, any user in the target faction can select a portion of the virtual scene and designate that portion as the target area.
[0140] In this embodiment, the indicator points from the markers in the target faction's territory to the markers in the target area. This allows for quick determination of the indicator's start and end points. These markers can be marked by the user, and the user can also specify the indicator's display location, enhancing user engagement and further improving the indicator's display effect.
[0141] (2) The terminal displays an indicator pointing from the marker point of the target faction's territory to the center of the target area in the virtual scene.
[0142] The center of the target area is also the coordinate center of the target area. Similarly, the marker point of the target faction's territory is also the coordinate center of the target faction's territory.
[0143] In this embodiment, the example is given where the indicator points from the marker point in the target faction's territory to the center of the target area. In other embodiments, the indicator may also point from the center of the target faction's territory to the marker point in the target area.
[0144] In this embodiment, the indicator points from the markers on the target faction's territory to the center of the target area. This allows for quick determination of the indicator's start and end points. Furthermore, the markers on the target faction's territory can be user-marked, and the starting point of the indicator can be specified by the user, enhancing user engagement and further improving the indicator's display effect.
[0145] (3) The terminal displays an indicator pointing from the marker of the target faction's territory to the first boundary position in the virtual scene. The first boundary position is the closest position between the marker of the target area and the marker of the target faction's territory on the boundary of the target area.
[0146] The distance between each location on the boundary of the target area and the marker point of the target faction's territory can refer to the straight-line distance between the location and the marker point of the target faction's territory, or it can refer to the shortest road distance between the location and the marker point of the target faction's territory.
[0147] In this implementation, the distance between the boundary position on the target area and the marker point of the target camp's territory is taken as a straight-line distance or the shortest road distance as an example. However, in the embodiments of this application, the distance between any other two positions can be the straight-line distance or the shortest road distance between the two positions.
[0148] In this implementation, the indicator points from the target faction's territory marker to the first boundary position. Since the target faction's territory marker can be user-defined, the starting point of the indicator can also be specified by the user, enhancing user engagement and improving the interface display. Furthermore, because the first boundary position is the closest point on the boundary of the target area to the target faction's territory marker, the display area of the indicator in the virtual scene can be reduced, further minimizing the indicator's obstruction of information in the virtual scene and improving the interface display effect.
[0149] (4) The terminal displays an indicator in the virtual scene pointing from the center of the target faction's territory to the target area.
[0150] In this implementation, the indicator points from the center of the target faction's territory to a marker point in the target area. This allows for quick determination of the indicator's start and end points. The marker point can be marked by the user, and the user can also specify the indicator's display location, increasing user engagement and further enhancing the indicator's display effect.
[0151] (5) The terminal displays an indicator pointing from the center of the target faction's territory to the center of the target area in the virtual scene.
[0152] In this implementation, the indicator points from the center of the target faction's territory to the center of the target area, improving the efficiency of determining the indicator's display position. Furthermore, since the indicator represents the total resources allocated by the entire faction, its starting point is the center of the target faction's territory, making the starting position more accurate and its reference value higher. Because multiple users allocate resources by initiating a unified interaction towards the target area, the indicator's ending point is the center of the target area, making the ending position more accurate and its reference value higher.
[0153] (6) The terminal displays an indicator in the virtual scene pointing from the center of the target faction's territory to the second boundary position, which is the closest position between the boundary of the target area and the center of the target faction's territory.
[0154] In this implementation, the indicator points from the center of the target faction's territory to the second boundary position. This eliminates the need for the user to specify the position of the indicator. Furthermore, since the second boundary position is the closest point between the boundary of the target area and the center of the target faction's territory, the display area of the indicator in the virtual scene can be reduced, further reducing the occlusion of information in the virtual scene by the indicator and improving the interface display effect.
[0155] (7) The terminal displays an indicator pointing from the third boundary position to the target area in the virtual scene. The third boundary position is the closest position between the target camp's territory boundary and the target area.
[0156] In this implementation, the indicator points from the third boundary position to the marker point in the target area. Since the marker point in the target area can be marked by the user, the starting point of the indicator can also be specified by the user, improving user engagement and interface display. Furthermore, since the third boundary position is the closest point on the boundary of the target faction's territory to the marker point in the target area, the display area of the indicator in the virtual scene can be reduced, further minimizing the indicator's occlusion of information in the virtual scene and improving the interface display effect.
[0157] (8) The terminal displays an indicator pointing from the fourth boundary position to the center of the target area in the virtual scene. The fourth boundary position is the closest position between the target camp's territory boundary and the center of the target area.
[0158] In this implementation, the indicator points from the fourth boundary position to the center of the target area. This eliminates the need for the user to specify the position of the indicator. Furthermore, since the fourth boundary position is the closest point between the target faction's territory boundary and the center of the target area, the display area of the indicator in the virtual scene can be reduced, further reducing the indicator's occlusion of information in the virtual scene and improving the interface display effect.
[0159] (9) The terminal displays an indicator pointing from the fifth boundary position to the sixth boundary position in the virtual scene. The fifth and sixth boundary positions are the two closest positions between the boundary of the target faction's territory and the boundary of the target area. The fifth boundary position is the position on the boundary of the target faction's territory, and the sixth boundary position is the position on the boundary of the target area.
[0160] In this implementation, the starting and ending points of the indicator markers between the target faction's territory and the target area are the two closest locations on the two areas. This not only indicates the target faction's territory and the target area based on the indicator markers, but also further reduces the display area of the indicator markers in the virtual scene, further reduces the occlusion of information in the virtual scene by the indicator markers, and improves the interface display effect.
[0161] For example, referring to Figure 8, which is a schematic diagram of various positions of an indicator provided in one embodiment of this application. The indicator is illustrated as an arrowed line that is also an arc; the left hexagon represents the territory of the target camp, and the right hexagon represents the target area. Figure 8(a) shows an indicator pointing from a marker point in the target camp's territory to a marker point in the target area. Figure 8(b) shows an indicator pointing from a marker point in the target camp's territory to the center of the target area. Figure 8(c) shows an indicator pointing from a marker point in the target camp's territory to a first boundary position. Figure 8(d) shows an indicator pointing from the center of the target camp's territory to a marker point in the target area. Figure 8(e) shows an indicator pointing from the center of the target camp's territory to the center of the target area. Figure 8(f) shows an indicator pointing from the center of the target camp's territory to a second boundary position. Figure 8(g) shows an indicator pointing from a third boundary position to a marker point in the target area. Figure 8(h) shows an indicator pointing from a fourth boundary position to the center of the target area. Figure 8(i) shows the indicator pointing from the fifth boundary position to the sixth boundary position.
[0162] In this embodiment of the application, since each user in the target camp can schedule resources to initiate interactive behavior, and each user has their own sub-territory, the terminal displays indicator markers in the virtual scene, which may also include the following implementation: the terminal displays indicator markers pointing from each target sub-territory to the target area in the virtual scene, where the target sub-territory is the sub-territory of each user who performs the scheduling operation, and the display effect of the indicator markers corresponding to each target sub-territory is related to the number of resources in the target sub-territory that initiate interactive behavior.
[0163] The display effect of the indicator corresponding to each target sub-territory is further positively correlated with the ratio, which can be the ratio between the number of resources dispatched in each target sub-territory and the total number of resources that can be dispatched in the target faction, or the ratio between the sum of the total resource value of all types of resources dispatched in each target sub-territory and the sum of the total resource value of all types of resources in the target faction.
[0164] For example, referring to Figure 9, which is a schematic diagram of multiple indicator marks provided in one embodiment of this application. The indicator marks are illustrated as lines with arrows, and can be displayed starting from each target sub-territory.
[0165] In this embodiment, since resources are allocated from the sub-territories of multiple users in the target camp to initiate interactive behavior towards the target area, and an indicator corresponding to the resources allocated from each sub-territory is displayed, it is possible to transmit which users' sub-territories the resources were allocated from. Furthermore, based on the display effect of the indicator, it is also possible to transmit how many resources were allocated from each sub-territory, thereby improving the efficiency of information transmission.
[0166] In the embodiments of this application, the indicator points from the target sub-territory to the target area. Since there are multiple locations on both the target sub-territory and the target area, the start and end positions of the indicator can also vary.
[0167] In some embodiments, for each target sub-territory, an indicator pointing from a third position to a fourth position is displayed in the virtual scene; wherein the third position is any one of the position on the sub-territory boundary of the target sub-territory, the center of the target sub-territory, or a marker point of the target sub-territory; and the fourth position is any one of the position on the region boundary of the target region, the center of the target region, or a marker point of the target region.
[0168] In this embodiment, the boundary, center, or marker point of the sub-territory is selected as the starting point, and the corresponding point of the target area is selected as the ending point. This ensures that the indicator of the user's sub-territory dimension also has standardized presentation rules, avoiding confusion in indicators when multiple users schedule resources at the same time, and improving the readability of information in the virtual scene.
[0169] In some embodiments, when the third position belongs to the sub-territory boundary and the fourth position does not belong to the region boundary, the third position is the closest position on the sub-territory boundary to the fourth position; when the fourth position belongs to the region boundary and the third position does not belong to the sub-territory boundary, the fourth position is the closest position on the region boundary to the third position; when the third position belongs to the sub-territory boundary and the fourth position belongs to the region boundary, the third position and the fourth position are the two closest positions between the sub-territory boundary and the region boundary.
[0170] In this embodiment, the points on the nearest boundary are used to ensure that the indicator corresponding to each user's sub-territory points intuitively to the target area along the shortest path. This ensures that even if multiple users initiate interaction at the same time, the directional indication is consistent with spatial logic and clear, thereby improving the intuitiveness of information transmission and the recognizability of scene situation.
[0171] In this embodiment, the indicator pointing from each target sub-territory to the target area can be displayed in the following ways: For each target sub-territory, an indicator pointing from the marker point of the target sub-territory to the marker point of the target area is displayed in the virtual scene; or, an indicator pointing from the marker point of the target sub-territory to the center of the target area is displayed in the virtual scene; or, an indicator pointing from the marker point of the target sub-territory to boundary position 1 is displayed in the virtual scene, where boundary position 1 is the closest position on the boundary of the target area to the marker point of the target sub-territory; or, an indicator pointing from the center of the target sub-territory to the marker point of the target area is displayed in the virtual scene; or, an indicator pointing from the center of the target sub-territory to the center of the target area is displayed in the virtual scene; or, in... In the virtual scene, an indicator pointing from the center of the target sub-territory to boundary position 2 is displayed, where boundary position 2 is the closest point on the boundary of the target area to the center of the target sub-territory; or, an indicator pointing from boundary position 3 to a marker point in the target area is displayed, where boundary position 3 is the closest point on the boundary of the target sub-territory to a marker point in the target area; or, an indicator pointing from boundary position 4 to the center of the target area is displayed, where boundary position 4 is the closest point on the boundary of the target sub-territory to the center of the target area; or, an indicator pointing from boundary position 5 to boundary position 6 is displayed, where boundary positions 5 and 6 are the two closest points between the boundaries of the target sub-territory and the boundary of the target area.
[0172] In this embodiment, the method of pointing from the marker point, center, or boundary position of the target sub-territory to the marker point, center, or boundary position of the target area is the same as the method of pointing from the marker point, center, or boundary position of the target faction's territory to the marker point, center, or boundary position of the target area, and will not be repeated here.
[0173] In some embodiments, if the target faction has multiple territories, the process of the terminal displaying an indicator in the virtual scene may further include the following implementation: the terminal displays an indicator pointing from a first territory to the target area in the virtual scene, where the first territory is the territory closest to the target area among the multiple territories of the target faction.
[0174] The shortest distance between the first territory and the target area can be any distance between the center of the first territory and the center of the target area, the boundary of the first territory and the center of the target area, the center of the first territory and the boundary of the target area, or the boundary of the first territory and the boundary of the target area. Furthermore, the distance between the boundary of each territory and the center of the target area refers to the distance corresponding to the closest point on the boundary of that territory to the center of the target area. The shortest distance between the center of the first territory and the boundary of the target area, and the shortest distance between the boundary of the first territory and the boundary of the target area, are similar and will not be elaborated further here.
[0175] In this embodiment, the first territory is taken as the territory closest to the target area. The first territory can also be the territory farthest from the target area. The first territory can also be the largest or smallest territory among the multiple territories of the target faction.
[0176] In this embodiment, since the target faction's multiple territories are shared, the territory closest to the target area among the target faction's multiple territories is displayed. This ensures that regardless of whether resources are allocated from one or more territories of the target faction, only the indicator pointing from that territory to the target area is always displayed. This not only indicates how many resources of the faction have initiated interactive behavior, but also further reduces the number of indicators displayed in the virtual scene, avoiding visual confusion caused by multiple territories displaying indicators simultaneously, avoiding excessive interface obstruction of the virtual scene, and improving the interface display effect and information transmission efficiency.
[0177] In the above embodiments, the example of displaying the indicator starting from the territory closest to the target area was used as an example. In other embodiments, multiple indicators are displayed starting from multiple territories. That is, when there are multiple territories where the scheduled resource is located, the process of displaying the indicator in the virtual scene includes the following implementation: the terminal displays multiple first indicators in the virtual scene, and the multiple first indicators point to the target area from multiple second territories. The multiple second territories are the multiple territories where the scheduled resource is located. The display effect of the first indicator corresponding to each second territory is related to the number of resources that initiate interactive behavior in the second territory.
[0178] In this embodiment, if a target faction allocates resources from multiple territories, since different resources can be allocated from different territories, an indicator corresponding to the allocated resources for each territory is displayed. These multiple first indicator icons convey which territories of the target faction have allocated resources, and based on the display effect of each first indicator icon, the amount of resources allocated from each territory can also be conveyed. In this way, for situations where allocated resources are distributed across multiple territories, displaying indicators pointing to the target area from each resource's location allows for a complete presentation of the multi-point resource allocation layout, clearly distinguishing the activity intensity of different territories, and further improving information transmission efficiency.
[0179] In this embodiment, each faction can allocate resources to initiate interactive actions towards one or more areas. When there are multiple target areas, the process of the terminal displaying indicator markers in the virtual scene includes the following implementation: the terminal displays multiple second indicator markers in the virtual scene, with each second indicator marker pointing from the target faction's territory to one of the multiple target areas. The display effect of the second indicator marker corresponding to each target area is related to the number of resources allocated to initiate interactive actions towards the target area.
[0180] In this embodiment, when a target faction allocates resources to initiate interactive actions towards multiple target areas, second indicator markers pointing from the target faction's territory to each of the multiple target areas are displayed. These multiple second indicator markers indicate which areas the target faction has initiated interactive actions towards, and the display effect of the second indicator marker pointing to each target area also indicates how many resources have been allocated to initiate interactive actions towards that target area. In this way, for scenarios with multiple interactive target areas, displaying indicator markers pointing to each target area from the target faction's territory clearly distinguishes the intensity of investment in different target areas, improving information transmission rate.
[0181] For example, referring to Figure 10, which is a schematic diagram of multiple indicator markers provided in one embodiment of this application, the target areas include A and B. In this scenario, the target camp's territory includes 10 user sub-territories, and each user schedules the same resources. The target area for 7 users initiating interactive actions is A, and the target area for 3 users initiating interactive actions is B. Figure 10(a) shows a line from each of the 10 user sub-territories to the target area, while Figure 10(b) shows two indicator markers indicating the resources for initiating interactive actions to target areas A and B, respectively. A comparison shows that Figure 10(a) has many lines, which significantly affects the overall display and results in a poorer interface. Figure 10(b), while conveying the same information, maintains a simpler layout, making the content easier for users to intuitively identify.
[0182] In some embodiments, the target faction has multiple territories and multiple target areas. Resources on one territory can point to multiple target areas, and resources on multiple territories can initiate interactive behavior in one target area. Therefore, the first indicator and the second indicator can be combined to display the indicator. That is, the displayed indicator includes multiple indicator starting from the same territory and multiple indicator ending at the same target area.
[0183] For example, referring to Figure 11, which is a schematic diagram of multiple indicator markers provided in one embodiment of this application, the target camp has two territories, D1 and D2, and the target areas include A, B, and C. When resources on territory D1 initiate interactive actions towards target areas A and B respectively, two indicator markers indicating target areas A and B are displayed on territory D1. Similarly, when resources on territory D2 initiate interactive actions towards target areas A and C respectively, two indicator markers indicating target areas A and C are displayed on territory D2.
[0184] Taking the example of each user having the same allocated resources, Figure 11 can be further understood as follows: There are 15 users in the target camp, and their territories are divided into two areas. In the left territory D1, 7 users initiate interactive actions towards target area A, and 3 users initiate interactive actions towards target area B. In the right territory D1, 2 users initiate interactive actions towards target area A, and 3 users initiate interactive actions towards target area C.
[0185] Taking the positive correlation between the display effect and the ratio between the first total resource value and the second total resource value as an example, Figure 11 can be further understood as follows: 50% of the total resources were allocated from the left territory D1 to initiate interactive behavior to the target area A, and 20% of the total resources were allocated to initiate interactive behavior to the target area B. 10% of the total resources were allocated from the right territory D2 to initiate interactive behavior to the target area A, and 20% of the total resources were allocated to initiate interactive behavior to the target area C.
[0186] 504. If the resources allocated by users in the target camp change, the indicator displayed on the terminal in the virtual scene will change. The changes include at least one of the changes in display effect and direction.
[0187] In this embodiment, the resources scheduled by users in the target camp change. This user can be one or more users in the target camp, and can be either a user who has already scheduled resources or a user who has not scheduled resources. In this embodiment, a change in the resources scheduled by users in the target camp refers to a change in the overall resources scheduled by at least one user.
[0188] It should be noted that at any given moment, one or more users within the target faction may have their scheduled resources changed. If a user's scheduled resources change at any given moment, the display indicator for the scheduled resources in the virtual scenario will change based on the changed resources of that user. If multiple users' scheduled resources change at any given moment, the display indicator for the scheduled resources will change based on the changed resources of all those users.
[0189] The changes in the scheduled resources include at least one of the following: an increase or decrease in the scheduled resources, or a change in the target area. Therefore, if the resources scheduled by the user in the target camp change, the terminal displays a change in the indicator in the virtual scene, which includes at least one of the following implementation methods.
[0190] (1) If the resources allocated by users in the target camp increase, the display effect of the terminal in the virtual scene is higher than the previous display effect.
[0191] In some embodiments, the increase in user-scheduled resources refers to an increase in the number of resources scheduled by the user. For example, in step 502, if the display effect is positively correlated with the ratio between the first quantity and the second quantity, then the increase in the number of resources scheduled by the user results in a higher display effect than before (i.e., before the change).
[0192] For example, if the number of resources scheduled by the user in the target camp was 4, and this number increases to 7, assuming the total number of resources that can be scheduled in the target camp is 10, the ratio increases from 0.4 to 0.7. Therefore, the display effect corresponding to a ratio of 0.4 changes to that corresponding to a ratio of 0.7. Taking the change in display effect by adjusting the size of the indicator as an example, adjusting the size of the indicator changes the size corresponding to a ratio of 0.4 to that corresponding to a ratio of 0.7, thus changing the display effect of the indicator.
[0193] In other embodiments, the increase in user-scheduled resources also refers to the increase in the total resource value of the resources scheduled by the user. For example, in step 503, the display effect is positively correlated with the ratio between the first total resource value and the second total resource value. Therefore, if the total resource value of the resources scheduled by the user increases, the display effect will be higher than the previous display effect.
[0194] For example, if the first total resource value of the user-scheduled resources in the target camp was 4, and the first total resource value of the user-scheduled resources increased to 7, and the second total resource value that can be scheduled in the target camp was 10, then the ratio increased from 0.4 to 0.7. Therefore, the display effect corresponding to the ratio 0.4 changed to the display effect corresponding to the ratio 0.7.
[0195] In this embodiment, the change of resources corresponding to an indicator is used as an example. If multiple indicator icons of the target faction are displayed in the virtual scene, the indicator icon will undergo the above-mentioned change when the resources corresponding to any indicator icon are increased.
[0196] In this way, as the target camp increases its resource allocation, the display effect of the indicator is simultaneously improved. This visual reinforcement creates positive feedback, allowing users to intuitively perceive the increased intensity of interactive behavior without having to look at numerical values, thus improving the intuitiveness and accuracy of information transmission.
[0197] (2) If the resources allocated by users in the target camp are reduced, the display effect of the terminal in the virtual scene is lower than the original display effect.
[0198] In some embodiments, the reduction in user-scheduled resources means that the number of resources scheduled by the user is reduced. For example, in step 502, if the display effect is positively correlated with the ratio between the first quantity and the second quantity, then the number of resources scheduled is reduced, and the display effect is lower than the previous display effect.
[0199] For example, if the number of resources scheduled by the user in the target camp was 7, and this number is reduced to 4, taking the total number of resources that can be scheduled in the target camp as 10, the ratio decreases from 0.7 to 0.4. Therefore, the display effect corresponding to the ratio 0.7 changes to the display effect corresponding to the ratio 0.4. Taking the change in display effect by adjusting the size of the indicator as an example, adjusting the size of the indicator changes the size corresponding to the ratio 0.7 to the size corresponding to the ratio 0.4, thus changing the display effect of the indicator.
[0200] In other embodiments, the reduction of user-scheduled resources means that the total resource value of the resources scheduled by the user is reduced. For example, in step 503, the display effect is positively correlated with the ratio between the first total resource value and the second total resource value. Therefore, if the total resource value of the resources scheduled by the user is reduced, the display effect will be lower than the previous display effect.
[0201] For example, if the first total resource value of the user-scheduled resources in the target camp was 4, and if the first total resource value of the user-scheduled resources is reduced to 7, and the second total resource value that can be scheduled in the target camp is 10, then the ratio decreases from 0.7 to 0.4. Therefore, the display effect corresponding to the ratio 0.7 changes to the display effect corresponding to the ratio 0.4.
[0202] In this embodiment, the change of resources corresponding to an indicator is used as an example. If multiple indicators of the target faction are displayed in the virtual scene, the resource corresponding to any indicator is reduced, and the indicator will undergo the above-mentioned change.
[0203] In some embodiments, the example is given where each user in the target region schedules the same amount of resources. The target regions include A and B. Target region A corresponds to resources scheduled by 7 users, and target region B corresponds to resources scheduled by 3 users. If 4 users in target region A cancel their resource scheduling, meaning target region A changes to having resources scheduled by 3 users, since each user schedules the same amount of resources, the display effect of the indicator corresponding to target region A will change to be consistent with the display effect of the indicator corresponding to target region B. Another example is changing the display effect by adjusting the size of the indicator; that is, the size of the indicator corresponding to display region A changes to the size of the indicator corresponding to display region B, thus changing the display effect of the indicator. See Figure 12.
[0204] In this way, when the target camp reduces its resource allocation, the display effect of the indicator is reduced simultaneously, which can reflect the weakening of interactive behavior in real time and improve the intuitiveness and accuracy of information transmission.
[0205] (3) If the target area for the interactive behavior initiated by the resources dispatched by the user in the target camp is adjusted, the terminal displays an indicator in the virtual scene pointing to the adjusted target area.
[0206] For example, if the target area that previously initiated the interaction within the target faction is A, and the adjusted target area is B, then the direction of the indicator will change from A to B.
[0207] In this way, when the interactive target area for user resource scheduling is adjusted, the control indicator switches to point to the new target area in real time, realizing the instant visualization of target changes, ensuring that the indicator always corresponds to the current actual interactive target, and improving the accuracy of information transmission.
[0208] It should be noted that the above three implementation methods can be freely combined. For example, when the target area of the target camp changes, the resources allocated can be increased or decreased. If the resources allocated by the user in the target camp increase and the target area is adjusted, the display effect of the indicator is higher than the original display effect, and the indicator points to the adjusted target area. In addition, in the above three implementation methods, the process of indicator change can be displayed, or only the result of indicator change can be displayed; this application embodiment does not limit this.
[0209] In some embodiments, multiple indicator icons for the target faction are displayed in the virtual scene. If there are multiple target areas for the target faction to initiate interactive behavior, then in this case, the resources corresponding to some indicator icons may increase, while the resources corresponding to some indicator icons may decrease. Consequently, the display effect of some indicator icons may be higher than the original display effect, while the display effect of some indicator icons may be lower than the original display effect.
[0210] In some embodiments, the server determines the indicator corresponding to the changed scheduling resource. In response to a change in the resources scheduled by a user in the target camp, the server determines the changed indicator based on the changed scheduling resource and sends the data of the changed indicator to the terminal so that the terminal can display the changed indicator. For example, see Figure 13, which is a flowchart of the indicator change process according to an embodiment of this application. On the terminal side, if any user in the target camp adds, adjusts, or cancels a scheduling resource, the terminal sends change information to the server. The server extracts key information from the change information to obtain the territory of the changed scheduling resource, the changed target area, and the changed scheduling resource. Based on the territory and the changed target area, the server determines the start and end points of the indicator, the length of the indicator, and the size of the indicator based on preset rules and the changed scheduling resource. These two pieces of information are combined to obtain the final display data of the indicator. This display data is returned to the terminal, which then displays the changed indicator in the virtual scene.
[0211] The process for users to initiate interactive behaviors by allocating resources in a virtual scene is as follows: selecting a target area, setting the resource scale, and confirming the initiation of the interactive behavior. The method provided in this application embodiment is applied to the "action trend" prompts and their implementation mechanism after an interactive behavior is initiated. This method can integrate the operations of multiple users with connected territories within the same faction and display them according to actual numerical proportions, thereby uniformly summarizing and presenting the actions of the same faction to the user.
[0212] The solution provided in this application is applicable to virtual scenes corresponding to 2D (2-Dimensional) or 3D (3-Dimensional) maps. It can aggregate and process the interactive behaviors of users within the same faction before presenting them. Based on this solution, users within the same faction can intuitively see from the global map which territory their faction will initiate interactive behaviors against which target areas, and can roughly compare the scale of resource investment for different target areas. This achieves better communication among members of the same faction based on clearer and more visualized information.
[0213] The solution provided in this application uses preset anchor points (i.e., road signs) and information integration rules to converge and present action trend information within the same faction, offering a more concise and aesthetically pleasing presentation. This ensures a good user experience in terms of visuals and operation, without affecting the user's judgment of the action's objectives and scale. It can be understood as a simplified information presentation method from the macro perspective of one's own faction, and this simplified presentation method also better facilitates teamwork and ensures alignment of goals.
[0214] This application provides a method for displaying an indicator. When a user in a target faction schedules resources to initiate an interactive action, an indicator is displayed. This indicator points from the target faction's territory to the target area of the interactive action, thus achieving a visual presentation of the interaction direction at the faction level. Compared to the traditional method of indicating the scheduling behavior of each user, the current method avoids displaying too many elements in the virtual scene to convey information, avoids visual interference caused by redundant information, and reduces the obstruction of the virtual scene interface. It is obviously more efficient, intuitive, and concise, improving the efficiency of information transmission. At the same time, the display effect of the indicator is associated with the amount of resources scheduled in the target faction, indicating the scale of resource investment without additional information. This allows users to quickly perceive how many resources the target faction has scheduled to initiate an interactive action in the target area simply through this indicator, further improving the efficiency of information transmission while ensuring the interface display effect.
[0215] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.
[0216] Please refer to Figure 14, which is a block diagram of an indicator display device according to an embodiment of this application. This device has the function of implementing the above-described indicator display method; the function can be implemented by hardware or by hardware executing corresponding software. This device can be the computer device described above, or it can be installed within a computer device. As shown in Figure 14, the device may include:
[0217] The first display module 1401 is used to display a virtual scene, which includes the territories of multiple factions.
[0218] The second display module 1402 is used to display an indicator in the virtual scene if at least one user in the target camp has scheduled resources to initiate an interactive behavior in the virtual scene. The indicator points from the territory of the target camp to the target area of the interactive behavior. The display effect of the indicator is related to a first quantity, which is the number of resources scheduled in the target camp.
[0219] The target faction refers to the faction to which the terminal login user belongs.
[0220] In some embodiments, the second display module 1402 is configured to:
[0221] Based on the ratio between the first quantity and the second quantity, an indicator is displayed in the virtual scene, where the second quantity is the total number of resources that can be dispatched in the target camp, and the display effect of the indicator is positively correlated with the ratio.
[0222] In some embodiments, the resources scheduled in the target camp include at least one type of resource, and resources of the same type have the same resource unit value. The second display module 1402 is used for:
[0223] Based on the ratio between the first total resource value and the second total resource value, an indicator is displayed in the virtual scene, and the display effect of the indicator is positively correlated with the ratio.
[0224] The first total resource value is the sum of the resource summation values of all types of resources that are scheduled. The resource summation value of each type of resource is the product of the quantity of that type of resource and the resource unit value of that type of resource. The second total resource value is the sum of the resource summation values of all types of resources under the target camp.
[0225] In some embodiments, the second display module 1402 is configured to: display an indicator of a first display effect in a virtual scene, wherein the first display effect is obtained by adjusting a preset display effect based on a ratio.
[0226] In some embodiments, the virtual scene may further display at least one of the following: the first quantity; the second quantity; the ratio between the first quantity and the second quantity; the first total resource value; the second total resource value; and the ratio between the first total resource value and the second total resource value.
[0227] In some embodiments, the second display module 1402 is configured to:
[0228] In the virtual scene, an indicator pointing from the first position to the second position is displayed;
[0229] Wherein, the first position is any one of the following: the position on the boundary of the target camp's territory, the center of the target camp's territory, or a marker point in the target camp's territory;
[0230] The second position is any one of the following: the position on the boundary of the target area, the center of the target area, or a marker point of the target area.
[0231] In some embodiments, when the first position belongs to the territory boundary and the second position does not belong to the area boundary, the first position is the closest position on the territory boundary to the second position; when the second position belongs to the area boundary and the first position does not belong to the territory boundary, the second position is the closest position on the area boundary to the first position; when the first position belongs to the territory boundary and the second position belongs to the area boundary, the first position and the second position are the two closest positions between the territory boundary and the area boundary.
[0232] In some embodiments, the territory of the target faction includes the sub-territories of each user in the target faction, and the second display module 1402 is used for:
[0233] In the virtual scene, indicators pointing from each target sub-territory to the target area are displayed. Each target sub-territory is a sub-territory of each user performing the scheduling operation. The display effect of the indicator corresponding to each target sub-territory is related to the number of resources initiating interactive behavior in the target sub-territory.
[0234] In some embodiments, the second display module 1402 is configured to:
[0235] For each target sub-territory, an indicator pointing from the third position to the fourth position is displayed in the virtual scene;
[0236] The third position is any one of the following: the position on the boundary of the target sub-territory, the center of the target sub-territory, or the marker point of the target sub-territory;
[0237] The fourth position is any one of the following: the position on the boundary of the target area, the center of the target area, or a marker point of the target area.
[0238] In some embodiments, when the third position belongs to the sub-territory boundary and the fourth position does not belong to the region boundary, the third position is the closest position on the sub-territory boundary to the fourth position; when the fourth position belongs to the region boundary and the third position does not belong to the sub-territory boundary, the fourth position is the closest position on the region boundary to the third position; when the third position belongs to the sub-territory boundary and the fourth position belongs to the region boundary, the third position and the fourth position are the two closest positions between the sub-territory boundary and the region boundary.
[0239] In some embodiments, the target faction's territory comprises multiple plots, and the second display module 1402 is used for:
[0240] Display an indicator pointing from the first territory to the target area in the virtual scene. The first territory is the territory closest to the target area among the multiple territories of the target faction.
[0241] In some embodiments, the territories where the resources scheduled in the target faction are located are multiple, and the second display module 1402 is used for:
[0242] Multiple first indicator markers are displayed in the virtual scene. These first indicator markers point to the target area from multiple second territories. The multiple second territories are the territories where the scheduled resources are located. The display effect of the first indicator marker corresponding to each second territory is related to the number of resources initiating interactive behavior in the second territory.
[0243] In some embodiments, the target area comprises multiple blocks, and the second display module 1402 is configured to:
[0244] Multiple secondary indicator markers are displayed in the virtual scene. These secondary indicator markers point from the territory of the target faction to multiple target areas. The display effect of the secondary indicator marker corresponding to each target area is related to the number of resources in the scheduled resources that initiate interactive behavior towards the target area.
[0245] In some embodiments, the display effect of the signage is varied by adjusting at least one of the signage's size, color, brightness, and transparency.
[0246] In some embodiments, the indicator is an arrowed line, and the size of the indicator includes at least one of the line width and the arrow size.
[0247] In some embodiments, the line is an arc, with the two ends of the arc pointing to the territory of the target faction and the target area, respectively;
[0248] Alternatively, the line can be a straight line, with its two ends pointing to the territory of the target faction and the target area, respectively.
[0249] Alternatively, the line can be a curve along the road between the target faction's territory and the target area.
[0250] In some embodiments, the second display module 1402 is further configured to:
[0251] If the resources allocated by users in the target faction change, the indicator displayed in the virtual scene will change. The changes include at least one of the changes in display effect and direction.
[0252] In some embodiments, the second display module 1402 is configured to:
[0253] If the resources allocated by users in the target faction increase, the display effect of the indicator in the virtual scene will be better than before.
[0254] In some embodiments, the second display module 1402 is configured to:
[0255] If the resources allocated by users in the target faction are reduced, the display effect of the indicator in the virtual scene will be lower than the original display effect.
[0256] In some embodiments, the second display module 1402 is configured to:
[0257] If the target area for a user in the target faction to initiate interactive behavior by allocating resources is adjusted, the direction of the indicator displayed in the virtual scene will change to the adjusted target area.
[0258] This application provides a display device for an indicator. When a user in a target faction schedules resources to initiate an interactive action, the device displays an indicator pointing from the target faction's territory to the target area of the interactive action. This achieves a visual representation of the interaction direction at the faction level. Compared to the traditional method of indicating the scheduling behavior of each individual user, this method avoids displaying too many elements in the virtual scene to convey information, avoids visual interference caused by redundant information, and reduces the obstruction of the virtual scene interface. It is obviously more efficient, intuitive, and concise, improving information transmission efficiency. At the same time, the display effect of the indicator is associated with the amount of resources scheduled in the target faction, indicating the scale of resource investment without additional information. This allows users to quickly perceive how many resources the target faction has scheduled to initiate an interactive action in the target area simply through the indicator, further improving information transmission efficiency while ensuring the interface display effect.
[0259] It should be noted that the above-described display device for indicators is only illustrated by the division of the functional modules described above when running the application. In actual applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the display device for indicators and the display method for indicators provided in the above embodiments belong to the same concept, and their implementation process can be found in the method embodiments, which will not be repeated here.
[0260] This application also provides a computer device, which may be a terminal device or a server in the implementation environment. The computer device includes a processor and a memory. The memory stores at least one computer program, which is loaded and executed by the processor to implement the indicator display method provided in the above embodiments.
[0261] Optionally, the computer device is provided as a terminal. Figure 15 is a schematic diagram of the structure of a terminal according to an embodiment of this application. Typically, the terminal 1500 includes a processor 1501 and a memory 1502.
[0262] Processor 1501 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1501 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 1501 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 one possible implementation, processor 1501 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1501 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0263] Memory 1502 may include one or more computer-readable storage media, which may be non-transitory. Memory 1502 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In one possible implementation, the non-transitory computer-readable storage media in memory 1502 is used to store at least one computer program for use by processor 1501 to implement the display method of indicator identification provided in the various method embodiments of this application.
[0264] In one possible implementation, terminal 1500 may also optionally include: a peripheral device interface 1503 and at least one peripheral device. The processor 1501, memory 1502, and peripheral device interface 1503 can be connected via a bus or signal line. Each peripheral device can be connected to peripheral device interface 1503 via a bus, signal line, or circuit board. Optionally, the peripheral device includes at least one of: radio frequency circuitry 1504, display screen 1505, camera assembly 1506, audio circuitry 1507, and power supply 1508.
[0265] Peripheral interface 1503 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1501 and memory 1502. In one possible implementation, processor 1501, memory 1502, and peripheral interface 1503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1501, memory 1502, and peripheral interface 1503 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0266] The radio frequency (RF) circuit 1504 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1504 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1504 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1504 can communicate with other devices through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In one possible implementation, the RF circuit 1504 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0267] Display screen 1505 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1505 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1501 for processing. In this case, display screen 1505 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In one possible implementation, there may be one display screen 1505, located on the front panel of terminal 1500; in other embodiments, there may be at least two display screens, respectively located on different surfaces of terminal 1500 or in a folded design; in other embodiments, display screen 1505 may be a flexible display screen, located on a curved or folded surface of terminal 1500. Furthermore, display screen 1505 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1505 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0268] The camera assembly 1506 is used to acquire images or videos. Optionally, the camera assembly 1506 includes a front-facing camera and a rear-facing camera. The front-facing camera is disposed on the front panel of the terminal 1500, and the rear-facing camera is disposed on the back of the terminal 1500. In one possible implementation, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blur function by fusion of the main camera and the depth-sensing camera, panoramic shooting function by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting function, or other fusion shooting function. In one possible implementation, the camera assembly 1506 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation under different color temperatures.
[0269] The audio circuit 1507 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 1501 for processing, or to the radio frequency circuit 1504 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1500. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1501 or the radio frequency circuit 1504 into sound waves. The speaker may be a conventional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In one possible implementation, the audio circuit 1507 may also include a headphone jack.
[0270] Power supply 1508 is used to power the various components in terminal 1500. Power supply 1508 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1508 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0271] In some embodiments, the terminal 1500 further includes one or more sensors 1509. The one or more sensors 1509 include, but are not limited to: an acceleration sensor 1150, a gyroscope sensor 1111, a pressure sensor 1112, an optical sensor 1113, and a proximity sensor 1114.
[0272] Accelerometer 1150 can detect the magnitude of acceleration along the three axes of a coordinate system established by terminal 1500. For example, accelerometer 1150 can be used to detect the components of gravitational acceleration along the three axes. Processor 1501 can control display screen 1505 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1150. Accelerometer 1150 can also be used for games or for acquiring user motion data.
[0273] The gyroscope sensor 1111 can detect the orientation and rotation angle of the terminal 1500. The gyroscope sensor 1111 can work in conjunction with the accelerometer sensor 1150 to collect the user's 3D movements on the terminal 1500. Based on the data collected by the gyroscope sensor 1111, the processor 1501 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0274] The pressure sensor 1112 can be disposed on the side bezel of the terminal 1500 and / or the lower layer of the display screen 1505. When the pressure sensor 1112 is disposed on the side bezel of the terminal 1500, it can detect the user's grip signal on the terminal 1500, and the processor 1501 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1112. When the pressure sensor 1112 is disposed on the lower layer of the display screen 1505, the processor 1501 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1505. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0275] Optical sensor 1113 is used to collect ambient light intensity. In one embodiment, processor 1501 can control the display brightness of display screen 1505 based on the ambient light intensity collected by optical sensor 1113. Optionally, when the ambient light intensity is high, the display brightness of display screen 1505 is increased; when the ambient light intensity is low, the display brightness of display screen 1505 is decreased. In another embodiment, processor 1501 can also dynamically adjust the shooting parameters of camera assembly 1509 based on the ambient light intensity collected by optical sensor 1113.
[0276] The proximity sensor 1114, also known as the distance sensor, is installed on the front panel of the terminal 1500. The proximity sensor 1114 is used to detect the distance between the user and the front of the terminal 1500. In one embodiment, when the proximity sensor 1114 detects that the distance between the user and the front of the terminal 1500 is gradually decreasing, the processor 1501 controls the display screen 1505 to switch from a screen-on state to a screen-off state; when the proximity sensor 1114 detects that the distance between the user and the front of the terminal 1500 is gradually increasing, the processor 1501 controls the display screen 1505 to switch from a screen-off state to a screen-on state.
[0277] Those skilled in the art will understand that the structure shown in FIG15 does not constitute a limitation on the terminal 1500, and may include more or fewer components than shown, or combine certain components, or employ different component arrangements.
[0278] Optionally, the computer device is provided as a server. Figure 16 is a schematic diagram of a server structure according to an embodiment of this application. The server 1600 may vary considerably due to different configurations or performance, and may include one or more Central Processing Units (CPUs) 1601 and one or more memories 1602. The memory 1602 stores at least one computer program, which is loaded and executed by the processor 1601 to implement the indicator display method provided in the above-described method embodiments. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated here.
[0279] This application also provides a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to implement the method for displaying the indicator in any of the above implementations.
[0280] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. The processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the display method of the indicator in any of the above implementations.
[0281] In some embodiments, the computer program product involved in the present application may be deployed and executed on a computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed in multiple locations and interconnected through a communication network.
[0282] It should be noted that the data collection and processing 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.
[0283] It should be understood that "multiple" as used 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.
[0284] All the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here. The above are only optional embodiments of this application and are 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. A method for displaying an indicator, executed by a computer device, wherein, The method includes: Display a virtual scene, which includes the territories of multiple factions; If at least one user in the target faction has allocated resources to initiate an interactive action in the virtual scene, an indicator is displayed in the virtual scene. The indicator points from the territory of the target faction to the target area of the interactive action. The display effect of the indicator is related to a first quantity, which is the number of resources allocated in the target faction. The target faction refers to the faction to which the terminal login user belongs.
2. The method according to claim 1, wherein, The display of indicator markers in the virtual scene includes: The indicator is displayed in the virtual scene based on the ratio between the first quantity and the second quantity, where the second quantity is the total number of resources that can be deployed in the target camp, and the display effect of the indicator is positively correlated with the ratio.
3. The method according to claim 1 or 2, wherein, The resources allocated in the target camp include at least one type of resource, with resources of the same type having the same resource unit value. The display of indicator markers in the virtual scene includes: The indicator is displayed in the virtual scene based on the ratio between the first total resource value and the second total resource value, and the display effect of the indicator is positively correlated with the ratio. Wherein, the first total resource value is the sum of the resource aggregate values of all types of resources that are scheduled, the resource aggregate value of each type of resource is the product of the quantity of that type of resource and the resource unit value of that type of resource, and the second total resource value is the sum of the resource aggregate values of all types of resources under the target camp.
4. The method according to any one of claims 1 to 3, wherein, The display of indicator markers in the virtual scene includes: An indicator for a first display effect is displayed in the virtual scene. The first display effect is obtained by adjusting a preset display effect based on the ratio.
5. The method according to any one of claims 1 to 4, wherein, The virtual scene also displays at least one of the following: The first quantity; The second quantity; The ratio between the first quantity and the second quantity; The first total resource value; The second total resource value; The ratio between the first total resource value and the second total resource value.
6. The method according to any one of claims 1 to 5, wherein, The display of indicator markers in the virtual scene includes: In the virtual scene, an indicator pointing from the first position to the second position is displayed; Wherein, the first position is any one of the following: the position on the boundary of the target camp's territory, the center of the target camp's territory, or a marker point in the target camp's territory; The second position is any one of the following: the position on the boundary of the target area, the center of the target area, or a marker point of the target area.
7. The method according to any one of claims 1 to 6, wherein, When the first location belongs to the territory boundary and the second location does not belong to the area boundary, the first location is the location on the territory boundary that is closest to the second location. When the second location belongs to the boundary of the region and the first location does not belong to the boundary of the territory, the second location is the location on the boundary of the region that is closest to the first location. When the first position belongs to the territory boundary and the second position belongs to the area boundary, the first position and the second position are the two positions with the closest distance between the territory boundary and the area boundary.
8. The method according to any one of claims 1 to 7, wherein, The territory of the target faction includes the sub-territories of each user in the target faction; The display of indicator markers in the virtual scene includes: In the virtual scene, indicator markers pointing from each target sub-territory to the target area are displayed. Each target sub-territory is a sub-territory of each user performing a scheduling operation. The display effect of the indicator markers for each target sub-territory is related to the number of resources initiating interactive behaviors in the target sub-territory.
9. The method according to any one of claims 1 to 8, wherein, The display of indicator markers pointing from each target sub-territory to the target area in the virtual scene includes: For each target sub-territory, an indicator pointing from the third position to the fourth position is displayed in the virtual scene; The third position is any one of the following: the position on the boundary of the target sub-territory, the center of the target sub-territory, or the marker point of the target sub-territory; The fourth position is any one of the following: the position on the boundary of the target area, the center of the target area, or a marker point of the target area.
10. The method according to any one of claims 1 to 9, wherein, When the third position belongs to the sub-territory boundary and the fourth position does not belong to the area boundary, the third position is the position on the sub-territory boundary that is closest to the fourth position. When the fourth position belongs to the boundary of the region and the third position does not belong to the boundary of the sub-territory, the fourth position is the position on the boundary of the region that is closest to the third position. When the third position belongs to the sub-territory boundary and the fourth position belongs to the area boundary, the third position and the fourth position are the two positions with the closest distance between the sub-territory boundary and the area boundary.
11. The method according to any one of claims 1 to 10, wherein, The target faction has multiple territories, and the display of indicator markers in the virtual scene includes: In the virtual scene, an indicator pointing from the first territory to the target area is displayed. The first territory is the territory closest to the target area among the multiple territories of the target faction.
12. The method according to any one of claims 1 to 11, wherein, The target faction has multiple territories where the resources being deployed are located, and the display of indicator markers in the virtual scene includes: Multiple first indicator icons are displayed in the virtual scene. These first indicator icons point to the target area from multiple second territories. The multiple second territories are the territories where the scheduled resources are located. The display effect of the first indicator icon corresponding to each second territory is related to the number of resources that initiate interactive behavior in the second territory.
13. The method according to any one of claims 1 to 12, wherein, The target area comprises multiple blocks, and the display of indicator markers in the virtual scene includes: Multiple second indicator markers are displayed in the virtual scene. These multiple second indicator markers point from the territory of the target faction to multiple target areas respectively. The display effect of the second indicator marker corresponding to each target area is related to the number of resources in the scheduled resources that initiate interactive behavior to the target area.
14. The method according to any one of claims 1 to 13, wherein, The display effect of the indicator is changed by adjusting at least one of the indicator's size, color, brightness, and transparency.
15. The method according to any one of claims 1 to 14, wherein, The indicator is a line with an arrow, and the size of the indicator includes at least one of the width of the line and the size of the arrow.
16. The method according to any one of claims 1 to 15, wherein, The line is an arc, with its two ends pointing to the territory of the target faction and the target area, respectively. Alternatively, the line may be a straight line, with its two ends pointing to the territory of the target faction and the target area, respectively. Alternatively, the line may be a curve along a road between the territory of the target faction and the target area.
17. The method according to any one of claims 1 to 16, wherein, The method further includes: If the resources scheduled by the user in the target camp change, the indicator displayed in the virtual scene will change, and the change may include at least one of the changes in display effect and direction.
18. The method according to any one of claims 1 to 17, wherein, The step of displaying a change in the indicator in the virtual scene if the resources scheduled by the user in the target camp change includes: If the resources allocated by users in the target camp increase, the display effect of the indicator in the virtual scene will be higher than the previous display effect.
19. The method according to any one of claims 1 to 18, wherein, The step of displaying a change in the indicator in the virtual scene if the resources scheduled by the user in the target camp change includes: If the resources allocated by users in the target camp are reduced, the display effect of the indicator in the virtual scene will be lower than the original display effect.
20. The method according to any one of claims 1 to 19, wherein, The step of displaying a change in the indicator in the virtual scene if the resources scheduled by the user in the target camp change includes: If the target area for the interactive behavior initiated by the resources dispatched by the user in the target camp is adjusted, the indicator in the virtual scene will be displayed pointing to the adjusted target area.
21. A display device for an indicator, wherein, The device includes: The first display module is used to display a virtual scene, which includes the territories of multiple factions. The second display module is used to display an indicator in the virtual scene if at least one user in the target faction has scheduled resources to initiate an interactive behavior in the virtual scene. The indicator points from the territory of the target faction to the target area of the interactive behavior. The display effect of the indicator is related to a first quantity, which is the number of resources scheduled in the target faction. The target faction refers to the faction to which the terminal login user belongs.
22. A computer device, wherein, The computer device includes a processor and a memory, the memory being used to store a computer program, the computer program being loaded by the processor and executed as the method for displaying the indicator according to any one of claims 1 to 20.
23. A computer-readable storage medium, wherein, The computer-readable storage medium is used to store a computer program for performing the method of displaying the indicator as described in any one of claims 1 to 20.
24. A computer program product, wherein, The computer program product includes a computer program stored in a computer-readable storage medium, a processor of a computer device reading the computer program from the computer-readable storage medium, and the processor executing the computer program to cause the computer device to perform the method for displaying an indicator as described in any one of claims 1 to 20.