CN107895537B - Display method of electronic map, related device and storage medium - Google Patents

Display method of electronic map, related device and storage medium Download PDF

Info

Publication number
CN107895537B
CN107895537B CN201711115573.9A CN201711115573A CN107895537B CN 107895537 B CN107895537 B CN 107895537B CN 201711115573 A CN201711115573 A CN 201711115573A CN 107895537 B CN107895537 B CN 107895537B
Authority
CN
China
Prior art keywords
area
displayed
information
preset
areas
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201711115573.9A
Other languages
Chinese (zh)
Other versions
CN107895537A (en
Inventor
冯攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201711115573.9A priority Critical patent/CN107895537B/en
Publication of CN107895537A publication Critical patent/CN107895537A/en
Application granted granted Critical
Publication of CN107895537B publication Critical patent/CN107895537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/006Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes
    • G09B29/007Representation of non-cartographic information on maps, e.g. population distribution, wind direction, radiation levels, air and sea routes using computer methods

Abstract

The embodiment of the application relates to the technical field of intelligent maps, in particular to a display method of an electronic map, a related device and a storage medium. In the embodiment of the application, the terminal device acquires the identifier of the area to be displayed, and then, the terminal device determines the display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas. The display information of each of the N regions comprises scaling information of the region, and N is a positive integer. The scaling information in the N regions is different from the system scaling information. And the terminal equipment displays the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed. Therefore, the terminal equipment can directly display the area to be displayed according to the determined scaling information corresponding to the identifier of the area to be displayed, so that the time used in the display process of the area to be displayed can be reduced.

Description

Display method of electronic map, related device and storage medium
Technical Field
The embodiment of the application relates to the technical field of intelligent maps, in particular to a display method of an electronic map, a related device and a storage medium.
Background
With the increasing maturity of geographic information systems in market applications, the way that individuals and enterprises develop work based on electronic maps is more and more diversified, and cross-regional scheduling developed based on electronic maps is one of the ways.
In the prior art, when a user uses the same electronic map system, the terminal device displays the area to be displayed at the same scale every time, and when the user locates a specific area of the map, the area to be displayed must be displayed in a manner of dragging the electronic map and zooming the electronic map. Therefore, when the terminal device displays a plurality of areas to be displayed one by one according to the command of the user, each area to be displayed is displayed in a mode of dragging and zooming the electronic map, so that the display process of the areas to be displayed is complicated, and the time of the user is wasted.
For example, the staff carries the positioning device, and the terminal device may determine the current position of each staff through the positioning information sent by the positioning device. When the distribution condition of staff in different communities or streets is checked by a dispatcher, a user firstly locks the approximate position of the area to be displayed by dragging the electronic map, and then checks the distribution condition of the staff in each street or community by amplifying the map. The method is complicated in displaying the area to be displayed, and wastes time of scheduling personnel.
In summary, a corresponding solution is needed to reduce the time used in the process of displaying the to-be-displayed area.
Disclosure of Invention
The embodiment of the application provides a display method based on an electronic map, a related device and a storage medium, which are used for reducing the time used in the display process of a to-be-displayed area.
In a first aspect, an embodiment of the present application provides a display method of an electronic map, including acquiring an identifier of an area to be displayed. Determining display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas; wherein the display information of each of the N regions comprises scaling information of the region, and N is a positive integer; the scaling information in the N regions is different from the system scaling information. And displaying the area to be displayed in an electronic map system according to the scaling information in the display information of the area to be displayed.
In a second aspect, an embodiment of the present application provides a display apparatus of an electronic map, including an obtaining unit, configured to obtain an identifier of an area to be displayed. The display control device comprises a determining unit, a display unit and a display unit, wherein the determining unit is used for determining display information of a to-be-displayed area corresponding to the identifier of the to-be-displayed area according to the corresponding relation between the preset identifiers of N areas and the display information of the N areas; wherein the display information of each of the N regions comprises scaling information of the region, and N is a positive integer; the scaling information in the N regions is different from the system scaling information. And the display unit is used for displaying the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed.
In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a memory, a transceiver, and a processor, where: the memory is used for storing instructions; the processor is configured to execute the instructions stored in the memory, and control the transceiver to perform signal receiving and signal transmitting, and when the processor executes the instructions stored in the memory, the terminal device is configured to perform the method of the first aspect or any one of the first aspects.
In a fourth aspect, embodiments of the present application provide a computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In a fifth aspect, embodiments of the present application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In the embodiment of the application, the terminal device acquires the identifier of the area to be displayed, and determines the display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas. The display information of each of the N regions comprises scaling information of the region, and N is a positive integer. The scaling information in the N regions is different from the system scaling information. And the terminal equipment displays the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed. Therefore, the terminal equipment can directly display the area to be displayed according to the determined scaling information corresponding to the identifier of the area to be displayed, so that the time used in the display process of the area to be displayed can be reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that are required to be used in the description of the embodiments will be briefly described below.
FIG. 1 is a diagram of a system architecture according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a display method of an electronic map according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an electronic map according to an embodiment of the present application;
fig. 4 is a schematic view of an electronic map provided in an embodiment of the present application;
fig. 5 is a schematic flowchart of a display method of an electronic map according to an embodiment of the present application;
fig. 6 is a schematic diagram of an electronic map according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a display device of an electronic map according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solution and beneficial effects of the present application more clear and more obvious, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is a diagram illustrating an exemplary system architecture to which an embodiment of the present application is applicable, as shown in fig. 1, including: the system comprises a terminal device 101 and an electronic map 102 displayed on a screen of the terminal device 101, wherein the electronic map 102 is an area displayed when a user opens an electronic map system.
In the prior art, each electronic map system has its own system scaling, such as a Baidu map, Google map, Gade map, and so on. For example, when a user uses a hundredth degree map for multiple times, the electronic map system displays the same map interface according to the current position information of the user, for example, when the user is located in Shanghai, the Shanghai area is displayed each time, and the scale information of the area displayed each time and the longitude and latitude information of the center position are the same.
In the embodiment of the application, the terminal device may be a mobile phone, a notebook computer, a desktop computer, or the like.
Fig. 2 is a schematic flowchart illustrating a display method of an electronic map, which is applicable to the embodiment of the present application, and includes:
step 201, a terminal device acquires an identifier of a region to be displayed;
step 202, the terminal device determines the display information of the to-be-displayed area corresponding to the identifier of the to-be-displayed area according to the preset corresponding relationship between the identifier of the N areas and the display information of the N areas. The display information of each of the N areas comprises scaling information of the area, and N is a positive integer; the scaling information in the N regions is different from the system scaling information;
and step 203, the terminal device displays the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed.
In the embodiment of the application, the terminal device acquires the identifier of the area to be displayed, and then, the terminal device determines the display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas. The display information of each of the N regions comprises scaling information of the region, and N is a positive integer. The scaling information in the N regions is different from the system scaling information. And the terminal equipment displays the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed. Therefore, the terminal equipment can directly display the area to be displayed according to the determined scaling information corresponding to the identifier of the area to be displayed, so that the time used in the display process of the area to be displayed can be reduced.
Before step 201, in an optional implementation manner, the terminal device receives an adjustment command input by a user to adjust the to-be-displayed area before adjustment, where the adjustment command includes a zoom command for zooming the to-be-displayed area before adjustment. And the terminal equipment adjusts the area to be displayed before adjustment according to the adjustment command and displays the area to be displayed on the screen. The terminal equipment receives a storage command; wherein, the storage command comprises the identification of the area to be displayed. The terminal equipment determines the scaling information of the area to be displayed on the screen as the scaling information in the display information of the area to be displayed. The terminal equipment stores the corresponding relation between the identification of the area to be displayed and the display information of the area to be displayed. Therefore, the user can set the to-be-displayed areas displayed later by himself, and the user can conveniently switch and view the to-be-displayed areas.
Alternatively, the zoom information may be a map hierarchy, and each electronic map service may define an electronic map hierarchy provided by the service. For example, the google map can be divided into 22 layers, the lowest layer is 1 layer, the highest layer is 22 layers, the higher the number of layers is, the larger the electronic map is placed, and the more detailed the area to be displayed is.
After the user opens the electronic map, an adjustment command for adjusting the area to be displayed before adjustment can be input into the terminal device. In an optional implementation manner, a user may send an adjustment command to the terminal device by moving a mouse, and the terminal device may display the area to be displayed before adjustment on a screen of the terminal device according to the received adjustment command. And then, the terminal equipment can zoom the area to be displayed before adjustment according to the zoom command contained in the adjustment command to obtain the area to be displayed and display the area to be displayed on the terminal equipment shield.
In another alternative embodiment, the adjustment command may include a movement command for moving the to-be-displayed area before adjustment and a zoom command for zooming. The terminal device may move the area to be displayed before adjustment according to the movement command, and then the terminal device may zoom the area to be displayed before adjustment after movement according to the zoom command, and display the area to be displayed on the screen.
In an optional implementation manner, after receiving the storage command, the terminal device may obtain scaling information of the to-be-displayed area displayed on the screen of the terminal device, and the terminal device may further obtain an identifier of the to-be-displayed area input by the user. The terminal device may determine the scaling information of the to-be-displayed area displayed on the screen of the terminal device as the scaling information in the display information of the to-be-displayed area. The identifier of the area to be displayed may be a name of the area to be displayed by the user. Optionally, the correspondence between the identifier of the area to be displayed and the display information of the area to be displayed may be a corresponding table, and the terminal device stores the corresponding table in a storage area of the terminal device.
In an optional implementation manner, the display information of the to-be-displayed area of the terminal device further includes remark information of the to-be-displayed area; the adjustment command further comprises a remark adding command for adding remark information to the area to be displayed. After receiving an adjustment command for the to-be-displayed area before adjustment, which is input by a user, and before storing the corresponding relationship between the identifier of the to-be-displayed area and the display information of the to-be-displayed area, the method further includes: and the terminal equipment determines the remark information of the area to be displayed on the screen as the remark information in the display information of the area to be displayed. Alternatively, the remark information may be an address of the area to be displayed, a zip code.
In an optional embodiment, the display information of the to-be-displayed area further includes position information of each to-be-displayed area, where the position information of the area includes: longitude information and latitude information of the center position of the area. Alternatively, the longitude information and the latitude information of the center position of the area may be displayed on the screen of the terminal device together with the scaling information.
For example, after receiving the adjustment command, the terminal device displays the adjusted region to be displayed on the screen according to the zoom command and/or the move command in the adjustment command. Fig. 3 illustrates a schematic diagram of an electronic map according to an embodiment of the present application, including an "area information addition" display frame 301 and zoom information 302. After the user can click the adjusted to-be-displayed area through the right button of the mouse, an area adding display frame appears on the screen of the terminal device, and after the user clicks a confirm button in the display frame again, an area information adding display frame 301 is displayed on the screen of the terminal device. The user inputs the name and remark information of the area to be displayed in the "area information addition" display box 301 and displays them on the terminal device screen. Subsequently, the user clicks an "add" button, and the terminal device determines to add the name and remark information of the area to be displayed.
In an alternative embodiment, while the user clicks the "ok" button again in the "area addition" display box, the terminal device may acquire the scaling information 302, the longitude information of the center position, and the latitude information of the center position of the area to be displayed. The terminal device may store a correspondence between the identifier of the area to be displayed and the display information of the area to be displayed. The display information of the area to be displayed may include memo information, scaling information, longitude information of the center position, and latitude information of the center position of the area to be displayed. The terminal device may store the identifier of the area to be displayed and the display information of the area to be displayed in a form of a corresponding table to a storage area of the terminal device. And the area to be displayed before adjustment is the area to be displayed after adjustment.
The code for the terminal device to acquire the scaling information of the area to be displayed, the longitude information of the center position, and the latitude information of the center position may be as follows:
obtaining display information of area to be displayed by terminal equipment
var areaInfo={};
areaInfo.centerLng=map.getBounds().getCenter().lng;
areaInfo.centerLat=map.getBounds().getCenter().lat;
areaInfo.mapZoom=map.getZoom();
In an optional implementation manner, the terminal device stores the correspondence between the identifier of the area to be displayed and the display information of the area to be displayed in the storage area, and table 1 exemplarily shows the identifier of N areas and the information table of the area to be displayed of the display information of N areas stored in the terminal device. As shown in table 1, the second row in table 1 means that the area to be displayed is the first community, and the remark information of the first community is the address of the first community. The scale of the first community is 1:100, and the longitude and latitude information of the center position is east longitude a1 degrees and north latitude B1 degrees.
TABLE 1 information table of regions to be displayed
Identification of area to be displayed Remark information Scaling information Latitude and longitude information of central location
First community Gold route 1:100 East longitude A1 degree, north latitude B1 degree
Second community High way 1:150 East longitude A2 degree, north latitude B2 degree
Third Community Zuichong road 1:200 East longitude A3 degree, north latitude B3 degree
Fourth Community Luban road 1:100 East longitude A4 degree, north latitude B4 degree
In an alternative embodiment, the terminal device may be provided with a drop-down frame component of the area to be displayed in the electronic map system. Fig. 4 illustrates a schematic diagram of an electronic map according to an embodiment of the present application, and as shown in fig. 4, the electronic map includes a drop-down box component 401 of an area to be displayed and scaling information 402. Optionally, the drop-down box component of the to-be-displayed area may display the stored identifiers of all the to-be-displayed areas when the user clicks.
For example, when the user wants to display one of all the stored areas, the user can click on a drop-down box component of the area to be displayed in the electronic map system on the screen of the terminal device. The identifiers of the N areas are displayed in the drop-down frame assembly of the area to be displayed, a user clicks the identifier of the area to be displayed, and the terminal equipment can display the area to be displayed in the electronic map system according to the clicked zoom ratio information in the display information of the area to be displayed.
Before step 201, optionally, the terminal device may display a default area to be displayed after the user logs in the electronic map system according to the user identifier of the user logging in the electronic map system. In an optional implementation manner, the terminal device obtains a user identifier for logging in the electronic map system, and then, determines identifiers of M preset areas corresponding to the user identifier according to a corresponding relationship between the user identifier and the identifiers of the preset areas; m is a positive integer not greater than N; the M preset regions are M regions in the N regions. And the terminal equipment determines the display information of each preset area corresponding to the identifier of each preset area in the M preset areas according to the corresponding relation between the preset identifiers of the N areas and the display information of the N areas. And when the terminal equipment starts the electronic map system, displaying the M preset areas according to the display information of each preset area corresponding to the identifier of each preset area in the M preset areas. The M preset areas may be default areas to be displayed, which are displayed when the user opens the electronic map system according to the user identifier.
Optionally, the M preset areas may be areas to be displayed last time the electronic map system is turned on, or M preset areas determined by the terminal device in the N areas according to the received default instruction for setting the areas to be displayed. The M preset areas are default areas to be displayed after the user logs in each time.
In an alternative embodiment, the M preset regions, that is, the default region to be displayed, may be 1 or multiple regions. Optionally, the plurality of default to-be-displayed areas may be evenly distributed and displayed on the screen of the terminal device, or the plurality of default to-be-displayed areas may be displayed on the screen of the terminal device according to the area display priority information included in the default to-be-displayed area instruction. For example, the default to-be-displayed area with the highest priority occupies half of the screen on the terminal device screen, and the other default to-be-displayed areas are displayed on the other half of the terminal device screen on average. Therefore, when the electronic map system is started, the terminal device can display the default area to be displayed according to the scaling information and the area display priority information in the display information corresponding to the default area to be displayed.
In an alternative embodiment, the code for displaying the area to be displayed by the terminal device may be as follows:
var index=select.selectedIndex;
var text=select.options[index].text;
var value=select.options[index].value;
Var array=value.split(“,”);
map.centerAndZoom(new BMap.Points(array[0],array[1]),array[2]);
in step 202, in an optional implementation manner, N may be equal to 1, or greater than or equal to 1. When N is equal to 1, the scaling information and/or the longitude and latitude information of the center position in the scaling information of this area to be displayed is different from the scaling information and/or the longitude and latitude information of the center position of the area displayed by the system of the electronic map system. When N is larger than or equal to 1, the scaling information and/or the longitude and latitude information of the center position in the scaling information of at least one of the N areas to be displayed is different from the scaling information and/or the longitude and latitude information of the center position of the area displayed by the system of the electronic map system.
Optionally, the scaling information of the area to be displayed may be the same as the scaling information of the electronic map system, but the longitude and latitude information of the center position of the area to be displayed may be different from the longitude and latitude information of the center position of the electronic map system.
Optionally, the scaling information of the area to be displayed may be different from the scaling information of the electronic map system, but the longitude and latitude information of the center position of the area to be displayed may be the same as the longitude and latitude information of the center position of the electronic map system.
Optionally, the scaling information of the area to be displayed may be different from the scaling information of the electronic map system, and the longitude and latitude information of the center position of the area to be displayed may also be different from the longitude and latitude information of the center position of the electronic map system.
Fig. 5 is a flowchart illustrating a display method of an electronic map, which is applicable to the embodiment of the present application, and includes:
step 501, a terminal device logs in an electronic map system according to a received user identifier input by a user;
step 502, the terminal device receives an adjusting command which is input by a user and is used for adjusting a to-be-displayed area, wherein the adjusting command comprises a zooming command, and the terminal device displays the to-be-displayed area according to the zooming command;
step 503, after the terminal device receives the storage instruction, the storage instruction includes the identifier and remark information of the area to be displayed; acquiring scaling information of a region to be displayed, longitude information of a central position and latitude information of the central position;
step 504, the terminal device stores the identifier of the area to be displayed and the corresponding table of the display information of the area to be displayed in a storage area, wherein the display information of the area to be displayed comprises remark information of the area to be displayed, scaling information, longitude information of a center position and latitude information of the center position;
step 505, determining M preset areas as default areas to be displayed when a user logs in the electronic map system each time from N areas stored in a storage area according to the user identification and the corresponding table for logging in the electronic map system;
optionally, after the terminal device determines the default area to be displayed, the user may exit the electronic map system. And when the user uses the electronic map system again, the terminal equipment can log in the electronic map system again according to the user identification.
If the log-in is not performed after the first log-in, the second log-in is not required, step 507 is performed, and if the log-in is performed, step 506 is performed.
Step 506, the terminal equipment logs in the electronic map system for the second time according to the user identification, and a default area to be displayed is displayed on a screen of the terminal equipment;
step 507, the terminal device obtains the identifier of the area to be displayed when the user switches the area to be displayed, and determines the display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relationship between the identifiers of the N areas and the display information of the N areas;
and step 508, the terminal device displays the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed and the longitude and latitude information of the center position.
Step 501 to step 504 are storage processes of the corresponding relation between the identifier of the area to be displayed and the display information of the area to be displayed; step 505 is a process of setting a default area to be displayed; steps 506 to 507 are the process of switching the display of the area to be displayed.
After step 203 or step 507, in an alternative embodiment, in the case that the area to be displayed is displayed on the screen of the terminal device, the terminal device receives an adjustment command, such as a zoom command and/or a move command. The terminal equipment can directly display the drop-down frame assembly of the area to be displayed, so that a user can directly select the stored area to be displayed; the terminal equipment can also display an area adding display frame, and store a new area to be displayed according to the received adjusting instruction and the storage instruction.
For example, in the case that a security guard carries a positioning device, and the terminal device can determine the current position of each security guard through positioning information sent by the positioning device, the position of a worker in the area to be displayed can be displayed on the screen of the terminal device. Fig. 6 is a schematic diagram illustrating an electronic map according to an embodiment of the present application, as shown in fig. 6, including a drop-down frame assembly 601 of an area to be displayed and scaling information 602, where, in a case where a dispatcher selects the area to be displayed as a haicheng building, the distribution of security in the area to be displayed of the haicheng building can be clearly understood through location information and identity information of security included in positioning information. Optionally, the terminal device may also display the number of persons of security guard in the area to be displayed on the screen.
In an optional implementation manner, a dispatcher can simultaneously open a plurality of areas to be displayed on a screen of a terminal device, and the position condition of the dispatched person can be checked in real time through the cooperation of a positioning device and the terminal device. For example, the plurality of areas to be displayed can be evenly distributed on the screen, so that the dispatcher can view the plurality of areas to be displayed without frequently switching the areas to be displayed.
In an optional implementation manner, the dispatcher may select a plurality of areas to be displayed, set a display duration for each of the selected areas to be displayed, and display each area to be displayed according to the display duration of each area to be displayed. Therefore, the display duration can be set by the dispatcher according to the self requirement, and the time for switching the to-be-displayed area by the dispatcher is reduced.
Based on the above embodiments and the same concept, fig. 7 shows a schematic diagram of a display device of an electronic map provided by an embodiment of the present application; as shown in fig. 7, the display apparatus 700 of the electronic map may include an acquisition unit 701, a determination unit 702, and a display unit 703.
In the embodiment of the application, the obtaining unit is used for obtaining the identifier of the area to be displayed. The determining unit is used for determining the display information of the to-be-displayed area corresponding to the identifier of the to-be-displayed area according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas; the display information of each of the N areas comprises scaling information of the area, and N is a positive integer; the scaling information in the N regions is different from the system scaling information. And the display unit is used for displaying the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed.
In the embodiment of the application, the identifier of the area to be displayed is obtained, and then the display information of the area to be displayed corresponding to the identifier of the area to be displayed is determined according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas. The display information of each of the N regions comprises scaling information of the region, and N is a positive integer. The scaling information in the N regions is different from the system scaling information. And displaying the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed. Therefore, the area to be displayed can be directly displayed according to the scaling information corresponding to the identification of the area to be displayed, and the time used in the display process of the area to be displayed can be reduced.
In an optional implementation manner, the system further includes a receiving unit and a storage unit, wherein the receiving unit is configured to: receiving an adjusting command which is input by a user and used for adjusting a to-be-displayed area before adjustment; the adjusting command comprises a zooming command used for zooming the area to be displayed before adjustment. Receiving a storage command; wherein, the storage command comprises the identification of the area to be displayed. And the display unit is also used for adjusting the area to be displayed before adjustment according to the adjustment command and displaying the area to be displayed on the screen. And the determining unit is also used for determining the scaling information of the to-be-displayed area displayed on the screen as the scaling information in the display information of the to-be-displayed area. And the storage unit is used for storing the corresponding relation between the identifier of the area to be displayed and the display information of the area to be displayed.
In an optional implementation manner, the display information of the area to be displayed further includes remark information of the area to be displayed; the adjustment command further comprises a remark adding command for adding remark information to the area to be displayed. And the determining unit is also used for determining the remark information of the to-be-displayed area displayed on the screen as the remark information in the display information of the to-be-displayed area.
In an optional implementation manner, the obtaining unit is further configured to obtain an identifier of a user logging in the electronic map system. The determining unit is further used for determining the identifications of the M preset areas corresponding to the user identification according to the corresponding relation between the user identification and the identifications of the preset areas; m is a positive integer not greater than N; the M preset regions are M regions in the N regions. And determining the display information of each preset area corresponding to the identifier of each preset area in the M preset areas according to the corresponding relation between the preset identifiers of the N areas and the display information of the N areas. And the display unit is also used for displaying the M preset areas according to the display information of each preset area corresponding to the identifier of each preset area in the M preset areas when the electronic map system is started.
In an optional embodiment, the display information of each of the N regions further includes position information of the region; wherein the location information of the region includes: longitude information and latitude information of the center position of the area.
For a specific description of the display device of the electronic map provided in the embodiment of the present application, reference may be made to the display method of the electronic map provided in the foregoing embodiment, which is not described herein again.
It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Fig. 8 exemplarily shows a schematic structural diagram of a terminal device provided in an embodiment of the present application. Based on the same conception, the embodiment of the present application provides a terminal device 800, configured to execute any one of the above methods. As shown in fig. 8, the terminal device 800 includes a processor 801, a transceiver 802, a memory 803, and a communication interface 804; wherein the processor 801, the transceiver 802, the memory 803 and the communication interface 804 are interconnected by a bus 805.
The bus 805 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but this is not intended to represent only one bus or type of bus.
The memory 803 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 803 may also comprise a combination of memories of the kind described above.
The communication interface 804 may be a wired communication access port, a wireless communication interface, or a combination thereof, wherein the wired communication interface may be, for example, an ethernet interface. The ethernet interface may be an optical interface, an electrical interface, or a combination thereof. The wireless communication interface may be a WLAN interface.
The processor 801 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The processor 801 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Optionally, the memory 803 may also be used for storing program instructions, and the processor 801 may call the program instructions stored in the memory 803, and may perform one or more steps in the embodiments shown in the above schemes, or alternative embodiments thereof, so that the terminal device 800 implements the functions of the terminal device in the above methods.
The processor 801 is configured to execute the instructions stored in the memory and control the transceiver 802 to perform signal receiving and signal transmitting, and when the processor 801 executes the instructions stored in the memory, the terminal device 800 is configured to: and acquiring the identifier of the area to be displayed. Determining display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas; wherein the display information of each of the N regions comprises scaling information of the region, and N is a positive integer; the scaling information in the N regions is different from the system scaling information. And displaying the area to be displayed in an electronic map system according to the scaling information in the display information of the area to be displayed.
The processor 801 may also execute the schemes executed by the terminal devices in fig. 2 and fig. 5, or execute the schemes executed by the acquiring unit, the determining unit, and the displaying unit in fig. 7.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware or any combination thereof, and when the implementation is realized by a software program, all or part of the implementation may be realized in the form of a computer program product. The computer program product includes one or more instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The instructions may be stored in a computer storage medium or transmitted from one computer storage medium to another, e.g., from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer storage media may be any available media that can be accessed by a computer or a data storage device, such as a server, data center, etc., that incorporates one or more available media. The usable medium may be a magnetic medium (e.g., a flexible Disk, a hard Disk, a magnetic tape, a magneto-optical Disk (MO), etc.), an optical medium (e.g., a CD, a DVD, a BD, an HVD, etc.), or a semiconductor medium (e.g., a ROM, an EPROM, an EEPROM, a nonvolatile memory (NAND FLASH), a Solid State Disk (SSD)), etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by instructions. These instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
The instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.

Claims (10)

1. A display method of an electronic map is characterized by comprising the following steps:
displaying the M preset areas according to the display information of each preset area corresponding to the identifier of each preset area in the M preset areas; the M preset areas are default areas to be displayed after the user logs in each time; the method specifically comprises the following steps: when the electronic map system is started, displaying the default area to be displayed according to the scaling information and the area display priority information in the display information corresponding to the default identification of the area to be displayed; m is a positive integer greater than 1;
receiving an adjusting command which is input by a user and used for adjusting a to-be-displayed area before adjustment; wherein the adjusting command comprises a zooming command for zooming the area to be displayed before the adjustment;
the method comprises the steps that a drop-down frame assembly of a to-be-displayed area is displayed, wherein the drop-down frame assembly comprises stored identifications of all the to-be-displayed areas;
acquiring an identifier of the area to be displayed;
determining display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas; wherein the display information of each of the N regions includes scaling information of the region and longitude and latitude information of a center position, and N is a positive integer; the scale information and/or the longitude and latitude information of the center position in the scale information in the N areas are different from the scale information and/or the longitude and latitude information of the center position of the area displayed by the system of the electronic map system;
and displaying the area to be displayed in an electronic map system according to the scaling information in the display information of the area to be displayed and the longitude and latitude information of the central position.
2. The method of claim 1, wherein prior to obtaining the identity of the area to be displayed, further comprising:
receiving a storage command; wherein the storage command comprises an identifier of the area to be displayed;
determining the scaling information of the area to be displayed on the screen as the scaling information in the display information of the area to be displayed;
and storing the corresponding relation between the identifier of the area to be displayed and the display information of the area to be displayed.
3. The method of claim 2, wherein the display information of the area to be displayed further includes remark information of the area to be displayed; the adjustment command further comprises a remark adding command for adding remark information to the area to be displayed;
after receiving an adjustment command for an area to be displayed before adjustment, which is input by a user, and before storing a corresponding relationship between an identifier of the area to be displayed and display information of the area to be displayed, the method further includes:
and determining the remark information of the area to be displayed on the screen as the remark information in the display information of the area to be displayed.
4. The method of any one of claims 1 to 3, wherein before obtaining the identity of the area to be displayed, further comprising:
acquiring a user identifier for logging in the electronic map system;
determining the identifications of M preset areas corresponding to the user identification according to the corresponding relation between the user identification and the identifications of the preset areas; m is a positive integer not greater than N; wherein the M preset regions are M regions of the N regions;
determining display information of each preset area corresponding to the identifier of each preset area in the M preset areas according to the corresponding relation between the preset identifiers of the N areas and the display information of the N areas;
and when the electronic map system is started, displaying the M preset areas according to the display information of each preset area corresponding to the identifier of each preset area in the M preset areas.
5. A display device of an electronic map, comprising:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for receiving an adjustment command which is input by a user and is used for adjusting a to-be-displayed area before adjustment; wherein the adjusting command comprises a zooming command for zooming the area to be displayed before the adjustment; acquiring an identifier of the area to be displayed;
the determining unit is used for displaying the M preset areas according to the display information of each preset area corresponding to the identifier of each preset area in the M preset areas; the M preset areas are default areas to be displayed after the user logs in each time; m is a positive integer greater than 1; the method is specifically used for: when the electronic map system is started, displaying the default area to be displayed according to the scaling information and the area display priority information in the display information corresponding to the default identification of the area to be displayed; the method comprises the steps that a drop-down frame assembly of a to-be-displayed area is displayed, wherein the drop-down frame assembly comprises stored identifications of all the to-be-displayed areas; determining display information of the area to be displayed corresponding to the identifier of the area to be displayed according to the preset corresponding relation between the identifier of the N areas and the display information of the N areas; wherein the display information of each of the N regions includes scaling information of the region and longitude and latitude information of a center position, and N is a positive integer; the scale information and/or the longitude and latitude information of the center position in the scale information in the N areas are different from the scale information and/or the longitude and latitude information of the center position of the area displayed by the system of the electronic map system;
and the display unit is used for displaying the area to be displayed in the electronic map system according to the scaling information in the display information of the area to be displayed and the longitude and latitude information of the central position.
6. The apparatus of claim 5, further comprising a receiving unit to: receiving an adjusting command which is input by a user and used for adjusting a to-be-displayed area before adjustment; wherein the adjusting command comprises a zooming command for zooming the area to be displayed before the adjustment; receiving a storage command; wherein the storage command comprises an identifier of the area to be displayed;
the display unit is further used for adjusting the area to be displayed before the adjustment according to the adjustment command and displaying the area to be displayed on a screen;
the determining unit is further configured to determine scaling information of the to-be-displayed area displayed on the screen as scaling information in the display information of the to-be-displayed area; and storing the corresponding relation between the identifier of the area to be displayed and the display information of the area to be displayed.
7. The apparatus of claim 6, wherein the display information of the area to be displayed further includes remark information of the area to be displayed; the adjustment command further comprises a remark adding command for adding remark information to the area to be displayed;
the determining unit is further configured to:
and determining the remark information of the area to be displayed on the screen as the remark information in the display information of the area to be displayed.
8. The apparatus according to any one of claims 5 to 7, wherein the obtaining unit is further configured to obtain an identifier of a user logging in the electronic map system;
the determining unit is further configured to: determining the identifications of M preset areas corresponding to the user identification according to the corresponding relation between the user identification and the identifications of the preset areas; determining display information of each preset area corresponding to the identifier of each preset area in the M preset areas according to the corresponding relation between the preset identifiers of the N areas and the display information of the N areas; m is a positive integer not greater than N; wherein the M preset regions are M regions of the N regions;
the display unit is further configured to display the M preset regions according to the display information of each preset region corresponding to the identifier of each preset region in the M preset regions when the electronic map system is started.
9. A computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 4.
10. A terminal device, comprising:
the terminal equipment comprises a processor, a transceiver and a memory;
the memory is used for storing instructions, the processor is used for executing the instructions stored by the memory and controlling the transceiver to receive and transmit signals, and when the processor executes the instructions stored by the memory, the terminal equipment is used for executing the method of any one of claims 1 to 4.
CN201711115573.9A 2017-11-13 2017-11-13 Display method of electronic map, related device and storage medium Active CN107895537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711115573.9A CN107895537B (en) 2017-11-13 2017-11-13 Display method of electronic map, related device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711115573.9A CN107895537B (en) 2017-11-13 2017-11-13 Display method of electronic map, related device and storage medium

Publications (2)

Publication Number Publication Date
CN107895537A CN107895537A (en) 2018-04-10
CN107895537B true CN107895537B (en) 2021-01-01

Family

ID=61804990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711115573.9A Active CN107895537B (en) 2017-11-13 2017-11-13 Display method of electronic map, related device and storage medium

Country Status (1)

Country Link
CN (1) CN107895537B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362242B (en) * 2018-04-11 2022-05-24 腾讯大地通途(北京)科技有限公司 Map display method and terminal equipment
CN110634381A (en) * 2018-06-25 2019-12-31 百度在线网络技术(北京)有限公司 Method and device for determining labeling style
CN112100302B (en) * 2020-09-02 2024-03-29 北京百度网讯科技有限公司 Map information point display method, apparatus, device and readable storage medium
CN114647707A (en) * 2022-03-07 2022-06-21 海南视联通信技术有限公司 Map information display method and device, terminal equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640000B (en) * 2009-06-01 2011-12-28 北京四维图新科技股份有限公司 Map display method, map display system, navigator and electronic map
CN102298873B (en) * 2010-06-24 2014-03-26 科菱航睿空间信息技术有限公司 Navigation electronic map data storage method and display method based on the same
CN103578347B (en) * 2012-08-01 2017-04-19 高德软件有限公司 Method and device for displaying POI in electronic map and mobile terminal
CN104134398B (en) * 2013-05-03 2017-08-25 腾讯科技(深圳)有限公司 A kind of method and device for showing map details information
CN105159543B (en) * 2015-09-25 2019-11-05 百度在线网络技术(北京)有限公司 It is a kind of that the method and apparatus of Map Services are provided

Also Published As

Publication number Publication date
CN107895537A (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN107895537B (en) Display method of electronic map, related device and storage medium
US9977911B2 (en) Methods and systems for managing permissions to access mobile device resources
CN107431896B (en) Wireless coverage verification based on connection technology
CN104867065B (en) Method and equipment for processing order
US11323853B2 (en) Systems and methods for leveraging text messages in a mobile-based crowdsourcing platform
CN104599217B (en) Method and apparatus for the current destination for determining passenger
AU2012211130B2 (en) Content access control in social network
AU2014240569B2 (en) Image cropping according to points of interest
US10963450B2 (en) Optimizing offline map data updates
CA2877360C (en) Methods and systems for content consumption
US20130219339A1 (en) Method and system for managing sharing of content on an online sharing platform
CN105430071A (en) Method and device for pushing information
CN108702334B (en) Method and system for distributed testing of network configuration for zero tariffs
US9949077B1 (en) Systems and methods for communicating with remote users
CN109857550A (en) Resource allocation method, device, equipment and storage medium based on machine learning
US20150264518A1 (en) Retroactive check-ins based on learned locations to which the user has traveled
US20170223118A1 (en) Organizing location-based social network communities
CN113449986A (en) Service distribution method, device, server and storage medium
EP3040899A1 (en) Methods and systems for managing permissions to access mobile device resources
WO2017003628A1 (en) Network selection based on user feedback
US20190065983A1 (en) Control system for learning and surfacing feature correlations
CN106412257B (en) Positioning service control method and system
CN107153779A (en) Method for secret protection and device
CN112508466A (en) Position identification method and device, computer readable storage medium and electronic equipment
WO2019099254A1 (en) Systems and methods for virtual line services

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190702

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

Address before: 266000 Qianwan Port Road 218, Qingdao Economic and Technological Development Zone, Shandong Province

Applicant before: Hisense Communications Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder