WO2016004738A1 - 电子地图的展现方法、装置、设备及非易失性计算机存储介质 - Google Patents

电子地图的展现方法、装置、设备及非易失性计算机存储介质 Download PDF

Info

Publication number
WO2016004738A1
WO2016004738A1 PCT/CN2014/094522 CN2014094522W WO2016004738A1 WO 2016004738 A1 WO2016004738 A1 WO 2016004738A1 CN 2014094522 W CN2014094522 W CN 2014094522W WO 2016004738 A1 WO2016004738 A1 WO 2016004738A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
map
setting information
personalized setting
map element
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.)
Ceased
Application number
PCT/CN2014/094522
Other languages
English (en)
French (fr)
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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Publication of WO2016004738A1 publication Critical patent/WO2016004738A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three-dimensional [3D] modelling for computer graphics
    • G06T17/05Geographic models

Definitions

  • the present invention relates to electronic map technology, and in particular, to a method, device, device and non-volatile computer storage medium for displaying an electronic map.
  • the terminal integrates more and more functions, so that the system function list of the terminal contains more and more corresponding applications (Application, APP).
  • Some applications involve some electronic maps, such as Baidu map, Baidu navigation, Gaode navigation and so on.
  • the operator needs to preset the presentation information of each map element, and the rendering engine directly displays the map element according to the presentation information of the map element to form an electronic map.
  • the rendering engine can only perform electronic map display according to the preset display information of the map elements, the electronic map style displayed by the rendering engine is relatively fixed, resulting in a decrease in the flexibility of the electronic map display.
  • aspects of the present invention provide a method, device, device and device for displaying an electronic map Volatile computer storage media to increase the flexibility of electronic map presentation.
  • An aspect of the present invention provides a method for displaying an electronic map, including:
  • the acquiring personalization setting information of the at least one map element on the electronic map including:
  • the method further includes:
  • the personalized setting information includes:
  • an apparatus for presenting an electronic map includes:
  • An obtaining unit configured to acquire personalized setting information of at least one map element on the electronic map
  • a presentation unit configured to obtain, according to the personalized setting information, presentation information of the at least one map element, to display the at least one map element according to the presentation information.
  • the acquiring unit configured to
  • the personalized setting information includes:
  • an apparatus comprising:
  • One or more processors are One or more processors;
  • One or more programs the one or more programs being stored in the memory, when executed by the one or more processors:
  • a nonvolatile computer storage medium storing one or more programs when the one or more programs are executed by a device causes The device:
  • the embodiment of the present invention obtains the personalized setting information of the at least one map element on the electronic map, and further obtains the presentation information of the at least one map element according to the personalized setting information, which can be personalized according to the Setting information to obtain presentation information of the map element, so that the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style, but flexible and variable Style, can avoid the prior art because the rendering engine can only root
  • the electronic map display according to the display information of the preset map elements is fixed, and the displayed electronic map style is relatively fixed, thereby improving the flexibility of the electronic map display.
  • the personalized setting information stored in the cloud is obtained according to the acquired attribute information of the user, thereby obtaining the presentation information of the map element, so that the rendering engine can be based on the new presentation information.
  • the map element is displayed, so that the electronic map displayed by the rendering engine is not only a single style, but has a plurality of styles more in line with the user's preference, thereby improving the personalization of the electronic map display.
  • the personalized setting information stored in the cloud is obtained according to the identification information of the personalized setting information provided by the user, thereby obtaining the display information of the map element, so that the rendering engine can
  • the new presentation information reveals the map elements, so that the electronic map displayed by the rendering engine is no longer just a single style, but has multiple styles more in line with the user's preferences, thereby improving the personalization of the electronic map display.
  • FIG. 1 is a schematic flowchart of a method for displaying an electronic map according to an embodiment of the present invention
  • FIG. 2A is a schematic diagram showing the display of a user interface in the embodiment corresponding to FIG. 1;
  • FIG. 2B is a schematic diagram showing another user interface in the embodiment corresponding to FIG. 1;
  • FIG. 3 is a schematic structural diagram of an apparatus for displaying an electronic map according to another embodiment of the present invention.
  • the terminals involved in the embodiments of the present invention may include, but are not limited to, a mobile phone, a personal digital assistant (PDA), a wireless handheld device, a wireless netbook, a personal computer, a portable computer, an MP3 player, and an MP4. Player, etc.
  • FIG. 1 is a schematic flowchart of a method for displaying an electronic map according to an embodiment of the present invention, as shown in FIG. 1 .
  • the presentation information is used to indicate a presentation style of the map element on the terminal screen, for example, a border, a color, a fill, and the like.
  • execution body of 101 to 102 may be a presentation device, and may be located in a local application (Application, APP), for example, a Baidu map or the like, or may also be located in a server on the network side. Specially limited.
  • the application may be an application (native APP) installed on the terminal, or may also be a webpage (webAPP) of the browser on the terminal, as long as the electronic map can be displayed to provide the objective of the location service.
  • native APP application
  • webAPP webpage
  • the form of existence may be used, and this embodiment does not limit this.
  • the presentation information of the at least one map element is obtained according to the personalized setting information, and the display of the map element can be obtained according to the personalized setting information.
  • the information enables the rendering engine to display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style, but has a variety of flexible and flexible styles, which can avoid the prior art. Since the rendering engine can only perform electronic map display according to the display information of the preset map elements, the displayed electronic map style is relatively fixed, thereby improving the flexibility of the electronic map display.
  • Electronic map is a map based on a map database, which is stored in digital form using computer technology and can be displayed on the screen of the terminal.
  • the main component of an electronic map displayed by an application is a map element, such as a map element such as a mountain, a water system, a land, an administrative division, a point of interest, or a road.
  • the road can be further divided into five levels: expressway, primary road, secondary road, third-grade road and fourth-grade road.
  • Each level of road can be different map elements, or can also be the same map element. This embodiment is not particularly limited. For a detailed description of the grading of the road, refer to related content in the prior art, and details are not described herein again.
  • the relative positions of these map elements on the electronic map are determined by geographic information and are not allowed to be changed at will.
  • geographic information can be obtained by manual collection or directly obtained by using an existing geographic database.
  • the positioning technology such as Global Positioning System (GPS) positioning technology, Wireless Fidelity (Wi-Fi) positioning technology, base station positioning technology or sensor positioning technology can be further adopted. Geographic information is corrected to ensure the reliability of geographic information.
  • GPS Global Positioning System
  • Wi-Fi Wireless Fidelity
  • the rendering engine can display an electronic map based on geographic information and presentation information.
  • the operator needs to preset the presentation information of each map element, and the rendering engine directly displays the map element according to the presentation information of the map element to form an electronic map.
  • the rendering engine can only perform electronic map display according to the preset information of the map elements, the rendering style of the electronic map displayed by the rendering engine is relatively fixed, and the electronic maps seen by all users are the same, thus, The flexibility that leads to the display of electronic maps is not high.
  • the “at least one map element” involved in this embodiment may be all map elements on the electronic map, or may also be part of the map on the electronic map, and this embodiment does not specifically limited.
  • the technical solution provided by this embodiment is applicable to the presentation of “the at least one map element”, if on the electronic map, in addition to the “at least one map element” involved in the embodiment. , there may be other map elements for this part of the map The presentation of the elements can still be presented according to the presentation information of the part of the map elements preset by the operator in the prior art.
  • the personalized setting information acquired by the presentation device may include, but is not limited to, a map element identifier; an identifier of a map element attribute; and a map element attribute. The value. among them,
  • the map element identifier refers to the unique identification information of the map element, for example, the name or number of the map element.
  • the identifier of the map element attribute refers to the unique identification information of the map element attribute, for example, the name or number of the map element attribute.
  • the map element attribute may include, but is not limited to, at least one of the following attributes:
  • the border property refers to the feature information of the border of the map element, for example, the pattern, color, width, and the like of the border.
  • the fill attribute refers to the feature information of the fill of the map element, for example, the color, pattern, transparency, and the like of the fill.
  • the label attribute refers to the feature information of the label of the map element, wherein the label may include, but is not limited to, at least one of a text label attribute and/or a graphic label attribute, for example, a font of the text label, a font size, a border is hidden, and the like.
  • a text label attribute for example, a font of the text label, a font size, a border is hidden, and the like.
  • the value of the map element attribute refers to the specific content of the map element attribute.
  • the pattern of the border is a straight line, a dotted line, or a dotted line; the color of the border is black or brown; the width of the border is 0.02 mm (mm) or the like.
  • the color of the filling is yellow, blue, or green, etc.; the pattern of the filling is a dot or a diagonal line; the transparency of the filling is 20% or the like.
  • the font of the text label is Song, etc.; the font size of the text label is the small fifth, etc.; the border of the text is hidden; the graphic label is hidden.
  • a set of personalized setting information that is, a map element identifier; an identifier of a map element attribute; and a value of a map element attribute may be regarded as a style rule.
  • the presentation device may specifically parse the style rules of the one piece to generate presentation information.
  • the presentation device may specifically receive the personalized setting information input by the user.
  • the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style. Instead, it has a variety of styles that are more in line with user preferences, thereby increasing the personalization of electronic map presentation.
  • some interfaces may be opened to the user for the user to input the personalized setting information by using the interface unit.
  • an option for the user to select and input is provided to input the name of the map element, the name of the map element attribute, and the specific content of the map element attribute.
  • the user may be a normal user, or may be a third-party developer, or may be a developer of the application itself. This embodiment is not particularly limited.
  • the presentation device may obtain the preference information of the user according to the historical behavior data of the user, and obtain the personality according to the preference information. Set the information.
  • the obtained personalized setting information generates display information of the map element, so that the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single Styles, but with a variety of styles that more closely match the user's preferences, thus enhancing the personalization of the electronic map display.
  • the presentation device may obtain the preference information of the user by using data mining technology according to the historical behavior data of the user.
  • the personalized setting information can be obtained according to the preference information.
  • the data mining technology may adopt the existing mature technologies such as machine learning and combing statistics. For detailed description, refer to related descriptions in the prior art, and details are not described herein again.
  • the historical behavior data of the user may include, but is not limited to, at least one of the following data:
  • the presentation device may specifically obtain the personalized setting information of the user stored in the cloud.
  • the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single Styles, but a variety of flexible and flexible styles, thus enhancing the personalization of electronic map display.
  • the presentation device may acquire the attribute information of the user, and acquire the personalized setting information stored in the cloud according to the attribute information of the user.
  • the attribute information may include, but is not limited to, at least one of the following information:
  • the presentation device may receive the identification information of the personalized setting information provided by the user, and obtain the personalized setting information stored in the cloud according to the identification information of the personalized setting information.
  • the identification information of the personalized setting information provided by the user may be obtained by sharing operation behaviors of other users.
  • the presentation device may obtain the personalized setting information input by the user, and obtain the preference information of the user according to the historical behavior data of the user, and obtain the location according to the preference information.
  • the personalization setting information is obtained, and the personalized setting information is obtained, and the personalized setting information is stored in the cloud, and the mapping relationship between the user identification information and the personalized setting information is recorded, so that the presentation device is The user directly obtains the personalized setting information of the user stored in the cloud by using the identification information of the user.
  • the presentation device may specifically generate the presentation information of the at least one map element according to the personalized setting information. For example, the personalization information is parsed, and then the presentation information of the at least one map element is generated.
  • the display device may specifically obtain, according to the personalized setting information, the personalized information stored in the cloud.
  • the presentation device may further store the generated presentation information in the cloud, and record a mapping relationship between the personalized setting information and the presentation information.
  • the presentation device can directly obtain the presentation information stored in the cloud by using the personalized setting information, without repeatedly analyzing the personalized setting information.
  • the display efficiency and processing load of the presentation device can be effectively improved.
  • the presentation device can present the at least one map element according to the presentation information.
  • the presentation information is not to display a Point of Interest (POI)
  • POI Point of Interest
  • the electronic map displayed on the user interface may be as shown in FIG. 2A; or, for example, if the road is not displayed, then the user interface is displayed.
  • the electronic map can be as shown in Figure 2B.
  • the presentation device may specifically acquire the personalized setting information of the at least one map element on the electronic map under the specified scale.
  • the specified scale is used to represent the ratio of the length of the line segment on the electronic map to the length of the actual corresponding line segment.
  • the specified scale may include, but is not limited to, any one of a scale of 3 to 18 scales.
  • 1 pixel represents the actual physical distance of 1 meter.
  • the map can be obtained according to the personalized setting information.
  • the presentation information of the element enables the rendering engine to display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style, but has a variety of flexible and flexible styles, which can avoid the present.
  • There are techniques in the rendering engine that can only be based on pre-set map elements The presentation of the information for the electronic map display results in a fixed electronic map style, thereby improving the flexibility of the electronic map display.
  • the personalized setting information stored in the cloud is obtained according to the acquired attribute information of the user, thereby obtaining the presentation information of the map element, so that the rendering engine can be based on the new presentation information.
  • the map element is displayed, so that the electronic map displayed by the rendering engine is not only a single style, but has a plurality of styles more in line with the user's preference, thereby improving the personalization of the electronic map display.
  • the personalized setting information stored in the cloud is obtained according to the identification information of the personalized setting information provided by the user, thereby obtaining the display information of the map element, so that the rendering engine can
  • the new presentation information reveals the map elements, so that the electronic map displayed by the rendering engine is no longer just a single style, but has multiple styles more in line with the user's preferences, thereby improving the personalization of the electronic map display.
  • FIG. 3 is a schematic structural diagram of an apparatus for displaying an electronic map according to another embodiment of the present invention, as shown in FIG. 3.
  • the presentation device of the electronic map of this embodiment may include an obtaining unit 31 and Presentation unit 32.
  • the obtaining unit 31 is configured to acquire the personalized setting information of the at least one map element on the electronic map
  • the displaying unit 32 is configured to obtain the displaying information of the at least one map element according to the personalized setting information, for The presentation information presents the at least one map element.
  • the presentation information is used to indicate a presentation style of the map element on the terminal screen, for example, a border, a color, a fill, and the like.
  • the display device of the electronic map provided in this embodiment may be located in a local application (Application, APP), for example, a Baidu map, or the like, or may be located in a server on the network side. Special restrictions are made.
  • the application may be an application (native APP) installed on the terminal, or may also be a webpage (webAPP) of the browser on the terminal, as long as the electronic map can be displayed to provide the objective of the location service.
  • native APP application
  • webAPP webpage
  • the form of existence may be used, and this embodiment does not limit this.
  • the personalization setting information of the at least one map element on the electronic map is obtained by the obtaining unit, and then the presentation unit obtains the presentation information of the at least one map element according to the personalized setting information, and the information can be set according to the personalized setting.
  • the presentation unit obtains the presentation information of the map element, so that the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style, but has a variety of flexible and variable styles.
  • the problem that the displayed electronic map style is relatively fixed due to the rendering engine being able to perform electronic map display according to the preset display information of the map elements is avoided in the prior art, thereby improving the flexibility of the electronic map display.
  • An electronic map that is, a digital map, is a map that is displayed on the screen of a terminal using computer technology and stored in a digital form based on a map database.
  • the main component of an electronic map displayed by an application is a map element, such as a map element such as a mountain, a water system, a land, an administrative division, a point of interest, or a road.
  • the road can be further divided into five grades: highway, primary road, secondary road, third-grade road, and fourth-grade road.
  • Each level of road can be different map elements, or can also be the same map element. This embodiment is not particularly limited. For a detailed description of the grading of the road, refer to related content in the prior art, and details are not described herein again.
  • the relative positions of these map elements on the electronic map are determined by geographic information and are not allowed to be changed at will.
  • geographic information can be obtained by manual collection or directly obtained by using an existing geographic database.
  • the positioning technology such as Global Positioning System (GPS) positioning technology, Wireless Fidelity (Wi-Fi) positioning technology, base station positioning technology or sensor positioning technology can be further adopted. Geographic information is corrected to ensure the reliability of geographic information.
  • GPS Global Positioning System
  • Wi-Fi Wireless Fidelity
  • the rendering engine can display an electronic map based on geographic information and presentation information.
  • the operator needs to preset the presentation information of each map element, and the rendering engine directly displays the map element according to the presentation information of the map element to form an electronic map.
  • the rendering engine can only perform electronic map display according to the preset information of the map elements, the rendering style of the electronic map displayed by the rendering engine is relatively fixed, and the electronic maps seen by all users are the same, thus, The flexibility that leads to the display of electronic maps is not high.
  • the “at least one map element” involved in this embodiment may be all map elements on the electronic map, or may also be part of the map on the electronic map, and this embodiment does not specifically limited.
  • the technical solution provided by this embodiment is applicable to the presentation of “the at least one map element”, if on the electronic map, in addition to the “at least one map element” involved in the embodiment.
  • the presentation of the part of the map elements can still be displayed according to the presentation information of the part of the map elements preset by the operator in the prior art.
  • the personalized setting information acquired by the acquiring unit 31 may include, but is not limited to, a map element identifier; an identifier of a map element attribute; and a map element attribute. Value. among them,
  • the map element identifier refers to the unique identification information of the map element, for example, the name or number of the map element.
  • the identifier of the map element attribute refers to the unique identification information of the map element attribute, for example, the name or number of the map element attribute.
  • the map element attribute may include, but is not limited to, at least one of the following attributes:
  • the border property refers to the feature information of the border of the map element, for example, the pattern, color, width, and the like of the border.
  • the fill attribute refers to the feature information of the fill of the map element, for example, the color, pattern, transparency, and the like of the fill.
  • the label attribute refers to the feature information of the label of the map element, wherein the label may include, but is not limited to, at least one of a text label attribute and/or a graphic label attribute, for example, a font of the text label, a font size, a border is hidden, and the like.
  • a text label attribute for example, a font of the text label, a font size, a border is hidden, and the like.
  • the value of the map element attribute refers to the specific content of the map element attribute.
  • the pattern of the border is a straight line, a dotted line, or a dotted line; the color of the border is black or brown; the width of the border is 0.02 mm (mm) or the like.
  • the color of the filling is yellow, blue, or green, etc.; the pattern of the filling is a dot or a diagonal line; the transparency of the filling is 20% or the like.
  • the font of the text label is Song, etc.; the font size of the text label is the small fifth, etc.; the border of the text is hidden; the graphic label is hidden.
  • a set of personalized setting information that is, a map element identifier; an identifier of a map element attribute; and a value of a map element attribute may be regarded as a style rule.
  • the presentation device may specifically parse the style rules of the one piece to generate presentation information.
  • the acquiring unit 31 may be specifically configured to receive the personalized setting information input by a user.
  • the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style. Instead, it has a variety of styles that are more in line with user preferences, thereby increasing the personalization of electronic map presentation.
  • some interfaces may be opened to the user for the user to input the personalized setting information by using the interface unit.
  • an option for the user to select and input is provided to input the name of the map element, the name of the map element attribute, and the ground.
  • the specific content of the graph element attribute is provided to input the name of the map element, the name of the map element attribute, and the ground.
  • the user may be a normal user, or may be a third-party developer, or may be a developer of the application itself. This embodiment is not particularly limited.
  • the acquiring unit 31 may be specifically configured to obtain, according to the historical behavior data of the user, the preference information of the user, and obtain the location according to the preference information. Personalize the information.
  • the rendering engine can display the map element according to the new presentation information, and thus the electronic map displayed by the rendering engine Instead of just having a single style, it has multiple styles that more closely match the user's preferences, thus improving the personalization of the electronic map display.
  • the obtaining unit 31 may obtain the preference information of the user by using data mining technology according to historical behavior data of the user.
  • the personalized setting information can be obtained according to the preference information.
  • the data mining technology may adopt the existing mature technologies such as machine learning and combing statistics.
  • the historical behavior data of the user may include, but is not limited to, at least one of the following data:
  • the acquiring unit 31 may be specifically configured to obtain the personalized setting information of a user stored in the cloud.
  • the rendering information of the map element can be generated according to the personalized setting information stored in the cloud, so that the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style. Instead, it has a variety of flexible styles to enhance the personalization of electronic map display.
  • the obtaining unit 31 may be configured to acquire the attribute information of the user, and obtain the personalized setting information stored in the cloud according to the attribute information of the user.
  • the attribute information of the user may include, but is not limited to, at least one of the following information:
  • the obtaining unit 31 may be configured to receive the identifier information of the personalized setting information provided by the user, and obtain the personalized setting information stored in the cloud according to the identifier information of the personalized setting information.
  • the identification information of the personalized setting information provided by the user may be obtained by sharing operation behaviors of other users.
  • the acquiring unit 31 may obtain the personalized setting information input by the user, and obtain the preference information of the user according to the historical behavior data of the user, and according to the preference information, by using the foregoing two manners. And obtaining the personalized setting information, and acquiring the personalized setting information, in the two manners, and storing the personalized setting information in the cloud, so that the acquiring unit 31 directly uses the identification information of the user to obtain the identification information.
  • the personalized setting information of the user stored in the cloud.
  • the presentation unit 32 Specifically, it may be used to generate the presentation information of the at least one map element according to the personalized setting information. For example, the personalization information is parsed, and then the presentation information of the at least one map element is generated.
  • the displaying unit 32 is specifically configured to obtain, according to the personalized setting information, the at least the at least one corresponding to the personalized setting information that is stored in the cloud.
  • a presentation of a map element For example, the presentation unit 32 may further store the generated presentation information in the cloud, and record a mapping relationship between the personalized setting information and the presentation information.
  • the presentation device can directly obtain the presentation information stored in the cloud by using the personalized setting information without repeating the personalized setting information. The analysis can effectively improve the presentation efficiency and processing load of the presentation device.
  • the acquiring unit 31 may be specifically configured to acquire personalized setting information of at least one map element on the electronic map under the specified scale.
  • the specified scale is used to represent the ratio of the length of the line segment on the electronic map to the length of the actual corresponding line segment.
  • the specified scale may include, but is not limited to, any one of a scale of 3 to 18 scales.
  • 1 pixel represents the actual physical distance of 1 meter.
  • the obtaining unit acquires the personalized setting information of the at least one map element on the electronic map, and then the displaying unit obtains the displaying information of the at least one map element according to the personalized setting information, which can be personalized according to the Setting information to obtain presentation information of the map element, so that the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style, but has
  • the rendering engine can display the map element according to the new presentation information, so that the electronic map displayed by the rendering engine is no longer only a single style, but has
  • the personalized setting information stored in the cloud is obtained according to the acquired attribute information of the user, thereby obtaining the presentation information of the map element, so that the rendering engine can be based on the new presentation information.
  • the map element is displayed, so that the electronic map displayed by the rendering engine is not only a single style, but has a plurality of styles more in line with the user's preference, thereby improving the personalization of the electronic map display.
  • the personalized setting information stored in the cloud is obtained according to the identification information of the personalized setting information provided by the user, thereby obtaining the display information of the map element, so that the rendering engine can
  • the new presentation information reveals the map elements, so that the electronic map displayed by the rendering engine is no longer just a single style, but has multiple styles more in line with the user's preferences, thereby improving the personalization of the electronic map display.
  • Another embodiment of the present invention provides an apparatus, including:
  • One or more processors are One or more processors;
  • One or more programs the one or more programs being stored in the memory, when executed by the one or more processors:
  • Another embodiment of the present invention provides a non-volatile computer storage medium, the non- A volatile computer storage medium stores one or more programs that, when executed by a device, cause the device to:
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or It is implemented in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • Remote Sensing (AREA)
  • Computer Graphics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Instructional Devices (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供一种电子地图的展现方法、装置、设备及非易失性计算机存储介质。本发明实施例通过获取电子地图上至少一个地图元素的个性化设置信息,进而根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,由于能够根据个性化设置信息,获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,能够避免现有技术中由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现而导致的所展现的电子地图样式较为固定的问题,从而提高了电子地图展现的灵活性。

Description

电子地图的展现方法、装置、设备及非易失性计算机存储介质
本申请要求了申请日为2014年07月07日,申请号为201410319234.2发明名称为“电子地图的展现方法及装置”的中国专利申请的优先权。
技术领域
本发明涉及电子地图技术,特别涉及一种电子地图的展现方法、装置、设备及非易失性计算机存储介质。
背景技术
随着通信技术的发展,终端集成了越来越多的功能,从而使得终端的系统功能列表中包含了越来越多相应的应用(Application,APP)。有些应用中会涉及一些电子地图,例如,百度地图、百度导航、高德导航等。现有技术中,操作人员需要预先设定每个地图元素的展现信息,渲染引擎直接根据地图元素的展现信息,展现该地图元素,以形成一幅电子地图。
然而,由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现,使得渲染引擎所展现的电子地图样式较为固定,从而导致了电子地图展现的灵活性的降低。
发明内容
本发明的多个方面提供一种电子地图的展现方法、装置、设备及非 易失性计算机存储介质,用以提高电子地图展现的灵活性。
本发明的一方面,提供一种电子地图的展现方法,包括:
获取电子地图上至少一个地图元素的个性化设置信息;
根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述获取电子地图上至少一个地图元素的个性化设置信息,包括:
获取用户的属性信息,根据所述用户的属性信息,获取云端所存储的所述个性化设置信息;或者
接收用户提供的个性化设置信息的标识信息,根据所述个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述获取电子地图上至少一个地图元素的个性化设置信息之前,还包括:
接收除了所述用户之外的其他用户输入的所述个性化设置信息,以供在所述云端进行存储;或者
根据除了所述用户之外的其他用户的历史行为数据,获得所述其他用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息,以供在所述云端进行存储。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式, 所述根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,包括:
根据所述个性化设置信息,生成所述至少一个地图元素的展现信息;或者
根据所述个性化设置信息,获得云端所存储的与所述个性化设置信息对应的所述至少一个地图元素的展现信息。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述个性化设置信息包括:
地图元素标识;
地图元素属性的标识;以及
地图元素属性的取值。
本发明的另一方面,提供一种电子地图的展现装置,包括:
获取单元,用于获取电子地图上至少一个地图元素的个性化设置信息;
展现单元,用于根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述获取单元,用于
获取用户的属性信息,根据所述用户的属性信息,获取云端所存储的所述个性化设置信息;或者
接收用户发送的个性化设置信息的标识信息,根据所述个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述获取单元,还用于
接收除了所述用户之外的其他用户输入的所述个性化设置信息,以供在所述云端进行存储;或者
根据除了所述用户之外的其他用户的历史行为数据,获得所述其他用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息,以供在所述云端进行存储。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述个性化设置信息包括:
地图元素标识;
地图元素属性的标识;以及
地图元素属性的取值。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述展现单元,具体用于
根据所述个性化设置信息,生成所述至少一个地图元素的展现信息;或者
根据所述个性化设置信息,获得云端所存储的与所述个性化设置信息对应的所述至少一个地图元素的展现信息。
本发明的另一方面,提供一种设备,包括:
一个或者多个处理器;
存储器;
一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
获取电子地图上至少一个地图元素的个性化设置信息;
根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
本发明的另一方面,提供一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:
获取电子地图上至少一个地图元素的个性化设置信息;
根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
由上述技术方案可知,本发明实施例通过获取电子地图上至少一个地图元素的个性化设置信息,进而根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,由于能够根据个性化设置信息,获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,能够避免现有技术中由于渲染引擎只能够根 据预先设定的地图元素的展现信息进行电子地图展现而导致的所展现的电子地图样式较为固定的问题,从而提高了电子地图展现的灵活性。
另外,采用本发明提供的技术方案,由于能够根据所获取的用户的属性信息,获取云端所存储的所述个性化设置信息,进而获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
另外,采用本发明提供的技术方案,由于能够根据用户所提供的个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息,进而获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一实施例提供的电子地图的展现方法的流程示意图;
图2A为图1对应的实施例中的一用户界面的展现示意图;
图2B为图1对应的实施例中的另一用户界面的展现示意图;
图3为本发明另一实施例提供的电子地图的展现装置的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的全部其他实施例,都属于本发明保护的范围。
需要说明的是,本发明实施例中所涉及的终端可以包括但不限于手机、个人数字助理(Personal Digital Assistant,PDA)、无线手持装置、无线上网本、个人电脑、便携电脑、MP3播放器、MP4播放器等。
另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
图1为本发明一实施例提供的电子地图的展现方法的流程示意图,如图1所示。
101、获取电子地图上至少一个地图元素的个性化设置信息。
102、根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
其中,所述展现信息,用于指示地图元素在终端屏幕上的展现样式,例如,边框、颜色、填充等属性。
需要说明的是,101~102的执行主体可以是展现装置,可以位于本地的应用(Application,APP)例如,百度地图等中,或者还可以位于网络侧的服务器中,本实施例对此不进行特别限定。
可以理解的是,所述应用可以是安装在终端上的应用程序(nativeAPP),或者还可以是终端上的浏览器的一个网页(webAPP),只要能够实现电子地图的展现以提供位置服务的客观存在形式都可以,本实施例对此不进行限定。
这样,通过获取电子地图上至少一个地图元素的个性化设置信息,进而根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,由于能够根据个性化设置信息,获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,能够避免现有技术中由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现而导致的所展现的电子地图样式较为固定的问题,从而提高了电子地图展现的灵活性。
电子地图(Electronic Map)即数字地图,是以地图数据库为基础,利用计算机技术,以数字形式存储,可以在终端的屏幕上显示的地图。
一个应用所展现的电子地图,其主要构成要素就是地图元素,例如,山脉、水系、陆地、行政区划、兴趣点或道路等地图元素。其中,道路还可以进一步划分为高速公路、一级公路、二级公路、三级公路和四级公路五个等级,每个等级的道路可以为不同的地图元素,或者还可以为相同的地图元素,本实施例对此不进行特别限定。其中,道路的等级划分的详细描述可以参见现有技术中的相关内容,此处不再赘述。
电子地图上这些地图元素的相对位置都是由地理信息决定的,是不允许随意更改的。一般来说,地理信息可以通过人工采集的方法获取,或者利用已有的地理数据库直接获取。另外,还可以进一步采用全球定位系统(Global Positioning System,GPS)定位技术、无线相容性认证(Wireless Fidelity,Wi-Fi)定位技术、基站定位技术或传感器定位技术等定位技术,对所获得的地理信息进行校正,以保证地理信息的可靠性。
除了相对位置,还需要获得地图元素的展现信息,例如,山脉可以展现为绿色区域,水系可以展现为蓝色区域,陆地可以展现为白色区域等。这样,渲染引擎才能够根据地理信息和展现信息,展现出一幅电子地图。
现有技术中,操作人员需要预先设定每个地图元素的展现信息,渲染引擎直接根据地图元素的展现信息,展现该地图元素,以形成一幅电子地图。但是,由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现,使得渲染引擎所展现的电子地图样式较为固定,所有用户所看到的电子地图都是相同的,这样,会导致电子地图展现的灵活性不高。
需要说明的是,本实施例中所涉及的“所述至少一个地图元素”可以为电子地图上的全部地图元素,或者还可以为电子地图上的部分地图院,本实施例对此不进行特别限定。
可以理解的是,本实施例所提供的技术方案,适用于“所述至少一个地图元素”的展现,如果在电子地图上,除了本实施例所涉及的“所述至少一个地图元素”之外,还可能有其他地图元素,对于这部分地图 元素的展现,仍然可以根据现有技术中由操作人员预先设定的这部分地图元素的展现信息,进行展现。
可选地,在本实施例的一个可能的实现方式中,在101中,展现装置所获取的所述个性化设置信息可以包括但不限于地图元素标识;地图元素属性的标识;以及地图元素属性的取值。其中,
地图元素标识,是指地图元素的唯一标识信息,例如,地图元素的名称或编号等。
地图元素属性的标识,是指地图元素属性的唯一标识信息,例如,地图元素属性的名称或编号等。具体地,地图元素属性,可以包括但不限于下列属性中的至少一项:
边框属性;
填充属性;以及
标注属性。其中,
边框属性,是指地图元素的边框的特征信息,例如,边框的图案、颜色、宽度等。
填充属性,是指地图元素的填充的特征信息,例如,填充的颜色、图案、透明度等。
标注属性,是指地图元素的标注的特征信息,其中,标注可以包括但不限于文本标注属性和/或图形标注属性中的至少一项,例如,文本标注的字体、字号、边框是否隐藏等,图形标注的大小、是否隐藏等。
地图元素属性的取值,是指地图元素属性的具体内容。
例如,边框的图案为直线、虚线或点划线等;边框的颜色为黑色或褐色等;边框的宽度为0.02毫米(mm)等。
或者,再例如,填充的颜色为黄色、蓝色或绿色等;填充的图案为点或斜线等;填充的透明度为20%等。
或者,再例如,文本标注的字体为宋体等;文本标注的字号为小五号等;文本的边框隐藏等;图形标注隐藏等。
本实施例中,一组个性化设置信息,即地图元素标识;地图元素属性的标识;以及地图元素属性的取值,可以认为是一条样式规则。展现装置具体可以对这些一条一条的样式规则进行解析,以生成展现信息。
可选地,在本实施例的一个可能的实现方式中,在101中,展现装置具体可以接收用户输入的所述个性化设置信息。这样,由于能够根据用户输入的个性化设置信息,生成地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
具体地,可以向用户开放一些接口,以供用户利用该接口单元,输入所述个性化设置信息。
例如,在应用的用户界面(User Interface,UI)上,提供可供用户选择与输入的选项,以输入地图元素的名称、地图元素属性的名称和地图元素属性的具体内容。
可以理解的是,所述用户可以是普通用户,或还可以为第三方开发者,或者也可以为自身应用的开发者,本实施例对此不进行特别限定。
可选地,在本实施例的一个可能的实现方式中,在101中,展现装置具体可以根据用户的历史行为数据,获得所述用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息。这样,由于能够根据基 于用户的历史行为数据,所获得的个性化设置信息生成地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
例如,展现装置具体可以根据用户的历史行为数据,利用数据挖掘技术,获得所述用户的偏好信息。这样,就可以根据所述偏好信息,获得所述个性化设置信息。其中,所述数据挖掘技术可以采用现有的机器学习、梳理统计等成熟技术,详细描述可以参见现有技术中的相关描述,此处不再赘述。
具体地,用户的历史行为数据可以包括但不限于下列数据中的至少一项:
定位行为数据;
签到行为数据;
搜索行为数据;以及
评论行为数据。
可选地,在本实施例的一个可能的实现方式中,在101中,展现装置具体可以获取云端所存储的用户的所述个性化设置信息。这样,由于能够根据云端所存储的个性化设置信息,生成地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,从而提高了电子地图展现的个性化。
例如,展现装置具体可以获取所述用户的属性信息,根据所述用户的属性信息,获取云端所存储的所述个性化设置信息。其中,所述用户 的属性信息可以包括但不限于下列信息中的至少一项:
当前时间;
所处位置;
年龄;
职业;以及
兴趣爱好。
或者,再例如,展现装置具体可以接收所述用户提供的个性化设置信息的标识信息,根据所述个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息。其中,所述用户提供的个性化设置信息的标识信息,可以通过其他用户的分享操作行为获得。
具体地,展现装置具体可以通过上述两种方式,即接收用户输入的所述个性化设置信息,以及根据用户的历史行为数据,获得所述用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息,获取所述个性化设置信息,这两种方式,进而将该个性化设置信息存储在云端,并记录用户的标识信息与个性化设置信息的映射关系,以供展现装置在后续直接利用用户的标识信息,获取到云端所存储的用户的所述个性化设置信息。
可选地,在本实施例的一个可能的实现方式中,在103中,展现装置具体可以根据所述个性化设置信息,生成所述至少一个地图元素的展现信息。例如,对所述个性化设置信息进行解析,然后生成所述至少一个地图元素的展现信息。
可选地,在本实施例的一个可能的实现方式中,在103中,展现装置具体可以根据所述个性化设置信息,获得云端所存储的与所述个性化 设置信息对应的所述至少一个地图元素的展现信息。例如,进一步地,展现装置还可以进一步将所生成的展现信息存储在云端,并记录个性化设置信息与展现信息的映射关系。这样,如果展现装置所获取的个性化设置信息已经在云端存储,那么,展现装置则可以利用个性化设置信息,直接获取到云端所存储的展现信息,而无需对该个性化设置信息进行重复解析,能够有效提高展现装置的展现效率和处理负担。
这样,展现装置则可以根据展现信息,展现所述至少一个地图元素。例如,展现信息为不展现兴趣点(Point of Interest,POI),那么,用户界面上所展现的电子地图可以如图2A所示;或者,再例如,不展现道路,那么,用户界面上所展现的电子地图可以如图2B所示。
可选地,在本实施例的一个可能的实现方式中,在101中,展现装置具体可以获取指定比例尺下的电子地图上至少一个地图元素的个性化设置信息。其中,所述指定比例尺用于表示电子地图上的线段长度与实际相应线段长度之比。
具体地,指定比例尺可以包括但不限于3级比例尺~18级比例尺中的任意一个。例如,在18级比例尺下的电子地图上,1个像素表示实际1米的物理距离。
本实施例中,通过获取电子地图上至少一个地图元素的个性化设置信息,进而根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,由于能够根据个性化设置信息,获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,能够避免现有技术中由于渲染引擎只能够根据预先设定的地图元素 的展现信息进行电子地图展现而导致的所展现的电子地图样式较为固定的问题,从而提高了电子地图展现的灵活性。
另外,采用本发明提供的技术方案,由于能够根据所获取的用户的属性信息,获取云端所存储的所述个性化设置信息,进而获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
另外,采用本发明提供的技术方案,由于能够根据用户所提供的个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息,进而获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
图3为本发明另一实施例提供的电子地图的展现装置的结构示意图,如图3所示。本实施例的电子地图的展现装置可以包括获取单元31和 展现单元32。其中,获取单元31,用于获取电子地图上至少一个地图元素的个性化设置信息;展现单元32,用于根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
其中,所述展现信息,用于指示地图元素在终端屏幕上的展现样式,例如,边框、颜色、填充等属性。
需要说明的是,本实施例所提供的电子地图的展现装置,可以位于本地的应用(Application,APP)例如,百度地图等中,或者还可以位于网络侧的服务器中,本实施例对此不进行特别限定。
可以理解的是,所述应用可以是安装在终端上的应用程序(nativeAPP),或者还可以是终端上的浏览器的一个网页(webAPP),只要能够实现电子地图的展现以提供位置服务的客观存在形式都可以,本实施例对此不进行限定。
这样,通过获取单元获取电子地图上至少一个地图元素的个性化设置信息,进而由展现单元根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,由于能够根据个性化设置信息,获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,能够避免现有技术中由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现而导致的所展现的电子地图样式较为固定的问题,从而提高了电子地图展现的灵活性。
电子地图即数字地图,是以地图数据库为基础,利用计算机技术,以数字形式存储,可以在终端的屏幕上显示的地图。
一个应用所展现的电子地图,其主要构成要素就是地图元素,例如,山脉、水系、陆地、行政区划、兴趣点或道路等地图元素。其中,道路还可以进一步划分为高速公路、一级公路、二级公路、三级公路、四级公路五个等级,每个等级的道路可以为不同的地图元素,或者还可以为相同的地图元素,本实施例对此不进行特别限定。其中,道路的等级划分的详细描述可以参见现有技术中的相关内容,此处不再赘述。
电子地图上这些地图元素的相对位置都是由地理信息决定的,是不允许随意更改的。一般来说,地理信息可以通过人工采集的方法获取,或者利用已有的地理数据库直接获取。另外,还可以进一步采用全球定位系统(Global Positioning System,GPS)定位技术、无线相容性认证(Wireless Fidelity,Wi-Fi)定位技术、基站定位技术或传感器定位技术等定位技术,对所获得的地理信息进行校正,以保证地理信息的可靠性。
除了相对位置,还需要获得地图元素的展现信息,例如,山脉可以展现为绿色区域,水系可以展现为蓝色区域,陆地可以展现为白色区域等。这样,渲染引擎才能够根据地理信息和展现信息,展现出一幅电子地图。
现有技术中,操作人员需要预先设定每个地图元素的展现信息,渲染引擎直接根据地图元素的展现信息,展现该地图元素,以形成一幅电子地图。但是,由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现,使得渲染引擎所展现的电子地图样式较为固定,所有用户所看到的电子地图都是相同的,这样,会导致电子地图展现的灵活性不高。
需要说明的是,本实施例中所涉及的“所述至少一个地图元素”可以为电子地图上的全部地图元素,或者还可以为电子地图上的部分地图院,本实施例对此不进行特别限定。
可以理解的是,本实施例所提供的技术方案,适用于“所述至少一个地图元素”的展现,如果在电子地图上,除了本实施例所涉及的“所述至少一个地图元素”之外,还可能有其他地图元素,对于这部分地图元素的展现,仍然可以根据现有技术中由操作人员预先设定的这部分地图元素的展现信息,进行展现。
可选地,在本实施例的一个可能的实现方式中,所述获取单元31所获取的所述个性化设置信息可以包括但不限于地图元素标识;地图元素属性的标识;以及地图元素属性的取值。其中,
地图元素标识,是指地图元素的唯一标识信息,例如,地图元素的名称或编号等。
地图元素属性的标识,是指地图元素属性的唯一标识信息,例如,地图元素属性的名称或编号等。具体地,地图元素属性,可以包括但不限于下列属性中的至少一项:
边框属性;
填充属性;以及
标注属性。其中,
边框属性,是指地图元素的边框的特征信息,例如,边框的图案、颜色、宽度等。
填充属性,是指地图元素的填充的特征信息,例如,填充的颜色、图案、透明度等。
标注属性,是指地图元素的标注的特征信息,其中,标注可以包括但不限于文本标注属性和/或图形标注属性中的至少一项,例如,文本标注的字体、字号、边框是否隐藏等,图形标注的大小、是否隐藏等。
地图元素属性的取值,是指地图元素属性的具体内容。
例如,边框的图案为直线、虚线或点划线等;边框的颜色为黑色或褐色等;边框的宽度为0.02毫米(mm)等。
或者,再例如,填充的颜色为黄色、蓝色或绿色等;填充的图案为点或斜线等;填充的透明度为20%等。
或者,再例如,文本标注的字体为宋体等;文本标注的字号为小五号等;文本的边框隐藏等;图形标注隐藏等。
本实施例中,一组个性化设置信息,即地图元素标识;地图元素属性的标识;以及地图元素属性的取值,可以认为是一条样式规则。展现装置具体可以对这些一条一条的样式规则进行解析,以生成展现信息。
可选地,在本实施例的一个可能的实现方式中,所述获取单元31,具体可以用于接收用户输入的所述个性化设置信息。这样,由于能够根据用户输入的个性化设置信息,生成地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
具体地,可以向用户开放一些接口,以供用户利用该接口单元,输入所述个性化设置信息。
例如,在应用的用户界面(User Interface,UI)上,提供可供用户选择与输入的选项,以输入地图元素的名称、地图元素属性的名称和地 图元素属性的具体内容。
可以理解的是,所述用户可以是普通用户,或还可以为第三方开发者,或者也可以为自身应用的开发者,本实施例对此不进行特别限定。
可选地,在本实施例的一个可能的实现方式中,所述获取单元31,具体可以用于根据用户的历史行为数据,获得所述用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息。这样,由于能够根据基于用户的历史行为数据,所获得的个性化设置信息生成地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
例如,所述获取单元31具体可以根据用户的历史行为数据,利用数据挖掘技术,获得所述用户的偏好信息。这样,就可以根据所述偏好信息,获得所述个性化设置信息。其中,所述数据挖掘技术可以采用现有的机器学习、梳理统计等成熟技术,详细描述可以参见现有技术中的相关描述,此处不再赘述。
具体地,用户的历史行为数据可以包括但不限于下列数据中的至少一项:
定位行为数据;
签到行为数据;
搜索行为数据;以及
评论行为数据。
可选地,在本实施例的一个可能的实现方式中,所述获取单元31,具体可以用于获取云端所存储的用户的所述个性化设置信息。这样,由 于能够根据云端所存储的个性化设置信息,生成地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有灵活可变的多种样式,从而提高了电子地图展现的个性化。
例如,所述获取单元31具体可以用于获取所述用户的属性信息,根据所述用户的属性信息,获取云端所存储的所述个性化设置信息。其中,所述用户的属性信息可以包括但不限于下列信息中的至少一项:
当前时间;
所处位置;
年龄;
职业;以及
兴趣爱好。
或者,再例如,所述获取单元31具体可以用于接收所述用户提供的个性化设置信息的标识信息,根据所述个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息。其中,所述用户提供的个性化设置信息的标识信息,可以通过其他用户的分享操作行为获得。
具体地,所述获取单元31具体可以通过上述两种方式,即接收用户输入的所述个性化设置信息,以及根据用户的历史行为数据,获得所述用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息,获取所述个性化设置信息,这两种方式,进而将该个性化设置信息存储在云端,以供所述获取单元31在后续直接利用用户的标识信息,获取到云端所存储的用户的所述个性化设置信息。
可选地,在本实施例的一个可能的实现方式中,所述展现单元32 具体可以用于根据所述个性化设置信息,生成所述至少一个地图元素的展现信息。例如,对所述个性化设置信息进行解析,然后生成所述至少一个地图元素的展现信息。
可选地,在本实施例的一个可能的实现方式中,所述展现单元32具体可以用于根据所述个性化设置信息,获得云端所存储的与所述个性化设置信息对应的所述至少一个地图元素的展现信息。例如,进一步地,所述展现单元32还可以进一步将所生成的展现信息存储在云端,并记录个性化设置信息与展现信息的映射关系。这样,如果获取单元31所获取的个性化设置信息已经在云端存储,那么,展现装置则可以利用个性化设置信息,直接获取到云端所存储的展现信息,而无需对该个性化设置信息进行重复解析,能够有效提高展现装置的展现效率和处理负担。
可选地,在本实施例的一个可能的实现方式中,获取单元31具体可以用于获取指定比例尺下的电子地图上至少一个地图元素的个性化设置信息。其中,所述指定比例尺用于表示电子地图上的线段长度与实际相应线段长度之比。
具体地,指定比例尺可以包括但不限于3级比例尺~18级比例尺中的任意一个。例如,在18级比例尺下的电子地图上,1个像素表示实际1米的物理距离。
本实施例中,通过获取单元获取电子地图上至少一个地图元素的个性化设置信息,进而由展现单元根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,由于能够根据个性化设置信息,获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具 有灵活可变的多种样式,能够避免现有技术中由于渲染引擎只能够根据预先设定的地图元素的展现信息进行电子地图展现而导致的所展现的电子地图样式较为固定的问题,从而提高了电子地图展现的灵活性。
另外,采用本发明提供的技术方案,由于能够根据所获取的用户的属性信息,获取云端所存储的所述个性化设置信息,进而获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
另外,采用本发明提供的技术方案,由于能够根据用户所提供的个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息,进而获得地图元素的展现信息,使得渲染引擎能够根据新的展现信息,展现该地图元素,这样,渲染引擎所展现的电子地图不再只是具有单一样式,而是具有更加符合用户偏好的多种样式,从而提高了电子地图展现的个性化。
本发明的另一实施例提供一种设备,包括:
一个或者多个处理器;
存储器;
一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
获取电子地图上至少一个地图元素的个性化设置信息;
根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
本发明的另一实施例,提供一种非易失性计算机存储介质,所述非 易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:
获取电子地图上至少一个地图元素的个性化设置信息;
根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以 采用硬件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (12)

  1. 一种电子地图的展现方法,其特征在于,包括:
    获取电子地图上至少一个地图元素的个性化设置信息;
    根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
  2. 根据权利要求1所述的方法,其特征在于,所述获取电子地图上至少一个地图元素的个性化设置信息,包括:
    获取用户的属性信息,根据所述用户的属性信息,获取云端所存储的所述个性化设置信息;或者
    接收用户提供的个性化设置信息的标识信息,根据所述个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息。
  3. 根据权利要求2所述的方法,其特征在于,所述获取电子地图上至少一个地图元素的个性化设置信息之前,还包括:
    接收除了所述用户之外的其他用户输入的所述个性化设置信息,以供在所述云端进行存储;或者
    根据除了所述用户之外的其他用户的历史行为数据,获得所述其他用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息,以供在所述云端进行存储。
  4. 根据权利要求1~3任一权利要求所述的方法,其特征在于,所述根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,包括:
    根据所述个性化设置信息,生成所述至少一个地图元素的展现信息;或者
    根据所述个性化设置信息,获得云端所存储的与所述个性化设置信息对应的所述至少一个地图元素的展现信息。
  5. 根据权利要求1~4任一权利要求所述的方法,其特征在于,所述个性化设置信息包括:
    地图元素标识;
    地图元素属性的标识;以及
    地图元素属性的取值。
  6. 一种电子地图的展现装置,其特征在于,包括:
    获取单元,用于获取电子地图上至少一个地图元素的个性化设置信息;
    展现单元,用于根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
  7. 根据权利要求6所述的装置,其特征在于,所述获取单元,用于
    获取用户的属性信息,根据所述用户的属性信息,获取云端所存储的所述个性化设置信息;或者
    接收用户发送的个性化设置信息的标识信息,根据所述个性化设置信息的标识信息,获取云端所存储的所述个性化设置信息。
  8. 根据权利要求7所述的装置,其特征在于,所述获取单元,还用于
    接收除了所述用户之外的其他用户输入的所述个性化设置信息,以供在所述云端进行存储;或者
    根据除了所述用户之外的其他用户的历史行为数据,获得所述其他用户的偏好信息,以及根据所述偏好信息,获得所述个性化设置信息, 以供在所述云端进行存储。
  9. 根据权利要求6~8任一权利要求所述的装置,其特征在于,所述展现单元,具体用于
    根据所述个性化设置信息,生成所述至少一个地图元素的展现信息;或者
    根据所述个性化设置信息,获得云端所存储的与所述个性化设置信息对应的所述至少一个地图元素的展现信息。
  10. 根据权利要求6~9任一权利要求所述的装置,其特征在于,所述个性化设置信息包括:
    地图元素标识;
    地图元素属性的标识;以及
    地图元素属性的取值。
  11. 一种设备,包括:
    一个或者多个处理器;
    存储器;
    一个或者多个程序,所述一个或者多个程序存储在所述存储器中,当被所述一个或者多个处理器执行时:
    获取电子地图上至少一个地图元素的个性化设置信息;
    根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
  12. 一种非易失性计算机存储介质,所述非易失性计算机存储介质存储有一个或者多个程序,当所述一个或者多个程序被一个设备执行时,使得所述设备:
    获取电子地图上至少一个地图元素的个性化设置信息;
    根据所述个性化设置信息,获得所述至少一个地图元素的展现信息,以供根据所述展现信息,展现所述至少一个地图元素。
PCT/CN2014/094522 2014-07-07 2014-12-22 电子地图的展现方法、装置、设备及非易失性计算机存储介质 Ceased WO2016004738A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410319234.2 2014-07-07
CN201410319234.2A CN104063901A (zh) 2014-07-07 2014-07-07 电子地图的展现方法及装置

Publications (1)

Publication Number Publication Date
WO2016004738A1 true WO2016004738A1 (zh) 2016-01-14

Family

ID=51551593

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094522 Ceased WO2016004738A1 (zh) 2014-07-07 2014-12-22 电子地图的展现方法、装置、设备及非易失性计算机存储介质

Country Status (2)

Country Link
CN (1) CN104063901A (zh)
WO (1) WO2016004738A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063901A (zh) * 2014-07-07 2014-09-24 百度在线网络技术(北京)有限公司 电子地图的展现方法及装置
CN110334163B (zh) * 2019-05-22 2020-09-04 平安国际智慧城市科技股份有限公司 大数据的地图背景优化方法、装置、设备及存储介质
CN112037643A (zh) * 2020-11-05 2020-12-04 蘑菇车联信息科技有限公司 电子地图的配置方法、装置及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604320A (zh) * 2009-07-08 2009-12-16 华东师范大学 掌上型基于地图浏览器
CN102402531A (zh) * 2010-09-13 2012-04-04 方正国际软件有限公司 地理信息符号处理方法及系统
CN103902788A (zh) * 2014-04-15 2014-07-02 北京百度网讯科技有限公司 电子地图图层绘制方法和装置
CN103902555A (zh) * 2012-12-25 2014-07-02 上海博泰悦臻电子设备制造有限公司 兴趣点分享方法、装置和系统
CN103971412A (zh) * 2014-05-13 2014-08-06 百度在线网络技术(北京)有限公司 电子地图的展现方法及装置
CN104063901A (zh) * 2014-07-07 2014-09-24 百度在线网络技术(北京)有限公司 电子地图的展现方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604320A (zh) * 2009-07-08 2009-12-16 华东师范大学 掌上型基于地图浏览器
CN102402531A (zh) * 2010-09-13 2012-04-04 方正国际软件有限公司 地理信息符号处理方法及系统
CN103902555A (zh) * 2012-12-25 2014-07-02 上海博泰悦臻电子设备制造有限公司 兴趣点分享方法、装置和系统
CN103902788A (zh) * 2014-04-15 2014-07-02 北京百度网讯科技有限公司 电子地图图层绘制方法和装置
CN103971412A (zh) * 2014-05-13 2014-08-06 百度在线网络技术(北京)有限公司 电子地图的展现方法及装置
CN104063901A (zh) * 2014-07-07 2014-09-24 百度在线网络技术(北京)有限公司 电子地图的展现方法及装置

Also Published As

Publication number Publication date
CN104063901A (zh) 2014-09-24

Similar Documents

Publication Publication Date Title
US12394127B2 (en) Augmented reality typography personalization system
CN103853604B (zh) 应用程序管理方法及应用程序推荐方法
US20230085791A1 (en) Augmented reality guidance interface
US8775420B2 (en) Text display of geo-referenced information based on relative distance to a user location
US20180322217A1 (en) User specific visual identity control across multiple platforms
CN105378662B (zh) 生成用于应用的捆绑包的方法以及相关联的计算机系统
US20140059516A1 (en) Gateway consumption framework
CN103971412B (zh) 电子地图的展现方法及装置
US9164966B1 (en) Determining sizes of content items
US11782740B2 (en) Interface to configure media content
CN107820701A (zh) 开发者交换系统
KR20150035798A (ko) 현지화된 사용자 인터페이스의 생성 방법
CN104240273B (zh) 栅格图片的处理方法及装置
US12393613B2 (en) Systems, devices, and methods for content selection
US12374139B2 (en) Generating synthetic training data including document images with key-value pairs
CN113240480A (zh) 订单处理方法、装置、电子终端及存储介质
JP2018508061A (ja) 適応型電子文書
CN104063901A (zh) 电子地图的展现方法及装置
CN105830051A (zh) 跨多个设备显示活动
CN115509652A (zh) 电子地图的图标显示方法、装置、介质及产品
CN108133029B (zh) 地图元素的调整方法、装置、设备及计算机可读存储介质
CN107239466A (zh) 个性化字库生成方法及装置
US12014654B2 (en) Information processing apparatus, information system, information processing method, and program
CN106503067A (zh) 电子地图的展现方法及装置
CN115114280B (zh) 报表生成处理方法、装置及设备

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: 14897024

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: 14897024

Country of ref document: EP

Kind code of ref document: A1