Map display method and device, storage medium, and electronic device

By dynamically adjusting the geographical area displayed on the map and adaptively displaying more resources and terrain information according to the movement parameters of virtual objects, it solves the problem that the existing small map display cannot meet the needs of fast-moving users, and improves operational accuracy and experience. .

CN115186026BActive Publication Date: 2024-09-24BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 20 Cites 0 Cited by

Patent Information

Application Number
CN202210777790.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-09-24
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

The area displayed on the existing mini map is fixed, which cannot meet the user's need to obtain more resource icons or terrain information when moving quickly. As a result, the user may miss resources or be stuck in the terrain, affecting the operating experience.

Method used

By obtaining the movement parameters of virtual objects in the virtual scene, determine the map update conditions, and dynamically adjust the area displayed on the map to ensure that the area displayed on the map is adaptive to the movement parameters of virtual objects, such as speed and acceleration, thereby displaying more Resource and terrain information.

Benefits of technology

It improves the accuracy and experience of user operations, reduces the possibility of missing resources and stuck terrain due to rapid movement, and makes the map display more adaptable to the user's movement status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115186026B
    Figure CN115186026B
Patent Text Reader

Abstract

The present disclosure proposes a map display method and device, a storage medium, and an electronic device. The method includes: obtaining movement parameters of a virtual object in a virtual scene, displaying the virtual object and the virtual scene on a target interface, and the target interface also displays a map associated with the virtual scene; based on the movement parameters, determining whether a map update condition is satisfied, and updating the area displayed on the map in response to the map update condition being satisfied. The present disclosure associates the movement parameters of the virtual object with the area displayed on the map, which can improve the user's operation accuracy and enhance the user's operation experience.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to the field of human-computer interaction technology, and in particular to a map display method and device, a storage medium, and an electronic device. [Background technology]

[0002] A mini-map is often set up in the game operation interface to assist the user's corresponding virtual objects in determining their positions in the game world. The mini-map plays a very important role as an important source of tactical information.

[0003] However, in the related art, the area displayed on the small map usually remains unchanged, which cannot meet the needs of users who want to obtain more resource icons or terrain information in some scenarios. [Summary of the invention]

[0004] According to a first aspect of an embodiment of the present disclosure, a map display method is provided, the method comprising: obtaining movement parameters of a virtual object in a virtual scene, displaying the virtual object and the virtual scene on a target interface, the target interface also displaying a map associated with the virtual scene; based on the movement parameters, determining whether a map update condition is met, and in response to the map update condition being met, updating the geographical area displayed on the map.

[0005] In an exemplary embodiment, the movement parameter includes at least one of speed and acceleration.

[0006] In an exemplary embodiment, determining whether a map update condition is satisfied based on the movement parameters includes: determining a target area corresponding to the map according to the movement parameters, the target area being used to represent an area determined according to the movement parameters and displayed on the map;

[0007] In response to the target area being different from the reference area, it is determined that the map update condition is satisfied, the reference area being the area of ​​the area displayed on the map before the update.

[0008] In an exemplary embodiment, determining the target area according to the movement parameters includes:

[0009] Acquire mapping information, where the mapping information represents a corresponding relationship between any movement parameter and a corresponding geographical area;

[0010] Determining the geographical area corresponding to the movement parameter according to the mapping information;

[0011] According to the area corresponding to the moving parameter, the target area is obtained.

[0012] In an exemplary embodiment, obtaining the target area according to the area area corresponding to the movement parameter includes:

[0013] In response to the situation that the area area corresponding to the movement parameter is different from the reference area area, obtaining incremental map information, the incremental map information is used to indicate map information in the incremental area area, and the incremental map area is determined according to the area area corresponding to the movement parameter and the reference area area;

[0014] In response to the situation that the incremental map information is greater than the first threshold, the geographical area corresponding to the movement parameter is determined as the target geographical area.

[0015] In an exemplary embodiment, obtaining the target regional area according to the regional area corresponding to the movement parameter also includes: in response to the information amount of the incremental map information being less than or equal to a first threshold, determining the reference regional area as the target regional area.

[0016] In an exemplary embodiment, determining whether the map update condition is satisfied based on the movement parameter includes: when the movement parameter is greater than a second threshold, determining that the map update condition is satisfied.

[0017] In an exemplary embodiment, updating the geographical area displayed on the map includes: updating a zoom ratio of the map, and / or updating a display size of the map on the target interface.

[0018] In an exemplary embodiment, when the geographical area displayed on the map is updated, the size of the information mark on the map is kept unchanged.

[0019] In an exemplary embodiment, the method further includes: adjusting the field of view of the virtual object in the virtual scene according to the movement parameter.

[0020] According to a second aspect of an embodiment of the present disclosure, a map display device is provided, the device comprising:

[0021] A movement parameter acquisition module is configured to acquire movement parameters of a virtual object in a virtual scene, wherein the virtual object and the virtual scene are displayed on a target interface, and the target interface also displays a map associated with the virtual scene;

[0022] The map update module is configured to determine whether a map update condition is met based on the movement parameter, and update the geographical area displayed on the map in response to the map update condition being met.

[0023] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to perform the steps of any of the methods described in the first aspect.

[0024] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.

[0025] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0026] The disclosed embodiment provides a map display solution, which determines whether the map update condition is met through the movement parameters of the virtual object in the virtual scene, and when the map update condition is met, the geographical area displayed on the map is updated. The disclosed embodiment associates the movement parameters of the virtual object with the geographical area displayed on the map, without user manipulation, and the geographical area displayed on the map can be adaptively adapted to the movement parameters of the virtual object. For example, the movement parameter is the movement speed of the virtual object. When the map update condition is met, the geographical area displayed on the map is set to increase as the movement parameter increases. In this way, more resources and terrain information can be displayed in the map, thereby reducing the possibility of missing resources and getting stuck in terrain due to the high movement speed of the virtual object and insufficient user prediction. In summary, associating the movement parameters of the virtual object with the update of the geographical area displayed on the map can improve the user's operation accuracy and enhance the user's operation experience.

[0027] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

[0028] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.

Brief Description of the Drawings

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0030] Figure 1 A diagram showing an application environment of a map display method provided according to an embodiment of the present disclosure;

[0031] Figure 2 The process of the map display method provided according to the embodiment of the present disclosure is as follows Figure 1 ;

[0032] Figure 3 The target interface provided according to the embodiment of the present disclosure is shown in FIG. Figure 1 ;

[0033] Figure 4 The target interface provided according to the embodiment of the present disclosure is shown in FIG. Figure 2 ;

[0034] Figure 5 The target interface provided according to the embodiment of the present disclosure is shown in FIG. Figure 3 ;

[0035] Figure 6 The process of the map display method provided according to the embodiment of the present disclosure is as follows Figure 2 ;

[0036] Figure 7 A schematic diagram of the structure of a map display device provided according to an embodiment of the present disclosure;

[0037] Figure 8 A schematic block diagram of an electronic device provided according to an embodiment of the present disclosure;

[0038] Fig. 9 The present invention is a structural block diagram of an electronic device provided according to an embodiment of the present disclosure. [Specific implementation method]

[0039] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0041] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0042] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0043] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0044] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0045] In the related art, the area displayed on the mini-map is usually a default area, which does not change with the user's movement status. When the user moves at a fast speed, for example, running or driving a vehicle, the resource icons or terrain information displayed on the mini-map are limited. If the user does not make enough predictions, it is easy for the user to miss resources or get stuck in the terrain, which affects the user's operation experience.

[0046] In view of this, the embodiments of the present disclosure provide a map display method and device, a storage medium, and an electronic device. Figure 1 , which is an application environment diagram of the map display method provided according to an embodiment of the present disclosure, and the application environment may include a terminal 110 and a server 120.

[0047] The terminal 110 may be, for example, a mobile phone, a tablet computer, a laptop computer, a game console, a PDA, a wearable device (such as VR (Virtual Reality) glasses, a VR helmet, a smart watch, etc.), but is not limited thereto. A client whose background service is provided by the server 120 may run in the terminal 110.

[0048] The operating system of the terminal may include Android, IOS, Windows Phone, Windows, etc., and may support running a variety of applications, such as virtual social applications, 3D maps, games, etc. Among them, the terminal may display the graphical user interface of any of the above applications. The graphical user interface generally refers to the interface corresponding to the application displayed on the terminal. The user may operate the application or obtain the information displayed by the application through the graphical user interface. For example, in the game client, the user may watch and operate the game through the graphical display interface, and in the live broadcast client, the user may watch the live broadcast or participate in the live broadcast e-commerce through the graphical user interface.

[0049] In an exemplary embodiment, the client 110 may display a target interface in response to an application display instruction, and a virtual object, a virtual scene, and a map associated with the virtual scene may be displayed on the target interface. The user may view the near-view space where the virtual object is located through the virtual scene, and the user may overlook the virtual object through the map, thereby forming an objective perception of the position of the virtual object in the far-view space, so as to facilitate the user to control the movement of the virtual object in the near-view space.

[0050] The embodiments of the present disclosure do not limit the specific display mode and display content of the target interface, and can be set according to different applications. For example, for game applications, the target interface can display the equipment information of virtual objects, the operation controls of virtual objects, and the manual zoom controls for map information. For live broadcast applications, the target interface can display the e-commerce information associated with virtual objects, e-commerce operation controls, and manual zoom controls for map information, and can even display the switching controls between two-dimensional space and three-dimensional space, etc. The embodiments of the present disclosure do not limit this.

[0051] Figure 1 The server 120 shown in the figure can be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers. The terminal 110 and the server 120 can be connected via a wired network or a wireless network. The server 120 can be considered to provide services for the client 110, thereby supporting the interaction between the client 110 and the user. The client 110 can obtain the user's operation information by interacting with the user, and interact with the server 120 based on the operation information to obtain the information to be displayed, and render the information on the above-mentioned target interface.

[0052] Figure 2 The process of the map display method provided according to the embodiment of the present disclosure is as follows Figure 1 ,like Figure 2 As shown, the following steps are included:

[0053] S201, obtaining movement parameters of a virtual object in a virtual scene, displaying the virtual object and the virtual scene on a target interface, and displaying a map associated with the virtual scene on the target interface;

[0054] The embodiment of the present disclosure does not limit the specific meaning of the target interface, which may be a visual interface displayed on any terminal with a graphical user interface.

[0055] The disclosed embodiments do not limit the application to which the target interface belongs. Taking a game application as an example, the target interface can be used to display a virtual scene in the game. For example, the virtual scene can include a building scene, a MOBA (Multiplayer Online Battle Arena Games) scene, a shooting scene, etc. The virtual objects in the virtual scene can include virtual buildings, virtual characters and other objects that can be controlled by the user, or virtual objects automatically controlled by the game, etc.

[0056] In the disclosed embodiment, the above-mentioned target interface can display all or part of the virtual scene, and the virtual scene can be changed according to specific factors such as the progress of the game and the control of the game. The disclosed embodiment does not limit the type and switching method of the virtual scene, and the disclosed embodiment does not specifically limit the number of areas for displaying virtual scenes in the target interface. For example, two areas can be set in the target interface, where area A is used to display the state of the virtual object in the virtual scene from a bird's-eye view, and area B is used to display the state of the virtual scene observed from the perspective of the virtual object. The display effect of the virtual scene and virtual object is optimized by multi-view and multi-area display, and the displayed spatial information is enriched. For any area in the target interface, it can also include controls for controlling virtual objects and virtual scenes, such as skill controls, attack controls, retreat controls, direction controls, etc.

[0057] The target interface also includes a map associated with the virtual scene. The purpose of displaying the map is to facilitate the operator of the virtual object or the observer of the target interface to understand the position of the virtual object in the map associated with the virtual scene, thereby facilitating the control of the movement of the virtual object.

[0058] In a specific embodiment, see Figure 3 , Figure 3 A schematic diagram of a target interface provided according to an embodiment of the present disclosure Figure 1 .like Figure 3As shown, a virtual scene 301 and a map 302 are displayed on the target interface 30, and at least one virtual object 3011 and a road 3012 are displayed on the virtual scene 301, wherein the virtual object 3011 may be, for example, a character of a user in a game, or may be, for example, an NPC non-player character (NPC), etc., and the virtual object 3011 moves along the road 3012. Optionally, the target interface 30 may also display control information such as skill controls and direction controls. This embodiment does not limit the specific implementation method of the target interface 30.

[0059] The map 302 is associated with the virtual scene 301, and is used to express map information within a target range associated with the location of at least one virtual object 3011, wherein the map information corresponds to the virtual scene of the actual game, and displays the virtual scene of the game at a preset scale, and is used to display a panoramic map of the virtual scene of the game and important information in the game, such as resource icons 3021, the real-time location 3022 of virtual objects, the real-time location of the enemy, or the field of view information of the current game scene, etc. The area where the map 302 is located can also display game signal controls, such as attack controls, retreat controls, map zoom controls, etc. The specific implementation method of the map 302 is not limited here.

[0060] It can be understood that the relative position relationship between the virtual scene 301 and the map 302 can be set as needed; for example, the map 302 can be set on the left side of the virtual scene 301, or the map 302 can be set on the right side of the virtual scene 301, and for example, the map 302 can be stacked on the virtual scene 301; the embodiment of the present disclosure does not specifically limit the relative position relationship between the virtual scene 301 and the map 302.

[0061] In the embodiment of the present disclosure, the above steps include obtaining the movement parameters of the virtual object in the virtual scene. The embodiment of the present disclosure does not specifically limit the movement parameters. The movement parameters can be at least one of speed or acceleration. The above speed can be instantaneous speed or average speed. The above acceleration can be average acceleration or instantaneous acceleration.

[0062] S202: Based on the movement parameters, determine whether a map update condition is met, and in response to the map update condition being met, update the geographical area displayed on the map.

[0063] The disclosed embodiment does not specifically limit how to determine whether the map update condition is met according to the movement parameter. For example, whether the map update condition is met can be determined according to the relationship between the movement parameter and a preset movement parameter threshold. For example, when the movement parameter is greater than a second threshold, it is determined that the map update condition is met, and the second threshold is a specific value related to the movement parameter.

[0064] Alternatively, the target area is determined based on the movement parameters, and whether the map update condition is met is determined based on the relationship between the target area and the reference area, wherein the reference area represents the area of ​​the area displayed before the map is updated. Specifically, when the target area is different from the reference area, it is determined that the map update condition is met; when the target area is the same as the reference area, it is determined that the map update condition is not met.

[0065] For example, the virtual scene is a mountain M, and the map N including the mountain M is the map associated with the virtual scene. The moving parameter is the speed S1 of the virtual object, and the target area determined according to the speed S1 is 100m*100m, that is, the area displayed on the map N determined according to the speed S1 is 100m*100m; before the update, the area displayed on the map N is 50m*50m, that is, the reference area of ​​the map N is 50m*50m. At this time, the target area is different from the reference area, and the map update condition is met, and the area displayed on the map is updated to the target area of ​​100m*100m. Alternatively, the moving parameter is the speed S2 of the virtual object, and the target area determined according to the speed S2 is 80m*80m, that is, the area displayed on the map N determined according to the speed S2 is 80m*80m; before the update, the area displayed on the map N is 80m*80m, that is, the reference area of ​​the map N is 80m*80m. At this time, the target area is the same as the reference area, the map update condition is not met, and the area displayed on the map will not be updated. In other words, if the target area is the same as the reference area, there is no need to change the area displayed on the map. If the target area is different from the reference area, the area displayed on the map can be changed, so that the area displayed on the map can be adaptively changed according to the moving parameters, thereby meeting the user's display requirements for the space where the virtual object is located, and the update is triggered only when the target area is different from the reference area, thereby avoiding frequent refreshing of map information in the map and reducing the burden on device operation.

[0066] The disclosed embodiments do not specifically limit the manner in which the geographical area displayed on the map is updated. In one practicable manner, the geographical area displayed on the map can be updated by changing the zoom ratio of the map. For example, the reference geographical area and the target geographical area displayed on the map are known, the reference geographical area represents the geographical area displayed before the map is updated, and the target geographical area represents the geographical area displayed on the map after the map is updated, which can be determined based on the acquired movement parameters. Assuming that the zoom ratio when the map displays the reference geographical area is a first zoom ratio, and the zoom ratio when the map displays the target geographical area is a second zoom ratio, when updating, the zoom ratio of the map can be adjusted from the first zoom ratio to the second zoom ratio, and the update of the geographical area displayed on the map can be completed.

[0067] It can be understood that the zoom ratio of the map can determine the geographical area displayed on the map, and the zoom ratio of the map can be determined by the acquired movement parameters of the virtual object.

[0068] In another practicable manner, the displayed area can be updated by updating the display size of the map on the target interface, that is, the displayed area can be adjusted by changing the display size of the map on the target interface. For example, given the reference area and the target area displayed on the map, assuming that the reference area is displayed on the target interface in a first size and the target area is displayed on the target interface in a second size, when updating, the size of the map displayed on the target interface can be updated from the first size to the second size, and the updated area of ​​the map display area can be completed. Please refer to Figure 4 , Figure 4 The target interface provided according to the embodiment of the present disclosure is shown in FIG. Figure 2 , Figure 4 (a) shows the state before the map is updated. Figure 4 (b) shows the state of the map after updating. As shown in the figure, after the update, the display size of the map on the target interface increases.

[0069] It can be understood that the size of the map displayed on the target interface can determine the geographical area displayed on the map, and the size of the map displayed on the target interface can be determined by the acquired movement parameters.

[0070] In another practicable manner, the area displayed on the map can be adjusted by adjusting the map zoom ratio and the size of the map displayed on the target interface at the same time. For example, in actual operation, the moving speed of the virtual object is increased from the first speed to the second speed, wherein the second speed is greater than the preset speed threshold. Since the moving speed of the virtual object is fast, the user hopes to obtain more map information from the map. At this time, it can be determined that the map update condition is met, and the map zoom ratio is adjusted to increase the area displayed on the map to show more map information to the user. After the moving speed of the virtual object is increased from the first speed to the second speed, it moves at a constant speed for a preset time period at the second speed, that is, the movement acceleration of the virtual object in the preset time period is very small, or close to zero. At this time, the user is busy on the road and does not pay much attention to the surroundings of the virtual object, but is more inclined to pay attention to the map information; in this case, it can be determined that the map update condition is met. Since the user does not pay much attention to the surroundings of the virtual object, the size of the map displayed on the target interface can be increased to cover a part of the virtual scene to increase the area displayed on the map, so that the user can obtain more map information.

[0071] The embodiments of the present disclosure do not limit the specific rules for updating the area of ​​the map. For example, in one embodiment, the movement parameter is the movement speed of the virtual object. When the movement speed increases, the area displayed on the map increases. In this way, more resources and terrain information can be displayed on the map, thereby reducing the possibility of missing resources and getting stuck in terrain due to the high movement speed of the virtual object and insufficient user prediction. Figure 5 , Figure 5 The target interface provided according to the embodiment of the present disclosure is shown in FIG. Figure 2 As shown in the figure, the virtual object 3011 is located on the vehicle 3013. Figure 5 The moving speed of the virtual object 3011 is greater than Figure 3 The moving speed of the virtual object 3011, Figure 5 The area shown on the map is larger than Figure 3 The area displayed on the map. In actual application, the map can be set to have a maximum display area and a minimum display area, that is, the area displayed on the map cannot be increased or reduced indefinitely.

[0072] In another embodiment, the movement parameter is the movement acceleration of the virtual object. When the acceleration is very small within a preset time period, it indicates that the virtual object is in a uniform motion state. At this time, the area displayed on the map is increased. In this way, more resources and terrain information can be displayed on the map to facilitate the user's next operation.

[0073] In some embodiments, the area of ​​the region after the map update can be determined according to the movement parameters, that is, the target area is determined based on the movement parameters.

[0074] The specific method of determining the target area according to the movement parameters is not limited in the embodiments of the present disclosure. In one practicable method, determining the target area according to the movement parameters includes:

[0075] Mapping information is obtained, where the mapping information represents a corresponding relationship between any movement parameter and a corresponding geographical area.

[0076] The embodiments of the present disclosure do not limit the specific type of mapping information. In some implementations, the movement parameter is positively correlated with the geographical area, that is, the larger the movement parameter is, the larger the corresponding geographical area is.

[0077] In some embodiments, the relationship between the movement parameter and the area is linear, that is, the area and the movement parameter satisfy the following relationship: Y=aX+b, where X represents the movement parameter, Y represents the area, a and b are parameters, and a>0.

[0078] In another embodiment, there is a nonlinear relationship between the movement parameter and the geographical area, such as movement parameters in different intervals correspond to different geographical areas, and the movement parameter is taken as the movement speed as an example for explanation: assuming that the movement speed of the virtual object can vary from 1 m / s to 20 m / s, 1-20 m / s is divided into different intervals, and different intervals correspond to different geographical areas: for example, when the movement speed is between 1 m / s and 10 m / s, the corresponding geographical area is 50m*50m, and when the movement speed is between 10 m / s and 20 m / s, the corresponding geographical area is 100m*100m.

[0079] According to the above mapping information, the geographical area corresponding to the above movement parameters is determined; and according to the geographical area corresponding to the movement parameters, the target geographical area is obtained.

[0080] The embodiment of the present disclosure does not limit the specific method of obtaining the target regional area according to the regional area corresponding to the movement parameter. In an implementable method, the regional area corresponding to the movement parameter is determined as the target regional area, but is not limited to this. Please refer to Figure 6 , which is a process of a map display method provided according to an embodiment of the present disclosure Figure 2 .like Figure 6 As shown, according to the area area corresponding to the movement parameter, the target area is obtained, including:

[0081] S601. In response to a situation where an area area corresponding to the movement parameter is different from a reference area area, obtaining incremental map information, wherein the incremental map information is used to indicate map information in an incremental area, and the incremental area is determined based on the area area corresponding to the movement parameter and a reference area area.

[0082] Continuing with the previous example, for map N, at time A, the reference geographical area displayed on the map is 50m*50m. At a certain moment after time A, or a certain time period, the geographical area corresponding to the movement parameter is 100m*100m. The above reference geographical area is different from the geographical area corresponding to the movement parameter, so incremental map information is obtained. The disclosed embodiments do not limit the specific method for obtaining incremental map information. For example, the incremental geographical area is first determined based on the geographical area corresponding to the movement parameter and the reference geographical area, and then the map information within the incremental geographical area is obtained to obtain the incremental map information; or the map information of the map under the reference geographical area is first obtained, and then the map information of the map under the geographical area corresponding to the movement parameter is obtained, and the two are compared to obtain the incremental map information.

[0083] The embodiments of the present disclosure do not specifically limit the specific content of the map information, which may be at least one of resource icons, road information, terrain information, the real-time location of teammates, or the real-time location of the enemy.

[0084] Continuing with the previous example, for map N, at time A, the reference area displayed on the map is 50m*50m, and the number of resource icons contained in the map under this reference area is 5. At a certain moment or time period subsequent to time A, the area corresponding to the movement parameter is 100m*100m, and the number of resource icons contained in the map under the area of ​​100m*100m is 8. It can be concluded that the incremental map information is 3.

[0085] Alternatively, it is known that at time A, the number of road forks contained in the map with an area of ​​50m*50m is 4. At a certain time after time A, or a certain time period, the geographical area corresponding to the movement parameter is 100m*100m. The number of road forks contained in the map with an area of ​​100m*100m is 6, and it can be concluded that the incremental map information is 2.

[0086] S602: In response to the incremental map information being greater than a first threshold, determining the geographical area corresponding to the movement parameter as the target geographical area.

[0087] The disclosed embodiment compares the incremental map information with the first threshold, and when the incremental map information is greater than the first threshold, determines the area corresponding to the movement parameter as the target area. The disclosed embodiment does not limit the specific value of the first threshold, and can be set according to actual needs.

[0088] Through the above configuration, when the incremental map information is greater than the first threshold, the update of the geographical area displayed on the map is triggered, while in other cases the update of the geographical area displayed on the map is not triggered. Selective updates can avoid frequent triggering of updates and reduce the burden on device operation.

[0089] The target area is obtained according to the area area corresponding to the movement parameter, and further includes: in response to the information amount of the incremental map information being less than or equal to a first threshold, determining the reference area area as the target area. At this time, it is determined that the map update condition is not met.

[0090] In the disclosed embodiment, when the incremental map information is less than or equal to the first threshold value, it indicates that the map information of the map under the geographical area corresponding to the movement parameter has not changed much compared with the map information of the map under the reference geographical area, that is, the map information of the map cannot introduce a sufficient amount of incremental map information after the update, such as resource icons, road information, terrain information, the real-time location of teammates or the real-time location of the enemy, etc. At this time, the geographical area displayed on the map can be controlled not to be updated, that is, the reference geographical area is determined as the target geographical area, and it is determined that the map update condition is not met, and the geographical area displayed on the map is not refreshed. Through the above configuration, when the incremental map information is less than or equal to the first threshold value, the update of the geographical area displayed on the map is not triggered, which can avoid frequent refreshing of the geographical area displayed on the map and reduce the burden on equipment operation.

[0091] In some embodiments, when updating the area displayed on the map, the size of the information mark on the map is kept unchanged. The size of the information mark does not change with the change of the area, which can ensure that the user can clearly identify the information mark when the area displayed on the map is large, improve the accuracy of user operation, and enhance user stickiness.

[0092] The information identifiers include resource icons, real-time position identifiers of enemy troops, position identifiers of virtual objects, etc. Not limited thereto, the information identifiers may also be identifiers of other key information.

[0093] By associating the movement parameters with the geographical area displayed on the map, the disclosed embodiment can make the geographical area displayed on the map adaptively adapt to the movement parameters of the virtual object without user manipulation, thereby improving the accuracy of user operations and enhancing the user's operating experience.

[0094] In some embodiments, the field of view of the virtual object in the virtual scene may also be adjusted according to the movement parameters.

[0095] The disclosed embodiments do not limit the specific manner of adjusting the field of view of the virtual object in the virtual scene according to the movement parameters. For example, the field of view of the virtual scene corresponding to the movement parameters can be obtained by obtaining the mapping relationship between the movement parameters and the field of view of the virtual scene. The disclosed embodiments do not limit the specific mapping relationship between the movement parameters and the field of view of the virtual scene, which can be linear or discrete. In an optional embodiment, the field of view of the virtual scene is positively correlated with the movement parameters, that is, the larger the movement parameters, the larger the field of view of the virtual scene. The movement parameters can be at least one of the instantaneous speed, average speed, average acceleration and instantaneous acceleration corresponding to the virtual object at the first moment. Through the above configuration, in the virtual scene, the field of view in the virtual scene is adjusted by the movement information of the virtual object, which can effectively expand the user's game field of view, facilitate user operation, and improve user stickiness.

[0096] In the case of dividing each functional module into corresponding functional modules, such as Figure 7 , which is a schematic diagram of the structure of an embodiment of a map display device provided by an embodiment of the present disclosure, and the map display device may be an electronic device.

[0097] The device may include:

[0098] The movement parameter acquisition module 701 is configured to acquire movement parameters of a virtual object in a virtual scene, wherein the virtual object and the virtual scene are displayed on a target interface, and the target interface also displays a map associated with the virtual scene;

[0099] The map update module 702 is configured to determine whether a map update condition is satisfied based on the movement parameters, and update the geographical area displayed on the map in response to the map update condition being satisfied.

[0100] As an optional implementation, the movement parameter includes at least one of speed and acceleration.

[0101] As an optional implementation, the map update module includes:

[0102] A first determining unit is configured to determine a target area according to the movement parameter, where the target area is used to represent an area determined according to the movement parameter and displayed on the map;

[0103] The second determining unit is configured to execute, in response to a situation where the target area is different from a reference area, determining that a map update condition is satisfied, wherein the reference area is an area displayed on the map before the update.

[0104] As an optional implementation manner, the first determining unit is configured to execute:

[0105] Acquire mapping information, where the mapping information represents a corresponding relationship between any movement parameter and a corresponding geographical area;

[0106] Determine the geographical area corresponding to the movement parameter according to the mapping information;

[0107] According to the area corresponding to the moving parameter, the target area is obtained.

[0108] As an optional implementation manner, the first determining unit is configured to execute:

[0109] In response to the situation that the area area corresponding to the movement parameter is different from the reference area area, obtaining incremental map information, the incremental map information is used to indicate map information in the incremental area, and the incremental area is determined according to the area area corresponding to the movement parameter and the reference area area;

[0110] In response to the situation that the incremental map information is greater than the first threshold, the geographical area corresponding to the movement parameter is determined as the target geographical area.

[0111] As an optional implementation manner, the first determining unit is configured to execute:

[0112] In response to the situation that the information amount of the incremental map information is less than or equal to the first threshold, the reference geographical area is determined as the target geographical area.

[0113] As an optional implementation, the map update module is configured to execute: updating the zoom ratio of the map, and / or updating the display size of the map on the target interface.

[0114] As an optional implementation manner, the map update module is configured to execute: when the movement parameter is greater than a second threshold, determining that the map update condition is met.

[0115] As an optional implementation, the map updating module is configured to execute: when updating the geographical area displayed on the map, the size of the information identifier on the map remains unchanged.

[0116] As an optional implementation, the device further includes:

[0117] The field of view adjustment module is configured to adjust the field of view of the virtual object in the virtual scene according to the movement parameters.

[0118] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0119] Figure 8 1 shows a schematic block diagram of an electronic device according to an exemplary embodiment of the present disclosure. Figure 8As shown, the electronic device 800 includes one or more (including two) processors 801 and a communication interface 802. The communication interface 802 can support the server to perform the data receiving and sending steps in the above map display method, and the processor 801 can support the server to perform the data processing steps in the above map display method.

[0120] Optional, such as Figure 8 As shown, the chip 800 also includes a memory 803, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).

[0121] In some embodiments, Figure 8 As shown, the processor 801 performs corresponding operations by calling the operation instructions stored in the memory (the operation instructions may be stored in the operating system). The processor 801 controls the processing operations of any one of the terminal devices, and the processor may also be called a central processing unit (CPU). The memory 803 may include a read-only memory and a random access memory, and provides instructions and data to the processor 801. A portion of the memory 803 may also include NVRAM. For example, in an application, the memory, the communication interface, and the memory are coupled together through a bus system, wherein the bus system may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, in Figure 8 Various buses are labeled as bus system 804 .

[0122] The method disclosed in the above-mentioned embodiment of the present disclosure can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above-mentioned processor may be a general-purpose processor, a digital signal processor (digital signal processing, DSP), an ASIC, a field-programmable gate array (field-programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiment of the present disclosure can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware.

[0123] The exemplary embodiment of the present disclosure further provides an electronic device, comprising: a processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to execute the method according to the embodiment of the present disclosure.

[0124] The exemplary embodiments of the present disclosure further provide a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to the embodiment of the present disclosure is executed.

[0125] The exemplary embodiments of the present disclosure also provide a computer program product, including a computer program, wherein the computer program is used to cause the computer to perform the method according to the embodiments of the present disclosure when executed by a processor of the computer.

[0126] like Fig. 9As shown, the electronic device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0127] A plurality of components in the electronic device 900 are connected to the I / O interface 905, including: an input unit 906, an output unit 907, a storage unit 908, and a communication unit 909. The input unit 906 may be any type of device capable of inputting information to the electronic device 900, and the input unit 906 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 907 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 904 may include, but is not limited to, a disk, an optical disk. The communication unit 909 allows the electronic device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.

[0128] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 901 performs the various methods and processes described above. For example, in some embodiments, the map display method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 900 via the ROM 902 and / or the communication unit 909. In some embodiments, the computing unit 901 may be configured to perform the map display method in any other appropriate manner (e.g., by means of firmware).

[0129] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0130] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0131] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0132] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0133] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0134] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is executed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a terminal, a user device or other programmable device. The computer program or instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instruction may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, for example, a floppy disk, a hard disk, a tape; it may also be an optical medium, for example, a digital video disc (DVD); it may also be a semiconductor medium, for example, a solid state drive (SSD).

[0135] Although the present disclosure has been described in conjunction with specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely exemplary illustrations of the present disclosure as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A map display method, It is characterized in that The method comprises: Acquiring movement parameters of a virtual object in a virtual scene, wherein the virtual object and the virtual scene are displayed on a target interface, and the target interface also displays a map associated with the virtual scene; In response to the situation that the area area corresponding to the movement parameter is different from the reference area area, acquiring incremental map information, the incremental map information is used to indicate map information in the incremental area area, the incremental area area is determined according to the area area corresponding to the movement parameter and the reference area area, the reference area area is the area area displayed on the map before updating; In response to the situation that the incremental map information is greater than a first threshold, determining the geographical area corresponding to the movement parameter as a target geographical area, wherein the target geographical area is used to represent the geographical area determined according to the movement parameter and displayed on the map; In response to the target area being different from the reference area, determining that a map update condition is satisfied; In response to the map update condition being satisfied, the area displayed on the map is updated to the target area.

2. The display method according to claim 1, It is characterized in that The movement parameter includes at least one of speed and acceleration.

3. The display method according to claim 1, It is characterized in that The method for determining the geographical area corresponding to the movement parameter includes: Acquire mapping information, where the mapping information represents a corresponding relationship between any movement parameter and a corresponding geographical area; The geographical area corresponding to the movement parameter is determined according to the mapping information.

4. The display method according to claim 1, It is characterized in that The method further comprises: In response to the situation that the amount of information of the incremental map information is less than or equal to a first threshold, the reference geographical area is determined as the target geographical area.

5. The display method according to any one of claims 1 to 4, It is characterized in that Updating the geographical area displayed on the map includes: updating the zoom ratio of the map, and / or updating the display size of the map on the target interface.

6. The display method according to any one of claims 1 to 4, It is characterized in that When the geographical area displayed on the map is updated, the size of the information logo on the map remains unchanged.

7. The display method according to any one of claims 1 to 4, It is characterized in that The method further comprises: According to the movement parameter, the field of view of the virtual object in the virtual scene is adjusted.

8. A map display device, It is characterized in that The device comprises: A movement parameter acquisition module, configured to acquire movement parameters of a virtual object in a virtual scene, wherein the virtual object and the virtual scene are displayed on a target interface, and the target interface also displays a map associated with the virtual scene; A map update module is configured to, in response to a situation where the geographical area corresponding to the movement parameter is different from a reference geographical area, obtain incremental map information, the incremental map information is used to indicate map information in the incremental geographical area, the incremental geographical area is determined based on the geographical area corresponding to the movement parameter and the reference geographical area, the reference geographical area is the geographical area displayed on the map before the update; in response to a situation where the incremental map information is greater than a first threshold, determine the geographical area corresponding to the movement parameter as a target geographical area, the target geographical area is used to characterize the geographical area displayed on the map determined based on the movement parameter; in response to a situation where the target geographical area is different from the reference geographical area, determine that a map update condition is satisfied, and in response to the map update condition being satisfied, update the geographical area displayed on the map to the target geographical area.

9. An electronic device, It is characterized in that include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor runs the machine-readable instructions to perform the steps of any method described in claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are executed.

Citation Information

Patent Citations

  • Method and equipment for updating map data

    CN101275854A

  • Method and relevant device for adjusting map display mode on personal navigation device

    CN102192747A

  • Method for regulating map scale automatically and dynamically for mobile terminal

    CN102395104A

  • Method and system of intelligent navigation

    CN102519474A

  • Method for free movement of zoom-in map and zoom-out map

    CN103868515A