WO2019179237A1 - Procédé et dispositif d'acquisition de carte électronique de vue satellite, appareil et support de mémoire - Google Patents

Procédé et dispositif d'acquisition de carte électronique de vue satellite, appareil et support de mémoire Download PDF

Info

Publication number
WO2019179237A1
WO2019179237A1 PCT/CN2019/073031 CN2019073031W WO2019179237A1 WO 2019179237 A1 WO2019179237 A1 WO 2019179237A1 CN 2019073031 W CN2019073031 W CN 2019073031W WO 2019179237 A1 WO2019179237 A1 WO 2019179237A1
Authority
WO
WIPO (PCT)
Prior art keywords
map
tile
real
identifier
level
Prior art date
Application number
PCT/CN2019/073031
Other languages
English (en)
Chinese (zh)
Inventor
张文垂
杨欣
于欢
蒲伊娜
Original Assignee
杭州海康威视系统技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 杭州海康威视系统技术有限公司 filed Critical 杭州海康威视系统技术有限公司
Publication of WO2019179237A1 publication Critical patent/WO2019179237A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for acquiring a real-time electronic map.
  • an image of a real-time electronic map of a plurality of areas is stored in a server.
  • the terminal sends the area identifier of the real-est area to the server.
  • the server acquires map data of the real-life electronic map of the area according to the area identifier, and sends the map data to the terminal.
  • the terminal renders an image of the real-time electronic map based on the map data.
  • the process network that the terminal acquires the map data of the real-time electronic map from the server takes a long time, resulting in low acquisition efficiency.
  • the time required for the terminal to render the image is long, resulting in low efficiency of electronic map display.
  • the present application provides a method, device, device and storage medium for obtaining a real-time electronic map, which solves the problems of low acquisition efficiency and low display efficiency.
  • the technical solutions are as follows:
  • the embodiment of the present application provides a method for acquiring a real-time electronic map, where the method is applied to a terminal, including:
  • the determining, according to the map identifier and the visible area, the tile identifier of the at least one map tile to be displayed in the visible area including:
  • a base map model corresponding to the level of the real-life electronic map Determining, according to the level and the map identifier, a base map model corresponding to the level of the real-life electronic map, where the base map model includes a map area, the map area includes a plurality of sub-areas, and one sub-area corresponds to a map Tile
  • a tile identification of at least one of the map regions of the viewable area and the overlap region of the map area is determined.
  • the method before the determining the visible area in the current interface, the method further includes:
  • the step of determining the viewable area in the current interface is performed when it is detected that the current interface is zoomed or dragged.
  • the present application provides a method for obtaining a real-time electronic map, the method being applied to a server, including:
  • the map acquisition request carries a map identifier of the real-life electronic map to be requested and a tile identifier of each map tile to be displayed in the visible area in the current interface;
  • the obtaining the map data of each map tile according to the map identifier and the tile identifier of each map tile includes:
  • the method before acquiring the map data of each map tile according to the storage file address, the offset address of each map tile, and the image size, the method further includes :
  • the map data of each map tile is stored according to a tile index corresponding to the real-life electronic map, an offset address of each map tile, and an image size.
  • the splitting the image corresponding to each level into multiple map tiles includes:
  • the base map model corresponding to the level is obtained, and according to the segmentation rule of the base map model, the image corresponding to the level is divided into multiple map tiles.
  • the present application provides an apparatus for acquiring a real-time electronic map, the apparatus being applied to a terminal, including:
  • a determining module configured to determine a map identifier of a real-life electronic map to be displayed in the current interface, and determine a visible area in the current interface
  • the determining module is further configured to determine, according to the map identifier and the visible area, a tile identifier of at least one map tile to be displayed in the visible area;
  • a first sending module configured to send a map obtaining request to the server, where the map obtaining request carries the map identifier and a tile identifier of each map tile;
  • a first receiving module configured to receive map data of each of the map tiles returned by the server
  • a rendering module configured to render, according to the map data of each map tile, a real-life electronic map corresponding to each map tile in the visible region.
  • the determining module is further configured to determine a level of the real-life electronic map; and determine, according to the level and the map identifier, a base map model corresponding to the level of the real-life electronic map
  • the base map model includes a map area including a plurality of sub-areas, one sub-area corresponding to one map tile; mapping the visible area to the base map model; determining the visible area and A tile identifier of at least one of the map tiles in the overlap region of the map region.
  • the determining module is further configured to detect the current interface, and when it is detected that the current interface is zoomed or dragged, determine a visible area in the current interface.
  • the present application provides an apparatus for obtaining a real-time electronic map, the apparatus being applied to a server, including:
  • a second receiving module configured to receive a map obtaining request of the terminal, where the map obtaining request carries a map identifier of the real-life electronic map to be requested and a tile identifier of each map tile to be displayed in the visible region of the current interface ;
  • An acquiring module configured to acquire, according to the map identifier and the tile identifier of each map tile, map data of each map tile;
  • a second sending module configured to return, to the terminal, map data of each map tile, so that the terminal renders a real-life electronic map corresponding to each map tile in the visible region.
  • the acquiring module is further configured to determine, according to the map identifier, a storage file address of the real-life electronic map, and determine, according to the tile identifier of each map tile, the Offset address and image size of the map tiles; acquiring map data of each map tile according to the storage file address, the offset address of each map tile, and the image size.
  • the device further includes:
  • a storage module configured to acquire an image of the real-time electronic map; determine, according to the image, an image corresponding to each of the plurality of levels; and divide the image corresponding to each level into a plurality of map tiles, And determining a tile index corresponding to the real-life electronic map, and an offset address and an image size of each map tile; according to the tile index corresponding to the real-life electronic map, an offset address and an image of each map tile Size, storing the map data of each map tile.
  • the storage module is further configured to acquire, for each level, a base map model corresponding to the level, and cut an image corresponding to the level according to a splitting rule of the base map model. Divided into multiple map tiles.
  • the application provides a terminal, the terminal comprising one or more processors and one or more memories, wherein the one or more memories store at least one instruction, at least one program, code set or instruction The set, the at least one instruction, the at least one piece of program, the set of codes, or the set of instructions being loaded and executed by the one or more processors to implement a method of acquiring a live electronic map as described above The action performed.
  • the application provides a server including one or more processors and one or more memories, wherein the one or more memories store at least one instruction, at least one program, code set, or instruction The set, the at least one instruction, the at least one piece of program, the set of codes, or the set of instructions being loaded and executed by the one or more processors to implement a method of acquiring a live electronic map as described above The action performed.
  • the present application provides a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program
  • the set of codes or the set of instructions is loaded and executed by a processor to perform the operations performed in the method of acquiring a live electronic map as described above.
  • the present application provides a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or a set of instructions, the at least one instruction, the at least one program
  • the set of codes or the set of instructions is loaded by a processor and executed to perform the operations performed in the method of obtaining a live electronic map as described above.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map.
  • FIG. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application.
  • FIG. 2 is a flowchart of a method for obtaining a real-time electronic map according to an embodiment of the present application
  • FIG. 3 is a flowchart of a method for obtaining a real-time electronic map according to an embodiment of the present application
  • FIG. 4 is a flowchart of a method for acquiring a real-time electronic map according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a base map model provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of a method for obtaining a real-time electronic map according to an embodiment of the present application
  • FIG. 7 is a schematic diagram of determining a tile identifier of a map tile according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an apparatus for acquiring a real-time electronic map according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an apparatus for acquiring a real-time electronic map according to an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the implementation environment includes: a terminal 101 and a server 102.
  • the terminal 101 and the server 102 are connected by a network.
  • the client is run in the terminal 101, based on which the client can log in to the server 102 to perform data interaction with the server 102 to use the map service provided by the server.
  • the map service is a service for displaying real-life electronic maps of the interior or local spatial geography of a building.
  • the map service can also be a service for displaying geographic maps of geographic locations.
  • the map service is not specifically limited.
  • the terminal 101 can be any terminal that installs the client.
  • the client can be a map application or a browser application.
  • the terminal 101 may be any device that installs the client, such as a mobile phone terminal, a PAD (Portable Android Device) terminal, or a computer terminal.
  • Server 102 is the backend server for the client.
  • the server 102 can be a map server or a browser server or the like.
  • the server 102 can be a server, or a server cluster composed of several servers, or a cloud computing server center.
  • the implementation environment may also include other terminals.
  • the other terminals are connected to the server 102 through a network, and the other terminals also run a client. Based on the client, the server 102 can be logged in, thereby uploading a real-life electronic map of the site to the server 102. Image.
  • the server 102 provides a map service to the terminal 101 based on the image of the real-time electronic map.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map.
  • the embodiment of the present application provides a method for acquiring a real-time electronic map, and the method is applied to a terminal.
  • the method includes:
  • Step 201 Determine a map identifier of a real-life electronic map to be displayed in the current interface, and determine a visible area in the current interface.
  • Step 202 Determine, according to the map identifier and the visible area, a tile identifier of at least one map tile to be displayed in the visible area.
  • Step 203 Send a map acquisition request to the server, where the map acquisition request carries the map identifier and the tile identifier of each map tile, and receives map data of each map tile returned by the server.
  • Step 204 Render, according to the map data of each map tile, a real-life electronic map corresponding to each map tile in the visible region.
  • the determining, by the map identifier and the visible area, the tile identifier of the at least one map tile to be displayed in the visible area including:
  • a base map model corresponding to the level of the real-life electronic map the base map model comprising a map area, the map area comprising a plurality of sub-areas, and one sub-area corresponding to a map tile;
  • a tile identifier of at least one map tile in the overlap region of the viewable area and the map region is determined.
  • the method before determining the visible area in the current interface, the method further includes:
  • the step of determining the viewable area in the current interface is performed when it is detected that the current interface is zoomed or dragged.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map.
  • the present application provides a method for obtaining a real-time electronic map, which is applied in a server.
  • the method includes:
  • Step 301 Receive a map acquisition request of the terminal, where the map acquisition request carries a map identifier of the real-life electronic map to be requested and a tile identifier of each map tile to be displayed in the visible region in the current interface.
  • Step 302 Acquire map data of each map tile according to the map identifier and the tile identifier of each map tile.
  • Step 303 Return the map data of each map tile to the terminal, so that the terminal renders the real-life electronic map corresponding to each map tile in the visible region.
  • the acquiring the map data of each map tile according to the map identifier and the tile identifier of each map tile includes:
  • the map data of each map tile is obtained according to the storage file address, the offset address of each map tile, and the image size.
  • the method before acquiring the map data of each map tile according to the storage file address, the offset address of each map tile, and the image size, the method further includes:
  • the map data of each map tile is stored according to a tile index corresponding to the real-life electronic map, an offset address of each map tile, and an image size.
  • the image corresponding to each level is divided into multiple map tiles, including:
  • the base map model corresponding to the level is obtained, and according to the segmentation rule of the base map model, the image corresponding to the level is divided into multiple map tiles.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map.
  • a strategy for storing a file index and a plurality of map tiles for a live view electronic map is adopted, which increases image reading efficiency and improves the response speed of the server for a large number of map tile requests. Therefore, before the terminal acquires the real-time electronic map from the server, the server divides and stores the entire image of the real-time electronic map.
  • the method includes:
  • Step 401 The server acquires an image of a real-time electronic map.
  • the real-life electronic map can be a real-life electronic map of any place; for example, the real-life electronic map is a real-life electronic map of a shopping mall, a real-life electronic map of an office building, a real-life electronic map of a residential building, and a real-life electronic map of a hotel.
  • the real-time electronic map is not specifically limited in the embodiment of the present application.
  • the image may be an original image of the real-time electronic map, or may be an image compressed by the real-time electronic map.
  • This image can be uploaded by other terminals. It can also be an image stored locally by the server.
  • the source of the image of the real-time electronic map is not specifically limited.
  • the step of the other terminal uploading the image of the real-time electronic map to the server may be: when other terminals upload a real-life electronic map showing a certain place to the server, the other terminal
  • the server sends a configuration request, and the configuration request carries an image of the real-time electronic map.
  • the step may be: the server receives the configuration request sent by the other terminal, and obtains an image of the real-time electronic map from the configuration request.
  • the server acquires the map identifier of the real-life electronic map, and associates and stores the image of the real-view electronic map and the map identifier.
  • the configuration request carries a map identifier of the real-life electronic map
  • the server acquires a map identifier of the real-life electronic map from the configuration request.
  • the server generates a map identifier of the real-world electronic map.
  • the other terminal may be a terminal that acquires the real-time electronic map in addition to the terminal that obtains the real-life electronic map.
  • the map identifier may be a map number, a map location, a map name, and the like.
  • the map identifier is not specifically limited in the embodiment of the present application.
  • the real-life electronic map is a map constructed inside the XXX hot pot restaurant, and the map identifier of the real-life electronic map may be a XXX hot pot restaurant.
  • the server when the server obtains the image of the real-time electronic map, the image may be directly segmented to obtain a plurality of map tiles.
  • the server may first scale the image to obtain multiple levels of images, and then slice the images of multiple levels to obtain multiple map tiles.
  • the subsequent terminal can obtain the map data of the map tile according to the level of the current interface, thereby improving the accuracy.
  • the server may acquire an image of a real-life electronic map, and may also acquire images of multiple real-time electronic maps.
  • the server acquires images of multiple real-life electronic maps, all or part of the real-time electronic map images in the images of the plurality of real-life electronic maps may be stored in the server or uploaded by other terminals.
  • Step 402 The server determines an image corresponding to each of the plurality of levels according to the image.
  • One level corresponds to one image
  • the server determines, according to the image, images corresponding to each of the plurality of levels by the following steps (1) to (2), including:
  • the server determines multiple levels.
  • the server determines the maximum level, and the integers between the largest level and the largest level are combined into multiple levels. For example, if the maximum level is 3, the server will make 1, 2, and 3 multiple levels.
  • the server can directly set a default maximum level.
  • the server can also determine the maximum level based on the image size of the image.
  • the step may be: the server determines the maximum level according to the image size and the preset resolution of the image by using the following formula 1.
  • L is the maximum level
  • picture ⁇ width1 is the width of the image
  • picture ⁇ height1 is the height of the image
  • x is the preset resolution.
  • the preset resolution may be set and changed as needed.
  • the preset resolution is not specifically limited; for example, the preset resolution may be 256 or 128 or the like.
  • the server can also set the real-life electronic maps of different regions to correspond to different maximum levels; for example, the maximum level of the real-life electronic map of the Beijing area is 3, and the maximum level of the real-life electronic map of Shanghai is 4.
  • the step of determining, by the server, the maximum level may be: determining, by the server, an area identifier of the real-life electronic map, and obtaining, according to the area identifier, a maximum level of the real-life electronic map from the correspondence between the area identifier and the maximum level.
  • the area identifier may be an area name, a location, or a number. In the embodiment of the present application, the area identifier is not specifically limited.
  • the server For each level, the server scales the image according to the level to obtain an image corresponding to the level.
  • the server performs a reduction process on the image of the real-time electronic map to obtain an image corresponding to each level.
  • this step may be: when the level is the maximum level L, the image corresponding to the level is the image of the real electronic map.
  • the server compresses the length and width of the image corresponding to the Lth level by half to obtain an image corresponding to the L-1 level.
  • the server compresses the length and width of the image corresponding to the L-1 level by half to obtain the L-th.
  • the server performs an enlargement process on the image of the real-time electronic map to obtain an image corresponding to each level.
  • the step may be: when the level is the first level, the image corresponding to the level is an image of the real electronic map.
  • the server doubles the length and width of the image corresponding to the first level to obtain an image corresponding to the second level.
  • the server doubles the length and width of the image corresponding to the second level to obtain an image corresponding to the third level, and so on, until an image corresponding to the maximum level L is obtained, and L images are obtained.
  • Step 403 The server divides the image corresponding to each level into a plurality of map tiles, and determines a tile index corresponding to the real-life electronic map, and an offset address and an image size of each map tile.
  • this step can be implemented by the following steps (1) to (3), including:
  • the server divides the image corresponding to each level into multiple map tiles.
  • the server may divide the image corresponding to each level into multiple map tiles according to a segmentation rule.
  • the segmentation rule can be set and changed as needed.
  • the segmentation rule is not specifically limited; for example, the segmentation rule is a fixed number of segments or a fixed size segmentation.
  • the server divides the image corresponding to the hierarchy into the fixed number of map tiles according to the fixed number.
  • the size of each map tile may be the same or different. In the embodiment of the present application, the same size of each map tile is taken as an example for description.
  • the server divides the image corresponding to the hierarchy into a plurality of map tiles according to the fixed size, and the size of each map tile is equal to or smaller than the size. Fixed size.
  • the server may segment the image corresponding to each level by means of the base map model corresponding to the level.
  • the step may be: for each image corresponding to the hierarchy, the server determines a basemap model corresponding to the level of the real-life electronic map, where the basemap model includes multiple sub-regions, and the image corresponding to the hierarchy is The centered form is superimposed on the basemap model, and a plurality of map tiles of the image corresponding to the hierarchy are determined according to an overlapping area of the image corresponding to the hierarchy and the basemap model.
  • the server determines an overlapping area of the image corresponding to the hierarchy and the basemap model, and determines the plurality of sub-regions included in the overlapping area as the plurality of map tiles of the image corresponding to the level. Among them, one sub-area corresponds to one map tile. It should be noted that the image corresponding to the level may not completely overlap with the central area of the map tile.
  • the server may determine the complete sub-area included in the overlapping area as the plurality of map tiles of the image corresponding to the level, It is also possible to determine the complete sub-region and the incomplete sub-region included in the overlapping region as a plurality of map tiles of the image corresponding to the hierarchy.
  • the base map model corresponding to each level of each real-life electronic map may be stored in advance in the server; correspondingly, the step of determining, by the server, the base map model corresponding to the level of the real-life electronic map may be: the server according to the map of the real-life electronic map The identifier and the level, and the base map model corresponding to the level of the real-life electronic map is obtained from the correspondence between the map identifier, the level, and the base map model.
  • the basemap model may be a square or a rectangle. In the embodiment of the present application, the basemap model is not specifically limited.
  • the side length of the basemap model is Picture ⁇ width2 is the width of the image corresponding to the level of the real-time electronic map, and picture ⁇ height2 is the height of the image corresponding to the level of the real-time electronic map.
  • Each sub-region in the basemap model has the same size, both x*x.
  • x is the preset resolution.
  • the preset resolution may be 256 or 128; for example, when the preset resolution is 256, the size of each sub-area in the basemap model is 256*256.
  • the server After the server determines each map tile, it can also determine the identity of each map tile.
  • the identifier of the map tile may be a level corresponding to the map tile + an offset position of the map tile corresponding to the basemap model of the hierarchy.
  • the offset position includes the number of offset rows and the number of offset columns of the map tile in the basemap model corresponding to the hierarchy.
  • the number of offset lines is the deviation between the number of rows of the map tile and the specified number of rows.
  • the offset column number is the deviation between the number of columns of the map tile and the specified number of columns.
  • the specified number of rows can be any value; for example, the specified number of rows can be 0 or 1.
  • the number of specified columns can be any value, for example, the number of specified columns can also be 0 or 1.
  • the identifier of the map tile may be represented as levelp_m_n, where p is the level corresponding to the map tile, m is the number of offset rows of the map tile in the basemap model corresponding to the hierarchy, and n is the map tile. The number of offset columns in the basemap model for this level.
  • the image has a total of three levels, namely, level 1, level 2, and level 3.
  • the base map model corresponding to level 1 includes four sub-areas, and the image corresponding to level 1 is superimposed.
  • the server divides the image corresponding to level 1 into four map tiles, namely level1_0_0, level1_0_1, level1_1_0, and level1_1_1.
  • the server divides the image corresponding to level 2 into 8 map slices, which are level2_1_0, level2_1_1, level2_1_2, level2_1_3, level2_2_0, level2_2_1, level2_2_2, and level2_2_3.
  • the server divides the image corresponding to level 3 into 32 map slices, which are level3_2_0, level3_2_1, level3_2_2, level3_2_3, level3_2_4, level3_2_5, level3_2_6, level3_2_7, level3_3_0, level3_3_1, level3_3_2, level3_3_3, level3_3_4, level3_3_5, level3_3_6, level3_3_7, level3_4_0.
  • the server includes an image segmentation module.
  • the server may perform, by using the image segmentation module, splitting the image corresponding to each level into multiple map tiles. step.
  • the image segmentation module is not included in the server, and the step of dividing the image corresponding to each level into a plurality of map tiles is performed by the server-independent image segmentation device.
  • the step of the server dividing the image corresponding to each level into multiple map tiles may be: the server sends the image corresponding to each level to the image segmentation device.
  • the image segmentation device receives the image corresponding to each level sent by the server, and divides the image corresponding to each level into a plurality of map tiles, and returns multiple map tiles to the server.
  • the server receives a plurality of map tiles returned by the image segmentation device.
  • the process in which the image segmentation device divides the image corresponding to each level into a plurality of map tiles is the same as the process in which the server divides the image corresponding to each level into a plurality of map tiles. I will not repeat them here.
  • the server divides the image corresponding to each level into a plurality of map tiles
  • the tile data of each map tile is stored in the storage file.
  • the server sequentially stores the tile data of the map tile of each level according to the level.
  • the server determines the tile index corresponding to the real-life electronic map.
  • the server determines a storage location of the map tiles of all levels of the image, and determines the corresponding physical map corresponding to the image size of the image, the tile identifier of the map tile of all levels of the image, the tile image size, and the storage location.
  • Tile index The storage location of the map tile may be an offset address of the map tile in the storage file.
  • the tile index corresponding to the real electronic map is as follows:
  • pitcture.width1 is the width of the image
  • picture.height1 is the height of the image
  • level1_0_0 is the tile identifier of the map tile whose first layer offset position is 0_0
  • position(level 1_0_0) is the tile identifier is level1_0_0
  • the storage location of the map tile, length(level 1_0_0) is the length of the map tile whose tile is identified as level1_0_0.
  • levelL_m_n is the tile identifier of the map tile whose L-th layer offset position is m_n
  • position (levelL_m_n) is the storage location of the map tile whose tile identifier is levelL_m_n
  • length(levelL_m_n) is the map tile whose tile identifier is levelL_m_n The length of the piece.
  • the server determines the storage location of the Pth map tile: the server determines the space occupied by the tile index, the space length of the configuration information, and The total length of the space occupied by the first P-1 map tiles; the sum of the space occupied by the tile index, the space occupied by the configuration information, and the total length of the space occupied by the front P-1 map tiles as the first The storage location of P map tiles.
  • the storage location of the Pth map tile the length of the space occupied by the tile index + the length of the space occupied by the configuration information + the total length of the space occupied by the P-1 map tiles.
  • the space occupied by the tile index is used to store the tile index, and the space occupied by the tile index is generally expressed in bytes.
  • the length of the space occupied by the tile index can be calculated according to the size of the tile index. Of course, you can also set the length of the space occupied by the tile index to a fixed value. For example, the tile index can occupy a space of 3 or 4. When the tile index occupies a space length of 4, a 32-bit tile index can be stored in the 4 bytes.
  • the total length of the first P-1 map tiles is the space occupied by the first P-1 map tiles, and is generally expressed in bytes.
  • the length of the configuration information is also the length of the space occupied by the configuration information, and is generally expressed in bytes.
  • the length of the configuration information can be a default length or can be calculated by the server.
  • the step of determining the length of the configuration information by the server may be: the server uses the product of the length of the unit configuration information corresponding to each map tile and the total number of the map tiles as the configuration information. length.
  • the server determines the offset address and image size of each map tile.
  • the server determines the offset address of the map tile according to the identifier of the map tile.
  • the offset address of each map tile is determined according to the storage location of each map tile, and the identifier of each map tile is associated and stored. Offset address.
  • the determining, by the server according to the identifier of the map tile, the offset address of the map tile may be: the server corresponding to the identifier and the offset address according to the identifier of the map tile Get the offset address of the map tile in the relationship.
  • Step 404 The server stores map data of each map tile according to the tile index corresponding to the real-life electronic map, the offset address of each map tile, and the image size.
  • the server stores the map data of each map tile and the tile index of the real-world electronic map into the storage file according to the tile index corresponding to the real-life electronic map, the offset address of each map tile, and the image size.
  • the server may be in the form of Table 1 below.
  • the server maps the map data of each map tile according to the tile index corresponding to the real-life electronic map, the offset address of each map tile, and the image size.
  • the steps of storing the tile index of the live electronic map into the storage file may be:
  • the server calculates the space length (in bytes) occupied by the tile index according to the tile index corresponding to the real map, and sequentially stores the space occupied by the tile index and the tile index in the storage file;
  • the offset address and image size of the map tiles are sequentially stored in the storage file for the map data of each map tile.
  • the tile index is after the space length occupied by the tile index
  • the map data of each map tile is after the tile index
  • each of the map tiles is sequentially stored in the order of the hierarchy and the map tiles in each hierarchy. Map data for map tiles.
  • the server first stores the space occupied by the tile index in the storage file, stores the tile index, and stores the map data of the first map tile of the first level.
  • the map data of the second map tile of the first level is stored, and the map data of the third map tile of the first level is stored until the map data of all the map tiles of the first level is stored.
  • the server then stores the map data of the first map tile of the second level, and stores the map data of the second map tile of the second level until the map data of all the map tiles of the second level is stored, and so on. Map data for all map tiles of all levels is stored.
  • the map tile level 1_0_0 represents a map tile whose tile identifier is level 1_0_0.
  • the map tile level1_0_1 represents a map tile whose tile identifier is level1_0_1;
  • the map tile levelL_m_n represents a map tile whose tile identifier is levelL_m_n.
  • the map data of each map tile can be stored in the server or in a server-independent storage device.
  • the server sends the tile index corresponding to the real-life electronic map, the offset address of each map tile, and the image size to the storage device.
  • the map data of each map tile and the tile index of the real-world electronic map are stored by the storage device according to the tile index corresponding to the real-life electronic map, the offset address of each map tile, and the image size.
  • the server may also associate the map identifier of the real-life electronic map with the storage file.
  • the address is stored so as to obtain the storage address of the storage file according to the map identifier when the map data of the real-time electronic map is uniquely owned.
  • a strategy for storing a file index and a plurality of map tiles for a live view electronic map is adopted, which increases image reading efficiency and improves the response speed of the server for a large number of map tile requests.
  • the server saves the file combination of multiple map tiles into one file, the read/write efficiency will be greatly improved, and the disk fragmentation is reduced, and the speed of reading, deleting and copying the map storage file is obviously improved.
  • the terminal can obtain the real-time electronic map by using the following process. Referring to FIG. 6, the method includes:
  • Step 601 The terminal acquires a map identifier of the real-life electronic map to be displayed in the current interface.
  • the terminal determines the map identifier of the real-life electronic map to be displayed in the current interface.
  • the terminal stores a correspondence between a URL (Uniform Resource Locator) of the current interface and a map identifier; correspondingly, the step may be: the terminal acquires a URL of the current interface, according to the The URL obtains the map identifier of the real-life electronic map from the correspondence between the URL and the map identifier.
  • URL Uniform Resource Locator
  • the user when the user searches for a real-life electronic map of a certain place in the map application of the terminal, the user inputs a map identifier of the real-time electronic map to be displayed.
  • the step may be: the terminal acquires the map identifier of the live electronic map to be displayed that is input.
  • Step 602 The terminal determines a visible area in the current interface.
  • the viewable area is an area in which the live electronic map is displayed. And, the size of the visible area is not greater than the size of the current interface.
  • the terminal determines the visible area in the current interface.
  • the visible area in the current interface may change. Therefore, before determining the visible area in the current interface, the terminal detects the current interface, and when detecting that the current interface is zoomed or dragged, the terminal determines the visible area in the current interface.
  • step 601 may be performed first, and then step 602 may be performed; step 602 may be performed first, and then step 601 is performed; in the embodiment of the present application, the order of execution of steps 601 and 602 is not specifically limited.
  • Step 603 The terminal determines, according to the map identifier and the visible area, a tile identifier of at least one map tile to be displayed in the visible area.
  • the terminal may be implemented by the following steps (1) to (4), including:
  • the terminal determines the level of the real-life electronic map to be displayed in the current interface.
  • the terminal determines the scaling of the current interface, and determines the level of the real-world electronic map according to the scaling.
  • the terminal stores the correspondence between the scaling and the level.
  • the step of determining, by the terminal, the level of the real-time electronic map according to the zoom ratio may be: the terminal acquiring, according to the zoom level, the level of the real-time electronic map from the correspondence between the zoom level and the level.
  • the terminal determines, according to the level and the map identifier, a base map model corresponding to the level of the real-life electronic map, the base map model includes a map area, the map area includes a plurality of sub-areas, and one sub-area corresponds to one map tile. .
  • the correspondence between the map identifier, the level and the base map model is stored in the terminal.
  • the step of determining, by the terminal, the basemap model corresponding to the level of the real-life electronic map according to the level and the map identifier may be: the terminal corresponding to the map identifier, the level, and the basemap model according to the level and the map identifier
  • the base map model corresponding to the level of the real-life electronic map is determined in the relationship.
  • the terminal maps the visible area to the basemap model according to the location of the visible area at the current interface.
  • the terminal determines a tile identifier of at least one map tile in the visible area and the overlapping area of the map area.
  • the overlapping area includes at least one sub-area for displaying at least one map tile, and one map tile is displayed in one sub-area.
  • the terminal determines the number of the at least one sub-area as the tile identifier of the at least one map tile.
  • the overlapping area of the visible area and the map area includes six sub-areas, namely level3_2_1, level3_2_2, level3_2_3, level3_3_1, level3_3_2, and level3_3_3.
  • the terminal uses level3_2_1, level3_2_2, level3_2_3, level3_3_1, level3_3_2, and level3_3_3 as tile identifiers of multiple map tiles.
  • the server acquires the tile index of the real electronic map from the storage device.
  • the terminal may obtain a tile index from the server according to the map identifier, and then obtain a tile identifier of the at least one map tile from the tile index.
  • this step can be implemented by the following steps (A) to (C), including:
  • the terminal acquires a tile index of the real-time electronic map to be displayed from the server according to the map identifier of the real-life electronic map.
  • the terminal sends an index request, and the index request carries a map identifier of the real-time electronic map to be displayed.
  • the server receives the index request of the terminal, and obtains a tile index of the real-life electronic map to be displayed according to the map identifier of the real-time electronic map to be displayed, and sends the tile index to the terminal.
  • the terminal receives a tile index of the real-life electronic map to be displayed sent by the server.
  • the server After the server generates the tile index of the real-time electronic map, the server associates the map identifier and the tile index of the real-life electronic map.
  • the step of obtaining, by the server, the tile index of the real-life electronic map according to the map identifier of the real-life electronic map the server may obtain, according to the map identifier of the real-view electronic map, the corresponding relationship between the map identifier and the tile index Tile index of the real map.
  • the terminal determines a level of the real-life electronic map to be displayed in the current interface, and determines at least one map tile according to the level and the visible area of the real-time electronic map to be displayed.
  • This step is the same as the process of determining at least one map tile in the above steps (1) to (4).
  • the tile index includes a tile identifier of each map tile. After the terminal determines the map tile, the tile identifier of each map tile is obtained from the tile index.
  • Step 604 The terminal sends a map acquisition request to the server, where the map acquisition request carries the map identifier and the tile identifier of each map tile.
  • the map identifier can be a map number, and the tile identifier can be a tile number.
  • the map identifier and the tile identifier are not specifically limited.
  • Step 605 The server receives the map acquisition request of the terminal, and acquires map data of each map tile according to the map identifier and the tile identifier of each map tile.
  • the server acquires the map identifier and the tile identifier of each map tile from the map acquisition request, and then acquires map data of each map tile by the following steps (1) to (3).
  • the server acquires a storage file address of the real-life electronic map according to the map identifier.
  • the server After the server stores the map data of the real-time electronic map, the server stores the correspondence between the map identifier of the real-time electronic map and the storage file address.
  • the step may be: the server obtains the storage file address of the real-life electronic map from the correspondence between the map identifier and the storage file address according to the map identifier.
  • the server determines the offset address and image size of each map tile according to the tile identifier of each map tile.
  • the server stores a correspondence relationship between the tile identifier, the offset address, and the image size of each map tile.
  • the step may be: the server obtains the offset address and the image size of each map tile from the corresponding relationship between the tile identifier, the offset address, and the image size according to the tile identifier of each map tile.
  • the index of the real-time electronic map includes an offset address and an image size of each map tile.
  • the step may be: the server obtains an offset address and an image size of each map tile from the tile index of the real-time electronic map according to the tile identifier of each map tile.
  • the server acquires map data of each map tile according to the storage file address, the offset address of each map tile, and the image size.
  • the server acquires the storage file of the real-time electronic map according to the storage file address; and acquires map data of each tile map from the storage file according to the offset address and the image size of each map tile.
  • Step 606 The server sends map data of each map tile to the terminal.
  • Step 607 The terminal receives the map data of each map tile sent by the server, and renders the real-life electronic map corresponding to each map tile in the visible area of the current interface.
  • the terminal determines a display area of the map tile in the viewable area, and renders map data of the map tile in a display area of the map tile.
  • the terminal renders each map tile according to the above method to obtain a real-time electronic map.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map. Moreover, since the cleaning data of the map tile is reduced, the dependence of the terminal on the network bandwidth is reduced, the problem that the request waiting time is long in the weak network environment is solved, and the response speed and fluency of the real-life electronic map are increased.
  • An embodiment of the present application provides an apparatus for acquiring a real-time electronic map, where the apparatus is configured to perform the steps performed by the terminal in the method for acquiring a real-life electronic map.
  • the device includes:
  • a determining module 801 configured to determine a map identifier of a real-life electronic map to be displayed in the current interface, and determine a visible area in the current interface;
  • the determining module 801 is further configured to determine, according to the map identifier and the visible area, a tile identifier of at least one map tile to be displayed in the visible area;
  • a first sending module 802 configured to send a map obtaining request to the server, where the map obtaining request carries the map identifier and a tile identifier of each map tile;
  • a first receiving module 803, configured to receive map data of each map tile returned by the server
  • the rendering module 804 is configured to render, according to the map data of each map tile, a real-life electronic map corresponding to each map tile in the visible region.
  • the determining module 801 is further configured to determine a level of the real-life electronic map; and according to the level and the map identifier, determine a base map model corresponding to the level of the real-life electronic map, where the base map model includes a map area, the map area includes a plurality of sub-areas, one sub-area corresponding to one map tile; mapping the visible area to the base map model; determining at least one map in the overlapping area of the visible area and the map area Tile identification of tiles.
  • the determining module 801 is further configured to detect the current interface, and when it is detected that the current interface is zoomed or dragged, determine a visible area in the current interface.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map.
  • An embodiment of the present application provides an apparatus for acquiring a real-time electronic map, where the apparatus is configured to perform the steps performed by a server in the method for acquiring a real-life electronic map.
  • the device includes:
  • the second receiving module 901 is configured to receive a map obtaining request of the terminal, where the map obtaining request carries the map identifier of the real-life electronic map to be requested and the tile identifier of each map tile to be displayed in the visible area of the current interface. ;
  • the obtaining module 902 is configured to obtain map data of each map tile according to the map identifier and the tile identifier of each map tile.
  • the second sending module 903 is configured to return the map data of each map tile to the terminal, so that the terminal renders the real-life electronic map corresponding to each map tile in the visible region.
  • the obtaining module 902 is further configured to determine, according to the map identifier, a storage file address of the real-world electronic map, and determine, according to the tile identifier of each map tile, each of the map tiles. Offset address and image size; acquiring map data of each map tile according to the storage file address, the offset address of each map tile, and the image size.
  • the device further includes:
  • a storage module configured to acquire an image of the real-time electronic map; determine, according to the image, an image corresponding to each of the plurality of levels; divide the image corresponding to each level into a plurality of map tiles, and determine the a tile index corresponding to the real electronic map, and an offset address and an image size of each map tile; storing each of the map indexes corresponding to the real map electronic map, the offset address of each map tile, and the image size Map data for map tiles.
  • the storage module is further configured to acquire, for each level, a base map model corresponding to the level, and divide the image corresponding to the level into multiple according to the cutting rule of the base map model. Map tiles.
  • the server divides the image of the real-time electronic map into a plurality of map tiles.
  • the terminal only requests the map tile of the visible area in the current interface, reduces the number of requests for the map tile, and improves the acquisition efficiency and display efficiency of the real-life electronic map.
  • the device for obtaining the real-life electronic map provided by the above embodiment is only illustrated by the division of the above functional modules when acquiring the real-life electronic map. In actual applications, the functions may be assigned differently according to needs.
  • the function module is completed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • the device for obtaining the real-time electronic map provided by the above embodiment is the same as the method for obtaining the real-time electronic map. For the specific implementation process, refer to the method embodiment, and details are not described herein again.
  • FIG. 10 is a structural block diagram of a terminal 1000 provided by an exemplary embodiment of the present application.
  • the terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), and a MP4 (Moving Picture Experts Group Audio Layer IV). Level 4) Player, laptop or desktop computer.
  • Terminal 1000 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, and the like.
  • the terminal 1000 includes a processor 1001 and a memory 1002.
  • Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
  • the processor 1001 may be configured by at least one of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). achieve.
  • the processor 1001 may also include a main processor and a coprocessor.
  • the main processor is a processor for processing data in an awake state, which is also called a CPU (Central Processing Unit); the coprocessor is A low-power processor for processing data in standby.
  • the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and rendering of content that needs to be displayed on the display screen.
  • the processor 1001 may further include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
  • AI Artificial Intelligence
  • Memory 1002 can include one or more computer readable storage media, which can be non-transitory.
  • the memory 1002 may also include high speed random access memory, as well as non-volatile memory such as one or more magnetic disk storage devices, flash memory storage devices.
  • the non-transitory computer readable storage medium in the memory 1002 is configured to store at least one instruction for execution by the processor 1001 to implement the acquisition of the real world provided by the method embodiment of the present application. The method of electronic maps.
  • the terminal 1000 optionally further includes: a peripheral device interface 1003 and at least one peripheral device.
  • the processor 1001, the memory 1002, and the peripheral device interface 1003 may be connected by a bus or a signal line.
  • Each peripheral device can be connected to the peripheral device interface 1003 via a bus, signal line or circuit board.
  • the peripheral device includes at least one of a radio frequency circuit 1004, a touch display screen 1005, a camera 1006, an audio circuit 1007, a positioning component 1008, and a power source 1009.
  • the peripheral device interface 1003 can be used to connect at least one peripheral device associated with an I/O (Input/Output) to the processor 1001 and the memory 1002.
  • processor 1001, memory 1002, and peripheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 1001, memory 1002, and peripheral interface 1003 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.
  • the radio frequency circuit 1004 is configured to receive and transmit an RF (Radio Frequency) signal, also called an electromagnetic signal.
  • the radio frequency circuit 1004 communicates with the communication network and other communication devices via electromagnetic signals.
  • the radio frequency circuit 1004 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal.
  • the radio frequency circuit 1004 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like.
  • the radio frequency circuit 1004 can communicate with other terminals via at least one wireless communication protocol.
  • the wireless communication protocol includes, but is not limited to, a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G, and 5G), a wireless local area network, and/or a WiFi (Wireless Fidelity) network.
  • the radio frequency circuit 1004 may further include an NFC (Near Field Communication) related circuit, which is not limited in this application.
  • the display screen 1005 is used to display a UI (User Interface).
  • the UI can include graphics, text, icons, video, and any combination thereof.
  • display screen 1005 is a touch display screen, display screen 1005 also has the ability to capture touch signals over the surface or surface of display screen 1005.
  • the touch signal can be input to the processor 1001 as a control signal for processing.
  • the display screen 1005 can also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
  • the display screen 1005 may be one, and the front panel of the terminal 1000 is disposed; in other embodiments, the display screen 1005 may be at least two, respectively disposed on different surfaces of the terminal 1000 or in a folded design; In still other embodiments, the display screen 1005 can be a flexible display screen disposed on a curved surface or a folded surface of the terminal 1000. Even the display screen 1005 can be set as a non-rectangular irregular pattern, that is, a profiled screen.
  • the display screen 1005 can be prepared by using an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode).
  • Camera assembly 1006 is used to capture images or video.
  • camera assembly 1006 includes a front camera and a rear camera.
  • the front camera is placed on the front panel of the terminal, and the rear camera is placed on the back of the terminal.
  • the rear camera is at least two, which are respectively a main camera, a depth camera, a wide-angle camera, and a telephoto camera, so as to realize the background blur function of the main camera and the depth camera, and the main camera Combine with a wide-angle camera for panoramic shooting and VR (Virtual Reality) shooting or other integrated shooting functions.
  • camera assembly 1006 can also include a flash.
  • the flash can be a monochrome temperature flash or a two-color temperature flash.
  • the two-color temperature flash is a combination of a warm flash and a cool flash that can be used for light compensation at different color temperatures.
  • the audio circuit 1007 can include a microphone and a speaker.
  • the microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for processing into the processor 1001 for processing, or input to the RF circuit 1004 for voice communication.
  • the microphones may be multiple, and are respectively disposed at different parts of the terminal 1000.
  • the microphone can also be an array microphone or an omnidirectional acquisition microphone.
  • the speaker is then used to convert electrical signals from the processor 1001 or the RF circuit 1004 into sound waves.
  • the speaker can be a conventional film speaker or a piezoelectric ceramic speaker.
  • the audio circuit 1007 can also include a headphone jack.
  • the positioning component 1008 is configured to locate the current geographic location of the terminal 1000 to implement navigation or LBS (Location Based Service).
  • the positioning component 1008 can be a positioning component based on a US-based GPS (Global Positioning System), a Chinese Beidou system, a Russian Greiner system, or an EU Galileo system.
  • a power supply 1009 is used to power various components in the terminal 1000.
  • the power source 1009 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery.
  • the rechargeable battery can support wired charging or wireless charging.
  • the rechargeable battery can also be used to support fast charging technology.
  • terminal 1000 also includes one or more sensors 1010.
  • the one or more sensors 1010 include, but are not limited to, an acceleration sensor 1011, a gyro sensor 1012, a pressure sensor 1013, a fingerprint sensor 1014, an optical sensor 1015, and a proximity sensor 1016.
  • the acceleration sensor 1011 can detect the magnitude of the acceleration on the three coordinate axes of the coordinate system established by the terminal 1000.
  • the acceleration sensor 1011 can be used to detect components of gravity acceleration on three coordinate axes.
  • the processor 1001 can control the touch display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravity acceleration signal collected by the acceleration sensor 1011.
  • the acceleration sensor 1011 can also be used for the acquisition of game or user motion data.
  • the gyro sensor 1012 can detect the body direction and the rotation angle of the terminal 1000, and the gyro sensor 1012 can cooperate with the acceleration sensor 1011 to collect the 3D motion of the user to the terminal 1000. Based on the data collected by the gyro sensor 1012, the processor 1001 can implement functions such as motion sensing (such as changing the UI according to the user's tilting operation), image stabilization at the time of shooting, game control, and inertial navigation.
  • functions such as motion sensing (such as changing the UI according to the user's tilting operation), image stabilization at the time of shooting, game control, and inertial navigation.
  • the pressure sensor 1013 may be disposed at a side border of the terminal 1000 and/or a lower layer of the touch display screen 1005.
  • the pressure sensor 1013 When the pressure sensor 1013 is disposed on the side frame of the terminal 1000, the user's holding signal to the terminal 1000 can be detected, and the processor 1001 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1013.
  • the operability control on the UI interface is controlled by the processor 1001 according to the user's pressure on the touch display screen 1005.
  • the operability control includes at least one of a button control, a scroll bar control, an icon control, and a menu control.
  • the fingerprint sensor 1014 is configured to collect a fingerprint of the user, and the processor 1001 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the identity of the user according to the collected fingerprint. Upon identifying that the identity of the user is a trusted identity, the processor 1001 authorizes the user to perform related sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying and changing settings, and the like.
  • the fingerprint sensor 1014 can be provided with the front, back or side of the terminal 1000. When the physical button or the manufacturer logo is set on the terminal 1000, the fingerprint sensor 1014 can be integrated with the physical button or the manufacturer logo.
  • Optical sensor 1015 is used to collect ambient light intensity.
  • the processor 1001 can control the display brightness of the touch display 1005 based on the ambient light intensity acquired by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1005 is raised; when the ambient light intensity is low, the display brightness of the touch display screen 1005 is lowered.
  • the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1006 according to the ambient light intensity collected by the optical sensor 1015.
  • Proximity sensor 1016 also referred to as a distance sensor, is typically disposed on the front panel of terminal 1000.
  • the proximity sensor 1016 is used to collect the distance between the user and the front side of the terminal 1000.
  • the processor 1001 controls the touch display screen 1005 to switch from the bright screen state to the interest screen state; when the proximity sensor 1016 detects When the distance between the user and the front side of the terminal 1000 gradually becomes larger, the processor 1001 controls the touch display screen 1005 to switch from the information screen state to the bright screen state.
  • FIG. 8 does not constitute a limitation to the terminal 1000, and may include more or less components than those illustrated, or may combine some components or adopt different component arrangements.
  • FIG. 11 is a schematic structural diagram of a server according to an embodiment of the present application.
  • the server 1100 may have a large difference due to different configurations or performances, and may include one or more central processing units (CPUs) 1101 and one. Or more than one memory 1102, wherein the memory 1102 stores at least one instruction, and the at least one instruction is loaded and executed by the processor 1101 to implement the method for acquiring a real-life electronic map provided by the foregoing various method embodiments.
  • the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface for input and output.
  • the server may also include other components for implementing the functions of the device, and details are not described herein.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium is applied to a terminal, where the computer readable storage medium stores at least one instruction, at least one program, a code set or a set of instructions, the at least An instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the operations performed by the terminal in the method of obtaining a live electronic map of the above-described embodiments.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium is applied to a terminal, where the computer readable storage medium stores at least one instruction, at least one program, a code set or a set of instructions, the at least An instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the operations performed by the server in the method of obtaining a live electronic map of the above-described embodiments.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

L'invention, qui a trait au domaine technique des ordinateurs, concerne un procédé et un dispositif d'acquisition de carte électronique de vue satellite, ainsi qu'un support de mémoire. Le procédé consiste : à déterminer un identifiant de carte d'une carte électronique de vue satellite à afficher dans une interface actuelle, et à déterminer une région visible dans l'interface actuelle ; à déterminer, en fonction de l'identifiant de carte et de la région visible, un identifiant de tuile d'au moins une tuile de carte à afficher dans la région visible ; à envoyer une demande d'acquisition de carte à un serveur, la demande d'acquisition de carte portant l'identifiant de carte et l'identifiant de tuile de chaque tuile de carte ; à recevoir des données de carte de chaque tuile de carte renvoyées par le serveur ; à rendre, dans la région visible selon les données de carte de chaque tuile de carte, une carte électronique de visualisation par satellite correspondant à chaque tuile de carte. Dans les modes de réalisation de la présente invention, seules les données de carte d'une tuile de carte dans une région visible sont acquises, ce qui permet de réduire la quantité de données de carte acquises et d'améliorer l'efficacité de l'acquisition et de l'affichage de données.
PCT/CN2019/073031 2018-03-22 2019-01-24 Procédé et dispositif d'acquisition de carte électronique de vue satellite, appareil et support de mémoire WO2019179237A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810241135.5 2018-03-22
CN201810241135.5A CN110309243A (zh) 2018-03-22 2018-03-22 获取实景电子地图的方法、装置、设备和存储介质

Publications (1)

Publication Number Publication Date
WO2019179237A1 true WO2019179237A1 (fr) 2019-09-26

Family

ID=67988216

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073031 WO2019179237A1 (fr) 2018-03-22 2019-01-24 Procédé et dispositif d'acquisition de carte électronique de vue satellite, appareil et support de mémoire

Country Status (2)

Country Link
CN (1) CN110309243A (fr)
WO (1) WO2019179237A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795019A (zh) * 2019-10-23 2020-02-14 腾讯科技(深圳)有限公司 软键盘的按键识别方法、装置及存储介质

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110990510B (zh) * 2019-11-28 2024-04-09 北京世纪高通科技有限公司 三维地图生成方法、终端及服务器
CN111078918B (zh) * 2019-12-04 2022-12-13 视联动力信息技术股份有限公司 一种图像处理方法、装置、电子设备以及存储介质
CN113498474B (zh) * 2020-01-21 2024-07-19 深圳元戎启行科技有限公司 高精度地图更新方法、装置、计算机设备和存储介质
CN111881230A (zh) * 2020-06-17 2020-11-03 汉海信息技术(上海)有限公司 一种地图区域的渲染方法、装置及电子设备
CN112330806B (zh) * 2020-11-27 2022-11-01 成都紫瑞青云航空宇航技术有限公司 一种基于低功耗硬件平台的视景合成方法及系统
CN112991808B (zh) * 2020-12-29 2022-09-30 杭州海康威视数字技术股份有限公司 一种停车区域的车位显示方法、装置及电子设备
CN113051491B (zh) * 2021-04-22 2023-12-15 北京百度网讯科技有限公司 地图数据处理的方法、设备、存储介质及程序产品
CN115451943B (zh) * 2022-11-11 2023-09-15 阿里巴巴(中国)有限公司 电子地图处理、导航方法、装置、设备及存储介质
CN115984119B (zh) * 2023-03-20 2023-06-20 中科星图维天信(北京)科技有限公司 气象数据处理方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819530A (zh) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 电子地图的显示方法及装置
CN103699439A (zh) * 2013-12-30 2014-04-02 北京奇虎科技有限公司 一种计算电子地图可视区域内的瓦片的装置和方法
CN105516311A (zh) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 一种电子地图全景图获取方法及系统
CN105989130A (zh) * 2015-02-16 2016-10-05 高德软件有限公司 电子地图展示方法、装置及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103187003B (zh) * 2011-12-31 2015-08-05 北京图盟科技有限公司 一种电子地图的访问方法、设备和系统
US9041736B2 (en) * 2012-06-05 2015-05-26 Apple Inc. Method, system and apparatus for rendering a map according to a stylesheet
US9201898B2 (en) * 2013-05-15 2015-12-01 Google Inc. Efficient fetching of map tile data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102819530A (zh) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 电子地图的显示方法及装置
CN103699439A (zh) * 2013-12-30 2014-04-02 北京奇虎科技有限公司 一种计算电子地图可视区域内的瓦片的装置和方法
CN105989130A (zh) * 2015-02-16 2016-10-05 高德软件有限公司 电子地图展示方法、装置及电子设备
CN105516311A (zh) * 2015-12-09 2016-04-20 中国农业银行股份有限公司 一种电子地图全景图获取方法及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795019A (zh) * 2019-10-23 2020-02-14 腾讯科技(深圳)有限公司 软键盘的按键识别方法、装置及存储介质
CN110795019B (zh) * 2019-10-23 2023-08-08 腾讯科技(深圳)有限公司 软键盘的按键识别方法、装置及存储介质

Also Published As

Publication number Publication date
CN110309243A (zh) 2019-10-08

Similar Documents

Publication Publication Date Title
WO2019179237A1 (fr) Procédé et dispositif d'acquisition de carte électronique de vue satellite, appareil et support de mémoire
JP7344974B2 (ja) マルチ仮想キャラクターの制御方法、装置、およびコンピュータプログラム
JP7058842B2 (ja) マークポイント位置表示方法、電子機器及びコンピュータ読取可能な記憶媒体
CN110841285B (zh) 界面元素的显示方法、装置、计算机设备及存储介质
CN111753784B (zh) 视频的特效处理方法、装置、终端及存储介质
CN108462818B (zh) 电子设备及用于在该电子设备中显示360度图像的方法
CN109948087B (zh) 网页资源的获取方法、装置及终端
CN109886208B (zh) 物体检测的方法、装置、计算机设备及存储介质
CN111857793B (zh) 网络模型的训练方法、装置、设备及存储介质
CN108920606B (zh) 地图数据处理方法、装置、终端设备及存储介质
CN111324250A (zh) 三维形象的调整方法、装置、设备及可读存储介质
CN111385525B (zh) 视频监控方法、装置、终端及系统
CN112565806B (zh) 虚拟礼物赠送方法、装置、计算机设备及介质
WO2019192061A1 (fr) Procédé, dispositif, support de stockage lisible par ordinateur pour identifier et générer un code graphique
CN112988254B (zh) 管理硬件设备的方法、装置和设备
CN112241987B (zh) 确定防区的系统、方法、装置及存储介质
CN113160031B (zh) 图像处理方法、装置、电子设备及存储介质
CN110471614B (zh) 一种存储数据的方法、检测终端的方法及装置
CN111598981B (zh) 角色模型的显示方法、装置、设备及存储介质
CN113592997A (zh) 基于虚拟场景的物体绘制方法、装置、设备及存储介质
CN111008083B (zh) 页面通信方法、装置、电子设备及存储介质
CN112181915B (zh) 执行业务的方法、装置、终端和存储介质
CN111275607A (zh) 界面显示方法、装置、计算机设备及存储介质
CN113301422B (zh) 获取视频封面的方法、终端及存储介质
WO2018192455A1 (fr) Procédé et appareil pour générer des sous-titres

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19770625

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19770625

Country of ref document: EP

Kind code of ref document: A1