Map display range updating method, system and equipment and storage medium

By obtaining and updating the range parameters of custom maps and Internet maps, the problem of inconsistent viewing angles between custom maps and Internet maps is solved, achieving consistency of viewing angles and data security.

CN118550980APending Publication Date: 2024-08-27新奥新智科技有限公司

Patent Information

Application Number
CN202410843194.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

The existing technology cannot maintain the consistency between the customized map where the business data is located and the perspective of the Internet map. Especially when the display range of the user-defined map changes, there is a risk of data leakage.

Method used

By obtaining the custom map and its corresponding Internet map, it is determined that when the display range of the custom map changes, the business data is updated and the range parameters of the current display range are obtained, and the display range of the Internet map is updated simultaneously to maintain the consistency between the custom map and the Internet map. The perspective is consistent.

Benefits of technology

It realizes that when the display range of the custom map changes, the display range of the Internet map is updated synchronously, ensuring the consistency of the perspective of business data in the custom map and the Internet map, and reducing the risk of data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550980A
    Figure CN118550980A
Patent Text Reader

Abstract

The invention discloses a map display range updating method, system and device and a storage medium. The method comprises the following steps: acquiring a user-defined map and an internet map corresponding to the user-defined map, wherein the user-defined map comprises business data; when it is determined that the display range of the user-defined map changes, updating the service data and obtaining range parameters of the current display range; and updating the display range of the Internet map according to the range parameter. According to the method, the business data are displayed on the custom map, when the display range of the custom map changes, the business data are updated, and the display range of the Internet map is updated according to the range parameter corresponding to the current display range; and the display range of the Internet map is synchronously updated, so that the viewing angle of the effect displayed by the business data in the custom map is consistent with the viewing angle of the Internet map.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of electronic maps, and in particular to a method, system, device and storage medium for updating a map display range. Background Art

[0002] GIS map is a new type of map that uses geographic information system (GIS) technology to create, manage, analyze and draw spatial data. GIS map can connect location data with descriptive data, presenting rich geographical phenomena and geographical analysis models. GIS map can be applied to many fields such as geography, ecology, tourism, marine science, agriculture, forestry, marketing and advertising, military, navy, aircraft, law enforcement, logistics and transportation, astronomy, demography, health care, meteorology, etc. For example, GIS map can be applied to the gas industry. With the development of the Internet and the increasing demand for map services, the Internet map application programming interface (Application Programming Interface, API) has gradually developed. By providing a simple API interface, developers can embed maps into their own applications, so as to realize the display of business data overlaid on the base map. However, there are still some problems in the prior art: although the Internet map API provides many general functions, for some specific industries, the functions of the Internet map cannot meet the needs of users; moreover, when using the Internet map API, users need to transmit some data to the API interface in order to realize the corresponding functions, and there is a certain risk of leakage in this process.

[0003] Therefore, it is necessary to provide a method that enables users to overlay a custom map on an Internet map while maintaining the consistency of the perspective of the custom map where the business data is located with that of the Internet map and solving the above problems at the same time. Summary of the invention

[0004] The present invention provides a map display range updating method, system, device and storage medium to solve the problem in the prior art that the consistency between the perspectives of a custom map where business data is located and an Internet map cannot be always maintained.

[0005] According to one aspect of the present invention, a method for updating a map display range is provided, the method comprising:

[0006] Obtaining a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data;

[0007] When it is determined that the display range of the custom map has changed, updating the business data and obtaining range parameters of the current display range;

[0008] The display range of the Internet map is updated according to the range parameter.

[0009] According to another aspect of the present invention, a map display range updating system is provided, the system comprising: an acquisition module, a determination module and an update module, the determination module being communicatively connected with the acquisition module and the update module respectively;

[0010] The acquisition module acquires a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data;

[0011] The determination module is used for, when it is determined that the display range of the custom map has changed, for the custom map to update the business data and obtain the range parameters of the current display range;

[0012] The updating module is used to update the display range of the Internet map according to the range parameter.

[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising: at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the map display range updating method described in any embodiment of the present invention.

[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the map display range updating method described in any embodiment of the present invention when executed.

[0017] A method, system, device and storage medium for updating a map display range according to an embodiment of the present invention, the method comprising: obtaining a custom map and an Internet map corresponding to the custom map, the custom map including business data; when it is determined that the display range of the custom map has changed, the custom map updates the business data and obtains the range parameters of the current display range; and updates the display range of the Internet map according to the range parameters. The method displays the business data on the custom map, updates the business data when the display range of the custom map changes, and updates the display range of the Internet map according to the range parameters corresponding to the current display range. When the display range of the custom map changes, the display range of the Internet map is synchronously updated, so that the perspective of the effect of the business data displayed in the custom map is consistent with the perspective of the Internet map, solving the problem in the prior art that the perspective of the custom map where the business data is located cannot always be kept consistent with that of the Internet map.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 A flowchart of a method for updating a map display range provided in the first embodiment of the present invention;

[0021] Figure 2 A schematic diagram of a flow chart of a method for updating a map display range provided by an embodiment of the present invention;

[0022] Figure 3 A schematic diagram of a flow chart of another method for updating a map display range provided by an embodiment of the present invention;

[0023] Figure 4 A structural diagram of a map display range updating system provided in Embodiment 2 of the present invention;

[0024] Figure 5 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only an embodiment of a part of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should belong to the scope of protection of the present invention. It should be understood that the various steps recorded in the method implementation of the present invention can be performed in different orders and / or in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0027] 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 interchanged 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 device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0030] Embodiment 1

[0031] Figure 1 A flowchart of a method for updating a map display range provided in the first embodiment of the present invention is provided. The method can be applied to ensure that the viewing angle of an Internet map is consistent with that of a custom map. Figure 1In accordance with the above situation, the method can be executed by a map display range update system, wherein the system can be implemented by software and / or hardware and is generally integrated on an electronic device. In this embodiment, the electronic device includes but is not limited to: computers and other devices.

[0032] like Figure 1 As shown, a method for updating a map display range provided by a first embodiment of the present invention includes the following steps:

[0033] S110: Acquire a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data.

[0034] Among them, custom maps can be maps provided by developers. For example, custom maps can be self-developed maps. Developers can render the business data that needs to be displayed on custom maps and use Internet maps as base maps to achieve the purpose of displaying business data on Internet maps without interfering with each other. Internet maps can be maps called through Internet map APIs, such as Baidu Maps and Amap. Business data can be data that developers want to display on the map. Depending on the industry, business data can also have specific business functions.

[0035] In this embodiment, the business data can be rendered on a custom map, and an Internet map corresponding to the custom map can be obtained. Corresponding to the custom map can mean that the size of the Internet map is the same as the custom map, and the displayed area corresponds to the custom map. For example, in the gas industry, the custom map can be a gas pipeline distribution map customized by the staff, and the business data can be the gas pipeline, gas storage, transportation route, valve, pressure regulator, etc. on the gas pipeline distribution map.

[0036] In one embodiment, the business data includes any one or more of the following: two-dimensional data, three-dimensional model, and map special effects.

[0037] The two-dimensional data may be a two-dimensional display style, and the three-dimensional model may be a three-dimensional display style. For example, the display style may be a flight route, point diffusion, ripple wall, and three-dimensional administrative area. The map special effects may be developer-defined special effects, such as special effects related to flight positioning.

[0038] In this embodiment, the business data may be two-dimensional data, three-dimensional models, and map effects, or other types of business data displayed on the map, which is not limited in this embodiment. For example, in a gas pipeline distribution map, the two-dimensional data may be line pipelines, valves, pressure regulators, etc., the three-dimensional model may be a gas three-dimensional equipment model, and the map effect may be a special effect of gas flowing in the pipeline along the flow direction. This embodiment displays business data with specific functions on the gas pipeline distribution map, and displays the business data of the gas industry on the gas pipeline distribution map, so that staff can complete gas-related business needs while using Internet maps, and clearly understand the distribution of gas pipelines through business data.

[0039] S120: When it is determined that the display range of the custom map has changed, the custom map updates the business data and obtains range parameters of the current display range.

[0040] The display range may be the area where the map is displayed to the user, and the range parameter may be a parameter that changes when the custom map changes.

[0041] In this embodiment, the user's operation on the map can act on the custom map. The operation can be an operation on the entire map or an operation on the business data in the map. The change in the display range of the custom map can be caused by the user's operation or by the code, which is not limited in this embodiment. When the display range of the custom map changes, the business data on the custom map may also change, so the location or status of the business data and other information can be updated, and the range parameters of the current display range can be obtained.

[0042] S130: Update the display range of the Internet map according to the range parameter.

[0043] Among them, the display range of the Internet map can be the same as that of the custom map.

[0044] In this embodiment, when the display range of the custom map changes, in order to keep the perspective of the custom map consistent with that of the Internet map, the range parameters corresponding to the current display range can be obtained, so that the display range of the Internet map can be updated by the range parameters. For example, when the display range of the gas pipeline distribution map changes, the range parameters of the display range after the current moment has changed can be obtained, so that the parameters of the Internet map are updated according to the changed range parameters, so as to keep the perspective of the Internet map consistent with that of the gas pipeline distribution map.

[0045] This embodiment can promote the construction of Geographic Information System (GIS) maps by superimposing custom maps and Internet maps. With the help of GIS technology, gas companies can accurately locate and visualize information such as gas pipelines, facilities, and users (for example, display information such as gas pipelines and facilities as business data on Internet maps), thereby optimizing resource allocation and improving operational efficiency. Specifically, GIS maps provide gas companies with powerful geospatial analysis capabilities. Through precise geographic coordinate data, companies can clearly understand the direction and distribution of gas pipelines and the specific locations of various facilities. This visual display not only facilitates the daily management and maintenance of the company, but also enables the problem to be quickly located in an emergency and handled in a timely and effective manner. For example, when a gas pipeline fails somewhere, the fault location can be displayed on the gas pipeline distribution map (the specific display method is not described in detail in this embodiment), and the location of the fault can be quickly determined through the gas pipeline distribution map, so that the staff can handle it in time.

[0046] A method for updating a map display range is provided in a first embodiment of the present invention, the method comprising: obtaining a custom map and an Internet map corresponding to the custom map, the custom map including business data; when it is determined that the display range of the custom map has changed, the custom map updates the business data and obtains the range parameters of the current display range; and displays the display range of the Internet map updated according to the range parameters. The method displays the business data on the custom map, updates the business data when the display range of the custom map changes, and updates the display range of the Internet map according to the range parameters corresponding to the current display range. When the display range of the custom map changes, the display range of the Internet map is synchronously updated, so that the perspective of the effect of the business data displayed in the custom map is consistent with the perspective of the Internet map, solving the problem in the prior art that the perspective of the custom map where the business data is located cannot always be kept consistent with that of the Internet map.

[0047] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0048] In one embodiment, obtaining a custom map and an Internet map corresponding to the custom map includes: initializing custom map parameters through a custom map engine to obtain a custom map; initializing Internet map parameters through a custom map engine to obtain an Internet map corresponding to the custom map; the size of the custom map and the corresponding display range are the same as those of the Internet map.

[0049] Among them, the custom map engine can be a set of function libraries that provide driving and management of geographic data and realize rendering, query and other functions. The application layer software only needs to call the functional interface provided by the map engine to easily complete its functions. The custom map engine can be a self-developed map engine. In this embodiment, the custom map engine can complete the initialization, loading, judgment and modification of custom maps and Internet maps. Custom map parameters may include the range parameters of the custom map and other custom map related parameters. For example, the custom map parameters may include the size, center point coordinates, zoom level, rotation angle, inclination and other parameters of the custom map. Internet map parameters may include the same parameters as the custom map, and may also include other parameters related to the Internet map.

[0050] In this embodiment, the custom map parameters can be initialized through the custom map engine to obtain a custom map, and based on the custom map, the Internet map parameters can be initialized through the custom map engine to obtain an Internet map corresponding to the custom map. The size and corresponding display range of the custom map are the same as those of the Internet map, which may refer to the correspondence between the custom map and the area corresponding to the display range of the Internet map, and the longitude and latitude coordinates corresponding to the area are also the same. In this embodiment, business data can be rendered into a custom map through a custom map engine, and there is no need to pass relevant information of the business data with the Internet map, thereby ensuring the security of the business data. It can be understood that in addition to initializing the custom map and the Internet map through the custom map engine, initialization can also be completed in other ways, for example, initializing the custom map and the Internet map through code.

[0051] In this embodiment, the Internet map can be used as a base map, and the map can be displayed to the user after being superimposed on the custom map, that is, the map that the user sees is the superimposed map. For example, the custom map can be initialized through the API in the custom map engine to generate canvas Canvas 1. According to the size of Canvas 1, the custom map engine can be used to initialize and generate a canvas Canvas2 of the Internet map of the same size, and then superimposed on Canvas 1 to achieve a fusion display effect of the map. The custom map engine can also load and render business data and render the business data into Canvas 1.

[0052] For example, Figure 2 A flowchart of a method for updating a map display range provided by an embodiment of the present invention is shown as follows: Figure 2As shown, for changes in the display range, you can subscribe to the display range change event through code. When the event is dispatched, the method in it is automatically executed. When the map interaction or animation in the Internet map is completed, if the display range changes, the corresponding event is dispatched. In the custom map engine, it is determined whether the custom map is interactive. The display range change event can be dispatched according to the range parameters of the current display range. The zoom, inclination, and rotation angle information after the display range is changed can be determined by the range parameters, and passed to the Internet map in the form of parameters in real time through the JavaScript method, and its display range is updated, so that the perspectives of Canvas1 and Canvas2 are always consistent, achieving a fusion effect.

[0053] In this embodiment, different methods can be used for rendering different business data, and this embodiment does not limit this. For example, for two-dimensional business data, the geographic coordinates (such as longitude and latitude coordinates) of the business data can be converted into screen coordinates, and the browser Canvas API can be used to draw points, lines, and polygons. For three-dimensional business data, the Web Graphics Library (WebGL) technology can be used to read three-dimensional model data in GLB (GL Binary) or 3dtiles format, parse the primitive vertices and material data, convert the geographic coordinates (longitude and latitude) into screen coordinates, generate the corresponding ArrayBuffer, pass it to WebGL, and use the shader for rendering.

[0054] In one embodiment, the range parameter includes at least one of map marker point coordinates, map zoom level, rotation angle, and tilt angle.

[0055] The coordinates of the map marker point may be the coordinates of a landmark location in the custom map, for example, the coordinates of the map marker point may be the coordinates of the center point of the map, or the coordinates of other points in the map, the map zoom level may be the zoom ratio of the map, and the map zoom level may be set according to actual conditions, for example, the map zoom level may include 1:1000, 1:10000; 1:100000, 1:1000000, etc. The rotation angle may be the rotation angle of the map relative to the due east direction, and the inclination angle may be the inclination angle of the map in a three-dimensional state relative to a two-dimensional state.

[0056] In this embodiment, the range parameters include at least one of map coordinates, map zoom level, rotation angle, and inclination. For example, when the custom map is a two-dimensional map, the range parameters may only include map marker coordinates and map zoom level. When the custom map is a three-dimensional map, the range parameters may include not only map marker coordinates and map zoom level, but also rotation angle or inclination. For example, at the first moment of the three-dimensional map, the map marker coordinates are the center point (0, 0), the map zoom level is 1:10000, the rotation angle is 0, and the inclination is 0; at this time, 1 cm in the map represents 10000 cm in the real world. At this time, the top of the map is the due north direction in the real world, and the map plane is not tilted.

[0057] In one embodiment, the operation of determining whether the display range of the custom map has changed includes: determining whether the custom map is in an interactive state at regular intervals or in each frame; if so, determining that the display range of the custom map has changed.

[0058] Among them, the interactive state may include map interaction and animation interaction; map interaction may include map translation, rotation, tilt and zoom. Animation interaction may include animations such as flight positioning. Translation, rotation and zoom may be map interactions in two-dimensional or three-dimensional states, and tilt may be map interactions in three-dimensional states.

[0059] In this embodiment, it is possible to determine whether the custom map is in an interactive state at regular intervals or per frame. For example, in the custom map engine, it is possible to determine whether the current map is in an interactive state (including zooming, panning, rotating, and tilting) every 20 milliseconds, or in the custom map engine, it is possible to determine whether the current map is in an interactive state (including zooming, panning, rotating, and tilting) per frame (which can be synchronized with the screen refresh rate, such as generally 60 times / second); when the map is in an interactive state, it can be determined that the range of the custom map has changed. For example, Figure 3 A flowchart of another method for updating the map display range provided by an embodiment of the present invention. Assuming that the custom map is a gas pipeline distribution map, if the business data on the gas pipeline distribution map is dragged ten units to the left, the display range of the gas pipeline distribution map changes, and the dragging unit after the display range is changed is obtained and passed to the Internet map as a parameter through the JavaScript method, and its display range is updated, and the coordinates of the corresponding position of the business data on the Internet map are also moved ten units to the left, so that the perspectives of Canvas1 and Canvas2 are always consistent, achieving a fusion effect.

[0060] In one embodiment, the operation of determining whether the display range of the custom map has changed includes: obtaining the range parameters of the current custom map at a regular interval or in each frame; when the range parameters do not match the previous range parameters corresponding to the custom map, determining that the display range of the custom map has changed.

[0061] In this embodiment, the range parameters of the current custom map can be obtained regularly or every frame, and compared with the range parameters corresponding to the last custom map. If one or more mismatched range parameters are found, it can be determined that the display range of the current custom map has changed. The range parameters corresponding to the last custom map can be stored in the database for the time period closest to the current moment. Exemplarily, it is possible to determine whether the range of the current map is consistent with the last time in the custom map engine every frame (synchronized with the screen refresh rate, generally 60 times / second). If one or more range parameters are inconsistent (for example, the last inclination was 10°, and the current inclination is 15°), the range parameters such as zoom, inclination, rotation angle, etc. after the display range is changed can be obtained, and passed to the Internet map in the form of parameters through the JavaScript method, and its display range is updated, so that the viewing angles of Canvas1 and Canvas2 are always consistent, achieving a fusion effect.

[0062] This embodiment uses the map generated by the Internet map API as the base map and the custom map engine, so that the business data loaded in the custom map can maintain the consistency of perspective when the display range changes; and by passing only the range parameters that need to be changed to the Internet map, it can prevent user data leakage and reduce the risk of data leakage.

[0063] Embodiment 2

[0064] Figure 4 A schematic diagram of a map display range updating system provided in the second embodiment of the present invention, which can be used to ensure that the viewing angle of the Internet map is consistent with the custom map. Figure 1 The system may be implemented by software and / or hardware and is generally integrated on an electronic device.

[0065] like Figure 4 As shown, the system includes: an acquisition module 210, a determination module 220 and an update module 230, and the determination module 220 is respectively connected to the acquisition module 210 and the update module 230 in communication;

[0066] An acquisition module 210 is configured to acquire a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data;

[0067] A determination module 220, configured to update the business data of the custom map and obtain a range parameter of the current display range when it is determined that the display range of the custom map has changed;

[0068] The updating module 230 is used to update the display range of the Internet map according to the range parameter.

[0069] The second embodiment provides a map display range update system, including: an acquisition module, which acquires a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data; a determination module, which is used to update the business data and acquire the range parameters of the current display range when it is determined that the display range of the custom map has changed; and an update module, which is used to update the display range of the Internet map according to the range parameters. By displaying the business data on the custom map, updating the business data when the display range of the custom map changes, and updating the display range of the Internet map according to the range parameters corresponding to the current display range, and by synchronously updating the display range of the Internet map when the display range of the custom map changes, it is possible to ensure that the perspective of the effect displayed by the business data in the custom map is consistent with that of the Internet map, thus solving the problem in the prior art that the perspective of the custom map where the business data is located cannot always be kept consistent with that of the Internet map.

[0070] Furthermore, the acquisition module 210 includes:

[0071] Initialize custom map parameters through custom map engine to obtain custom map;

[0072] The Internet map parameters are initialized through the custom map engine to obtain an Internet map corresponding to the custom map; the size and corresponding display range of the custom map are the same as those of the Internet map.

[0073] Furthermore, the determination module 220 includes:

[0074] Determine periodically or every frame whether the custom map is in an interactive state;

[0075] If so, it is determined that the display range of the custom map has changed.

[0076] Furthermore, the interaction state includes map interaction and animation interaction; the map interaction includes translation, rotation, tilt and zoom of the map.

[0077] Furthermore, the determination module 220 includes:

[0078] Obtain the range parameters of the current custom map periodically or every frame;

[0079] When the range parameter does not match the previous range parameter corresponding to the custom map, it is determined that the display range of the custom map has changed.

[0080] Furthermore, the range parameters include at least one of map marker point coordinates, map zoom level, rotation angle and inclination angle.

[0081] Furthermore, the business data includes any one or more of the following: two-dimensional data, three-dimensional models, and custom special effects.

[0082] The above-mentioned map display range updating system can execute the map display range updating method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0083] Embodiment 3

[0084] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0085] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0086] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0087] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a map display range update method.

[0088] In some embodiments, the map display range update method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the map display range update method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the map display range update method in any other appropriate manner (for example, by means of firmware).

[0089] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0090] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program 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.

[0091] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. 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.

[0092] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device 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 a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0093] The systems and techniques described herein may be implemented in a computing system that includes backend 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 frontend 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 backend components, middleware components, or frontend 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), a blockchain network, and the Internet.

[0094] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for updating a map display range, characterized in that: The method comprises: Obtaining a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data; When it is determined that the display range of the custom map has changed, updating the business data and obtaining range parameters of the current display range; The display range of the Internet map is updated according to the range parameter.

2. The method according to claim 1, characterized in that The obtaining of a custom map and an Internet map corresponding to the custom map includes: Initialize custom map parameters through custom map engine to obtain custom map; The Internet map parameters are initialized through the custom map engine to obtain an Internet map corresponding to the custom map; the size and corresponding display range of the custom map are the same as those of the Internet map.

3. The method according to claim 1, characterized in that The operation of determining that the display range of the custom map has changed includes: Determine periodically or every frame whether the custom map is in an interactive state; If so, it is determined that the display range of the custom map has changed.

4. The method according to claim 3, characterized in that: The interactive state includes map interaction and animation interaction; the map interaction includes translation, rotation, tilt and zoom of the map.

5. The method according to claim 1, characterized in that The operation of determining that the display range of the custom map has changed includes: Obtain the range parameters of the current custom map periodically or every frame; When the range parameter does not match the previous range parameter corresponding to the custom map, it is determined that the display range of the custom map has changed.

6. The method according to claim 5, characterized in that The range parameters include at least one of map marker point coordinates, map zoom level, rotation angle, and inclination angle.

7. The method according to any one of claims 1 to 6, characterized in that: The business data includes any one or more of the following: two-dimensional data, three-dimensional models and map effects.

8. A map display range updating system, characterized in that: The system comprises: an acquisition module, a determination module and an update module, wherein the determination module is communicatively connected with the acquisition module and the update module respectively; The acquisition module acquires a custom map and an Internet map corresponding to the custom map, wherein the custom map includes business data; The determination module is used for, when it is determined that the display range of the custom map has changed, for the custom map to update the business data and obtain the range parameters of the current display range; The updating module is used to update the display range of the Internet map according to the range parameter.

9. An electronic device, characterized in that: The device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the map display range updating method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the map display range updating method according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Big data dynamic visualization platform operation system and method based on map interaction

    CN112417064A

  • Third-party map docking device and method based on WEBGIS

    CN112860834A

  • Self-owned data expansion and fusion method based on Internet map platform

    CN113901168A

  • Unmanned three-dimensional map generation method and system for surface mine

    CN114882181A

  • Map generation method and device, equipment and storage medium

    CN116416399A

Cited By

  • Map dynamic linkage updating method and system

    CN118838978A

  • A method and system for dynamically linking and updating maps

    CN118838978B