WO2018157541A1 - Method and device for drawing roads in electronic map - Google Patents

Method and device for drawing roads in electronic map Download PDF

Info

Publication number
WO2018157541A1
WO2018157541A1 PCT/CN2017/094135 CN2017094135W WO2018157541A1 WO 2018157541 A1 WO2018157541 A1 WO 2018157541A1 CN 2017094135 W CN2017094135 W CN 2017094135W WO 2018157541 A1 WO2018157541 A1 WO 2018157541A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
mobile terminal
map
collection point
location information
Prior art date
Application number
PCT/CN2017/094135
Other languages
French (fr)
Chinese (zh)
Inventor
黄朝志
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201780012386.XA priority Critical patent/CN108700428B/en
Publication of WO2018157541A1 publication Critical patent/WO2018157541A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers

Definitions

  • the present application relates to the field of computer technology, and in particular, to a method and an apparatus for drawing a road in an electronic map.
  • mobile terminals such as mobile phones and car terminals have the functions of positioning and navigation, which bring a lot of convenience to people's travel.
  • the drawing and updating of electronic maps is a prerequisite for the implementation of positioning and navigation functions.
  • the accuracy of electronic maps affects the functional accuracy of mobile terminal navigation.
  • the mapping of electronic maps requires professional surveying and mapping personnel to survey buildings, roads, parks, lakes and other facilities to obtain basic geographic information. Then, through map drawing software, the information obtained by surveying and mapping is marked on the map. A detailed map of a city.
  • the embodiment of the present application provides a method and a device for drawing a road in an electronic map, and provides a low-cost and simple method for drawing a road in a map, which can realize real-time updating of the electronic map.
  • the embodiment of the present invention provides a method for drawing a road in an electronic map, comprising: a map server receiving location information of a collection point sent by a mobile terminal, where the location information is obtained by the mobile terminal at the collection point by positioning; The map server draws a road in the first area of the electronic map according to the location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map.
  • the map server obtains the location information of the collection point through the mobile terminal, and provides a low-cost and simple method for drawing the road in the map, which can realize real-time updating of the electronic map.
  • an implementation manner in which the map server draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map may be :
  • a road of a first width is generated with the line as an axis of symmetry.
  • an implementation manner in which the map server draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map may be
  • the map server performs probability statistics on the location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and the screening probability is greater than the first probability value, and according to the selected location point, linearly Generating or non-linear fitting algorithm to generate a line, and further, generating a first line in the first region of the electronic map with the line as an axis of symmetry The width of the road.
  • the map server simplifies the data processing process of the map server by filtering the collection points, so that the road drawing in the map is more convenient.
  • an implementation manner in which the map server draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map may be
  • the map server performs probability statistics on the location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and the screening probability is equal to the two sets of location points of the second probability value; the second probability value is smaller than the location Generating a maximum probability value of a position point in the first region, respectively generating a first line and a second line by a linear fitting or a nonlinear fitting algorithm according to the selected group of position points, and further, the first map on the electronic map In the area, a road is generated by using the first line and the second line as boundaries.
  • the map server simplifies the data processing process of the map server by filtering the collection points, so that the road drawing in the map is more convenient.
  • an implementation manner in which the map server performs probability statistics on location information of the collection point sent by the mobile terminal in the first area of the electronic map may be: the map server determines to be included in the electronic map. a weighting factor of the collection point sent by the mobile terminal in an area; using the weighting factor, applying a probability statistical formula to calculate a probability of occurrence of a collection point at each location point in the first area.
  • the map server determines the weights of the collection points, so that the road drawn by the selected collection points is closer to the real road, and the accuracy of the drawing is improved.
  • the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point.
  • the positioning method may be: determining, by the map server, a weighting factor of the collection point sent by the mobile terminal that is included in the first area of the electronic map, according to the positioning identification information, the identification information of the mobile terminal, or At least one of the positioning accuracy factors determines a weighting factor of the collection point.
  • the map server sets different weight factors for each collection point obtained by different positioning methods, different mobile terminals, and/or different positioning accuracy factors, so that the road drawn by the selected collection points is closer to the real one. Roads to improve the accuracy of the drawing.
  • the location information further includes identifier information of the mobile terminal that locates the collection point; the map server generates a road of a first width with the line as a symmetry axis in the first area of the electronic map. Previously, the map server may further determine the first width according to the identification information of the mobile terminal.
  • an implementation manner of determining, by the map server, the first width according to the identifier information of the mobile terminal may be: determining, according to the identifier information of the mobile terminal, the type of the mobile terminal, according to the type and The correspondence of the widths determines a first width corresponding to the type of the mobile terminal.
  • the map server may calculate the first width in the first area of the electronic map and generate the first width road by using the line as the symmetry axis; the first width is vertical The distance between two position points whose probability is the third probability value in the line direction.
  • the method further includes: the map server marking the update time of the road in the first area of the electronic map; the update time is used to indicate the latest update of the first area of the electronic map The time of the road to facilitate users to understand the latest update time of the road and improve the user experience.
  • the method further includes: the map server receives the tag information sent by the mobile terminal for the first location, and associates the tag information with the first location in the electronic map, so that the user understands Additional information on the road to improve the user experience.
  • the method further includes: the map server receiving an update request for the first area sent by the mobile terminal, where the map server sends the map data corresponding to the first area to the mobile terminal, After the mobile terminal receives the map data, the mobile terminal updates a map in the first area on the electronic map in the mobile terminal according to the map data.
  • the mobile terminal may update only the map data of the designated area of the user, and the update speed is fast, thereby avoiding excessive traffic loss of the mobile terminal.
  • the collection point in the second area location information K composing the data set R k; R k of the data set comprises at least one data set P i, P i of the data set in the map server
  • the i-th group of data received in the K-th area; the data group P i may include a data element P ij , and the data element P ij is location information of a j-th collection point in the data group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the map server may further add the data group composed of the location information of the collection point to the data set corresponding to the area where the collection point is located. .
  • the map server includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; the method may further include:
  • the map server moves the corresponding data set in the second area to the aging area, and deletes the a road in the second area in the electronic map;
  • the map server When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
  • the map server manages the received map data, and only the data in the active area can be drawn into a road and displayed in the electronic map.
  • the embodiment of the present application further provides a road drawing method in an electronic map, including: the mobile terminal acquires location information of the collection point by positioning, and sends the location information to a map server, so that the map server is After receiving the location information, the map server draws a road in the first area of the electronic map according to location information of the collection point sent by the mobile terminal in the first area of the electronic map.
  • the location information of the collection point is obtained by using the mobile terminal as the collection device, and is sent to the map server, so that the map server draws the road in the electronic map according to the location information of the collection point obtained by the mobile terminal.
  • the embodiment of the present application provides a low-cost and simple method for drawing a road in a map, which can realize real-time updating of an electronic map.
  • the location information of the collection point obtained by the mobile terminal by using the positioning system may include one of the following three implementation manners:
  • the mobile terminal after detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquires the location information of the collection point by inertial positioning or indoor positioning.
  • the mobile terminal According to the occasion category of the current location, the mobile terminal acquires the location information of the collection point by using a positioning method corresponding to the occasion category.
  • the third embodiment is as follows: the mobile terminal detects a currently available positioning method, and the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and acquires a location of the collection point by using the first positioning method. information.
  • the mobile terminal sending the location information to the map server may include one of the following implementation manners:
  • the mobile terminal sends the location information to a map server at a fixed period;
  • the second embodiment is: the mobile terminal caches the location information, and the cached location information is sent to the map server when the data size of the cached location information is not less than a storage threshold.
  • the mobile terminal may further receive the tag information for the first location, and send the tag information to the map server, so that the map server, after receiving the tag information, is in the electronic
  • the tag information is associated with the first location in the map, so that the user can understand other information of the road and improve the user experience.
  • the mobile terminal may further send an update request for the first area to the map server, so that after the map server receives the update request, the map server sends the map server to the mobile terminal.
  • the mobile terminal may update only the map data of the designated area of the user, and the update speed is fast, thereby avoiding excessive traffic loss of the mobile terminal.
  • the embodiment of the present application further provides a map server, including: a processor, a memory, and a communication interface;
  • the memory is for storing instructions and data
  • the processor is configured to read instructions and data stored in the memory, and perform the following operations:
  • the processor draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processor draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processor draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • the second probability value is smaller than the first The maximum probability value of the location point within the area
  • a road is generated with the first line and the second line as boundaries.
  • the processor performs probability statistics on the location information of the collection point sent by the mobile terminal in the first area of the electronic map, and specifically includes:
  • a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  • the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point.
  • a positioning method the processor determines a weighting factor of the collection point, specifically:
  • Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  • the location information further includes identifier information of the mobile terminal that locates the collection point; the processor generates a first width in the first area of the electronic map by using the line as a symmetry axis. Before the road, the processor is also used to execute:
  • the determining, by the processor, the first width according to the identifier information of the mobile terminal specifically includes:
  • the processor is further configured to: before generating a road of a first width with the line as an axis of symmetry in the first area of the electronic map, the processor is further configured to:
  • the processor is further configured to:
  • the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
  • the processor is further configured to:
  • the first location in the electronic map is associated with the tag information.
  • the processor is further configured to:
  • the collection point in the second area location information K composing the data set R k; R k of the data set comprises at least one data set P i, P i of the data set in the map server
  • the i-th group of data received in the K-th area; the data group P i may include a data element P ij , and the data element P ij is location information of a j-th collection point in the data group P i ; I, j is a positive integer; after the processor receives the location information of the collection point sent by the mobile terminal by using the communication interface, the processor is further configured to:
  • the map server includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; For execution:
  • the map server When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
  • the embodiment of the present application further provides a mobile terminal, including: a processor, a memory, and a communication module;
  • the memory is for storing instructions and data
  • the processor is configured to read instructions and data stored in the memory, and perform the following operations:
  • the communication module Sending, by the communication module, the location information to a map server, so that after the location information is received by the map server, the map server is sent by the mobile terminal according to the first area included in the electronic map. Collecting location information of the point, drawing a road in the first area of the electronic map.
  • the processor acquires location information of the collection point by using a positioning system, and specifically includes:
  • the location information of the collection point After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
  • the available positioning method includes a first positioning method, receiving a selection instruction for the first positioning method, and acquiring location information of the collection point by using the first positioning method.
  • the processor sends the location information to the map server by using the communication module, which specifically includes:
  • the location information is cached by the memory, and the cached location information is sent to the map server by the communication module when the data size of the cached location information is not less than a storage threshold.
  • the mobile terminal further includes an input module, where the processor is further configured to:
  • the processor is further configured to:
  • the embodiment of the present application further provides a map server, including:
  • a receiving unit configured to receive location information of a collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
  • a processing unit configured to draw a road in the first area of the electronic map according to location information of the collection point sent by the mobile terminal included in the first area of the electronic map.
  • the processing unit draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processing unit draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processing unit draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • the second probability value is smaller than the first The maximum probability value of the location point within the area
  • a road is generated with the first line and the second line as boundaries.
  • the processing unit performs probability statistics on the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  • the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point.
  • a positioning method the processing unit determines a weighting factor of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  • the location information further includes identifier information of the mobile terminal that locates the collection point, and the processing unit generates a first width in the first area of the electronic map by using the line as a symmetry axis.
  • the processing unit is also used to:
  • the processing unit is further configured to: before the road of the first width is generated by using the line as a symmetry axis in the first area of the electronic map, the processing unit is further configured to:
  • the processing unit is further configured to: before the road of the first width is generated by using the line as a symmetry axis in the first area of the electronic map, the processing unit is further configured to:
  • the processing unit is further configured to:
  • the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
  • the receiving unit is further configured to: receive, by the mobile terminal, tag information for a first location;
  • the processing unit is further configured to associate the tag information in the first location in the electronic map.
  • the receiving unit is further configured to: receive an update request sent by the mobile terminal for the first area;
  • the map server further includes a sending unit, configured to send, to the mobile terminal, map data corresponding to the first area, so that after the mobile terminal receives the map data, the mobile terminal is configured according to the map data. Updating a map in the first area on the electronic map in the mobile terminal.
  • the collection point in the second area location information K composing the data set R k; R k of the data set comprises at least one data set P i, P i of the data set in the map server
  • the i-th group of data received in the K-th area; the data group P i may include a data element P ij , and the data element P ij is location information of a j-th collection point in the data group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the processing unit is further configured to:
  • the receiving unit After the receiving unit receives the location information of the collection point sent by the mobile terminal, the data group composed of the location information of the collection point is added to the data set corresponding to the region where the collection point is located.
  • the map server includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; to:
  • the map server moves the corresponding data set in the second area to the aging area, and deletes the a road in the second area in the electronic map;
  • the map server When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
  • the embodiment of the present invention further provides a mobile terminal, including:
  • An acquiring unit configured to acquire location information of the collection point by using a positioning
  • a sending unit configured to send the location information to a map server, so that after the location information is received by the map server, the map server is sent by the mobile terminal according to the first area included in the electronic map. Collecting location information of the point, drawing a road in the first area of the electronic map.
  • the acquiring unit acquires the location information of the collection point by using the positioning system, and specifically includes:
  • the location information of the collection point After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
  • the currently available positioning mobile terminal is detected, and the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and acquires location information of the collection point by using the first positioning method.
  • the sending unit sends the location information to a map server, specifically:
  • the sending unit is configured to send the location information to a map server at a fixed period;
  • the mobile terminal further includes a storage unit, configured to cache the location information, and the sending unit is further configured to: when the data size of the cached location information is not less than a storage threshold, the cached location information to the map server.
  • the acquiring unit is further configured to: receive tag information for the first location;
  • the sending unit is further configured to: send the tag information to the map server, so that after receiving the tag information, the map server associates the tag information with the first location in an electronic map. .
  • the sending unit is further configured to: send an update request for the first area to the map server, so that after the map server receives the update request, the map server sends Transmitting, by the mobile terminal, map data corresponding to the first area;
  • the obtaining unit is further configured to: receive the map data sent by the map server;
  • the mobile terminal further includes a processing unit, configured to: update a map in the first area on the electronic map in the mobile terminal according to the map data.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores one or more computer programs, and the map server is configured to run the one or more computer programs.
  • a method of drawing a road in an electronic map of the above first aspect is performed.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores one or more computer programs, and the mobile terminal is configured to run the one or more computer programs.
  • a method of drawing a road in an electronic map of the second aspect described above is performed.
  • FIG. 1 is a schematic frame diagram of a mapping system provided by an embodiment of the present application.
  • FIG. 2 is a schematic explanatory diagram of a selected interface of a positioning method according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for drawing a road in an electronic map according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of a first electronic map drawing method according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a second electronic map drawing method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a schematic diagram of a method for drawing a road in a third electronic map according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a schematic diagram of a method for drawing a road in a fourth electronic map according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a first width calculation method according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an electronic map display interface according to an embodiment of the present application.
  • FIG. 10 is a structural structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a structural structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a structural diagram of a map server according to an embodiment of the present application.
  • FIG. 13 is a structural structural diagram of another map server according to an embodiment of the present application.
  • FIG. 1 is a schematic frame diagram of a map drawing system according to an embodiment of the present application.
  • the mapping system may include a map server 11, a mobile terminal 12, a satellite positioning system 13, a base station positioning system 14, an indoor positioning system 15, and the like.
  • the map server 11 is configured to draw a map according to the location information reported by the mobile terminal 12; the mobile terminal 12 may acquire the location information of the at least one collection point by using at least one of the satellite positioning system 13, the base station positioning system 14, or the indoor positioning system 15. And reported to the map server 11 by means of wireless communication or wired communication.
  • the mobile terminal 12 may be an in-vehicle terminal located on a vehicle, such as an onboard unit (OBU) or a TBox (telematics box).
  • the in-vehicle terminal can directly communicate with the map server and report the location information, or can transmit the location information to the map server through a portable mobile terminal communicably connected to the in-vehicle unit, such as a smart phone or a tablet computer.
  • the mobile terminal 12 can also be a portable mobile terminal such as a smart phone, a smart bracelet, a smart glasses, a smart watch, or the like, and a tablet computer.
  • the satellite positioning system 13 may include a Global Positioning System (GPS), a BeiDou Navigation Satellite System (BDS), and the like.
  • GPS Global Positioning System
  • BDS BeiDou Navigation Satellite System
  • the base station positioning system 14 may include at least one base station.
  • the base station positioning is generally applied to a mobile terminal including a Subscriber Identification Module (SIM), such as a mobile phone.
  • SIM Subscriber Identification Module
  • the mobile phone base station location service is also called a Location Based Service (LBS). It acquires mobile terminal users through the network of the telecom mobile operator (such as Global System for Mobile Communication (GSM)).
  • GSM Global System for Mobile Communication
  • Location information (such as latitude and longitude coordinates), a value-added service that provides users with corresponding services, supported by an electronic map platform.
  • the indoor positioning system 15 can be a wireless local area network composed of at least one wireless access point, and can include: a network composed of Wi-Fi, Bluetooth, infrared, ultra-wideband, radio frequency identification (RFID), ZigBee, and ultrasound. It can be understood that when the satellite signal is weak when it reaches the ground or when the indoor positioning signal cannot penetrate the building, the positioning can be performed by the indoor positioning system.
  • RFID radio frequency identification
  • the mobile terminal 12 can acquire location information of at least one collection point through the satellite positioning system 13, the base station positioning system 14, or the indoor positioning system 15, and the like.
  • the mobile terminal 12 can be positioned by inertial positioning.
  • the motion sensor is used to track the motion trajectory of the mobile terminal, and may include at least one of an accelerometer, a gyroscope, a magnetic sensor, an altitude sensor, and the like. Inertial positioning can accurately position the mobile terminal in combination with the above positioning method. It can be understood that the mobile terminal 12 can acquire the motion parameters such as the moving direction and the moving speed through the motion sensor, thereby acquiring the motion trajectory of the mobile terminal 12. When there is no positioning signal, the mobile terminal 12 can perform indoor positioning by using the motion sensor.
  • the mobile terminal 12 can track the motion track of the mobile terminal through the motion sensor, and acquire the motion track when the GPS signal is acquired.
  • the position information corresponding to the GPS positioning is used to calculate the position information of each point on the motion track.
  • the mobile terminal 12 may also perform positioning by using multiple positioning methods, which is not limited in this application.
  • the mobile terminal can be located by a combination of one or more of the above satellite positioning, base station positioning, indoor positioning, or inertial positioning methods. Different positioning methods can be selected in different scenarios.
  • the method for selecting a positioning method for a mobile terminal according to an embodiment of the present application is described below.
  • the mobile terminal when detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, the mobile terminal may acquire location information of the at least one collection point by using inertial positioning or indoor positioning. For example, the mobile terminal can detect the strength of the satellite positioning signal, such as a GPS signal. When the strength of the GPS signal is less than the first threshold (eg, -200 dbm), the current GPS signal is weak, and the mobile terminal can detect the strength of the mobile communication signal.
  • the first threshold eg, -200 dbm
  • the mobile terminal can turn on the inertial positioning, and the motion trajectory of the mobile terminal is recorded in real time by inertial positioning, according to which the geographical coordinates of the moving trajectory have been Knowing the collection point, calculating the geographic coordinates corresponding to each collection point of the movement trajectory, thereby obtaining the geographical coordinates of each collection point.
  • the second threshold for example, -100 dbm
  • the mobile terminal can detect whether it supports inertial positioning.
  • the mobile terminal can be positioned by inertia. While the mobile terminal is positioned by inertia, it can also maintain the open state of other positioning methods, and combine with other positioning methods to perform positioning to obtain the position information of each collection point.
  • the mobile terminal may identify the location category of the location according to the current location, and obtain the location information of the collection point by using a positioning method corresponding to the occasion category. For example, when the current location is a parking lot, and the mobile terminal supports inertial navigation, the inertial navigation can be turned on, and the mobile terminal can obtain location information by inertial positioning; when the current location is outdoor, the mobile terminal can acquire location information through the satellite positioning system; When the current location is a shopping mall or a building, the mobile terminal may acquire location information by means of base station positioning or indoor positioning.
  • the mobile terminal may detect the currently available positioning method, and output (such as display) an available positioning method to the user of the mobile terminal, where the available positioning method may include the first positioning method, and the mobile terminal is connected. After receiving the selected instruction for the first positioning method, the location information of the at least one collection point is obtained by the first positioning method.
  • FIG. 2 is a schematic explanatory diagram of a positioning method selected by the positioning method provided by the embodiment of the present application.
  • the interface 20 includes a list of positioning methods supported by the mobile terminal, and indicates the available positioning methods of the current location, and recommends the most accurate positioning method under the current location.
  • the user can select a positioning method, such as base station positioning, and the mobile terminal acquires the location information of the collection point through GPS positioning.
  • the GPS positioning method is available when the mobile terminal detects that the intensity of the satellite positioning signal (eg, GPS signal) at the current location is greater than a third threshold (eg, -200 dbm).
  • the base station positioning method is available when the mobile terminal detects that the strength of the mobile communication signal at the current location is greater than a fourth threshold (eg, -100 dbm).
  • the indoor positioning method is available if the mobile terminal detects that the wireless access point around the current location supports positioning.
  • the inertial positioning method is available when the mobile terminal supports inertial positioning.
  • the mobile terminal can also display the most accurate positioning method under the current position according to the positioning accuracy factor of various positioning methods.
  • FIG. 3 is a schematic flowchart of a method for drawing a road in an electronic map according to an embodiment of the present application.
  • the method of drawing the road in the electronic map includes some or all of the following processes:
  • Step S310 The mobile terminal acquires location information of at least one collection point.
  • the location information may be geographic coordinates acquired by the positioning system, such as (longitude, latitude), and the location information may also include a height, such as (longitude, latitude, altitude).
  • the location information of the collection point may further include a positioning time of the collection point.
  • the positioning time may be a point in time when the mobile terminal acquires the geographic coordinates of the collection point.
  • the mobile terminal may acquire the geographic coordinates of the current location by using a positioning system such as GPS, BDS, etc., or obtain the geographic coordinates of the current location by using the method of positioning the base station, and may also perform positioning, indoor positioning, or inertial positioning through the base station.
  • the method gets the geographic coordinates of the current location.
  • a positioning system such as GPS, BDS, etc.
  • the method gets the geographic coordinates of the current location.
  • the location information may further include location identification information, a location information of the mobile terminal, and/or a positioning accuracy factor, which are used to indicate a location method for acquiring the geographic coordinates of the collection point.
  • the positioning identification information is used to identify the positioning method adopted by the collection point.
  • the positioning method may include, but is not limited to, satellite positioning, base station positioning, indoor positioning, inertial positioning, and the like.
  • the identification information of the mobile terminal is used to identify the mobile terminal, and the map server can identify the type of the mobile terminal according to the identifier of the mobile terminal.
  • Terminal types may include, but are not limited to, mobile phones, in-vehicle terminals, wearable devices, and the like.
  • the positioning accuracy factor is used to indicate the accuracy or credibility of the positioning, and the positioning accuracy factor may include a satellite positioning accuracy factor (eg, a GPS positioning accuracy factor, a BDS positioning accuracy factor), a base station positioning accuracy factor, and an indoor positioning accuracy factor (eg, WiFi positioning factor), inertial positioning accuracy factor, etc.
  • the mobile terminal may calculate a GPS positioning accuracy factor or a BDS positioning precision factor corresponding to the collection point according to the positioning method, the position of the satellite participating in the positioning, and the acquired location of the collection point; similarly, the mobile terminal may participate in the positioning according to the positioning method.
  • the mobile terminal may also according to the positioning method, the location of the wireless access point (WiFi access point) participating in the positioning, and the acquired acquisition
  • the position of the point calculates the WiFi positioning accuracy factor corresponding to the collection point.
  • the mobile terminal can determine the inertial positioning accuracy factor according to information such as the sensitivity of the built-in motion sensor. It can be understood that the inertial positioning accuracy factor is a fixed value regardless of the position of the collection point.
  • Step S320 The mobile terminal sends the acquired location information to the map server.
  • the mobile terminal may send the acquired location information to the server through the communication network.
  • the manner in which the mobile terminal sends location information includes, but is not limited to, the following three methods:
  • the first mode the mobile terminal can transmit the location information in a fixed cycle.
  • the mobile terminal can report once every time T (such as 30s).
  • the second mode the mobile terminal can cache the location information.
  • a storage threshold such as 1 kb, 2 kb, etc.
  • the third mode the mobile terminal can acquire the location information in real time when the positioning is started, and send and send all the location information acquired during the positioning process after the positioning is completed.
  • the mobile terminal when the mobile terminal cannot connect to the network, the mobile terminal can cache the location information, and after connecting to the network, send the location information to the map server.
  • Step S330 The map server receives the location information of the at least one collection point sent by the at least one mobile terminal, and draws the road according to the location information of the collection point in the first area on the first area of the electronic map.
  • the map server may divide the received collection point according to the location information (such as geographic coordinates) of the collection point, and the area corresponds to the road drawn by the collection point in the area.
  • the location information of the collection points in each area constitutes a data set, and the data in the corresponding data set of the area is used to draw the road corresponding to the area.
  • the drawn road may include a straight line, a curved road, a combination thereof, or the like.
  • the method for the map server to partition the received collection points may include manual division and automatic division.
  • the map server can output the collection points. For example, the collected collection points are displayed on the map.
  • the management personnel of the map server can manually divide the collection points according to the distribution characteristics of the collection points, and the map server receives the input for the first area.
  • the dividing instruction divides the location information of the collection point in the first area into the data set corresponding to the first area.
  • the map server can divide the area according to the distribution characteristics of the collection points.
  • the characteristics of the distribution may include a concentrated trend of the distribution, a shape of the distribution, and/or a degree of dispersion of the distribution, and the like.
  • the map server can also segment regions by length threshold segmentation.
  • the map server may predict the approximate direction and position of the drawn road according to the distribution trend of the collection point, and divide a threshold with a certain width (for example, 4 m, 5 m) along the threshold of each length in the prediction direction (for example, 1 m, 3 m, etc.). Area).
  • map server maps the roads in the electronic map:
  • the map server may draw an electronic map based on location information sent by one or more mobile terminals.
  • the map server may generate a line of the mobile terminal by using a linear fitting or a nonlinear fitting algorithm according to the received location information of the collected point, and generate a first width on the first area of the electronic map with the line as a symmetry axis. path of.
  • the map server may select a suitable linear fitting algorithm or a nonlinear fitting algorithm according to the distribution characteristics of the collected points in the first region.
  • FIG. 4 is a schematic diagram of a first electronic map drawing method according to an embodiment of the present application.
  • the first area 400 includes collection points A, B, C, D, and E. , F.
  • Map server can pass A straight line fit (such as a least squares method) generates a straight line 401, and a straight line 401 is used as a symmetry axis to generate a road 402 of a first width d.
  • a straight line fit such as a least squares method
  • FIG. 5 is a schematic diagram of a second electronic map drawing method according to an embodiment of the present application.
  • the first area 500 includes collection points A, B, C, and D.
  • the map server may generate a curve 501 by curve fitting (such as polynomial fitting) and then generate a road 502 of a first width d with the curve 501 as a central axis.
  • curve fitting such as polynomial fitting
  • the collection points are mainly concentrated in the middle area of the road, and the collection points concentrated in the middle area of the road can determine the lines of the road. In the direction perpendicular to the line, the probability of each position decreases as the distance of the position from the line increases.
  • the map server may perform probability statistics on the location information of the collection points on the first area, and filter the position points whose probability is greater than the first probability value, and generate a line by a linear fitting or a nonlinear fitting algorithm according to the selected position points, and then On the first area of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  • the group P i may include a data element P ij , and the data element P ij is position information of the jth collection point in the data group P i .
  • the mobile terminal completes a data group consisting of the location information of the collection point in the acquisition process in the Kth area.
  • i, j is a positive integer.
  • the mobile terminal does not change, the positioning method can be changed, and the positioning accuracy factors of the collection points are different at different positions or positioning methods.
  • the embodiment of the present application describes the collection point as a two-dimensional geographic coordinate as an example:
  • the first mobile terminal can be the same or different terminal as the second mobile terminal.
  • the first region is x 1 ⁇ x ⁇ x 2 and y 1 ⁇ y ⁇ y 2 .
  • the position point of f(x, y) ⁇ a is selected, and a is the first probability value. It can be understood that 0 ⁇ a ⁇ 1.
  • a is that the first probability value may be a fixed value, such as 0.04, 0.12 or 0.15, etc., a may also be determined according to the probability distribution f(x, y).
  • the minimum number N of the filtered position points may be set such that the number of position points of f(x, y) ⁇ a is equal to or the value of a closest to the minimum number N is the first probability value.
  • the map server may generate a line of the mobile terminal by using a linear fitting or a nonlinear fitting algorithm as shown in FIG. 4 or FIG. 5 according to the selected position point, and on the first area in the electronic map, the line A road of the first width is generated for the axis of symmetry.
  • FIG. 6 is a schematic diagram of a method for drawing a road in a third electronic map according to an embodiment of the present application.
  • the map server may divide the first area 600 into a plurality of micro-areas by a cross-hatching dashed line as shown in FIG. 6A, and perform collection points in each micro-area (as marked by the point in FIG. 6 in FIG. 6).
  • the point is the selected position point (the point marked with ⁇ in Fig. 6B).
  • the line 601 of the mobile terminal is generated by a linear fitting or nonlinear fitting algorithm according to the selected position point, and is in the first area 600 in the electronic map, the line 601 A road 602 of a first width d is generated for the axis of symmetry.
  • the collection points are concentrated in the central area of the road.
  • the probability that the collection point appears in the middle area of the road is the largest, and the probability of occurrence of the collection point at each position decreases with the increase of the distance between the position and the central area. small.
  • FIG. 7 is a schematic diagram of a method for drawing a road in a fourth electronic map according to an embodiment of the present application.
  • the map server may perform probability statistics on the location information of the collected points on the first area 700, and the two sets of location points whose screening probability is equal to the second probability value, that is, the first group of collection points 701 and the second group of collection points 702.
  • the second probability value is smaller than the maximum probability value of the location point on the first region.
  • the map server generates the first line 703 and the second line 704 by a linear fitting or nonlinear fitting algorithm as shown in FIG. 4 or FIG. 5 respectively according to the selected set of position points, and further, the first in the electronic map.
  • a road 705 is generated with the first line 703 and the second line 704 as boundaries.
  • a mobile terminal such as a mobile phone that is carried on a pedestrian can pass on a narrow road, or can walk on a non-road (such as a lawn, etc.), and thus the walking path of the pedestrian is generally uncontrollable.
  • Vehicle-mounted terminals are usually mounted on vehicles, and vehicles generally have a large width, and usually vehicles can only travel on roads.
  • the method of drawing an electronic map based on the position information of the collection point positioned by the mobile phone may be different from the method of drawing an electronic map based on the position information of the collection point positioned by the vehicle terminal.
  • the map server may set different weight factors for the collection points that are located by different terminal types, positioning methods, and/or positioning accuracy factors in the process of drawing the road through the location information of the collection points.
  • the weighting factor can be applied to the probability statistics of the above-mentioned collection points, so that the parameters such as the position and width of the road of the electronic map drawn by the collection point are closer to the real road.
  • the map server can set the terminal or terminal type and its corresponding terminal weight factor, for example, see Table 1.
  • the map server can set the positioning method and its corresponding positioning weight factor, for example, see Table 2.
  • the map server can set the positioning accuracy factor and its corresponding precision weighting factor.
  • the weighting factor ⁇ ij of the collection point P ij is equal to the product of at least one of the terminal weighting factor ⁇ i , the positioning weighting factor ⁇ ij , and the precision weighting factor ⁇ ij .
  • the probability of a collection point with a position (x, y) in the first region is f(x, y):
  • a method for drawing a road in an electronic map is described by taking a collection point in a two-dimensional space as an example.
  • the method for drawing a road in various electronic maps provided by the present application is applicable to a collection point in a three-dimensional space.
  • the location information may include an identifier of the mobile terminal, and the map server determines the first width according to the identifier of the mobile terminal.
  • the map server may identify the type of the mobile terminal according to the identifier of the mobile terminal.
  • the road segment corresponding to the first area may drive the vehicle, and the map server may be based on the width of the vehicle.
  • Set the first width for example, the first width is 3m.
  • the first width may be set to a first width, such as the first width, based on the size of the person. It is 1m.
  • the map server can calculate the first width according to the degree of dispersion of the collected points in the first area, where The first width is the distance between two position points whose probability is a third probability value perpendicular to the line direction. This line is the axis of symmetry of the road. Please refer to FIG. 8.
  • FIG. 8 is a schematic diagram of a first width calculation method according to an embodiment of the present application.
  • the map server can count the probability of each location point, see the probability calculation method shown in equation (2) and formula (3). Generally, in the direction perpendicular to the line, the probability of each position decreases as the distance of the position from the line increases, such as the normal distribution curve shown in FIG. The distance d between the two position points A and B whose probability is the third probability value P in the direction perpendicular to the line.
  • the location information of the collection point may include a positioning time of the collection point.
  • the map server can determine the direction of travel of the road formed by the data set based on the received data set.
  • the location information of the collection point reported by the ith mobile terminal in the ith area by using one or more positioning methods may constitute the data group P i
  • the data group P i may include the location information of the collection points arranged in the order of the positioning time ( That is, the data element P ij )
  • the mobile terminal can determine the moving direction of the mobile terminal according to the location information of each collection point in the data group.
  • the data set of all R k dataset to determine the moving direction of the same data set the data set through R k road drawn as one-way travel direction thereof coincides with the moving direction of the mobile terminal.
  • the road drawn by the data set R k is a two-lane road.
  • the map server may determine location information of the road travel direction by selecting location information of the collection point uploaded by the vehicle terminal in the data group.
  • the mobile terminal may further send the tag information for the first location to the map server, the map server receives the tag information, and associates the tag information with the first location in the electronic map.
  • the first location may be a location point or a location area.
  • the tag information may be at least one of text, picture, video, audio, and the like.
  • the association may be by adding tag information at the first location, or creating a link at the first location, linking the tag information, and the like.
  • the first location is the location of the elevator
  • the mobile terminal can send the marking information to the location of the elevator.
  • the marking information is “elevator”
  • the map server can add the text “elevator” or the icon of the elevator in the first location.
  • the map server may also update the time in the electronic map for the road markings in each area.
  • This update time is used to indicate the time of the most recent update of the road in the area.
  • the update time may be the time when the collection point in the area is received last time, or may be the average value of the collection time of each collection point in the data group received last time, which is not limited in this application. It can be understood that the mobile terminal and/or the map server can display the electronic map display interface.
  • FIG. 9 is a schematic structural diagram of an electronic map display interface according to an embodiment of the present application.
  • the electronic map display interface 90 includes a first area 910, a second area 920, and a third area 930.
  • the first area 910 includes a road 911, and the update time of the road 911 is "14:00 on July 3".
  • the second area 920 includes a road 921, and the update time of the road 921 is "9:00 on June 26".
  • the first area 930 includes the road 931, and the update time of the road 931 is "10:00 on October 10".
  • the update time can be directly displayed on the corresponding road as shown in FIG. 9, or an icon can be added in the area where the road is located. When the map of the area where the icon is located is clicked or enlarged, the update time is displayed in the area where the road is located.
  • the mobile terminal may further send an update request for the first area to the map server, and the map server receives the update request, and sends the map data corresponding to the first area to the mobile terminal, where the mobile terminal receives the After the map data, the map of the first area on the electronic map is updated.
  • the mobile terminal may send an update request for the first area to the map server, the update request carries the update time of the first area, and the local map server determines the received update.
  • the first area of the electronic map on the mobile terminal side is the latest map, and no update is required, otherwise, the first is sent to the mobile terminal.
  • the map data corresponding to the area the mobile terminal receives the map data and updates the map of the first area on the electronic map.
  • the map server receives location information of at least one collection point sent by the plurality of mobile terminals. It can be assumed that the location information of the collection point reported by the ith mobile terminal in the Kth area by using one or more positioning methods may constitute a data group P i , and the data group P i may include the data element P ij , and P ij is the ith movement The position information of the jth collection point reported by the terminal, and i, j is a positive integer. The data group P ij participates in the generated road in the Kth area, and all data groups P i in the Kth area constitute the data set R k .
  • the map server can divide two data areas for the location information in each area: an active area and an aging area.
  • the activation area includes at least one data set, wherein the map server draws an electronic map by using the electronic map drawing method described in the above embodiment based on the collection points in the active area, that is, the collection points in the data set R k in the active area are generated and generated.
  • the collection points in the aging zone are not involved in drawing an electronic map. Data in the active and aging zones can be transferred.
  • the data group composed of the location information of the collection point is added to the data set corresponding to the area where the collection point is located, and the data set is divided into the activation area.
  • the activation area may include a data set corresponding to the second area.
  • the map server can determine whether the collection point received in the first time period is not in the second area, and if so, it is considered that the road segment in the second area has no people or vehicles involved in the first time period, and the map server can The data set in the second area is moved to the aging area. At this time, the map server may update the electronic map to delete the road section in the second area on the electronic map; otherwise, the road section in the second area is in the first time period. Or the car is involved, the corresponding data set of the second area remains in the active area.
  • the aging zone may include a data set corresponding to the third zone.
  • the map server may determine whether the reported collection point is within the range of the third area, if the data set corresponding to the third area is moved to the activation area. At this time, the map server may update the electronic map, and add a road segment drawn by the data set corresponding to the third area on the electronic map; otherwise, the data set corresponding to the third area remains in the aging area.
  • FIG. 10 is a structural structural diagram of a mobile terminal according to an embodiment of the present application.
  • the mobile terminal 100 includes:
  • the obtaining unit 101 is configured to acquire location information of the collection point by using positioning;
  • the sending unit 102 is configured to send the location information to the map server, so that after the map server receives the location information, the map server is included by the mobile terminal 100 according to the first area included in the electronic map.
  • the location information of the transmitted collection point is drawn in the first area of the electronic map.
  • the acquiring unit 101 acquires location information of a collection point by using a positioning system, and the specific package include:
  • the location information of the collection point After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
  • the available positioning method includes a first positioning method, receiving a selection instruction for the first positioning method, and acquiring location information of the collection point by using the first positioning method.
  • the sending unit 102 sends the location information to a map server, specifically:
  • the sending unit 102 is configured to send the location information to a map server at a fixed period;
  • the mobile terminal 100 further includes a storage unit for buffering the location information.
  • the sending unit 102 is further configured to: when the data size of the cached location information is not less than a storage threshold, the cached location information to the map server.
  • the acquiring unit 101 is further configured to: receive tag information for the first location;
  • the sending unit 102 is further configured to: send the tag information to the map server, so that after receiving the tag information, the map server associates the tag with the first location in an electronic map. information.
  • the sending unit 102 is further configured to: send an update request for the first area to the map server, so that after the map server receives the update request, the map server Sending, to the mobile terminal 100, map data corresponding to the first area;
  • the obtaining unit 101 is further configured to: receive the map data sent by the map server;
  • the mobile terminal 100 further includes a processing unit, configured to: update a map in the first area on the electronic map in the mobile terminal 100 according to the map data.
  • the mobile terminal acquires the location information of the collection point by positioning, and sends the location information to the map server, so that after the location information is received by the map server, the first information is included in the electronic map.
  • the location information of the collection point sent by the mobile terminal in the area, and the road is drawn in the first area of the electronic map.
  • the embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
  • FIG. 11 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • the mobile terminal 110 may include a processor 111 and a memory 112.
  • the input module 113, the output module 114, the communication module 115, and the sensor 106 can be connected to the memory 112, the input module 113, the output module 114, the communication module 115, and the sensor 106 via a bus 117.
  • the input module 103, the output module 114, and the sensor 116 are not necessary components of the mobile terminal 110 in the embodiment of the present application.
  • the mobile terminal 110 may not include the input module 113, the output module 114, and the motion sensor 106.
  • a road drawing method in an electronic map described in the embodiment of the present application is implemented.
  • the processor 111 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case that the processor 111 is a CPU, the CPU may be a single core CPU or a multi-core CPU. .
  • the processor 111 connects various portions of the entire mobile terminal 110 using various interfaces and lines, by running or executing computer programs and/or modules stored in the memory 112, and invoking data stored in the memory 112. The various functions of the terminal and the processing data are used to perform overall monitoring of the mobile terminal 110.
  • Memory 112 is used to store instructions and data.
  • Memory 112 includes, but is not limited to, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), or portable read only memory (CD-ROM), Memory 112 is used for related instructions and data.
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read only memory
  • CD-ROM portable read only memory
  • Memory 112 is used for related instructions and data.
  • the memory 112 is also used to store location information of the collection points involved in the present application.
  • the input module 113 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the input module 113 can include a touch-sensitive surface 1131 as well as other input modules.
  • Touch-sensitive surface 1131 also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 1131 or on the touch-sensitive surface 1131 The operation near the touch-sensitive surface 1131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 1131 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 111 is provided and can receive commands from the processor 111 and execute them.
  • the touch sensitive surface 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input module 113 can also include other input modules.
  • the other input modules 1131 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • FIG. 11 shows the input module 113, it can be understood that it does not belong to the necessary configuration of the terminal, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the output module 114 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal (such as the mobile track display interface described in the embodiment of the present invention), and the graphical user interfaces can be represented by graphics , text, icons, videos, and any combination of them.
  • the output module 114 can include a display panel 1141.
  • the display panel 1141 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch-sensitive surface 1131 may cover the display panel 1141, and when the touch-sensitive surface 1131 detects a touch operation thereon or nearby, it is transmitted to the processor 1101 to determine the type of the touch event, and then the processor 111 according to the touch event The type provides a corresponding visual output on the display panel 1141.
  • the touch-sensitive surface 1131 and the display panel 1141 are implemented as two separate components to implement input and input functions, in some embodiments, the touch-sensitive surface 1131 can be integrated with the display panel 1141 to implement input. And output function.
  • FIG. 11 shows the output module 114, it can be understood that it does not belong to the essential configuration of the terminal, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the communication module 115 is configured to establish a communication channel, and the mobile terminal 110 is connected to the communication peer through the communication channel, such as a satellite, a base station or a server, and the like, and interacts with the communication peer through the communication channel.
  • the communication module may include at least one of a baseband module 1151, a GPS module 1152, a WiFi module 1152, a BDS module 1154, and the like.
  • the baseband module 1151, the GPS module 1152, the WiFi module 1153, and the like can implement positioning of the mobile terminal 110 and data exchange with various communication peers, such as a map server.
  • the mobile terminal 110 can track the motion trajectory of the mobile terminal 110 by the sensor 106.
  • the sensor 106 may include at least one of a gyro sensor, an acceleration sensor, a barometric pressure sensor, a magnetic force sensor, a gravity sensor, an image sensor, a distance sensor, and the like, wherein the gyro sensor is used to detect information on the moving direction of the mobile terminal 110;
  • the speed sensor is used to detect change information of the moving speed of the mobile terminal 110;
  • the air pressure sensor is used to detect the altitude information of the mobile terminal 110;
  • the magnetic sensor is used to assist in detecting the moving direction of the mobile terminal 110;
  • the gravity sensor can be used to assist in detecting the movement Information about the direction of movement of the terminal 110;
  • an image sensor (such as a camera) may be used to acquire image information of the environment surrounding the terminal;
  • the distance sensor may be a laser ranging device, an acoustic ranging device, an image ranging device, etc., and may be used to detect
  • the processor 111 is configured to read instructions and data stored in the memory, and perform the following operations:
  • the map server Sending the location information to the map server by the communication module 115, so that after the map server receives the location information, the map server is included by the mobile terminal 110 according to the first area included in the electronic map.
  • the location information of the transmitted collection point is drawn in the first area of the electronic map.
  • the implementation manner that the processor 111 acquires the location information of the collection point by using the positioning system may be one of the following embodiments:
  • the processor 111 After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, the processor 111 acquires the location information of the collection point by inertial positioning or indoor positioning;
  • the processor 111 acquires the location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location;
  • the third embodiment detects a currently available positioning method, where the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and the processor 111 acquires a collection point by using the first positioning method. location information.
  • the processor 111 sends the location information to the map server by using the communication module, which specifically includes:
  • the location information is buffered by the memory 112, and the cached location information is transmitted to the map server by the communication module 115 when the data size of the cached location information is not less than a storage threshold.
  • the mobile terminal 110 further includes an input module 113, where the processor 111 is further configured to:
  • the tag information is sent to the map server by the communication module 115, so that the map server associates the tag information in the electronic map corresponding to the first location after receiving the tag information.
  • the processor 111 is further configured to:
  • the mobile terminal acquires the location information of the collection point by positioning, and sends the location information to the map server, so that after the location information is received by the map server, the first information is included in the electronic map.
  • the location information of the collection point sent by the mobile terminal in the area, and the road is drawn in the first area of the electronic map.
  • the embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
  • FIG. 12 is a structural framework diagram of a map server according to an embodiment of the present application.
  • the map server 120 includes:
  • the receiving unit 121 is configured to receive location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
  • the processing unit 122 is configured to draw a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map.
  • the processing unit 122 draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processing unit 122 draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processing unit 122 draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • the second probability value is smaller than the first The maximum probability value of the location point within the area
  • a road is generated with the first line and the second line as boundaries.
  • the processing unit 122 performs probability statistics on the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  • the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point.
  • Positioning The processing unit 122 determines a weighting factor of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  • the location information further includes identifier information of the mobile terminal that locates the collection point, and the processing unit generates a first width in the first area of the electronic map by using the line as a symmetry axis.
  • the processing unit 122 is further configured to:
  • the processing unit 122 is configured to: before the road of the first width is generated by using the line as the axis of symmetry in the first area of the electronic map, the processing unit 122 is further configured to:
  • the processing unit 122 is configured to: before the road of the first width is generated by using the line as the axis of symmetry in the first area of the electronic map, the processing unit 122 is further configured to:
  • processing unit 122 is further configured to:
  • the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
  • the receiving unit 121 is further configured to: receive the tag information sent by the mobile terminal for the first location;
  • the processing unit 122 is further configured to associate the tag information in the first location in the electronic map.
  • the receiving unit 121 is further configured to: receive an update request sent by the mobile terminal for the first area;
  • the map server 120 further includes a sending unit, configured to send, to the mobile terminal, map data corresponding to the first area, so that after the mobile terminal receives the map data, the mobile terminal is according to the map Data, updating a map in the first area on the electronic map in the mobile terminal.
  • a sending unit configured to send, to the mobile terminal, map data corresponding to the first area, so that after the mobile terminal receives the map data, the mobile terminal is according to the map Data, updating a map in the first area on the electronic map in the mobile terminal.
  • the collection point of the first region K of the position information of the data set consisting of R k; R k of the data set comprises at least one data set P i, P i of the data set to the map server 120
  • the i-th group of data received in the Kth area; the data group P i may include a data element P ij , and the data element P ij is position information of the jth collection point in the data group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the processing unit 122 is further configured to:
  • the receiving unit 121 After the receiving unit 121 receives the location information of the collection point sent by the mobile terminal, the data group composed of the location information of the collection point is added to the data set corresponding to the region where the collection point is located.
  • the map server 120 includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; and the processing unit 122 Also used for:
  • the map server 120 moves the corresponding data set in the second area to the aging area, and deletes In the electronic map State the roads in the second area; or,
  • the map server 120 When the map server 120 receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and in the electronic map A road drawn by the data set corresponding to the third area is added to the three areas.
  • the map server receives the location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point; and further, is sent by the mobile terminal according to the first area included in the electronic map.
  • the location information of the collection point is drawn in the first area of the electronic map.
  • the embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
  • FIG. 13 is a structural diagram of another map server according to an embodiment of the present disclosure.
  • the map server 130 includes a processor 131 and a memory. 132 and a communication interface 133.
  • the processor 131 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case that the processor 131 is a CPU, the CPU may be a single core CPU or a multi-core CPU. .
  • the processor 131 connects various portions of the entire map server 130 using various interfaces and lines, performs various operations of the terminal by running or executing computer programs and/or modules stored in the memory 132, and recalling data stored in the memory 132.
  • the map server 130 is monitored as a whole by functioning and processing the data.
  • Memory 132 is used to store instructions and data.
  • Memory 132 includes, but is not limited to, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), or portable read only memory (CD-ROM), Memory 132 is used for related instructions and data.
  • the memory 132 is also used to store location information of the collection points involved in the present application.
  • the communication interface 133 is configured to establish a communication channel through which the map service 130 is connected to a communication peer, such as a mobile terminal, other server, etc., and interacts with the communication peer through the communication channel.
  • a communication peer such as a mobile terminal, other server, etc.
  • the processor 131 is configured to read instructions and data stored in the memory, and perform the following operations:
  • the processor 131 draws a road in the first area of the electronic map according to the location information of the collection point that is sent by the mobile terminal in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processor 131 draws a road in the first area of the electronic map according to the location information of the collection point that is sent by the mobile terminal in the first area of the electronic map, and specifically includes:
  • a road of a first width is generated with the line as an axis of symmetry.
  • the processor 131 draws a road in the first area of the electronic map according to the location information of the collection point that is sent by the mobile terminal in the first area of the electronic map, and specifically includes:
  • the second probability value is smaller than the first The maximum probability value of the location point within the area
  • a road is generated with the first line and the second line as boundaries.
  • the processor 131 performs probability statistics on the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
  • a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  • the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point.
  • a positioning method the processor 131 determines a weighting factor of the collection point, specifically:
  • Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  • the location information further includes identifier information of the mobile terminal that locates the collection point; and the processor 131 generates the first axis in the first area of the electronic map by using the line as a symmetry axis.
  • the processor 131 is further configured to execute:
  • the processor 131 determines the first width according to the identifier information of the mobile terminal, and specifically includes:
  • the processor 131 is further configured to: before the path of the first width is generated by using the line as the axis of symmetry in the first area of the electronic map, the processor 131 is further configured to:
  • the processor 131 is further configured to:
  • the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
  • the processor 131 is further configured to:
  • the first location in the electronic map is associated with the tag information.
  • the processor 131 is further configured to:
  • the collection point of the first region K of the position information of the data set consisting of R k; R k of the data set comprises at least one data set P i, P i of the data set to the map server 130
  • the i-th group of data received in the Kth area; the data group P i may include a data element P ij , and the data element P ij is position information of the jth collection point in the data group P i ; i, j is a positive integer; after the processor receives the location information of the collection point sent by the mobile terminal through the communication interface, the processor 131 is further configured to: perform data that is composed of the location information of the collection point. The group is added to the data set corresponding to the area where the collection point is located.
  • the map server 130 includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; and the processor 131 Also used to execute:
  • the collection point received by the map server 130 is not in the second area in the first time period, the corresponding data set in the second area is moved to the aging area, and the electronic map is deleted. a road within the second area; or,
  • the map server 130 When the map server 130 receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and in the electronic map A road drawn by the data set corresponding to the third area is added to the three areas.
  • the map server receives the location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point; and further, is sent by the mobile terminal according to the first area included in the electronic map.
  • the location information of the collection point is drawn in the first area of the electronic map.
  • the embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

The present application provides a method and device for drawing roads in an electronic map. The method comprises: a map server receives position information of an acquisition point transmitted by a mobile terminal, the position information being acquired by the mobile terminal at the acquisition point through positioning; and the map server draws roads in a first area of the electronic map according to the position information of the acquisition point comprised in the first area of the electronic map and transmitted by the mobile terminal. The embodiments of the present application further provide relevant devices. In the embodiments of the present application, the mobile terminal is used as an acquisition device to acquire the position information of the acquisition point; a low-cost and simple method for drawing roads in the electronic map is provided; and real-time updating of the electronic map can be realized.

Description

电子地图中道路的绘制方法及装置Method and device for drawing roads in electronic map
本申请要求于2017年03月01日提交中国专利局、申请号为201710117513.4、发明名称为“一种绘制和更新室内地图的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. JP-A No. No. No. No. No. No. No. No. No. No. No. No. No. No. No. No. No. No. No. In this application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及一种电子地图中道路的绘制方法及装置。The present application relates to the field of computer technology, and in particular, to a method and an apparatus for drawing a road in an electronic map.
背景技术Background technique
目前,移动终端比如手机、车载终端等都有定位和导航的功能,给人们的出行带来很多便利。电子地图的绘制和更新,是定位与导航功能实现的的前提条件,电子地图的准确性影响移动终端导航的功能准确性。然而,电子地图的绘制需要由专业的测绘人员,对建筑,道路,公园、湖泊等设施进行测绘,得到基础地理信息,然后通过地图绘制软件,将测绘得到的信息标注在地图上,汇总后形成一个城市的详细地图。At present, mobile terminals such as mobile phones and car terminals have the functions of positioning and navigation, which bring a lot of convenience to people's travel. The drawing and updating of electronic maps is a prerequisite for the implementation of positioning and navigation functions. The accuracy of electronic maps affects the functional accuracy of mobile terminal navigation. However, the mapping of electronic maps requires professional surveying and mapping personnel to survey buildings, roads, parks, lakes and other facilities to obtain basic geographic information. Then, through map drawing software, the information obtained by surveying and mapping is marked on the map. A detailed map of a city.
然而,在现代化的城市里,城市建设,城市改造,道路修建,或者城市规划等诸多原因,使得地图的更新也非常频繁。人工绘制电子地图需要耗费大量的人力物力,而且对于城市地图的变化很难及时更新。However, in modern cities, urban construction, urban renewal, road construction, or urban planning, the maps are updated frequently. Manual drawing of electronic maps requires a lot of manpower and material resources, and it is difficult to update the changes of city maps in time.
发明内容Summary of the invention
本申请实施例提供了一种电子地图中道路的绘制方法及装置,提供了一种成本低、简便的地图中道路的绘制方法,可实现电子地图的实时更新。The embodiment of the present application provides a method and a device for drawing a road in an electronic map, and provides a low-cost and simple method for drawing a road in a map, which can realize real-time updating of the electronic map.
第一方面,本申请实施例提供一种电子地图中道路绘制方法,包括:地图服务器接收移动终端发送的采集点的位置信息,该位置信息为所述移动终端在采集点通过定位获取;进而,地图服务器根据包含在电子地图第一区域内的由移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。In a first aspect, the embodiment of the present invention provides a method for drawing a road in an electronic map, comprising: a map server receiving location information of a collection point sent by a mobile terminal, where the location information is obtained by the mobile terminal at the collection point by positioning; The map server draws a road in the first area of the electronic map according to the location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map.
本申请实施例中,地图服务器通过移动终端获取采集点的位置信息,提供了一种成本低、简便的地图中道路的绘制方法,可实现电子地图的实时更新。In the embodiment of the present application, the map server obtains the location information of the collection point through the mobile terminal, and provides a low-cost and simple method for drawing the road in the map, which can realize real-time updating of the electronic map.
本申请一实施例中,地图服务器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路的一种实施方式可以是:In an embodiment of the present application, an implementation manner in which the map server draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map may be :
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,地图服务器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路的一种实施方式可以是:地图服务器对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点,根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路,进而,在所述电子地图第一区域内,以所述线路为对称轴生成第一 宽度的道路。In an embodiment of the present application, an implementation manner in which the map server draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map may be The map server performs probability statistics on the location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and the screening probability is greater than the first probability value, and according to the selected location point, linearly Generating or non-linear fitting algorithm to generate a line, and further, generating a first line in the first region of the electronic map with the line as an axis of symmetry The width of the road.
本申请实施例中,地图服务器通过对采集点进行筛选,简化地图服务器的数据处理过程,使得地图中道路的绘制更加简便。In the embodiment of the present application, the map server simplifies the data processing process of the map server by filtering the collection points, so that the road drawing in the map is more convenient.
本申请一实施例中,地图服务器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路的一种实施方式可以是:地图服务器对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值,分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路,进而,在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In an embodiment of the present application, an implementation manner in which the map server draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map may be The map server performs probability statistics on the location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and the screening probability is equal to the two sets of location points of the second probability value; the second probability value is smaller than the location Generating a maximum probability value of a position point in the first region, respectively generating a first line and a second line by a linear fitting or a nonlinear fitting algorithm according to the selected group of position points, and further, the first map on the electronic map In the area, a road is generated by using the first line and the second line as boundaries.
本申请实施例中,地图服务器通过对采集点进行筛选,简化地图服务器的数据处理过程,使得地图中道路的绘制更加简便。In the embodiment of the present application, the map server simplifies the data processing process of the map server by filtering the collection points, so that the road drawing in the map is more convenient.
本申请一实施例中,地图服务器对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计的一种实施方式可以是:地图服务器确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。In an embodiment of the present application, an implementation manner in which the map server performs probability statistics on location information of the collection point sent by the mobile terminal in the first area of the electronic map may be: the map server determines to be included in the electronic map. a weighting factor of the collection point sent by the mobile terminal in an area; using the weighting factor, applying a probability statistical formula to calculate a probability of occurrence of a collection point at each location point in the first area.
本申请实施例中,地图服务器确定各个采集点的权重,使得筛选出的采集点所绘制的道路更接近真实的道路,提高绘制的准确性。In the embodiment of the present application, the map server determines the weights of the collection points, so that the road drawn by the selected collection points is closer to the real road, and the accuracy of the drawing is improved.
本申请一实施例中,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位方法;地图服务器确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子的一种实施方式可以是:根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。In an embodiment of the present application, the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point. The positioning method may be: determining, by the map server, a weighting factor of the collection point sent by the mobile terminal that is included in the first area of the electronic map, according to the positioning identification information, the identification information of the mobile terminal, or At least one of the positioning accuracy factors determines a weighting factor of the collection point.
本申请实施例中,地图服务器对不同定位方法、不同移动终端和/或不同的定位精度因子定位获取的各个采集点设置不同的权重因子,使得筛选出的采集点所绘制的道路更接近真实的道路,提高绘制的准确性。In the embodiment of the present application, the map server sets different weight factors for each collection point obtained by different positioning methods, different mobile terminals, and/or different positioning accuracy factors, so that the road drawn by the selected collection points is closer to the real one. Roads to improve the accuracy of the drawing.
本申请一实施例中,所述位置信息还包括定位所述采集点的移动终端的标识信息;地图服务器在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,地图服务器还可以根据所述移动终端的标识信息确定第一宽度。In an embodiment of the present application, the location information further includes identifier information of the mobile terminal that locates the collection point; the map server generates a road of a first width with the line as a symmetry axis in the first area of the electronic map. Previously, the map server may further determine the first width according to the identification information of the mobile terminal.
本申请一实施例中,所述地图服务器根据所述移动终端的标识信息确定第一宽度的一种实施方式可以是:根据所述移动终端的标识信息确定所述移动终端的类型,根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。In an embodiment of the present application, an implementation manner of determining, by the map server, the first width according to the identifier information of the mobile terminal may be: determining, according to the identifier information of the mobile terminal, the type of the mobile terminal, according to the type and The correspondence of the widths determines a first width corresponding to the type of the mobile terminal.
本申请一实施例中,地图服务器在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,地图服务器可以计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。In an embodiment of the present application, the map server may calculate the first width in the first area of the electronic map and generate the first width road by using the line as the symmetry axis; the first width is vertical The distance between two position points whose probability is the third probability value in the line direction.
本申请一实施例中,该方法还包括:地图服务器在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间,以方便用户了解道路的最近更新时间,提高用户体验。 In an embodiment of the present application, the method further includes: the map server marking the update time of the road in the first area of the electronic map; the update time is used to indicate the latest update of the first area of the electronic map The time of the road to facilitate users to understand the latest update time of the road and improve the user experience.
本申请一实施例中,该方法还包括:地图服务器接收所述移动终端发送的针对第一位置的标记信息,并在所述电子地图中所述第一位置关联所述标记信息,以便用户了解道路的其他信息,提高用户体验。In an embodiment of the present application, the method further includes: the map server receives the tag information sent by the mobile terminal for the first location, and associates the tag information with the first location in the electronic map, so that the user understands Additional information on the road to improve the user experience.
本申请一实施例中,该方法还包括:地图服务器接收所述移动终端发送的针对所述第一区域的更新请求,地图服务器向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。In an embodiment of the present application, the method further includes: the map server receiving an update request for the first area sent by the mobile terminal, where the map server sends the map data corresponding to the first area to the mobile terminal, After the mobile terminal receives the map data, the mobile terminal updates a map in the first area on the electronic map in the mobile terminal according to the map data.
本申请实施例中,移动终端可以仅更新用户指定区域的地图数据,更新速度快,避免移动终端过多的流量损耗。In the embodiment of the present application, the mobile terminal may update only the map data of the designated area of the user, and the update speed is fast, thereby avoiding excessive traffic loss of the mobile terminal.
本申请一实施例中,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;地图服务器在接收移动终端发送的采集点的位置信息之后,地图服务器还可以将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。In one embodiment of the present application, the collection point in the second area location information K composing the data set R k; R k of the data set comprises at least one data set P i, P i of the data set in the map server The i-th group of data received in the K-th area; the data group P i may include a data element P ij , and the data element P ij is location information of a j-th collection point in the data group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the map server may further add the data group composed of the location information of the collection point to the data set corresponding to the area where the collection point is located. .
本申请一实施例中,所述地图服务器包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;该方法还可以包括:In an embodiment of the present application, the map server includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; the method may further include:
当第一时间段内所述地图服务器接收到的采集点都不在所述第二区域时,所述地图服务器将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或,When the collection point received by the map server in the first time period is not in the second area, the map server moves the corresponding data set in the second area to the aging area, and deletes the a road in the second area in the electronic map; or,
当所述地图服务器接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
本申请实施例中,地图服务器针对接收到的地图数据进行管理,只有在激活区的数据才能被绘制成道路并显示在电子地图中。In the embodiment of the present application, the map server manages the received map data, and only the data in the active area can be drawn into a road and displayed in the electronic map.
第二方面,本申请实施例还提供了一种电子地图中道路绘制方法,包括:移动终端通过定位获取采集点的位置信息,并将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。In a second aspect, the embodiment of the present application further provides a road drawing method in an electronic map, including: the mobile terminal acquires location information of the collection point by positioning, and sends the location information to a map server, so that the map server is After receiving the location information, the map server draws a road in the first area of the electronic map according to location information of the collection point sent by the mobile terminal in the first area of the electronic map.
本申请实施例中,通过将移动终端作为采集设备,获取采集点的位置信息并发送至地图服务器,使得地图服务器根据通过移动终端获取采集点的位置信息绘制电子地图中道路。本申请实施例提供了一种成本低、简便的地图中道路的绘制方法,可实现电子地图的实时更新。In the embodiment of the present application, the location information of the collection point is obtained by using the mobile terminal as the collection device, and is sent to the map server, so that the map server draws the road in the electronic map according to the location information of the collection point obtained by the mobile terminal. The embodiment of the present application provides a low-cost and simple method for drawing a road in a map, which can realize real-time updating of an electronic map.
本申请一实施例中,移动终端通过定位系统获取采集点的位置信息可以包括以下三种实施方式中的一种:In an embodiment of the present application, the location information of the collection point obtained by the mobile terminal by using the positioning system may include one of the following three implementation manners:
第一实施方式:在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,移动终端通过惯性定位或室内定位获取采集点的位置信息。 In the first embodiment, after detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, the mobile terminal acquires the location information of the collection point by inertial positioning or indoor positioning.
第二实施方式:根据当前位置的场合类别,移动终端通过与所述场合类别对应的定位方法获取采集点的位置信息。Second Embodiment: According to the occasion category of the current location, the mobile terminal acquires the location information of the collection point by using a positioning method corresponding to the occasion category.
第三实施方式:移动终端检测当前可用的定位方法,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。The third embodiment is as follows: the mobile terminal detects a currently available positioning method, and the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and acquires a location of the collection point by using the first positioning method. information.
本申请一实施例中,移动终端将所述位置信息发送至地图服务器可以包括以下实施方式的一种:In an embodiment of the present application, the mobile terminal sending the location information to the map server may include one of the following implementation manners:
第一实施方式:移动终端以固定的周期向地图服务器发送所述位置信息;a first embodiment: the mobile terminal sends the location information to a map server at a fixed period;
第二实施方式:移动终端缓存所述位置信息,在缓存的位置信息的数据大小不小于存储阈值时,向地图服务器所述缓存的位置信息。The second embodiment is: the mobile terminal caches the location information, and the cached location information is sent to the map server when the data size of the cached location information is not less than a storage threshold.
本申请一实施例中,移动终端还可以接收针对第一位置的标记信息,并将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息,以便用户了解道路的其他信息,提高用户体验。In an embodiment of the present application, the mobile terminal may further receive the tag information for the first location, and send the tag information to the map server, so that the map server, after receiving the tag information, is in the electronic The tag information is associated with the first location in the map, so that the user can understand other information of the road and improve the user experience.
本申请一实施例中,移动终端还可以向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端发送所述第一区域对应的地图数据;移动终端接收所述地图服务器发送的所述地图数据,并根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。In an embodiment of the present application, the mobile terminal may further send an update request for the first area to the map server, so that after the map server receives the update request, the map server sends the map server to the mobile terminal. Sending the map data corresponding to the first area; the mobile terminal receives the map data sent by the map server, and updates a map in the first area on the electronic map in the mobile terminal according to the map data.
本申请实施例中,移动终端可以仅更新用户指定区域的地图数据,更新速度快,避免移动终端过多的流量损耗。In the embodiment of the present application, the mobile terminal may update only the map data of the designated area of the user, and the update speed is fast, thereby avoiding excessive traffic loss of the mobile terminal.
第三方面,本申请实施例还提供了一种地图服务器,包括:处理器、存储器以及通信接口;其中,In a third aspect, the embodiment of the present application further provides a map server, including: a processor, a memory, and a communication interface;
所述存储器用于存储指令和数据;The memory is for storing instructions and data;
所述处理器用于读取所述存储器中存储的指令和数据,执行如下操作:The processor is configured to read instructions and data stored in the memory, and perform the following operations:
通过所述通信接口接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;Receiving, by the communication interface, location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Drawing a road in the first area of the electronic map according to location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map.
本申请一实施例中,所述处理器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processor draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processor draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening a location point whose probability is greater than the first probability value;
根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路; Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processor draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
本申请一实施例中,所述处理器对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,,具体包括:In an embodiment of the present application, the processor performs probability statistics on the location information of the collection point sent by the mobile terminal in the first area of the electronic map, and specifically includes:
确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
本申请一实施例中,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位方法;所述处理器确定所述采集点的权重因子,具体包括:In an embodiment of the present application, the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point. a positioning method; the processor determines a weighting factor of the collection point, specifically:
根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
本申请一实施例中,所述位置信息还包括定位所述采集点的移动终端的标识信息;所述处理器在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理器还用于执行:In an embodiment of the present application, the location information further includes identifier information of the mobile terminal that locates the collection point; the processor generates a first width in the first area of the electronic map by using the line as a symmetry axis. Before the road, the processor is also used to execute:
根据所述移动终端的标识信息确定第一宽度。Determining a first width according to the identification information of the mobile terminal.
本申请一实施例中,所述处理器根据所述移动终端的标识信息确定第一宽度,具体包括:In an embodiment of the present application, the determining, by the processor, the first width according to the identifier information of the mobile terminal, specifically includes:
根据所述移动终端的标识信息确定所述移动终端的类型;Determining a type of the mobile terminal according to the identification information of the mobile terminal;
根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
本申请一实施例中,所述处理器在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理器还用于执行:In an embodiment of the present application, the processor is further configured to: before generating a road of a first width with the line as an axis of symmetry in the first area of the electronic map, the processor is further configured to:
计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。Calculating a first width; the first width being a distance between two position points having a probability of being a third probability value perpendicular to the line direction.
本申请一实施例中,所述处理器还用于执行:In an embodiment of the present application, the processor is further configured to:
在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。Marking the update time of the road in the first area of the electronic map; the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
本申请一实施例中,所述处理器还用于执行:In an embodiment of the present application, the processor is further configured to:
通过所述通信接口接收所述移动终端发送的针对第一位置的标记信息;Receiving, by the communication interface, the tag information sent by the mobile terminal for the first location;
在所述电子地图中所述第一位置关联所述标记信息。The first location in the electronic map is associated with the tag information.
本申请一实施例中,所述处理器还用于执行: In an embodiment of the present application, the processor is further configured to:
通过所述通信接口接收所述移动终端发送的针对所述第一区域的更新请求;Receiving, by the communication interface, an update request sent by the mobile terminal for the first area;
通过所述通信接口向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。Sending, by the communication interface, the map data corresponding to the first area to the mobile terminal, so that after the mobile terminal receives the map data, the mobile terminal updates the mobile terminal according to the map data. A map in the first area on the electronic map.
本申请一实施例中,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述处理器通过所述通信接口接收移动终端发送的采集点的位置信息之后,所述处理器还用于执行:In one embodiment of the present application, the collection point in the second area location information K composing the data set R k; R k of the data set comprises at least one data set P i, P i of the data set in the map server The i-th group of data received in the K-th area; the data group P i may include a data element P ij , and the data element P ij is location information of a j-th collection point in the data group P i ; I, j is a positive integer; after the processor receives the location information of the collection point sent by the mobile terminal by using the communication interface, the processor is further configured to:
将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。Adding a data group consisting of the location information of the collection point to a data set corresponding to the area where the collection point is located.
本申请一实施例中,所述地图服务器包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;所述处理器还用于执行:In an embodiment of the present application, the map server includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; For execution:
当第一时间段内所述地图服务器接收到的采集点都不在所述第二区域时,将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或,And when the collection point received by the map server in the first time period is not in the second area, moving the corresponding data set in the second area to the aging area, and deleting the electronic map State the roads in the second area; or,
当所述地图服务器接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
第四方面,本申请实施例还提供了一种移动终端,包括:处理器、存储器以及通信模块;其中,In a fourth aspect, the embodiment of the present application further provides a mobile terminal, including: a processor, a memory, and a communication module;
所述存储器用于存储指令和数据;The memory is for storing instructions and data;
所述处理器用于读取所述存储器中存储的指令和数据,执行如下操作:The processor is configured to read instructions and data stored in the memory, and perform the following operations:
通过定位获取采集点的位置信息;Obtain location information of the collection point by positioning;
通过所述通信模块将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Sending, by the communication module, the location information to a map server, so that after the location information is received by the map server, the map server is sent by the mobile terminal according to the first area included in the electronic map. Collecting location information of the point, drawing a road in the first area of the electronic map.
本申请一实施例中,所述处理器通过定位系统获取采集点的位置信息,具体包括:In an embodiment of the present application, the processor acquires location information of the collection point by using a positioning system, and specifically includes:
在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,通过惯性定位或室内定位获取采集点的位置信息;或,After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
根据当前位置的场合类别,通过与所述场合类别对应的定位方法获取采集点的位置信息;或,Obtaining location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location; or
检测当前可用的定位方法,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。Detecting a currently available positioning method, the available positioning method includes a first positioning method, receiving a selection instruction for the first positioning method, and acquiring location information of the collection point by using the first positioning method.
本申请一实施例中,所述处理器通过所述通信模块将所述位置信息发送至地图服务器,具体包括:In an embodiment of the present application, the processor sends the location information to the map server by using the communication module, which specifically includes:
通过所述通信模块以固定的周期向地图服务器发送所述位置信息;或,Transmitting the location information to the map server by the communication module at a fixed period; or
通过所述存储器缓存所述位置信息,在缓存的位置信息的数据大小不小于存储阈值时,通过所述通信模块向地图服务器所述缓存的位置信息。 The location information is cached by the memory, and the cached location information is sent to the map server by the communication module when the data size of the cached location information is not less than a storage threshold.
本申请一实施例中,所述移动终端还包括输入模块,所述处理器还用于执行:In an embodiment of the present application, the mobile terminal further includes an input module, where the processor is further configured to:
通过所述输入模块接收针对第一位置的标记信息;Receiving, by the input module, tag information for the first location;
通过所述通信模块将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。And transmitting, by the communication module, the tag information to the map server, so that the map server associates the tag information in the electronic map corresponding to the first location after receiving the tag information.
本申请一实施例中,所述处理器还用于执行:In an embodiment of the present application, the processor is further configured to:
通过所述通信模块向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端发送所述第一区域对应的地图数据;Sending, by the communication module, an update request for the first area to the map server, so that after the map server receives the update request, the map server sends the first area to the mobile terminal Corresponding map data;
通过所述通信模块接收所述地图服务器发送的所述地图数据;Receiving, by the communication module, the map data sent by the map server;
根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。Updating a map in the first area on the electronic map in the mobile terminal according to the map data.
第五方面,本申请实施例还提供了一种地图服务器,包括:In a fifth aspect, the embodiment of the present application further provides a map server, including:
接收单元,用于接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;a receiving unit, configured to receive location information of a collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
处理单元,用于根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。And a processing unit, configured to draw a road in the first area of the electronic map according to location information of the collection point sent by the mobile terminal included in the first area of the electronic map.
本申请一实施例中,所述处理单元根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processing unit draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理单元根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processing unit draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening a location point whose probability is greater than the first probability value;
根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路;Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理单元根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processing unit draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
本申请一实施例中,所述处理单元对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,具体包括:In an embodiment of the present application, the processing unit performs probability statistics on the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子; Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
本申请一实施例中,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位方法;所述处理单元确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子,具体包括:In an embodiment of the present application, the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point. a positioning method; the processing unit determines a weighting factor of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
本申请一实施例中,所述位置信息还包括定位所述采集点的移动终端的标识信息,所述处理单元在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元还用于:In an embodiment of the present application, the location information further includes identifier information of the mobile terminal that locates the collection point, and the processing unit generates a first width in the first area of the electronic map by using the line as a symmetry axis. Before the road, the processing unit is also used to:
根据所述移动终端的标识信息确定第一宽度。Determining a first width according to the identification information of the mobile terminal.
本申请一实施例中,所述处理单元在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元还用于:In an embodiment of the present application, the processing unit is further configured to: before the road of the first width is generated by using the line as a symmetry axis in the first area of the electronic map, the processing unit is further configured to:
根据所述移动终端的标识信息确定所述移动终端的类型;以及,Determining a type of the mobile terminal according to the identification information of the mobile terminal; and
根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
本申请一实施例中,所述处理单元在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元还用于:In an embodiment of the present application, the processing unit is further configured to: before the road of the first width is generated by using the line as a symmetry axis in the first area of the electronic map, the processing unit is further configured to:
计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。Calculating a first width; the first width being a distance between two position points having a probability of being a third probability value perpendicular to the line direction.
本申请一实施例中,所述处理单元还用于:In an embodiment of the present application, the processing unit is further configured to:
在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。Marking the update time of the road in the first area of the electronic map; the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
本申请一实施例中,所述接收单元还用于:接收所述移动终端发送的针对第一位置的标记信息;In an embodiment of the present application, the receiving unit is further configured to: receive, by the mobile terminal, tag information for a first location;
所述处理单元还用于:在所述电子地图中所述第一位置关联所述标记信息。The processing unit is further configured to associate the tag information in the first location in the electronic map.
本申请一实施例中,所述接收单元还用于:接收所述移动终端发送的针对所述第一区域的更新请求;In an embodiment of the present application, the receiving unit is further configured to: receive an update request sent by the mobile terminal for the first area;
所述地图服务器还包括发送单元,用于向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。The map server further includes a sending unit, configured to send, to the mobile terminal, map data corresponding to the first area, so that after the mobile terminal receives the map data, the mobile terminal is configured according to the map data. Updating a map in the first area on the electronic map in the mobile terminal.
本申请一实施例中,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述接收移动终端发送的采集点的位置信息之后,所述处理单元还用于:In one embodiment of the present application, the collection point in the second area location information K composing the data set R k; R k of the data set comprises at least one data set P i, P i of the data set in the map server The i-th group of data received in the K-th area; the data group P i may include a data element P ij , and the data element P ij is location information of a j-th collection point in the data group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the processing unit is further configured to:
在所述接收单元接收移动终端发送的采集点的位置信息之后,将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。 After the receiving unit receives the location information of the collection point sent by the mobile terminal, the data group composed of the location information of the collection point is added to the data set corresponding to the region where the collection point is located.
本申请一实施例中,所述地图服务器包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;所述处理单元还用于:In an embodiment of the present application, the map server includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; to:
当第一时间段内所述地图服务器接收到的采集点都不在所述第二区域时,所述地图服务器将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或,When the collection point received by the map server in the first time period is not in the second area, the map server moves the corresponding data set in the second area to the aging area, and deletes the a road in the second area in the electronic map; or,
当所述地图服务器接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
第六方面,本发明实施例还提供了一种移动终端,包括:In a sixth aspect, the embodiment of the present invention further provides a mobile terminal, including:
获取单元,用于通过定位获取采集点的位置信息;An acquiring unit, configured to acquire location information of the collection point by using a positioning;
发送单元,用于将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。a sending unit, configured to send the location information to a map server, so that after the location information is received by the map server, the map server is sent by the mobile terminal according to the first area included in the electronic map. Collecting location information of the point, drawing a road in the first area of the electronic map.
本申请一实施例中,所述获取单元通过定位系统获取采集点的位置信息,具体包括:In an embodiment of the present application, the acquiring unit acquires the location information of the collection point by using the positioning system, and specifically includes:
在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,通过惯性定位或室内定位获取采集点的位置信息;或,After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
根据当前位置的场合类别,通过与所述场合类别对应的定位方法获取采集点的位置信息;或,Obtaining location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location; or
检测当前可用的定位移动终端,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。The currently available positioning mobile terminal is detected, and the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and acquires location information of the collection point by using the first positioning method.
本申请一实施例中,所述发送单元将所述位置信息发送至地图服务器,具体包括:In an embodiment of the present application, the sending unit sends the location information to a map server, specifically:
所述发送单元用于以固定的周期向地图服务器发送所述位置信息;或,The sending unit is configured to send the location information to a map server at a fixed period; or
所述移动终端还包括存储单元,用于缓存所述位置信息;所述发送单元还用于在缓存的位置信息的数据大小不小于存储阈值时,向地图服务器所述缓存的位置信息。The mobile terminal further includes a storage unit, configured to cache the location information, and the sending unit is further configured to: when the data size of the cached location information is not less than a storage threshold, the cached location information to the map server.
本申请一实施例中,所述获取单元还用于:接收针对第一位置的标记信息;In an embodiment of the present application, the acquiring unit is further configured to: receive tag information for the first location;
所述发送单元还用于:将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。The sending unit is further configured to: send the tag information to the map server, so that after receiving the tag information, the map server associates the tag information with the first location in an electronic map. .
本申请一实施例中,所述发送单元还用于:向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端发送所述第一区域对应的地图数据;In an embodiment of the present application, the sending unit is further configured to: send an update request for the first area to the map server, so that after the map server receives the update request, the map server sends Transmitting, by the mobile terminal, map data corresponding to the first area;
所述获取单元还用于:接收所述地图服务器发送的所述地图数据;The obtaining unit is further configured to: receive the map data sent by the map server;
所述移动终端还包括处理单元,用于:根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。The mobile terminal further includes a processing unit, configured to: update a map in the first area on the electronic map in the mobile terminal according to the map data.
第七方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或多个计算机程序,所述地图服务器通过运行所述一个或多个计算机程序来执行上述第一方面的电子地图中道路的绘制方法。 In a seventh aspect, the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores one or more computer programs, and the map server is configured to run the one or more computer programs. A method of drawing a road in an electronic map of the above first aspect is performed.
第八方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或多个计算机程序,所述移动终端通过运行所述一个或多个计算机程序来执行上述第二方面的电子地图中道路的绘制方法。In an eighth aspect, the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores one or more computer programs, and the mobile terminal is configured to run the one or more computer programs. A method of drawing a road in an electronic map of the second aspect described above is performed.
附图说明DRAWINGS
图1是本申请实施例提供的一种地图绘制系统的示意性框架图;1 is a schematic frame diagram of a mapping system provided by an embodiment of the present application;
图2是本申请实施例提供的一种定位方法选定界面的示意性说明图;2 is a schematic explanatory diagram of a selected interface of a positioning method according to an embodiment of the present application;
图3是本申请实施例提供的一种电子地图中道路的绘制方法的示意性流程图;3 is a schematic flowchart of a method for drawing a road in an electronic map according to an embodiment of the present application;
图4是本申请实施例提供的第一种电子地图绘制方法的原理示意图;4 is a schematic diagram of a first electronic map drawing method according to an embodiment of the present application;
图5是本申请实施例提供的第二种电子地图绘制方法的原理示意图;FIG. 5 is a schematic diagram of a second electronic map drawing method according to an embodiment of the present application; FIG.
图6是本申请实施例提供的第三种电子地图中道路的绘制方法的原理示意图;6 is a schematic diagram of a schematic diagram of a method for drawing a road in a third electronic map according to an embodiment of the present application;
图7是本申请实施例提供的第四种电子地图中道路的绘制方法的原理示意图;7 is a schematic diagram of a schematic diagram of a method for drawing a road in a fourth electronic map according to an embodiment of the present application;
图8是本申请实施例提供的一种第一宽度计算方法的原理示意图;FIG. 8 is a schematic diagram of a first width calculation method according to an embodiment of the present application; FIG.
图9是本申请实施例提供的一种电子地图显示界面的结构示意图;9 is a schematic structural diagram of an electronic map display interface according to an embodiment of the present application;
图10是本申请实施例提供的一种移动终端的结构框架图;FIG. 10 is a structural structural diagram of a mobile terminal according to an embodiment of the present disclosure;
图11是本申请实施例提供的另一种移动终端的结构框架图;FIG. 11 is a structural structural diagram of another mobile terminal according to an embodiment of the present disclosure;
图12是本申请实施例提供的一种地图服务器的结构框架图;FIG. 12 is a structural diagram of a map server according to an embodiment of the present application; FIG.
图13是本申请实施例提供的另一种地图服务器的结构框架图。FIG. 13 is a structural structural diagram of another map server according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
请参阅图1,图1是本申请实施例提供的一种地图绘制系统的示意性框架图。该地图绘制系统可以包括:地图服务器11、移动终端12、卫星定位系统13、基站定位系统14、室内定位系统15等。地图服务器11用于根据移动终端12上报的位置信息绘制地图;移动终端12可以通过卫星定位系统13、基站定位系统14或室内定位系统15中的至少一种方式获取至少一个采集点的位置信息,并通过无线通信或有线通信的方式上报给地图服务器11。Please refer to FIG. 1. FIG. 1 is a schematic frame diagram of a map drawing system according to an embodiment of the present application. The mapping system may include a map server 11, a mobile terminal 12, a satellite positioning system 13, a base station positioning system 14, an indoor positioning system 15, and the like. The map server 11 is configured to draw a map according to the location information reported by the mobile terminal 12; the mobile terminal 12 may acquire the location information of the at least one collection point by using at least one of the satellite positioning system 13, the base station positioning system 14, or the indoor positioning system 15. And reported to the map server 11 by means of wireless communication or wired communication.
移动终端12可以是位于车辆上的车载终端,比如车载单元(on board unit,OBU)或TBox(telematics box)等。车载终端可以直接与地图服务器进行通信并上报位置信息,也可以通过与该车载单元通信连接的便携式移动终端,比如智能手机、平板电脑等向地图服务器发送位置信息。移动终端12还可以智能手机,智能手环、智能眼镜、智能手表等可穿戴设备,平板电脑等便携式移动终端。The mobile terminal 12 may be an in-vehicle terminal located on a vehicle, such as an onboard unit (OBU) or a TBox (telematics box). The in-vehicle terminal can directly communicate with the map server and report the location information, or can transmit the location information to the map server through a portable mobile terminal communicably connected to the in-vehicle unit, such as a smart phone or a tablet computer. The mobile terminal 12 can also be a portable mobile terminal such as a smart phone, a smart bracelet, a smart glasses, a smart watch, or the like, and a tablet computer.
卫星定位系统13可以包括全球定位系统(Global Positioning System,GPS)、北斗卫星定位系统(BeiDou Navigation Satellite System,BDS)等。The satellite positioning system 13 may include a Global Positioning System (GPS), a BeiDou Navigation Satellite System (BDS), and the like.
基站定位系统14可以包括至少一个基站,基站定位一般应用于包括客户识别模块(Subscriber Identification Module,SIM)的移动终端,例如手机,手机基站定位服务又叫做移动位置服务(Location Based Service,LBS),它是通过电信移动运营商的网络(如全球移动通信系统(Global System for Mobile Communication,GSM))获取移动终端用户的 位置信息(如经纬度坐标),在电子地图平台的支持下,为用户提供相应服务的一种增值业务。The base station positioning system 14 may include at least one base station. The base station positioning is generally applied to a mobile terminal including a Subscriber Identification Module (SIM), such as a mobile phone. The mobile phone base station location service is also called a Location Based Service (LBS). It acquires mobile terminal users through the network of the telecom mobile operator (such as Global System for Mobile Communication (GSM)). Location information (such as latitude and longitude coordinates), a value-added service that provides users with corresponding services, supported by an electronic map platform.
室内定位系统15可以是至少一个无线接入点组成的无线局域网络,可以包括:Wi-Fi、蓝牙、红外线、超宽带、射频识别(Radio Frequency Identification,RFID)、ZigBee和超声波等组成的网络。可以理解,在卫星信号到达地面时较弱或在室内定位信号不能穿透建筑物时,可以通过室内定位系统进行定位。The indoor positioning system 15 can be a wireless local area network composed of at least one wireless access point, and can include: a network composed of Wi-Fi, Bluetooth, infrared, ultra-wideband, radio frequency identification (RFID), ZigBee, and ultrasound. It can be understood that when the satellite signal is weak when it reaches the ground or when the indoor positioning signal cannot penetrate the building, the positioning can be performed by the indoor positioning system.
移动终端12可以通过卫星定位系统13、基站定位系统14或室内定位系统15等获取至少一个采集点的位置信息。当移动终端12内置运动传感器时,可以通过惯性定位对移动终端进行定位。运动传感器用于追踪移动终端的运动轨迹,可以包括加速度计、陀螺仪、磁力传感器、海拔传感器等中的至少一种。惯性定位可以结合上述定位方法对移动终端进行精确定位。可以理解,移动终端12可以通过运动传感器获取其运动方向、运动速度等运动参数,进而获取移动终端12的运动轨迹。在无定位信号时,移动终端12可以通过运动传感器进行室内定位,例如在无GPS信号时,移动终端12可以通过运动传感器追踪移动终端的运动轨迹,在有GPS信号时,获取到运动轨迹上采集点对应的通过GPS定位的位置信息,进而推算出运动轨迹上各个点的位置信息。The mobile terminal 12 can acquire location information of at least one collection point through the satellite positioning system 13, the base station positioning system 14, or the indoor positioning system 15, and the like. When the mobile terminal 12 has a built-in motion sensor, the mobile terminal can be positioned by inertial positioning. The motion sensor is used to track the motion trajectory of the mobile terminal, and may include at least one of an accelerometer, a gyroscope, a magnetic sensor, an altitude sensor, and the like. Inertial positioning can accurately position the mobile terminal in combination with the above positioning method. It can be understood that the mobile terminal 12 can acquire the motion parameters such as the moving direction and the moving speed through the motion sensor, thereby acquiring the motion trajectory of the mobile terminal 12. When there is no positioning signal, the mobile terminal 12 can perform indoor positioning by using the motion sensor. For example, when there is no GPS signal, the mobile terminal 12 can track the motion track of the mobile terminal through the motion sensor, and acquire the motion track when the GPS signal is acquired. The position information corresponding to the GPS positioning is used to calculate the position information of each point on the motion track.
在实际的应用过程中,移动终端12也可能采用多种定位方法协作进行定位,本申请不做限制。In the actual application process, the mobile terminal 12 may also perform positioning by using multiple positioning methods, which is not limited in this application.
移动终端可以通过上述卫星定位、基站定位、室内定位或惯性定位方法中的一种或多种的组合进行定位。在不同的场景可以选择不同的定位方法。下面介绍本申请实施例涉及的移动终端选定定位方法的方法。The mobile terminal can be located by a combination of one or more of the above satellite positioning, base station positioning, indoor positioning, or inertial positioning methods. Different positioning methods can be selected in different scenarios. The method for selecting a positioning method for a mobile terminal according to an embodiment of the present application is described below.
本申请一实施例中,在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,移动终端可以通过惯性定位或室内定位获取至少一个采集点的位置信息。例如,移动终端可以检测卫星定位信号的强度,比如GPS信号,当卫GPS信号的强度小于第一阈值(比如,-200dbm)时,则当前GPS信号弱,移动终端可以检测移动通信信号的强度,当移动通信信号的强度小于第二阈值(比如,-100dbm),则当前移动通信信号弱,移动终端可以开启惯性定位,通过惯性定位实时记录移动终端的运动轨迹,根据该移动轨迹中地理坐标已知采集点,计算移动轨迹各个采集点对应的地理坐标,从而获得各个采集点的地理坐标。In an embodiment of the present application, when detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, the mobile terminal may acquire location information of the at least one collection point by using inertial positioning or indoor positioning. For example, the mobile terminal can detect the strength of the satellite positioning signal, such as a GPS signal. When the strength of the GPS signal is less than the first threshold (eg, -200 dbm), the current GPS signal is weak, and the mobile terminal can detect the strength of the mobile communication signal. When the strength of the mobile communication signal is less than the second threshold (for example, -100 dbm), the current mobile communication signal is weak, the mobile terminal can turn on the inertial positioning, and the motion trajectory of the mobile terminal is recorded in real time by inertial positioning, according to which the geographical coordinates of the moving trajectory have been Knowing the collection point, calculating the geographic coordinates corresponding to each collection point of the movement trajectory, thereby obtaining the geographical coordinates of each collection point.
本申请一实施例中,移动终端可以检测自身是否支持惯性定位,当移动终端支持惯性定位时,移动终端可以通过惯性定位。移动终端在通过惯性定位的同时,也可以保持其他定位方法的开启状态,并结合其他定位方法,进行定位,以获取各个采集点的位置信息。In an embodiment of the present application, the mobile terminal can detect whether it supports inertial positioning. When the mobile terminal supports inertial positioning, the mobile terminal can be positioned by inertia. While the mobile terminal is positioned by inertia, it can also maintain the open state of other positioning methods, and combine with other positioning methods to perform positioning to obtain the position information of each collection point.
本申请一实施例中,移动终端可以根据当前位置识别其所在场合类别,通过与场合类别对应的定位方法获取采集点的位置信息。例如,在当前位置为停车场时,且移动终端支持惯性导航时可以开启惯性导航,移动终端可以通过惯性定位获取位置信息;在当前位置为户外时,移动终端可以通过卫星定位系统获取位置信息;在当前位置为商场、楼宇时,移动终端可以通过基站定位或室内定位的方法获取位置信息。In an embodiment of the present application, the mobile terminal may identify the location category of the location according to the current location, and obtain the location information of the collection point by using a positioning method corresponding to the occasion category. For example, when the current location is a parking lot, and the mobile terminal supports inertial navigation, the inertial navigation can be turned on, and the mobile terminal can obtain location information by inertial positioning; when the current location is outdoor, the mobile terminal can acquire location information through the satellite positioning system; When the current location is a shopping mall or a building, the mobile terminal may acquire location information by means of base station positioning or indoor positioning.
本申请一实施例中,移动终端可以检测当前可用的定位方法,向移动终端的用户输出(比如显示)可用的定位方法,该可用的定位方法可以包括第一定位方法,移动终端在接 收针对第一定位方法的选定指令后,通过第一定位方法获取至少一个采集点的位置信息。In an embodiment of the present application, the mobile terminal may detect the currently available positioning method, and output (such as display) an available positioning method to the user of the mobile terminal, where the available positioning method may include the first positioning method, and the mobile terminal is connected. After receiving the selected instruction for the first positioning method, the location information of the at least one collection point is obtained by the first positioning method.
可选地,当移动终端开启定位功能时,移动终端可以输出定位方法选定界面,请参阅图2,图2是本申请实施例提供的一种定位方法选定界面的示意性说明图。该界面20包括移动终端支持的定位方法列表,并标注了当前位置的可用的定位方法,并推荐当前位置下定位最精确的定位方法。用户可以选定一种定位方法,比如基站定位,则移动终端通过GPS定位获取采集点的位置信息。Optionally, when the mobile terminal turns on the positioning function, the mobile terminal may output a positioning method selection interface. Referring to FIG. 2, FIG. 2 is a schematic explanatory diagram of a positioning method selected by the positioning method provided by the embodiment of the present application. The interface 20 includes a list of positioning methods supported by the mobile terminal, and indicates the available positioning methods of the current location, and recommends the most accurate positioning method under the current location. The user can select a positioning method, such as base station positioning, and the mobile terminal acquires the location information of the collection point through GPS positioning.
例如,移动终端检测当前位置下卫星定位信号(如GPS信号)的强度大于第三阈值(比如,-200dbm)时,该GPS定位方法可用。移动终端检测当前位置下移动通信信号的强度大于第四阈值(比如,-100dbm)时,基站定位方法可用。移动终端检测当前位置下周围的无线接入点支持定位,则该室内定位方法可用。移动终端支持惯性定位时,则惯性定位方法可用。移动终端还可以根据各种定位方法的定位精确因子,显示当前位置下定位最精确的定位方法。For example, the GPS positioning method is available when the mobile terminal detects that the intensity of the satellite positioning signal (eg, GPS signal) at the current location is greater than a third threshold (eg, -200 dbm). The base station positioning method is available when the mobile terminal detects that the strength of the mobile communication signal at the current location is greater than a fourth threshold (eg, -100 dbm). The indoor positioning method is available if the mobile terminal detects that the wireless access point around the current location supports positioning. The inertial positioning method is available when the mobile terminal supports inertial positioning. The mobile terminal can also display the most accurate positioning method under the current position according to the positioning accuracy factor of various positioning methods.
请参阅图3,图3是本申请实施例提供的一种电子地图中道路的绘制方法的示意性流程图。该电子地图中道路的绘制方法包括以下部分或全部流程:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a method for drawing a road in an electronic map according to an embodiment of the present application. The method of drawing the road in the electronic map includes some or all of the following processes:
步骤S310:移动终端获取至少一个采集点的位置信息。Step S310: The mobile terminal acquires location information of at least one collection point.
其中,位置信息可以是通过定位系统获取的地理坐标,比如(经度,纬度),该位置信息还可以包括高度,比如(经度,纬度,高度)。The location information may be geographic coordinates acquired by the positioning system, such as (longitude, latitude), and the location information may also include a height, such as (longitude, latitude, altitude).
本申请一实施例中,采集点的位置信息还可以包括该采集点的定位时间。该定位时间可以是移动终端获取到该采集点的地理坐标的时间点。In an embodiment of the present application, the location information of the collection point may further include a positioning time of the collection point. The positioning time may be a point in time when the mobile terminal acquires the geographic coordinates of the collection point.
具体地,移动终端可以通过定位系统如,GPS、BDS等获取当前所在位置的地理坐标,也可以通过基站定位的方法,获取到当前位置的地理坐标,还可以通过基站定位、室内定位或惯性定位的方法获取当前位置的地理坐标。选定定位方法的方法可以参见上述移动终端选定定位方法的方法中所描述的实施方式,本申请不再赘述。Specifically, the mobile terminal may acquire the geographic coordinates of the current location by using a positioning system such as GPS, BDS, etc., or obtain the geographic coordinates of the current location by using the method of positioning the base station, and may also perform positioning, indoor positioning, or inertial positioning through the base station. The method gets the geographic coordinates of the current location. For the method of selecting the positioning method, refer to the implementation manner described in the method for selecting a positioning method of the mobile terminal, which is not described herein again.
本申请一实施例中,位置信息还可以包括用于指示获取该采集点的地理坐标的定位方法的定位标识信息、移动终端的标识信息和/或定位精度因子。可以理解,定位标识信息用于识别该采集点采用的定位方法。定位方法可以包括但不限于卫星定位、基站定位、室内定位、惯性定位等。移动终端的标识信息用于识别该移动终端,地图服务器可以根据该移动终端的标识识别该移动终端的类型。终端类型可以包括但不限于移动电话、车载终端、可穿戴设备等。定位精度因子用于指示定位的准确度或可信度,该定位精度因子可以包括卫星定位精度因子(比如,GPS定位精度因子、BDS定位精度因子)、基站定位精度因子、室内定位精度因子(比如WiFi定位因子)、惯性定位精度因子等。移动终端可以根据定位方法、参与定位的卫星位置以及获取到的采集点的位置计算该采集点对应的GPS定位精度因子或BDS定位精度因子等;同理,移动终端可以根据定位方法、参与定位的基站的位置以及获取到的采集点的位置计算该采集点对应的基站定位精度因子;移动终端也可以根据定位方法、参与定位的无线接入点(WiFi接入点)的位置以及获取到的采集点的位置计算该采集点对应的WiFi定位精度因子。移动终端可以根据内置运动传感器的灵敏度等信息确定惯性定位精度因子。可以理解,惯性定位精度因子为固定值,与采集点的位置无关。 In an embodiment of the present application, the location information may further include location identification information, a location information of the mobile terminal, and/or a positioning accuracy factor, which are used to indicate a location method for acquiring the geographic coordinates of the collection point. It can be understood that the positioning identification information is used to identify the positioning method adopted by the collection point. The positioning method may include, but is not limited to, satellite positioning, base station positioning, indoor positioning, inertial positioning, and the like. The identification information of the mobile terminal is used to identify the mobile terminal, and the map server can identify the type of the mobile terminal according to the identifier of the mobile terminal. Terminal types may include, but are not limited to, mobile phones, in-vehicle terminals, wearable devices, and the like. The positioning accuracy factor is used to indicate the accuracy or credibility of the positioning, and the positioning accuracy factor may include a satellite positioning accuracy factor (eg, a GPS positioning accuracy factor, a BDS positioning accuracy factor), a base station positioning accuracy factor, and an indoor positioning accuracy factor (eg, WiFi positioning factor), inertial positioning accuracy factor, etc. The mobile terminal may calculate a GPS positioning accuracy factor or a BDS positioning precision factor corresponding to the collection point according to the positioning method, the position of the satellite participating in the positioning, and the acquired location of the collection point; similarly, the mobile terminal may participate in the positioning according to the positioning method. Calculating a positioning accuracy factor of the base station corresponding to the collection point by using the location of the base station and the location of the acquired collection point; the mobile terminal may also according to the positioning method, the location of the wireless access point (WiFi access point) participating in the positioning, and the acquired acquisition The position of the point calculates the WiFi positioning accuracy factor corresponding to the collection point. The mobile terminal can determine the inertial positioning accuracy factor according to information such as the sensitivity of the built-in motion sensor. It can be understood that the inertial positioning accuracy factor is a fixed value regardless of the position of the collection point.
步骤S320:移动终端将获取到的位置信息发送至地图服务器。Step S320: The mobile terminal sends the acquired location information to the map server.
具体地,移动终端可以通过通信网络将获取到的位置信息发送至服务器。Specifically, the mobile terminal may send the acquired location information to the server through the communication network.
移动终端发送位置信息的方式包括但不限于以下3种方式:The manner in which the mobile terminal sends location information includes, but is not limited to, the following three methods:
第一方式:移动终端可以以固定的周期发送位置信息。比如,移动终端可以每隔时间T(比如30s)上报一次。The first mode: the mobile terminal can transmit the location information in a fixed cycle. For example, the mobile terminal can report once every time T (such as 30s).
第二方式:移动终端可以缓存位置信息,在缓存的位置信息的数据大小累积到存储阈值(比如1kb、2kb等)时,移动终端向地图服务器发送一次所述缓存的位置信息。The second mode: the mobile terminal can cache the location information. When the data size of the cached location information is accumulated to a storage threshold (such as 1 kb, 2 kb, etc.), the mobile terminal sends the cached location information to the map server once.
第三方式:移动终端可以在定位开启时,实时获取位置信息,并在定位结束后发送发送此次定位过程中获取到的所有位置信息。The third mode: the mobile terminal can acquire the location information in real time when the positioning is started, and send and send all the location information acquired during the positioning process after the positioning is completed.
在上述3种方式中,当移动终端无法连接到网络时,移动终端可以缓存位置信息,在连接到网络后,再将位置信息发送至地图服务器。In the above three modes, when the mobile terminal cannot connect to the network, the mobile terminal can cache the location information, and after connecting to the network, send the location information to the map server.
步骤S330:地图服务器接收至少一个移动终端发送的至少一个采集点的位置信息,并在电子地图第一区域上,根据第一区域内采集点的位置信息绘制道路。Step S330: The map server receives the location information of the at least one collection point sent by the at least one mobile terminal, and draws the road according to the location information of the collection point in the first area on the first area of the electronic map.
地图服务器在接收到至少一个采集点的位置信息之后,地图服务器可以根据采集点的位置信息(比如地理坐标)对接收到的采集点划分区域,区域与该区域内采集点绘制的道路一一对应。相应地,各个区域内采集点的位置信息组成数据集,该区域对应的数据集内数据用于绘制该区域对应的道路。可以理解,该绘制的道路可以包括直线路、曲线路或其结合等。After receiving the location information of the at least one collection point, the map server may divide the received collection point according to the location information (such as geographic coordinates) of the collection point, and the area corresponds to the road drawn by the collection point in the area. . Correspondingly, the location information of the collection points in each area constitutes a data set, and the data in the corresponding data set of the area is used to draw the road corresponding to the area. It can be understood that the drawn road may include a straight line, a curved road, a combination thereof, or the like.
地图服务器对接收到的采集点进行分区的方法可以包括人工划分和自动划分等。The method for the map server to partition the received collection points may include manual division and automatic division.
人工划分区域:地图服务器可以输出采集点,比如在地图上显示接收到的采集点,地图服务器的的管理人员可以根据该采集点的分布特点手动划分采集点,地图服务器接收输入的针对第一区域的划分指令,将第一区域内的采集点的位置信息划分该第一区域对应的数据集。Manually dividing the area: the map server can output the collection points. For example, the collected collection points are displayed on the map. The management personnel of the map server can manually divide the collection points according to the distribution characteristics of the collection points, and the map server receives the input for the first area. The dividing instruction divides the location information of the collection point in the first area into the data set corresponding to the first area.
自动划分区域:地图服务器可以根据采集点的分布特征进行区域划分。分布的特征可以包括分布的集中趋势、分布的形状、和/或分布的离散程度等。Automatically dividing the area: The map server can divide the area according to the distribution characteristics of the collection points. The characteristics of the distribution may include a concentrated trend of the distribution, a shape of the distribution, and/or a degree of dispersion of the distribution, and the like.
地图服务器也可以按照长度阈值分段划分区域。例如,地图服务器可以根据采集点的分布集中趋势预测绘制的道路的大致方向和位置,以沿预测方向上每隔长度阈值(比如,1m、3m等)划分一个具有一定宽度阈值(比如4m、5m等)的区域。The map server can also segment regions by length threshold segmentation. For example, the map server may predict the approximate direction and position of the drawn road according to the distribution trend of the collection point, and divide a threshold with a certain width (for example, 4 m, 5 m) along the threshold of each length in the prediction direction (for example, 1 m, 3 m, etc.). Area).
下面介绍地图服务器绘制电子地图中道路的实施方式:The following describes how the map server maps the roads in the electronic map:
第一实施方式:First embodiment:
地图服务器可以根据一个或者多个移动终端发送的位置信息绘制电子地图。地图服务器可以根据接收到的采集点的位置信息,通过线性拟合或非线性拟合算法生成该移动终端的线路,并在电子地图中第一区域上,以该线路为对称轴生成第一宽度的道路。The map server may draw an electronic map based on location information sent by one or more mobile terminals. The map server may generate a line of the mobile terminal by using a linear fitting or a nonlinear fitting algorithm according to the received location information of the collected point, and generate a first width on the first area of the electronic map with the line as a symmetry axis. path of.
可选地,地图服务器可以根据第一区域内采集点的分布特征选定合适的线性拟合算法或非线性拟合算法。Optionally, the map server may select a suitable linear fitting algorithm or a nonlinear fitting algorithm according to the distribution characteristics of the collected points in the first region.
例如,请参阅图4,图4是本申请实施例提供的第一种电子地图绘制方法的原理示意图,如图4所示,第一区域400内包括采集点A、B、C、D、E、F。地图服务器可以通过 直线拟合(比如最小二乘法)生成直线401,再以直线401为对称轴,生成第一宽度d的道路402。For example, please refer to FIG. 4. FIG. 4 is a schematic diagram of a first electronic map drawing method according to an embodiment of the present application. As shown in FIG. 4, the first area 400 includes collection points A, B, C, D, and E. , F. Map server can pass A straight line fit (such as a least squares method) generates a straight line 401, and a straight line 401 is used as a symmetry axis to generate a road 402 of a first width d.
又例如,请参阅图5,图5是本申请实施例提供的第二种电子地图绘制方法的原理示意图,如图5所示,第一区域500内包括采集点A、B、C、D、E、F、G、H、I、J、K、L、M、N、O、P。地图服务器可以通过曲线拟合(比如多项式拟合)生成曲线501,再以曲线501为中心轴,生成第一宽度d的道路502。For example, please refer to FIG. 5. FIG. 5 is a schematic diagram of a second electronic map drawing method according to an embodiment of the present application. As shown in FIG. 5, the first area 500 includes collection points A, B, C, and D. E, F, G, H, I, J, K, L, M, N, O, P. The map server may generate a curve 501 by curve fitting (such as polynomial fitting) and then generate a road 502 of a first width d with the curve 501 as a central axis.
第二实施方式:Second embodiment:
通常情况下,采集点主要集中在道路的中间区域,集中在道路的中间区域的采集点可以确定该道路的线路。垂直于该线路的方向上,各个位置的概率随该位置与该线路的距离的增大而减小。Usually, the collection points are mainly concentrated in the middle area of the road, and the collection points concentrated in the middle area of the road can determine the lines of the road. In the direction perpendicular to the line, the probability of each position decreases as the distance of the position from the line increases.
地图服务器可以对第一区域上采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点,根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路,进而在电子地图中第一区域上,以该线路为对称轴生成第一宽度的道路。The map server may perform probability statistics on the location information of the collection points on the first area, and filter the position points whose probability is greater than the first probability value, and generate a line by a linear fitting or a nonlinear fitting algorithm according to the selected position points, and then On the first area of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
假设,第K区域内采集点的位置信息组成数据集Rk;数据集Rk包括至少一个数据组Pi,数据组Pi为地图服务器在第K区域内接收到的第i组数据;数据组Pi可以包括数据元素Pij,数据元素Pij为数据组Pi中第j个采集点的位置信息。可以理解,移动终端在第K区域完成一次采集过程中采集点的位置信息组成的一个数据组。i,j为正整数。在移动终端通过定位获取一个数据组的过程中,移动终端不变,定位方法可以改变,且在不同的位置或定位方法定位到采集点的定位精度因子不同。本申请实施例以采集点为二维地理坐标为例进行描述:Suppose, the K-th region collection point position information composing the data set R k; dataset R k includes the i-th group of data at least one data set P i, data set P i for the map server received in the K-th region; data The group P i may include a data element P ij , and the data element P ij is position information of the jth collection point in the data group P i . It can be understood that the mobile terminal completes a data group consisting of the location information of the collection point in the acquisition process in the Kth area. i, j is a positive integer. In the process of acquiring a data group by the mobile terminal by positioning, the mobile terminal does not change, the positioning method can be changed, and the positioning accuracy factors of the collection points are different at different positions or positioning methods. The embodiment of the present application describes the collection point as a two-dimensional geographic coordinate as an example:
例如,第一移动终端通过GPS定位方法在第一区域上报的采集点组成的数据组为P1,P1=[P11(x11,y11);P12(x12,y12);P13(x13,y13);P14(x14,y14);......];For example, the data set consisting of the collection points reported by the first mobile terminal in the first area by the GPS positioning method is P 1 , P 1 =[P 11 (x 11 , y 11 ); P 12 (x 12 , y 12 ); P 13 (x 13 , y 13 ); P 14 (x 14 , y 14 ); ...];
同理,第二移动终端通过WiFi定位方法在第一区域上报的采集点组成的数据组为P2,P2=[P21(x21,y21);P22(x22,y22);P23(x23,y23);P24(x24,y24);......];Similarly, the data set consisting of the collection points reported by the second mobile terminal in the first area by the WiFi positioning method is P 2 , P 2 =[P 21 (x 21 , y 21 ); P 22 (x 22 , y 22 ) ; P 23 (x 23 , y 23 ); P 24 (x 24 , y 24 ); ...];
同理,第三移动终端通过惯性定位方法在第一区域上报的采集点组成的数据组为P3,P3=[P31(x31,y31);P32(x32,y32);P33(x33,y33);P34(x34,y34);......];Similarly, the data set consisting of the collection points reported by the third mobile terminal in the first region by the inertial positioning method is P 3 , P 3 =[P 31 (x 31 , y 31 ); P 32 (x 32 , y 32 ) ; P 33 (x 33 , y 33 ); P 34 (x 34 , y 34 ); ...];
以此类推,第i移动终端通过某一中或多种定位方法在第一区域上报的采集点组成的数据组为Pi,Pi=[Pi1(xi1,yi1);Pi2(xi2,yi2);Pi3(xi3,yi3);Pi4(xi4,yi4);......];By analogy, the data set consisting of the collection points reported by the ith mobile terminal in the first area by using one or more positioning methods is P i , P i =[P i1 (x i1 , y i1 ); P i2 ( x i2 , y i2 ); P i3 (x i3 , y i3 ); P i4 (x i4 , y i4 ); ...];
可以理解,第一移动终端可以与第二移动终端为同一或不同终端。It can be understood that the first mobile terminal can be the same or different terminal as the second mobile terminal.
假设,第一区域为x1≤x≤x2,y1≤y≤y2It is assumed that the first region is x 1 ≤ x ≤ x 2 and y 1 ≤ y ≤ y 2 .
定义:definition:
Figure PCTCN2017094135-appb-000001
Figure PCTCN2017094135-appb-000001
第一区域中位置为(x,y)的采集点的概率为f(x,y),则:The probability of a collection point with a position (x, y) in the first region is f(x, y), then:
Figure PCTCN2017094135-appb-000002
Figure PCTCN2017094135-appb-000002
筛选出f(x,y)≥a的位置点,a为第一概率值,可以理解,0<a<1。a为第一概率值可以是固定值,比如0.04、0.12或0.15等,a也可以根据概率分布f(x,y)确定。例如,可以设置筛选出的位置点的最小个数N,使得f(x,y)≥a的位置点的个数等于或最接近该最小个数N的a值即为第一概率值。The position point of f(x, y) ≥ a is selected, and a is the first probability value. It can be understood that 0 < a < 1. a is that the first probability value may be a fixed value, such as 0.04, 0.12 or 0.15, etc., a may also be determined according to the probability distribution f(x, y). For example, the minimum number N of the filtered position points may be set such that the number of position points of f(x, y) ≥ a is equal to or the value of a closest to the minimum number N is the first probability value.
进而,地图服务器可以根据筛选出的位置点,通过如图4或图5所示线性拟合或非线性拟合算法生成该移动终端的线路,并在电子地图中第一区域上,以该线路为对称轴生成第一宽度的道路。Further, the map server may generate a line of the mobile terminal by using a linear fitting or a nonlinear fitting algorithm as shown in FIG. 4 or FIG. 5 according to the selected position point, and on the first area in the electronic map, the line A road of the first width is generated for the axis of symmetry.
可选地,请参阅图6,图6是本申请实施例提供的第三种电子地图中道路的绘制方法的原理示意图。地图服务器可以通过如图6中A图所示的纵横交错的虚线将第一区域600分割成若干微区域,对各个微区域内的采集点(如图6中A图中标记●的点)进行统计,筛选出采集点总数大于第一数值的微区域或者筛选出出现采集点的概率大于第一概率值的微区域(如图6中B图标注▲的区域),筛选出的微区域的中心点即为筛选出的位置点(如图6B中标注▲的点)。通过第一实施方式中描述的方法,根据筛选出的位置点,通过线性拟合或非线性拟合算法生成该移动终端的线路601,并在电子地图中第一区域600上,以该线路601为对称轴生成第一宽度d的道路602。Optionally, please refer to FIG. 6. FIG. 6 is a schematic diagram of a method for drawing a road in a third electronic map according to an embodiment of the present application. The map server may divide the first area 600 into a plurality of micro-areas by a cross-hatching dashed line as shown in FIG. 6A, and perform collection points in each micro-area (as marked by the point in FIG. 6 in FIG. 6). Statistics, screening out the micro-areas where the total number of collection points is greater than the first value or filtering out the micro-areas where the probability of occurrence of the collection points is greater than the first probability value (such as the area of the icon ▲ in Figure 6), and filtering the center of the micro-area The point is the selected position point (the point marked with ▲ in Fig. 6B). By the method described in the first embodiment, the line 601 of the mobile terminal is generated by a linear fitting or nonlinear fitting algorithm according to the selected position point, and is in the first area 600 in the electronic map, the line 601 A road 602 of a first width d is generated for the axis of symmetry.
第三实施方式:Third embodiment:
通常,采集点集中分布在道路的中央区域,对于道路中即,采集点在道路的中间区域出现的概率最大,各个位置上采集点出现的概率随该位置与中央区域间距离的增大而减小。Generally, the collection points are concentrated in the central area of the road. For the road, the probability that the collection point appears in the middle area of the road is the largest, and the probability of occurrence of the collection point at each position decreases with the increase of the distance between the position and the central area. small.
请参阅图7,图7是本申请实施例提供的第四种电子地图中道路的绘制方法的原理示意图。地图服务器可以对第一区域700上采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点,即第一组采集点701和第二组采集点702。其中,第二概率值小于第一区域上位置点的最大概率值。地图服务器分别根据筛选出的各组位置点,通过如图4或图5所示的线性拟合或非线性拟合算法生成第一线路703和第二线路704,进而,在电子地图中第一区域700上,以第一线路703和第二线路704为边界,生成道路705。Please refer to FIG. 7. FIG. 7 is a schematic diagram of a method for drawing a road in a fourth electronic map according to an embodiment of the present application. The map server may perform probability statistics on the location information of the collected points on the first area 700, and the two sets of location points whose screening probability is equal to the second probability value, that is, the first group of collection points 701 and the second group of collection points 702. The second probability value is smaller than the maximum probability value of the location point on the first region. The map server generates the first line 703 and the second line 704 by a linear fitting or nonlinear fitting algorithm as shown in FIG. 4 or FIG. 5 respectively according to the selected set of position points, and further, the first in the electronic map. On the area 700, a road 705 is generated with the first line 703 and the second line 704 as boundaries.
可以理解,不同的定位方法获得的采集点的定位精度不同,同一定位方法在不同的位置定位精度也会有所差异。移动电话等携带在行人身上的移动终端通,行人可以在狭小的道路上行走,也可以在非道路(比如草坪等)等上行走,因而,行人的行走路径通常具有不可控制性。车载终端通常安装在车辆上,车辆一般具有较大的宽度,通常车辆仅可以在道路上行驶。因而,基于移动电话定位到的采集点的位置信息绘制的电子地图的方法可以与基于车载终端定位到的采集点的位置信息绘制的电子地图的方法可以不同。It can be understood that the positioning accuracy of the collection points obtained by different positioning methods is different, and the positioning accuracy of the same positioning method in different positions may also be different. A mobile terminal such as a mobile phone that is carried on a pedestrian can pass on a narrow road, or can walk on a non-road (such as a lawn, etc.), and thus the walking path of the pedestrian is generally uncontrollable. Vehicle-mounted terminals are usually mounted on vehicles, and vehicles generally have a large width, and usually vehicles can only travel on roads. Thus, the method of drawing an electronic map based on the position information of the collection point positioned by the mobile phone may be different from the method of drawing an electronic map based on the position information of the collection point positioned by the vehicle terminal.
本申请一实施例中,地图服务器在通过采集点的位置信息绘制道路的过程中,可以对不同终端类型、定位方法和/或定位精度因子定位到的采集点设定不同的权重因子。该权重因子可以应用于上述采集点的概率统计中,使得通过采集点绘制的电子地图的道路的位置、宽度等参数更接近真实的道路。In an embodiment of the present application, the map server may set different weight factors for the collection points that are located by different terminal types, positioning methods, and/or positioning accuracy factors in the process of drawing the road through the location information of the collection points. The weighting factor can be applied to the probability statistics of the above-mentioned collection points, so that the parameters such as the position and width of the road of the electronic map drawn by the collection point are closer to the real road.
地图服务器可以设置终端或终端类型与其对应的终端权重因子,例如,请参阅表1。 The map server can set the terminal or terminal type and its corresponding terminal weight factor, for example, see Table 1.
终端类型terminal type 权重因子Weighting factor
移动电话mobile phone 0.80.8
车载终端 vehicle terminal 11
可穿戴设备Wearable device 0.50.5
其他other 0.40.4
表1Table 1
地图服务器可以设置定位方法与其对应的定位权重因子,例如,请参阅表2。The map server can set the positioning method and its corresponding positioning weight factor, for example, see Table 2.
定位方法Positioning method 权重因子Weighting factor
卫星定位Satellite positioning 0.80.8
基站定位Base station positioning 0.50.5
室内定位Indoor Positioning 0.80.8
惯性定位 Inertial positioning 11
其他other 0.20.2
表2Table 2
同理,地图服务器可以设置定位精度因子与其对应的精度权重因子。Similarly, the map server can set the positioning accuracy factor and its corresponding precision weighting factor.
同上,第i移动终端通过某一种或多种定位方法在第一区域上报的采集点组成的数据组为Pi,Pi=[Pi1(xi1,yi1);Pi2(xi2,yi2);Pi3(xi3,yi3);Pi4(xi4,yi4);......];定义,采集点Pij的权重因子λij,终端权重因子θi,定位权重因子ηij,精度权重因子εijThe data group consisting of the collection points reported by the ith mobile terminal in the first area by using one or more positioning methods is P i , P i =[P i1 (x i1 , y i1 ); P i2 (x i2 , y i2); P i3 ( x i3, y i3); P i4 (x i4, y i4); ......]; defined collection point P ij of the weighting factor λ ij, the terminal weighting factor θ i , the positioning weighting factor η ij , the precision weighting factor ε ij .
采集点Pij的权重因子λij等于终端权重因子θi、定位权重因子ηij、精度权重因子εij中至少一个的乘积。The weighting factor λ ij of the collection point P ij is equal to the product of at least one of the terminal weighting factor θ i , the positioning weighting factor η ij , and the precision weighting factor ε ij .
本申请实施例以λij=θiijij为例来说明包含权重因子时各个位置点的概率统计计算方法。In the embodiment of the present application, λ ij = θ i * η ij * ε ij is taken as an example to describe a method for calculating the probability and statistics of each position point when the weighting factor is included.
第一区域中位置为(x,y)的采集点的概率为f(x,y)为:The probability of a collection point with a position (x, y) in the first region is f(x, y):
Figure PCTCN2017094135-appb-000003
Figure PCTCN2017094135-appb-000003
可以理解,本申请实施例中以二维空间的采集点为例来描述电子地图中道路的绘制方法,本申请提供的各种电子地图中道路的绘制方法适用于三维空间的采集点。It can be understood that, in the embodiment of the present application, a method for drawing a road in an electronic map is described by taking a collection point in a two-dimensional space as an example. The method for drawing a road in various electronic maps provided by the present application is applicable to a collection point in a three-dimensional space.
下面介绍本申请实施例中涉及的第一宽度的设置方法。The setting method of the first width involved in the embodiment of the present application is described below.
方法一:位置信息可以包括移动终端的标识,地图服务器根据移动终端的标识确定第一宽度。例如,地图服务器可以根据移动终端的标识识别该移动终端的类型,当第一区域内包含类型为车载终端的采集点时,则第一区域对应的路段可行驶车辆,地图服务器可以基于车辆的宽度设置第一宽度,比如第一宽度为3m。当第一区域内不包含类型为车载终端的采集点时,则第一区域内采集点为移动手机或者可穿戴设备采集的,第一宽度可以基于人的尺寸设置第一宽度,比如第一宽度为1m。Method 1: The location information may include an identifier of the mobile terminal, and the map server determines the first width according to the identifier of the mobile terminal. For example, the map server may identify the type of the mobile terminal according to the identifier of the mobile terminal. When the first area contains the collection point of the type of the vehicle-mounted terminal, the road segment corresponding to the first area may drive the vehicle, and the map server may be based on the width of the vehicle. Set the first width, for example, the first width is 3m. When the first area does not include the collection point of the type of the vehicle-mounted terminal, the collection point in the first area is collected by the mobile phone or the wearable device, and the first width may be set to a first width, such as the first width, based on the size of the person. It is 1m.
方法二:地图服务器可以根据第一区域内采集点的分散程度来计算第一宽度,其中, 第一宽度为在垂直于线路方向上概率为第三概率值的两个位置点之间的距离。该线路为道路的对称轴。请参阅图8,图8是本申请实施例提供的一种第一宽度计算方法的原理示意图。地图服务器可以统计各个位置点的概率,参见公式(2)和公式(3)所示的概率计算方法。通常,在垂直于线路的方向上,各个位置的概率随该位置与该线路的距离的增大而减小,比如,图8所示的正态分布曲线。在垂直于线路方向上概率为第三概率值P的两个位置点A和B之间的距离d。Method 2: The map server can calculate the first width according to the degree of dispersion of the collected points in the first area, where The first width is the distance between two position points whose probability is a third probability value perpendicular to the line direction. This line is the axis of symmetry of the road. Please refer to FIG. 8. FIG. 8 is a schematic diagram of a first width calculation method according to an embodiment of the present application. The map server can count the probability of each location point, see the probability calculation method shown in equation (2) and formula (3). Generally, in the direction perpendicular to the line, the probability of each position decreases as the distance of the position from the line increases, such as the normal distribution curve shown in FIG. The distance d between the two position points A and B whose probability is the third probability value P in the direction perpendicular to the line.
下面介绍本申请涉及的确定道路的行驶方向的方法。The method of determining the traveling direction of a road according to the present application will be described below.
本申请实施例中,采集点的位置信息可以包括该采集点的定位时间。地图服务器可以根据接收到的数据组确定通过该数据组形成的道路的行驶方向。In the embodiment of the present application, the location information of the collection point may include a positioning time of the collection point. The map server can determine the direction of travel of the road formed by the data set based on the received data set.
假设第i移动终端通过某一种或多种定位方法在第i区域上报的采集点的位置信息可以组成数据组Pi,数据组Pi可以包括按照定位时间顺序排列的采集点的位置信息(即数据元素Pij),移动终端可以根据该数据组内各个采集点的位置信息确定移动终端的移动方向。当数据集Rk数据集中所有的数据组确定的移动方向相同时,则通过该数据集Rk绘制的道路为单行道,其行驶方向与移动终端的移动方向一致。当数据集Rk数据集中各个数据组确定的移动方向不同时,则通过该数据集Rk绘制的道路为双行道。可选地,该地图服务器可以选定数据组中车载终端上传的采集点的位置信息进行道路行驶方向的确定。It is assumed that the location information of the collection point reported by the ith mobile terminal in the ith area by using one or more positioning methods may constitute the data group P i , and the data group P i may include the location information of the collection points arranged in the order of the positioning time ( That is, the data element P ij ), the mobile terminal can determine the moving direction of the mobile terminal according to the location information of each collection point in the data group. When the data set of all R k dataset to determine the moving direction of the same data set, the data set through R k road drawn as one-way travel direction thereof coincides with the moving direction of the mobile terminal. When the moving directions determined by the respective data groups in the data set R k data set are different, the road drawn by the data set R k is a two-lane road. Optionally, the map server may determine location information of the road travel direction by selecting location information of the collection point uploaded by the vehicle terminal in the data group.
本申请一实施例中,移动终端还可以向地图服务器发送针对第一位置的标记信息,地图服务器接收该标记信息,并在电子地图中第一位置关联标记信息。其中,第一位置可以是位置点,也可以是位置区域。标记信息可以是文字、图片、视频、音频等中的至少一种。关联的方式可以是在第一位置添加标记信息,或在第一位置创建链接,以链接标记信息等。In an embodiment of the present application, the mobile terminal may further send the tag information for the first location to the map server, the map server receives the tag information, and associates the tag information with the first location in the electronic map. The first location may be a location point or a location area. The tag information may be at least one of text, picture, video, audio, and the like. The association may be by adding tag information at the first location, or creating a link at the first location, linking the tag information, and the like.
例如,第一位置为电梯所在位置,移动终端可以针对电梯所在位置发送标记信息,该标记信息“电梯”,地图服务器可以在第一位置添加文字“电梯”或添加电梯的图标等。For example, the first location is the location of the elevator, and the mobile terminal can send the marking information to the location of the elevator. The marking information is “elevator”, and the map server can add the text “elevator” or the icon of the elevator in the first location.
本申请一实施例中,地图服务器还可以在电子地图中针对各个区域内的道路标记更新时间。该更新时间用于指示最近的一次更新该区域内道路的时间。更新时间可以是最近一次接收到该区域内的采集点的时间,也可以是最近一次接收到的数据组内各个采集点的采集时间的平均值,本申请不作限制。可以理解,移动终端和/或地图服务器可以显示该电子地图显示界面。In an embodiment of the present application, the map server may also update the time in the electronic map for the road markings in each area. This update time is used to indicate the time of the most recent update of the road in the area. The update time may be the time when the collection point in the area is received last time, or may be the average value of the collection time of each collection point in the data group received last time, which is not limited in this application. It can be understood that the mobile terminal and/or the map server can display the electronic map display interface.
例如,请参阅图9,图9是本申请实施例提供的一种电子地图显示界面的结构示意图。如图9所示,电子地图显示界面90包括第一区域910,第二区域920以及第三区域930。第一区域910包括道路911,道路911的更新时间为“7月3日14时”。第二区域920包括道路921,道路921的更新时间为“6月26日9时”。第一区域930包括道路931,道路931的更新时间为“10月10日15时”。更新时间可以如图9所示直接显示在对应的道路上,也可以在道路所在区域添加图标,当点击或放大该图标所在区域地图时,在该道路所在区域显示更新时间。For example, please refer to FIG. 9. FIG. 9 is a schematic structural diagram of an electronic map display interface according to an embodiment of the present application. As shown in FIG. 9, the electronic map display interface 90 includes a first area 910, a second area 920, and a third area 930. The first area 910 includes a road 911, and the update time of the road 911 is "14:00 on July 3". The second area 920 includes a road 921, and the update time of the road 921 is "9:00 on June 26". The first area 930 includes the road 931, and the update time of the road 931 is "10:00 on October 10". The update time can be directly displayed on the corresponding road as shown in FIG. 9, or an icon can be added in the area where the road is located. When the map of the area where the icon is located is clicked or enlarged, the update time is displayed in the area where the road is located.
本申请一实施例中,移动终端还可以向地图服务器发送针对第一区域的更新请求,地图服务器接收该更新请求,并向移动终端发送第一区域对应的地图数据,移动终端接收到 该地图数据后,更新电子地图上第一区域的地图。例如,当移动终端当前显示电子地图的第一区域时,移动终端可以向地图服务器发送针对该第一区域的更新请求,该更新请求携带第一区域的更新时间,当地图服务器判断接收到的更新时间是否与本地电子地图中第一区域对应的道路的更新时间相同,如果是,则移动终端侧的电子地图的第一区域是最新的地图,不需要进行更新,否则,向移动终端发送第一区域对应的地图数据,移动终端接收该地图数据并更新电子地图上第一区域的地图。In an embodiment of the present application, the mobile terminal may further send an update request for the first area to the map server, and the map server receives the update request, and sends the map data corresponding to the first area to the mobile terminal, where the mobile terminal receives the After the map data, the map of the first area on the electronic map is updated. For example, when the mobile terminal currently displays the first area of the electronic map, the mobile terminal may send an update request for the first area to the map server, the update request carries the update time of the first area, and the local map server determines the received update. Whether the time is the same as the update time of the road corresponding to the first area in the local electronic map, and if so, the first area of the electronic map on the mobile terminal side is the latest map, and no update is required, otherwise, the first is sent to the mobile terminal. The map data corresponding to the area, the mobile terminal receives the map data and updates the map of the first area on the electronic map.
下面介绍本申请涉及的地图服务器管理地图数据的实施方式:The following describes the implementation of the map server management map data involved in the present application:
地图服务器接收多个移动终端发送的至少一个采集点的位置信息。可以假设第i移动终端通过某一种或多种定位方法在第K区域上报的采集点的位置信息可以组成数据组Pi,数据组Pi可以包括数据元素Pij,Pij为第i移动终端上报的第j个采集点的位置信息,且i,j为正整数。数据组Pij参与生成的该第K区域内的道路,第K区域内所有数据组Pi组成数据集RkThe map server receives location information of at least one collection point sent by the plurality of mobile terminals. It can be assumed that the location information of the collection point reported by the ith mobile terminal in the Kth area by using one or more positioning methods may constitute a data group P i , and the data group P i may include the data element P ij , and P ij is the ith movement The position information of the jth collection point reported by the terminal, and i, j is a positive integer. The data group P ij participates in the generated road in the Kth area, and all data groups P i in the Kth area constitute the data set R k .
地图服务器可以针对各个区域内的位置信息可以划分两个数据区:激活区和老化区。激活区包括至少一个数据集,其中,地图服务器基于激活区内的采集点通过上述实施例描述的电子地图绘制方法绘制电子地图,也就是说,激活区内数据集Rk中的采集点绘制生成第K区域内的路段。老化区内的的采集点不参与绘制电子地图。激活区和老化区内的数据可以进行转移。The map server can divide two data areas for the location information in each area: an active area and an aging area. The activation area includes at least one data set, wherein the map server draws an electronic map by using the electronic map drawing method described in the above embodiment based on the collection points in the active area, that is, the collection points in the data set R k in the active area are generated and generated. The road section in the Kth area. The collection points in the aging zone are not involved in drawing an electronic map. Data in the active and aging zones can be transferred.
在移动终端接收到采集点的位置信息后,将该采集点的位置信息组成的数据组加入到该采集点所在区域对应的数据集,并将该数据集划分在激活区。After the mobile terminal receives the location information of the collection point, the data group composed of the location information of the collection point is added to the data set corresponding to the area where the collection point is located, and the data set is divided into the activation area.
激活区可以包括第二区域对应的数据集。地图服务器可以判断在第一时间段内接收到的采集点是否都不在第二区域,如果是,则认为第二区域内的路段在该第一时间段内未有人或车涉足,地图服务器可以将第二区域内的数据集移至老化区,此时,地图服务器可更新电子地图,删除电子地图上将第二区域内的路段;否则,第二区域内的路段在该第一时间段内有人或车涉足,第二区域对应的数据集保持在激活区。The activation area may include a data set corresponding to the second area. The map server can determine whether the collection point received in the first time period is not in the second area, and if so, it is considered that the road segment in the second area has no people or vehicles involved in the first time period, and the map server can The data set in the second area is moved to the aging area. At this time, the map server may update the electronic map to delete the road section in the second area on the electronic map; otherwise, the road section in the second area is in the first time period. Or the car is involved, the corresponding data set of the second area remains in the active area.
老化区可以包括第三区域对应的数据集。当地图服务器接收到移动终端发送的至少一个采集点的位置信息后,地图服务器可以判断上报的采集点是否在第三区域的范围之内,如果是将第三区域对应的数据集移至激活区,此时,地图服务器可更新电子地图,在电子地图上添加第三区域对应的数据集绘制的路段;否则,第三区域对应的数据集保持在老化区。The aging zone may include a data set corresponding to the third zone. After the map server receives the location information of the at least one collection point sent by the mobile terminal, the map server may determine whether the reported collection point is within the range of the third area, if the data set corresponding to the third area is moved to the activation area. At this time, the map server may update the electronic map, and add a road segment drawn by the data set corresponding to the third area on the electronic map; otherwise, the data set corresponding to the third area remains in the aging area.
下面介绍本申请实施例涉及的一种移动终端,请参阅图10,图10是本申请实施例提供的一种移动终端的结构框架图。该移动终端100包括:A mobile terminal according to an embodiment of the present application is described. Referring to FIG. 10, FIG. 10 is a structural structural diagram of a mobile terminal according to an embodiment of the present application. The mobile terminal 100 includes:
获取单元101,用于通过定位获取采集点的位置信息;The obtaining unit 101 is configured to acquire location information of the collection point by using positioning;
发送单元102,用于将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端100发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。The sending unit 102 is configured to send the location information to the map server, so that after the map server receives the location information, the map server is included by the mobile terminal 100 according to the first area included in the electronic map. The location information of the transmitted collection point is drawn in the first area of the electronic map.
本申请一实施例中,所述获取单元101通过定位系统获取采集点的位置信息,具体包 括:In an embodiment of the present application, the acquiring unit 101 acquires location information of a collection point by using a positioning system, and the specific package include:
在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,通过惯性定位或室内定位获取采集点的位置信息;或,After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
根据当前位置的场合类别,通过与所述场合类别对应的定位方法获取采集点的位置信息;或,Obtaining location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location; or
检测当前可用的定位方法,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。Detecting a currently available positioning method, the available positioning method includes a first positioning method, receiving a selection instruction for the first positioning method, and acquiring location information of the collection point by using the first positioning method.
本申请一实施例中,所述发送单元102将所述位置信息发送至地图服务器,具体包括:In an embodiment of the present application, the sending unit 102 sends the location information to a map server, specifically:
所述发送单元102用于以固定的周期向地图服务器发送所述位置信息;或,The sending unit 102 is configured to send the location information to a map server at a fixed period; or
所述移动终端100还包括存储单元,用于缓存所述位置信息;所述发送单元102还用于在缓存的位置信息的数据大小不小于存储阈值时,向地图服务器所述缓存的位置信息。The mobile terminal 100 further includes a storage unit for buffering the location information. The sending unit 102 is further configured to: when the data size of the cached location information is not less than a storage threshold, the cached location information to the map server.
本申请一实施例中,所述获取单元101还用于:接收针对第一位置的标记信息;In an embodiment of the present application, the acquiring unit 101 is further configured to: receive tag information for the first location;
所述发送单元102还用于:将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。The sending unit 102 is further configured to: send the tag information to the map server, so that after receiving the tag information, the map server associates the tag with the first location in an electronic map. information.
本申请一实施例中,所述发送单元102还用于:向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端100发送所述第一区域对应的地图数据;In an embodiment of the present application, the sending unit 102 is further configured to: send an update request for the first area to the map server, so that after the map server receives the update request, the map server Sending, to the mobile terminal 100, map data corresponding to the first area;
所述获取单元101还用于:接收所述地图服务器发送的所述地图数据;The obtaining unit 101 is further configured to: receive the map data sent by the map server;
所述移动终端100还包括处理单元,用于:根据所述地图数据,更新所述移动终端100中电子地图上所述第一区域内的地图。The mobile terminal 100 further includes a processing unit, configured to: update a map in the first area on the electronic map in the mobile terminal 100 according to the map data.
可理解的是,移动终端100中各功能模块的功能可根据上述方法实施例中的方法具体实现,这里不再赘述。It can be understood that the functions of the functional modules in the mobile terminal 100 can be specifically implemented according to the method in the foregoing method embodiment, and details are not described herein again.
本申请实施例中,移动终端通过定位获取采集点的位置信息;并将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,根据包含在电子地图第一区域内的由移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。本申请实施例通过移动终端作为采集设备,获取采集点的位置信息,提供了一种成本低、简便的电子地图中道路的绘制方法,可实现电子地图的实时更新。In the embodiment of the present application, the mobile terminal acquires the location information of the collection point by positioning, and sends the location information to the map server, so that after the location information is received by the map server, the first information is included in the electronic map. The location information of the collection point sent by the mobile terminal in the area, and the road is drawn in the first area of the electronic map. The embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
下面介绍本申请实施例涉及的另一种移动终端,请参阅图11,图11是本申请实施例提供的另一种移动终端的结构框架图,该移动终端110可以包括处理器111、存储器112、输入模块113、输出模块114、通信模块115以及传感器106。处理器111可以通过总线117连接到存储器112、输入模块113、输出模块114、通信模块115以及传感器106。可以理解,输入模块103、输出模块114以及传感器116不是本申请实施例中移动终端110必要的组成部分,在某些实施例中移动终端110也可以不包括输入模块113、输出模块114以及运动传感器106而实现本申请实施例描述的电子地图中道路绘制方法。The following is a description of another mobile terminal according to an embodiment of the present application. Referring to FIG. 11, FIG. 11 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure. The mobile terminal 110 may include a processor 111 and a memory 112. The input module 113, the output module 114, the communication module 115, and the sensor 106. The processor 111 can be connected to the memory 112, the input module 113, the output module 114, the communication module 115, and the sensor 106 via a bus 117. It can be understood that the input module 103, the output module 114, and the sensor 116 are not necessary components of the mobile terminal 110 in the embodiment of the present application. In some embodiments, the mobile terminal 110 may not include the input module 113, the output module 114, and the motion sensor 106. A road drawing method in an electronic map described in the embodiment of the present application is implemented.
其中,处理器111可以是一个或多个中央处理器(英文:Central Processing Unit,简称:CPU),在处理器111是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。处理器111利用各种接口和线路连接整个移动终端110的各个部分,通过运行或执行存储在存储器112内的计算机程序和/或模块,以及调用存储在存储器112内的数据,执 行终端的各种功能和处理数据,从而对移动终端110进行整体监控。The processor 111 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case that the processor 111 is a CPU, the CPU may be a single core CPU or a multi-core CPU. . The processor 111 connects various portions of the entire mobile terminal 110 using various interfaces and lines, by running or executing computer programs and/or modules stored in the memory 112, and invoking data stored in the memory 112. The various functions of the terminal and the processing data are used to perform overall monitoring of the mobile terminal 110.
存储器112用于存储指令和数据。存储器112包括但不限于是随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、或便携式只读存储器(CD-ROM),该存储器112用于相关指令及数据。存储器112还用于存储本申请涉及的采集点的位置信息。 Memory 112 is used to store instructions and data. Memory 112 includes, but is not limited to, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), or portable read only memory (CD-ROM), Memory 112 is used for related instructions and data. The memory 112 is also used to store location information of the collection points involved in the present application.
输入模块113可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入模块113可包括触敏表面1131以及其他输入模块。触敏表面1131,也称为触摸显示面板或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面1131上或在触敏表面1131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器111,并能接收处理器111发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面1131。除了触敏表面1131,输入模块113还可以包括其他输入模块。具体地,其他输入模块1131可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。虽然图11示出了输入模块113,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The input module 113 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, the input module 113 can include a touch-sensitive surface 1131 as well as other input modules. Touch-sensitive surface 1131, also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 1131 or on the touch-sensitive surface 1131 The operation near the touch-sensitive surface 1131) and driving the corresponding connecting device according to a preset program. Alternatively, the touch-sensitive surface 1131 may include two parts of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 111 is provided and can receive commands from the processor 111 and execute them. In addition, the touch sensitive surface 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 1131, the input module 113 can also include other input modules. Specifically, the other input modules 1131 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. Although FIG. 11 shows the input module 113, it can be understood that it does not belong to the necessary configuration of the terminal, and can be omitted as needed within the scope of not changing the essence of the invention.
输出模块114可用于显示由用户输入的信息或提供给用户的信息以及终端的各种图形用户界面(比如本发明实施例中所描述的移动轨迹显示界面置等),这些图形用户界面可以由图形、文本、图标、视频和其任意组合来构成。输出模块114可包括显示面板1141,可选的,显示面板1141可以采用液晶显示器(英文:liquid crystal display,LCD)、有机发光二极管(英文:organic light-emitting diode,OLED)等形式来配置。进一步的,触敏表面1131可覆盖显示面板1141,当触敏表面1131检测到在其上或附近的触摸操作后,传送给处理器1101以确定触摸事件的类型,随后处理器111根据触摸事件的类型在显示面板1141上提供相应的视觉输出。虽然在图11中,触敏表面1131与显示面板1141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面1131与显示面板1141集成而实现输入和输出功能。虽然图11示出了输出模块114,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The output module 114 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal (such as the mobile track display interface described in the embodiment of the present invention), and the graphical user interfaces can be represented by graphics , text, icons, videos, and any combination of them. The output module 114 can include a display panel 1141. Alternatively, the display panel 1141 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch-sensitive surface 1131 may cover the display panel 1141, and when the touch-sensitive surface 1131 detects a touch operation thereon or nearby, it is transmitted to the processor 1101 to determine the type of the touch event, and then the processor 111 according to the touch event The type provides a corresponding visual output on the display panel 1141. Although in FIG. 11, the touch-sensitive surface 1131 and the display panel 1141 are implemented as two separate components to implement input and input functions, in some embodiments, the touch-sensitive surface 1131 can be integrated with the display panel 1141 to implement input. And output function. Although FIG. 11 shows the output module 114, it can be understood that it does not belong to the essential configuration of the terminal, and may be omitted as needed within the scope of not changing the essence of the invention.
通信模块115用于建立通信信道,使移动终端110通过所述通信信道以连接至通信对端,,比如卫星、基站或服务器等,并通过所述通信信道与所述通信对端交互数据。该通信模块可以包括基带模块1151、GPS模块1152、WiFi模块1152、BDS模块1154等中的至少一种。基带模块1151、GPS模块1152、WiFi模块1153等可以实现移动终端110的定位以及与各个通信对端,如地图服务器,之间的数据交换。The communication module 115 is configured to establish a communication channel, and the mobile terminal 110 is connected to the communication peer through the communication channel, such as a satellite, a base station or a server, and the like, and interacts with the communication peer through the communication channel. The communication module may include at least one of a baseband module 1151, a GPS module 1152, a WiFi module 1152, a BDS module 1154, and the like. The baseband module 1151, the GPS module 1152, the WiFi module 1153, and the like can implement positioning of the mobile terminal 110 and data exchange with various communication peers, such as a map server.
移动终端110可以传感器106追踪移动终端110的运动轨迹。传感器106可包括陀螺仪传感器、加速度传感器、气压传感器、磁力传感器、重力传感器、图像传感器、距离传感器等中的至少一种,其中,陀螺仪传感器用于检测移动终端110的移动方向的信息;加 速度传感器用于检测移动终端110的移动速度的变化信息;气压传感器用于检测移动终端110的海拔高度信息;磁力传感器用于辅助检测移动终端110的移动方向的信息;重力传感器可用于辅助检测移动终端110的移动方向的信息;图像传感器(比如摄像头)可以用于获取终端周围环境的图像信息;距离传感器可以是激光测距装置、声波测距装置、图像测距装置等,可以用来检测移动终端110与其他标的物的相对距离等;终端还可配置其他传感器,此处不再赘述。移动终端110可以通过传感器116结合其他定位方法实现惯性定位。The mobile terminal 110 can track the motion trajectory of the mobile terminal 110 by the sensor 106. The sensor 106 may include at least one of a gyro sensor, an acceleration sensor, a barometric pressure sensor, a magnetic force sensor, a gravity sensor, an image sensor, a distance sensor, and the like, wherein the gyro sensor is used to detect information on the moving direction of the mobile terminal 110; The speed sensor is used to detect change information of the moving speed of the mobile terminal 110; the air pressure sensor is used to detect the altitude information of the mobile terminal 110; the magnetic sensor is used to assist in detecting the moving direction of the mobile terminal 110; the gravity sensor can be used to assist in detecting the movement Information about the direction of movement of the terminal 110; an image sensor (such as a camera) may be used to acquire image information of the environment surrounding the terminal; the distance sensor may be a laser ranging device, an acoustic ranging device, an image ranging device, etc., and may be used to detect movement The relative distance between the terminal 110 and other objects; the terminal can also be configured with other sensors, and details are not described herein again. The mobile terminal 110 can achieve inertial positioning by the sensor 116 in conjunction with other positioning methods.
处理器111用于读取所述存储器中存储的指令和数据,执行如下操作:The processor 111 is configured to read instructions and data stored in the memory, and perform the following operations:
通过定位获取采集点的位置信息;Obtain location information of the collection point by positioning;
通过所述通信模块115将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端110发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Sending the location information to the map server by the communication module 115, so that after the map server receives the location information, the map server is included by the mobile terminal 110 according to the first area included in the electronic map. The location information of the transmitted collection point is drawn in the first area of the electronic map.
本申请一实施例中,所述处理器111通过定位系统获取采集点的位置信息的实施方式可以是以下实施方式的一种:In an embodiment of the present application, the implementation manner that the processor 111 acquires the location information of the collection point by using the positioning system may be one of the following embodiments:
第一实施方式,在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,处理器111通过惯性定位或室内定位获取采集点的位置信息;In the first embodiment, after detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, the processor 111 acquires the location information of the collection point by inertial positioning or indoor positioning;
第二实施方式,根据当前位置的场合类别,处理器111通过与所述场合类别对应的定位方法获取采集点的位置信息;In the second embodiment, the processor 111 acquires the location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location;
第三实施方式,检测当前可用的定位方法,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,处理器111通过所述第一定位方法获取采集点的位置信息。The third embodiment detects a currently available positioning method, where the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and the processor 111 acquires a collection point by using the first positioning method. location information.
本申请一实施例中,所述处理器111通过所述通信模块将所述位置信息发送至地图服务器,具体包括:In an embodiment of the present application, the processor 111 sends the location information to the map server by using the communication module, which specifically includes:
通过所述通信模块115以固定的周期向地图服务器发送所述位置信息;或,Sending the location information to the map server through the communication module 115 at a fixed period; or
通过存储器112缓存所述位置信息,在缓存的位置信息的数据大小不小于存储阈值时,通过所述通信模块115向地图服务器所述缓存的位置信息。The location information is buffered by the memory 112, and the cached location information is transmitted to the map server by the communication module 115 when the data size of the cached location information is not less than a storage threshold.
本申请一实施例中,所述移动终端110还包括输入模块113,所述处理器111还用于执行:In an embodiment of the present application, the mobile terminal 110 further includes an input module 113, where the processor 111 is further configured to:
通过所述输入模块113接收针对第一位置的标记信息;Receiving, by the input module 113, tag information for the first location;
通过所述通信模块115将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。The tag information is sent to the map server by the communication module 115, so that the map server associates the tag information in the electronic map corresponding to the first location after receiving the tag information.
本申请一实施例中,所述处理器111还用于执行:In an embodiment of the present application, the processor 111 is further configured to:
通过所述通信模块115向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端110发送所述第一区域对应的地图数据;Sending, by the communication module 115, an update request for the first area to the map server, so that the map server sends the update request to the mobile terminal 110 after the map server receives the update request Map data corresponding to an area;
通过所述通信模块115接收所述地图服务器发送的所述地图数据;Receiving, by the communication module 115, the map data sent by the map server;
根据所述地图数据,更新所述移动终端110中电子地图上所述第一区域内的地图。Updating the map in the first area on the electronic map in the mobile terminal 110 according to the map data.
可理解的是,移动终端110中各功能模块的功能可根据上述方法实施例中的方法具体实现,这里不再赘述。 It can be understood that the functions of the functional modules in the mobile terminal 110 can be specifically implemented according to the method in the foregoing method embodiment, and details are not described herein again.
本申请实施例中,移动终端通过定位获取采集点的位置信息;并将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,根据包含在电子地图第一区域内的由移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。本申请实施例通过移动终端作为采集设备,获取采集点的位置信息,提供了一种成本低、简便的电子地图中道路的绘制方法,可实现电子地图的实时更新。In the embodiment of the present application, the mobile terminal acquires the location information of the collection point by positioning, and sends the location information to the map server, so that after the location information is received by the map server, the first information is included in the electronic map. The location information of the collection point sent by the mobile terminal in the area, and the road is drawn in the first area of the electronic map. The embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
下面介绍本申请实施例涉及的一种地图服务器,请参阅图12,图12是本申请实施例提供的一种地图服务器的结构框架图,该地图服务器120,包括:The following is a description of a map server according to an embodiment of the present application. Referring to FIG. 12, FIG. 12 is a structural framework diagram of a map server according to an embodiment of the present application. The map server 120 includes:
接收单元121,用于接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;The receiving unit 121 is configured to receive location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
处理单元122,用于根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。The processing unit 122 is configured to draw a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal included in the first area of the electronic map.
本申请一实施例中,所述处理单元122根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processing unit 122 draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理单元122根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processing unit 122 draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening a location point whose probability is greater than the first probability value;
根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路;Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理单元122根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processing unit 122 draws a road in the first area of the electronic map according to the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
本申请一实施例中,所述处理单元122对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,具体包括:In an embodiment of the present application, the processing unit 122 performs probability statistics on the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
本申请一实施例中,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位 方法;所述处理单元122确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子,具体包括:In an embodiment of the present application, the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point. Positioning The processing unit 122 determines a weighting factor of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
本申请一实施例中,所述位置信息还包括定位所述采集点的移动终端的标识信息,所述处理单元在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元122还用于:In an embodiment of the present application, the location information further includes identifier information of the mobile terminal that locates the collection point, and the processing unit generates a first width in the first area of the electronic map by using the line as a symmetry axis. The processing unit 122 is further configured to:
根据所述移动终端的标识信息确定第一宽度。Determining a first width according to the identification information of the mobile terminal.
本申请一实施例中,所述处理单元122在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元122还用于:In an embodiment of the present application, the processing unit 122 is configured to: before the road of the first width is generated by using the line as the axis of symmetry in the first area of the electronic map, the processing unit 122 is further configured to:
根据所述移动终端的标识信息确定所述移动终端的类型;以及,Determining a type of the mobile terminal according to the identification information of the mobile terminal; and
根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
本申请一实施例中,所述处理单元122在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元122还用于:In an embodiment of the present application, the processing unit 122 is configured to: before the road of the first width is generated by using the line as the axis of symmetry in the first area of the electronic map, the processing unit 122 is further configured to:
计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。Calculating a first width; the first width being a distance between two position points having a probability of being a third probability value perpendicular to the line direction.
本申请一实施例中,所述处理单元122还用于:In an embodiment of the present application, the processing unit 122 is further configured to:
在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。Marking the update time of the road in the first area of the electronic map; the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
本申请一实施例中,所述接收单元121还用于:接收所述移动终端发送的针对第一位置的标记信息;In an embodiment of the present application, the receiving unit 121 is further configured to: receive the tag information sent by the mobile terminal for the first location;
所述处理单元122还用于:在所述电子地图中所述第一位置关联所述标记信息。The processing unit 122 is further configured to associate the tag information in the first location in the electronic map.
本申请一实施例中,所述接收单元121还用于:接收所述移动终端发送的针对所述第一区域的更新请求;In an embodiment of the present application, the receiving unit 121 is further configured to: receive an update request sent by the mobile terminal for the first area;
所述地图服务器120还包括发送单元,用于向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。The map server 120 further includes a sending unit, configured to send, to the mobile terminal, map data corresponding to the first area, so that after the mobile terminal receives the map data, the mobile terminal is according to the map Data, updating a map in the first area on the electronic map in the mobile terminal.
本申请一实施例中,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器120在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述接收移动终端发送的采集点的位置信息之后,所述处理单元122还用于:In one embodiment of the present application, the collection point of the first region K of the position information of the data set consisting of R k; R k of the data set comprises at least one data set P i, P i of the data set to the map server 120 The i-th group of data received in the Kth area; the data group P i may include a data element P ij , and the data element P ij is position information of the jth collection point in the data group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the processing unit 122 is further configured to:
在所述接收单元121接收移动终端发送的采集点的位置信息之后,将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。After the receiving unit 121 receives the location information of the collection point sent by the mobile terminal, the data group composed of the location information of the collection point is added to the data set corresponding to the region where the collection point is located.
本申请一实施例中,所述地图服务器120包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;所述处理单元122还用于:In an embodiment of the present application, the map server 120 includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; and the processing unit 122 Also used for:
当第一时间段内所述地图服务器120接收到的采集点都不在所述第二区域时,所述地图服务器120将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所 述第二区域内的道路;或,When the collection point received by the map server 120 in the first time period is not in the second area, the map server 120 moves the corresponding data set in the second area to the aging area, and deletes In the electronic map State the roads in the second area; or,
当所述地图服务器120接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server 120 receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and in the electronic map A road drawn by the data set corresponding to the third area is added to the three areas.
可理解的是,地图服务器120中各功能模块的功能可根据上述方法实施例中的方法具体实现,这里不再赘述。It can be understood that the functions of the function modules in the map server 120 can be specifically implemented according to the method in the foregoing method embodiment, and details are not described herein again.
本申请实施例中,地图服务器接收移动终端发送的采集点的位置信息,该位置信息为所述移动终端在采集点通过定位获取;进而,根据包含在电子地图第一区域内的由移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。本申请实施例通过移动终端作为采集设备,获取采集点的位置信息,提供了一种成本低、简便的电子地图中道路的绘制方法,可实现电子地图的实时更新。In the embodiment of the present application, the map server receives the location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point; and further, is sent by the mobile terminal according to the first area included in the electronic map. The location information of the collection point is drawn in the first area of the electronic map. The embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
下面介绍本申请实施例涉及另的一种地图服务器,请参阅图13,图13是本申请实施例提供的另一种地图服务器的结构框架图,该地图服务器130,包括:处理器131、存储器132以及通信接口133。The following is a description of another embodiment of the present invention. Referring to FIG. 13 , FIG. 13 is a structural diagram of another map server according to an embodiment of the present disclosure. The map server 130 includes a processor 131 and a memory. 132 and a communication interface 133.
其中,处理器131可以是一个或多个中央处理器(英文:Central Processing Unit,简称:CPU),在处理器131是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。处理器131利用各种接口和线路连接整个地图服务器130的各个部分,通过运行或执行存储在存储器132内的计算机程序和/或模块,以及调用存储在存储器132内的数据,执行终端的各种功能和处理数据,从而对地图服务器130进行整体监控。The processor 131 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case that the processor 131 is a CPU, the CPU may be a single core CPU or a multi-core CPU. . The processor 131 connects various portions of the entire map server 130 using various interfaces and lines, performs various operations of the terminal by running or executing computer programs and/or modules stored in the memory 132, and recalling data stored in the memory 132. The map server 130 is monitored as a whole by functioning and processing the data.
存储器132用于存储指令和数据。存储器132包括但不限于是随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、或便携式只读存储器(CD-ROM),该存储器132用于相关指令及数据。存储器132还用于存储本申请涉及的采集点的位置信息。 Memory 132 is used to store instructions and data. Memory 132 includes, but is not limited to, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), or portable read only memory (CD-ROM), Memory 132 is used for related instructions and data. The memory 132 is also used to store location information of the collection points involved in the present application.
通信接口133用于建立通信信道,使地图服务130通过所述通信信道以连接至通信对端,,比如移动终端、其他服务器等,并通过所述通信信道与所述通信对端交互数据。The communication interface 133 is configured to establish a communication channel through which the map service 130 is connected to a communication peer, such as a mobile terminal, other server, etc., and interacts with the communication peer through the communication channel.
所述处理器131用于读取所述存储器中存储的指令和数据,执行如下操作:The processor 131 is configured to read instructions and data stored in the memory, and perform the following operations:
通过所述通信接口133接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;Receiving, by the communication interface 133, location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Drawing a road in the first area of the electronic map according to location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map.
本申请一实施例中,所述处理器131根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processor 131 draws a road in the first area of the electronic map according to the location information of the collection point that is sent by the mobile terminal in the first area of the electronic map, and specifically includes:
根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理器131根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processor 131 draws a road in the first area of the electronic map according to the location information of the collection point that is sent by the mobile terminal in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统 计,筛选概率大于第一概率值的位置点;Probabilistically locating the location information of the collection points sent by the mobile terminal in the first area of the electronic map a point where the screening probability is greater than the first probability value;
根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路;Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
本申请一实施例中,所述处理器131根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:In an embodiment of the present application, the processor 131 draws a road in the first area of the electronic map according to the location information of the collection point that is sent by the mobile terminal in the first area of the electronic map, and specifically includes:
对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
本申请一实施例中,所述处理器131对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,具体包括:In an embodiment of the present application, the processor 131 performs probability statistics on the location information of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
本申请一实施例中,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位方法;所述处理器131确定所述采集点的权重因子,具体包括:In an embodiment of the present application, the location information further includes at least one of positioning identifier information, identification information of a mobile terminal, or a positioning accuracy factor, where the positioning identifier information is used to instruct the mobile terminal to locate the collection point. a positioning method; the processor 131 determines a weighting factor of the collection point, specifically:
根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
本申请一实施例中,所述位置信息还包括定位所述采集点的移动终端的标识信息;所述处理器131在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理器131还用于执行:In an embodiment of the present application, the location information further includes identifier information of the mobile terminal that locates the collection point; and the processor 131 generates the first axis in the first area of the electronic map by using the line as a symmetry axis. Before the width of the road, the processor 131 is further configured to execute:
根据所述移动终端的标识信息确定第一宽度。Determining a first width according to the identification information of the mobile terminal.
本申请一实施例中,所述处理器131根据所述移动终端的标识信息确定第一宽度,具体包括:In an embodiment of the present application, the processor 131 determines the first width according to the identifier information of the mobile terminal, and specifically includes:
根据所述移动终端的标识信息确定所述移动终端的类型;Determining a type of the mobile terminal according to the identification information of the mobile terminal;
根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
本申请一实施例中,所述处理器131在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理器131还用于执行:In an embodiment of the present application, the processor 131 is further configured to: before the path of the first width is generated by using the line as the axis of symmetry in the first area of the electronic map, the processor 131 is further configured to:
计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。Calculating a first width; the first width being a distance between two position points having a probability of being a third probability value perpendicular to the line direction.
本申请一实施例中,所述处理器131还用于执行:In an embodiment of the present application, the processor 131 is further configured to:
在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。Marking the update time of the road in the first area of the electronic map; the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
本申请一实施例中,所述处理器131还用于执行:In an embodiment of the present application, the processor 131 is further configured to:
通过所述通信接口接收所述移动终端发送的针对第一位置的标记信息; Receiving, by the communication interface, the tag information sent by the mobile terminal for the first location;
在所述电子地图中所述第一位置关联所述标记信息。The first location in the electronic map is associated with the tag information.
本申请一实施例中,所述处理器131还用于执行:In an embodiment of the present application, the processor 131 is further configured to:
通过所述通信接口133接收所述移动终端发送的针对所述第一区域的更新请求;Receiving, by the communication interface 133, an update request sent by the mobile terminal for the first area;
通过所述通信接口133向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。Sending, by the communication interface 133, the map data corresponding to the first area to the mobile terminal, so that after the mobile terminal receives the map data, the mobile terminal updates the mobile according to the map data. A map in the first area on the electronic map in the terminal.
本申请一实施例中,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器130在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述处理器通过所述通信接口接收移动终端发送的采集点的位置信息之后,所述处理器131还用于执行:将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。In one embodiment of the present application, the collection point of the first region K of the position information of the data set consisting of R k; R k of the data set comprises at least one data set P i, P i of the data set to the map server 130 The i-th group of data received in the Kth area; the data group P i may include a data element P ij , and the data element P ij is position information of the jth collection point in the data group P i ; i, j is a positive integer; after the processor receives the location information of the collection point sent by the mobile terminal through the communication interface, the processor 131 is further configured to: perform data that is composed of the location information of the collection point. The group is added to the data set corresponding to the area where the collection point is located.
本申请一实施例中,所述地图服务器130包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;所述处理器131还用于执行:In an embodiment of the present application, the map server 130 includes an activation area and an aging area; the activation area includes a data set corresponding to the second area; the aging area includes a data set corresponding to the third area; and the processor 131 Also used to execute:
当第一时间段内所述地图服务器130接收到的采集点都不在所述第二区域时,将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或,When the collection point received by the map server 130 is not in the second area in the first time period, the corresponding data set in the second area is moved to the aging area, and the electronic map is deleted. a road within the second area; or,
当所述地图服务器130接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server 130 receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and in the electronic map A road drawn by the data set corresponding to the third area is added to the three areas.
可理解的是,地图服务器130中各功能模块的功能可根据上述方法实施例中的方法具体实现,这里不再赘述。It can be understood that the functions of the function modules in the map server 130 can be specifically implemented according to the method in the foregoing method embodiment, and details are not described herein again.
本申请实施例中,地图服务器接收移动终端发送的采集点的位置信息,该位置信息为所述移动终端在采集点通过定位获取;进而,根据包含在电子地图第一区域内的由移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。本申请实施例通过移动终端作为采集设备,获取采集点的位置信息,提供了一种成本低、简便的电子地图中道路的绘制方法,可实现电子地图的实时更新。In the embodiment of the present application, the map server receives the location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point; and further, is sent by the mobile terminal according to the first area included in the electronic map. The location information of the collection point is drawn in the first area of the electronic map. The embodiment of the present application obtains the location information of the collection point by using the mobile terminal as the collection device, and provides a low-cost and simple method for drawing the road in the electronic map, which can realize real-time updating of the electronic map.
本申请实施例中所使用的技术术语仅用于说明特定实施例而并不旨在限定本申请。在本文中,单数形式“一”、“该”及“所述”用于同时包括复数形式,除非上下文中明确另行说明。进一步地,在说明书中所使用的用于“包括”和/或“包含”是指存在所述特征、整体、步骤、操作、元件和/或构件,但是并不排除存在或增加一个或多个其它特征、整体、步骤、操作、元件和/或构件。The technical terms used in the examples of the present application are only for the purpose of illustrating the specific embodiments and are not intended to limit the application. In the present disclosure, the singular forms "a", "the" Further, the use of "including" and / or "comprising", in the specification, is used to mean the presence of the features, the whole, the steps, the operation, the elements and/or the components, but does not exclude the presence or addition of one or more Other features, integers, steps, operations, components and/or components.
在所附权利要求中对应结构、材料、动作以及所有装置或者步骤以及功能元件的等同形式(如果存在的话)旨在包括结合其他明确要求的元件用于执行该功能的任何结构、材料或动作。本申请的描述出于实施例和描述的目的被给出,但并不旨在是穷举的或者将被发明限制在所公开的形式。 The corresponding structures, materials, acts, and equivalents of the elements, and the equivalents of the functional elements, if any, are intended to include any structure, material, or action that is used to perform the function. The description of the present application is given for the purposes of illustration and description, and is not intended to be

Claims (57)

  1. 一种电子地图中道路绘制方法,其特征在于,包括:A road drawing method in an electronic map, characterized in that:
    地图服务器接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;The map server receives the location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
    所述地图服务器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。The map server draws a road in the first area of the electronic map according to location information of the collection point sent by the mobile terminal included in the first area of the electronic map.
  2. 如权利要求1所述的方法,其特征在于,所述根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路包括:The method according to claim 1, wherein the drawing of the road in the first area of the electronic map according to the location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map comprises :
    根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
    在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  3. 如权利要求1所述的方法,其特征在于,所述根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路包括:The method according to claim 1, wherein the drawing of the road in the first area of the electronic map according to the location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map comprises :
    对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening a location point whose probability is greater than the first probability value;
    根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路;Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
    在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  4. 如权利要求1所述的方法,其特征在于,所述根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路包括:The method according to claim 1, wherein the drawing of the road in the first area of the electronic map according to the location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map comprises :
    对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
    分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
    在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
  5. 如权利要求3或4所述的方法,其特征在于,所述对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计包括:The method according to claim 3 or 4, wherein the performing probability statistics on the location information of the collection point sent by the mobile terminal included in the first area of the electronic map comprises:
    确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
    利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  6. 如权利要求5所述的方法,其特征在于,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端 定位所述采集点的定位方法;所述确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子包括:The method according to claim 5, wherein the location information further comprises at least one of positioning identification information, identification information of the mobile terminal, or positioning accuracy factor; the positioning identification information is used to indicate the mobile terminal a positioning method for locating the collection point; the determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map includes:
    根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  7. 如权利要求2或3所述的方法,其特征在于,所述位置信息还包括定位所述采集点的移动终端的标识信息;所述在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述方法还包括:The method according to claim 2 or 3, wherein the location information further includes identification information of the mobile terminal that locates the collection point; and in the first area of the electronic map, the line is Before the symmetry axis generates the road of the first width, the method further includes:
    所述地图服务器根据所述移动终端的标识信息确定第一宽度。The map server determines a first width according to the identification information of the mobile terminal.
  8. 如权利要求2或3所述的方法,其特征在于,所述根据所述移动终端的标识信息确定第一宽度包括:The method according to claim 2 or 3, wherein the determining the first width according to the identification information of the mobile terminal comprises:
    根据所述移动终端的标识信息确定所述移动终端的类型;Determining a type of the mobile terminal according to the identification information of the mobile terminal;
    根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
  9. 如权利要求3所述的方法,其特征在于,所述在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述方法还包括:The method of claim 3, wherein the method further comprises: before the generating the road of the first width in the first region of the electronic map with the line as the axis of symmetry;
    所述地图服务器计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。The map server calculates a first width; the first width is a distance between two position points whose probability is a third probability value perpendicular to the line direction.
  10. 如权利要求1-9任一权利要求所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-9, wherein the method further comprises:
    所述地图服务器在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。The map server marks an update time of the road in the first area of the electronic map; the update time is used to indicate a time when the road in the first area of the electronic map is updated last time.
  11. 如权利要求1-10任一权利要求所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 10, wherein the method further comprises:
    所述地图服务器接收所述移动终端发送的针对第一位置的标记信息;The map server receives the tag information sent by the mobile terminal for the first location;
    所述地图服务器在所述电子地图中所述第一位置关联所述标记信息。The map server associates the tag information with the first location in the electronic map.
  12. 如权利要求1-11任一权利要求所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-11, wherein the method further comprises:
    所述地图服务器接收所述移动终端发送的针对所述第一区域的更新请求;The map server receives an update request sent by the mobile terminal for the first area;
    所述地图服务器向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。The map server sends the map data corresponding to the first area to the mobile terminal, so that after the mobile terminal receives the map data, the mobile terminal updates the mobile terminal according to the map data. A map within the first area on the electronic map.
  13. 如权利要求1-12任一权利要求所述的方法,其特征在于,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述接收移 动终端发送的采集点的位置信息之后,所述方法还包括:A method according to claim any one of claims 1-12, wherein said position information collection point data set consisting of K within the region R k; R k of the data set comprises at least one data set P i, The data group P i is an i-th group of data received by the map server in the K-th area; the data group P i may include a data element P ij , and the data element P ij is the data group Position information of the jth collection point in P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the method further includes:
    所述地图服务器将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。The map server adds a data group composed of the location information of the collection point to a data set corresponding to the area where the collection point is located.
  14. 如权利要求13所述的方法,其特征在于,所述地图服务器包括激活区和老化区;所述方法还包括:The method of claim 13, wherein the map server comprises an activation area and an aging area; the method further comprising:
    所述激活区包括第二区域对应的数据集;当第一时间段内所述地图服务器接收到的采集点都不在所述第二区域时,所述地图服务器将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或,The activation area includes a data set corresponding to the second area; when the collection point received by the map server in the first time period is not in the second area, the map server corresponding to the second area Moving the data set to the aging zone and deleting the road in the second zone in the electronic map; or
    所述老化区包括第三区域对应的数据集;当所述地图服务器接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。The aging zone includes a data set corresponding to the third zone; when the map server receives the location point of the third zone, the data set corresponding to the third zone is moved to the activation And adding a road drawn by the data set corresponding to the third area on the third area in the electronic map.
  15. 一种电子地图中道路绘制方法,其特征在于,包括:A road drawing method in an electronic map, characterized in that:
    移动终端通过定位获取采集点的位置信息;The mobile terminal acquires location information of the collection point by positioning;
    所述移动终端将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Sending, by the mobile terminal, the location information to a map server, so that after the map server receives the location information, the map server collects the information sent by the mobile terminal according to the first area included in the electronic map. The location information of the point, the road is drawn in the first area of the electronic map.
  16. 如权利要求15所述的方法,其特征在于,所述通过定位系统获取采集点的位置信息包括:The method according to claim 15, wherein the obtaining the location information of the collection point by the positioning system comprises:
    在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,通过惯性定位或室内定位获取采集点的位置信息;或,After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
    根据当前位置的场合类别,通过与所述场合类别对应的定位方法获取采集点的位置信息;或,Obtaining location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location; or
    检测当前可用的定位方法,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。Detecting a currently available positioning method, the available positioning method includes a first positioning method, receiving a selection instruction for the first positioning method, and acquiring location information of the collection point by using the first positioning method.
  17. 如权利要求15或16所述的方法,其特征在于,所述将所述位置信息发送至地图服务器包括:The method according to claim 15 or 16, wherein the transmitting the location information to the map server comprises:
    以固定的周期向地图服务器发送所述位置信息;或,Sending the location information to the map server at a fixed period; or,
    缓存所述位置信息,在缓存的位置信息的数据大小不小于存储阈值时,向地图服务器所述缓存的位置信息。The location information is cached, and the cached location information is sent to the map server when the data size of the cached location information is not less than a storage threshold.
  18. 如权利要求15或16所述的方法,其特征在于,所述方法还包括:The method of claim 15 or 16, wherein the method further comprises:
    所述移动终端接收针对第一位置的标记信息;The mobile terminal receives tag information for a first location;
    所述移动终端将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。 The mobile terminal sends the tag information to the map server, so that after receiving the tag information, the map server associates the tag information with the first location in an electronic map.
  19. 如权利要求15-18任一权利要求所述的方法,其特征在于,所述方法还包括:The method of any of claims 15-18, wherein the method further comprises:
    所述移动终端向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端发送所述第一区域对应的地图数据;Sending, by the mobile terminal, an update request for the first area to the map server, so that after the map server receives the update request, the map server sends the first area corresponding to the mobile terminal Map data;
    所述移动终端接收所述地图服务器发送的所述地图数据;Receiving, by the mobile terminal, the map data sent by the map server;
    所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。And the mobile terminal updates a map in the first area on the electronic map in the mobile terminal according to the map data.
  20. 一种地图服务器,其特征在于,包括:处理器、存储器以及通信接口;其中,A map server, comprising: a processor, a memory, and a communication interface; wherein
    所述存储器用于存储指令和数据;The memory is for storing instructions and data;
    所述处理器用于读取所述存储器中存储的指令和数据,执行如下操作:The processor is configured to read instructions and data stored in the memory, and perform the following operations:
    通过所述通信接口接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;Receiving, by the communication interface, location information of the collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
    根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Drawing a road in the first area of the electronic map according to location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map.
  21. 如权利要求20所述的地图服务器,其特征在于,所述处理器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:The map server according to claim 20, wherein said processor is located in said first area of said electronic map based on location information of said collection point transmitted by said mobile terminal included in said first area of said electronic map Drawing roads, including:
    根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
    在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  22. 如权利要求20所述的地图服务器,其特征在于,所述处理器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:The map server according to claim 20, wherein said processor is located in said first area of said electronic map based on location information of said collection point transmitted by said mobile terminal included in said first area of said electronic map Drawing roads, including:
    对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening a location point whose probability is greater than the first probability value;
    根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路;Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
    在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  23. 如权利要求20所述的地图服务器,其特征在于,所述处理器根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:The map server according to claim 20, wherein said processor is located in said first area of said electronic map based on location information of said collection point transmitted by said mobile terminal included in said first area of said electronic map Drawing roads, including:
    对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值; Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
    分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
    在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
  24. 如权利要求22或23所述的地图服务器,其特征在于,所述处理器对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,,具体包括:The map server according to claim 22 or 23, wherein the processor performs probability statistics on the location information of the collection point sent by the mobile terminal in the first area of the electronic map, and specifically includes:
    确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
    利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  25. 如权利要求24所述的地图服务器,其特征在于,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位方法;所述处理器确定所述采集点的权重因子,具体包括:The map server according to claim 24, wherein the location information further comprises at least one of positioning identification information, identification information of the mobile terminal, or positioning accuracy factor; the positioning identification information is used to indicate the movement The positioning method of the collection point is set by the terminal; the processor determines a weighting factor of the collection point, specifically:
    根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  26. 如权利要求21或22所述的地图服务器,其特征在于,所述位置信息还包括定位所述采集点的移动终端的标识信息;所述处理器在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理器还用于执行:The map server according to claim 21 or 22, wherein the location information further includes identification information of the mobile terminal that locates the collection point; the processor is located in the first area of the electronic map Before the circuit generates a road of a first width for the axis of symmetry, the processor is further configured to:
    根据所述移动终端的标识信息确定第一宽度。Determining a first width according to the identification information of the mobile terminal.
  27. 如权利要求21或22所述的地图服务器,其特征在于,所述处理器根据所述移动终端的标识信息确定第一宽度,具体包括:The map server according to claim 21 or 22, wherein the processor determines the first width according to the identification information of the mobile terminal, and specifically includes:
    根据所述移动终端的标识信息确定所述移动终端的类型;Determining a type of the mobile terminal according to the identification information of the mobile terminal;
    根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
  28. 如权利要求22所述的地图服务器,其特征在于,所述处理器在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理器还用于执行:The map server according to claim 22, wherein said processor is further used in said first region of said electronic map, before said road having a first width is formed on said line as an axis of symmetry carried out:
    计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。Calculating a first width; the first width being a distance between two position points having a probability of being a third probability value perpendicular to the line direction.
  29. 如权利要求20-28任一权利要求所述的地图服务器,其特征在于,所述处理器还用于执行:The map server according to any one of claims 20-28, wherein the processor is further configured to:
    在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。Marking the update time of the road in the first area of the electronic map; the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
  30. 如权利要求20-29任一权利要求所述的地图服务器,其特征在于,所述处理器还用于执行: The map server according to any one of claims 20 to 29, wherein the processor is further configured to:
    通过所述通信接口接收所述移动终端发送的针对第一位置的标记信息;Receiving, by the communication interface, the tag information sent by the mobile terminal for the first location;
    在所述电子地图中所述第一位置关联所述标记信息。The first location in the electronic map is associated with the tag information.
  31. 如权利要求20-30任一权利要求所述的地图服务器,其特征在于,所述处理器还用于执行:The map server according to any one of claims 20-30, wherein the processor is further configured to:
    通过所述通信接口接收所述移动终端发送的针对所述第一区域的更新请求;Receiving, by the communication interface, an update request sent by the mobile terminal for the first area;
    通过所述通信接口向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。Sending, by the communication interface, the map data corresponding to the first area to the mobile terminal, so that after the mobile terminal receives the map data, the mobile terminal updates the mobile terminal according to the map data. A map in the first area on the electronic map.
  32. 如权利要求20-31任一权利要求所述的地图服务器,其特征在于,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述处理器通过所述通信接口接收移动终端发送的采集点的位置信息之后,所述处理器还用于执行:The map server according to any one of claims 20-31 as claimed in claim, wherein the position of said second collection point K region information composed of the data set R k; R k of the data set comprises at least one data set P i The data group P i is an i-th group of data received by the map server in the K-th area; the data group P i may include a data element P ij , and the data element P ij is the data Position information of the jth collection point in the group P i ; i, j is a positive integer; after the processor receives the location information of the collection point sent by the mobile terminal through the communication interface, the processor is further configured to:
    将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。Adding a data group consisting of the location information of the collection point to a data set corresponding to the area where the collection point is located.
  33. 如权利要求32所述的地图服务器,其特征在于,所述地图服务器包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;所述处理器还用于执行:The map server according to claim 32, wherein the map server comprises an activation area and an aging area; the activation area includes a data set corresponding to the second area; and the aging area includes a data set corresponding to the third area. The processor is also used to execute:
    当第一时间段内所述地图服务器接收到的采集点都不在所述第二区域时,将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或,And when the collection point received by the map server in the first time period is not in the second area, moving the corresponding data set in the second area to the aging area, and deleting the electronic map State the roads in the second area; or,
    当所述地图服务器接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
  34. 一种移动终端,其特征在于,包括:处理器、存储器以及通信模块;其中,A mobile terminal, comprising: a processor, a memory, and a communication module; wherein
    所述存储器用于存储指令和数据;The memory is for storing instructions and data;
    所述处理器用于读取所述存储器中存储的指令和数据,执行如下操作:The processor is configured to read instructions and data stored in the memory, and perform the following operations:
    通过定位获取采集点的位置信息;Obtain location information of the collection point by positioning;
    通过所述通信模块将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。Sending, by the communication module, the location information to a map server, so that after the location information is received by the map server, the map server is sent by the mobile terminal according to the first area included in the electronic map. Collecting location information of the point, drawing a road in the first area of the electronic map.
  35. 如权利要求34所述的移动终端,其特征在于,所述处理器通过定位系统获取采集点的位置信息,具体包括:The mobile terminal of claim 34, wherein the processor acquires location information of the collection point by using the positioning system, specifically:
    在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,通 过惯性定位或室内定位获取采集点的位置信息;或,After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, Obtaining position information of the collection point by inertial positioning or indoor positioning; or
    根据当前位置的场合类别,通过与所述场合类别对应的定位方法获取采集点的位置信息;或,Obtaining location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location; or
    检测当前可用的定位方法,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。Detecting a currently available positioning method, the available positioning method includes a first positioning method, receiving a selection instruction for the first positioning method, and acquiring location information of the collection point by using the first positioning method.
  36. 如权利要求34或35所述的移动终端,其特征在于,所述处理器通过所述通信模块将所述位置信息发送至地图服务器,具体包括:The mobile terminal according to claim 34 or 35, wherein the processor sends the location information to the map server by using the communication module, which specifically includes:
    通过所述通信模块以固定的周期向地图服务器发送所述位置信息;或,Transmitting the location information to the map server by the communication module at a fixed period; or
    通过所述存储器缓存所述位置信息,在缓存的位置信息的数据大小不小于存储阈值时,通过所述通信模块向地图服务器所述缓存的位置信息。The location information is cached by the memory, and the cached location information is sent to the map server by the communication module when the data size of the cached location information is not less than a storage threshold.
  37. 如权利要求34或35所述的移动终端,其特征在于,所述移动终端还包括输入模块,所述处理器还用于执行:The mobile terminal of claim 34 or 35, wherein the mobile terminal further comprises an input module, the processor is further configured to:
    通过所述输入模块接收针对第一位置的标记信息;Receiving, by the input module, tag information for the first location;
    通过所述通信模块将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。And transmitting, by the communication module, the tag information to the map server, so that the map server associates the tag information in the electronic map corresponding to the first location after receiving the tag information.
  38. 如权利要求34-37任一权利要求所述的移动终端,其特征在于,所述处理器还用于执行:The mobile terminal according to any one of claims 34 to 37, wherein the processor is further configured to:
    通过所述通信模块向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端发送所述第一区域对应的地图数据;Sending, by the communication module, an update request for the first area to the map server, so that after the map server receives the update request, the map server sends the first area to the mobile terminal Corresponding map data;
    通过所述通信模块接收所述地图服务器发送的所述地图数据;Receiving, by the communication module, the map data sent by the map server;
    根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。Updating a map in the first area on the electronic map in the mobile terminal according to the map data.
  39. 一种地图服务器,其特征在于,包括:A map server, comprising:
    接收单元,用于接收移动终端发送的采集点的位置信息,所述位置信息为所述移动终端在所述采集点通过定位获取;a receiving unit, configured to receive location information of a collection point sent by the mobile terminal, where the location information is obtained by the mobile terminal by using the location at the collection point;
    处理单元,用于根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。And a processing unit, configured to draw a road in the first area of the electronic map according to location information of the collection point sent by the mobile terminal included in the first area of the electronic map.
  40. 如权利要求39所述的地图服务器,其特征在于,所述处理单元根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:The map server according to claim 39, wherein the processing unit is located in the first area of the electronic map according to location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map Drawing roads, including:
    根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,通过线性拟合或非线性拟合算法生成线路;Generating a line by a linear fitting or a nonlinear fitting algorithm according to position information of the collection point transmitted by the mobile terminal included in the first area of the electronic map;
    在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。 In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  41. 如权利要求39所述的地图服务器,其特征在于,所述处理单元根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:The map server according to claim 39, wherein the processing unit is located in the first area of the electronic map according to location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map Drawing roads, including:
    对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率大于第一概率值的位置点;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening a location point whose probability is greater than the first probability value;
    根据筛选出的位置点,通过线性拟合或非线性拟合算法生成线路;Generating lines by linear fitting or nonlinear fitting algorithm according to the selected position points;
    在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路。In the first region of the electronic map, a road of a first width is generated with the line as an axis of symmetry.
  42. 如权利要求39所述的地图服务器,其特征在于,所述处理单元根据包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路,具体包括:The map server according to claim 39, wherein the processing unit is located in the first area of the electronic map according to location information of the collection point transmitted by the mobile terminal included in the first area of the electronic map Drawing roads, including:
    对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,筛选概率等于第二概率值的两组位置点;所述第二概率值小于所述第一区域内位置点的最大概率值;Performing probability statistics on location information of the collection point sent by the mobile terminal included in the first area of the electronic map, and screening the two sets of location points whose probability is equal to the second probability value; the second probability value is smaller than the first The maximum probability value of the location point within the area;
    分别根据筛选出的各组位置点,通过线性拟合或非线性拟合算法生成第一线路和第二线路;Generating the first line and the second line by a linear fitting or a nonlinear fitting algorithm according to each selected set of position points;
    在所述电子地图第一区域内,以所述第一线路和所述第二线路为边界,生成道路。In the first area of the electronic map, a road is generated with the first line and the second line as boundaries.
  43. 如权利要求41或42所述的地图服务器,其特征在于,所述处理单元对包含在电子地图第一区域内的由所述移动终端发送的采集点的位置信息进行概率统计,具体包括:The map server according to claim 41 or claim 42, wherein the processing unit performs probability statistics on the location information of the collection point sent by the mobile terminal in the first area of the electronic map, and specifically includes:
    确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子;Determining a weighting factor of the collection point sent by the mobile terminal included in the first area of the electronic map;
    利用所述权重因子,应用概率统计公式计算所述第一区域内各个位置点出现采集点的概率。Using the weighting factor, a probability statistical formula is applied to calculate a probability of occurrence of a collection point at each location point in the first region.
  44. 如权利要求43所述的地图服务器,其特征在于,所述位置信息还包括定位标识信息、移动终端的标识信息或定位精度因子中的至少一种;所述定位标识信息用于指示所述移动终端定位所述采集点的定位方法;所述处理单元确定包含在电子地图第一区域内的由所述移动终端发送的采集点的权重因子,具体包括:The map server according to claim 43, wherein the location information further comprises at least one of positioning identification information, identification information of the mobile terminal, or positioning accuracy factor; the positioning identification information is used to indicate the movement The method for locating the collection point of the terminal; the processing unit determines a weighting factor of the collection point sent by the mobile terminal, which is included in the first area of the electronic map, and specifically includes:
    根据所述定位标识信息、所述移动终端的标识信息或所述定位精度因子中的至少一种确定所述采集点的权重因子。Determining a weighting factor of the collection point according to at least one of the positioning identification information, the identification information of the mobile terminal, or the positioning accuracy factor.
  45. 如权利要求40或41所述的地图服务器,其特征在于,所述位置信息还包括定位所述采集点的移动终端的标识信息,所述处理单元在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元还用于:The map server according to claim 40 or 41, wherein the location information further includes identification information of the mobile terminal that locates the collection point, and the processing unit is located in the first area of the electronic map Before the circuit generates a road of a first width for the axis of symmetry, the processing unit is further configured to:
    根据所述移动终端的标识信息确定第一宽度。Determining a first width according to the identification information of the mobile terminal.
  46. 如权利要求40或41所述的地图服务器,其特征在于,所述处理单元在所述电子 地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元还用于:A map server according to claim 40 or 41, wherein said processing unit is in said electronic In the first area of the map, before the road is generated as the axis of symmetry, the processing unit is further configured to:
    根据所述移动终端的标识信息确定所述移动终端的类型;以及,Determining a type of the mobile terminal according to the identification information of the mobile terminal; and
    根据类型与宽度的对应关系确定所述移动终端的类型对应的第一宽度。Determining a first width corresponding to the type of the mobile terminal according to a correspondence between the type and the width.
  47. 如权利要求41所述的地图服务器,其特征在于,所述处理单元在所述电子地图第一区域内,以所述线路为对称轴生成第一宽度的道路之前,所述处理单元还用于:The map server according to claim 41, wherein said processing unit is further configured to: in said first region of said electronic map, said processing unit is further used to generate a road of a first width with said line as an axis of symmetry :
    计算第一宽度;所述第一宽度为在垂直于所述线路方向上概率为第三概率值的两个位置点之间的距离。Calculating a first width; the first width being a distance between two position points having a probability of being a third probability value perpendicular to the line direction.
  48. 如权利要求39-47任一权利要求所述的地图服务器,其特征在于,所述处理单元还用于:The map server according to any one of claims 39-47, wherein the processing unit is further configured to:
    在所述电子地图第一区域内标记所述道路的更新时间;所述更新时间用于指示最近的一次更新所述电子地图第一区域内道路的时间。Marking the update time of the road in the first area of the electronic map; the update time is used to indicate the time of the most recent update of the road in the first area of the electronic map.
  49. 如权利要求39-48任一权利要求所述的地图服务器,其特征在于,A map server according to any of claims 39-48, wherein:
    所述接收单元还用于:接收所述移动终端发送的针对第一位置的标记信息;The receiving unit is further configured to: receive the tag information sent by the mobile terminal for the first location;
    所述处理单元还用于:在所述电子地图中所述第一位置关联所述标记信息。The processing unit is further configured to associate the tag information in the first location in the electronic map.
  50. 如权利要求39-49任一权利要求所述的地图服务器,其特征在于,A map server according to any of claims 39-49, wherein:
    所述接收单元还用于:接收所述移动终端发送的针对所述第一区域的更新请求;The receiving unit is further configured to: receive an update request sent by the mobile terminal for the first area;
    所述地图服务器还包括发送单元,用于向所述移动终端发送所述第一区域对应的地图数据,以使所述移动终端接收到所述地图数据后,所述移动终端根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。The map server further includes a sending unit, configured to send, to the mobile terminal, map data corresponding to the first area, so that after the mobile terminal receives the map data, the mobile terminal is configured according to the map data. Updating a map in the first area on the electronic map in the mobile terminal.
  51. 如权利要求39-50任一权利要求所述的地图服务器,其特征在于,所述第K区域内采集点的位置信息组成数据集Rk;所述数据集Rk包括至少一个数据组Pi,所述数据组Pi为所述地图服务器在所述第K区域内接收到的第i组数据;所述数据组Pi可以包括数据元素Pij,所述数据元素Pij为所述数据组Pi中第j个采集点的位置信息;i,j为正整数;所述接收移动终端发送的采集点的位置信息之后,所述处理单元还用于:A map server according to any one of claims 39-50, wherein the location information of the collection points in the Kth region constitutes a data set Rk ; the data set Rk includes at least one data group P i The data group P i is an i-th group of data received by the map server in the K-th area; the data group P i may include a data element P ij , and the data element P ij is the data Position information of the jth collection point in the group P i ; i, j is a positive integer; after receiving the location information of the collection point sent by the mobile terminal, the processing unit is further configured to:
    在所述接收单元接收移动终端发送的采集点的位置信息之后,将所述采集点的位置信息组成的数据组加入到所述采集点所在区域对应的数据集。After the receiving unit receives the location information of the collection point sent by the mobile terminal, the data group composed of the location information of the collection point is added to the data set corresponding to the region where the collection point is located.
  52. 如权利要求51所述的地图服务器,其特征在于,所述地图服务器包括激活区和老化区;所述激活区包括第二区域对应的数据集;所述老化区包括第三区域对应的数据集;所述处理单元还用于:The map server according to claim 51, wherein the map server comprises an activation area and an aging area; the activation area includes a data set corresponding to the second area; and the aging area includes a data set corresponding to the third area. The processing unit is also used to:
    当第一时间段内所述地图服务器接收到的采集点都不在所述第二区域时,所述地图服务器将所述第二区域内对应的数据集移至所述老化区,并删除所述电子地图中所述第二区域内的道路;或, When the collection point received by the map server in the first time period is not in the second area, the map server moves the corresponding data set in the second area to the aging area, and deletes the a road in the second area in the electronic map; or,
    当所述地图服务器接收到采集点包括所述第三区域的内的位置点时,将所述第三区域对应的数据集移至所述激活区;并在所述电子地图中所述第三区域内上添加所述第三区域对应的数据集绘制的道路。When the map server receives the location point including the location point within the third area, moving the data set corresponding to the third area to the activation area; and the third in the electronic map A road drawn by the data set corresponding to the third area is added to the area.
  53. 一种移动终端,其特征在于,包括:A mobile terminal, comprising:
    获取单元,用于通过定位获取采集点的位置信息;An acquiring unit, configured to acquire location information of the collection point by using a positioning;
    发送单元,用于将所述位置信息发送至地图服务器,以使所述地图服务器在接收到所述位置信息后,所述地图服务器根据包含在电子地图第一区域内由所述移动终端发送的采集点的位置信息,在所述电子地图第一区域内绘制道路。a sending unit, configured to send the location information to a map server, so that after the location information is received by the map server, the map server is sent by the mobile terminal according to the first area included in the electronic map. Collecting location information of the point, drawing a road in the first area of the electronic map.
  54. 如权利要求53所述的移动终端,其特征在于,所述获取单元通过定位系统获取采集点的位置信息,具体包括:The mobile terminal according to claim 53, wherein the acquiring unit acquires the location information of the collection point by using the positioning system, which specifically includes:
    在检测到卫星定位信号的强度小于第一阈值且移动通信信号的强度小于第二阈值,通过惯性定位或室内定位获取采集点的位置信息;或,After detecting that the strength of the satellite positioning signal is less than the first threshold and the strength of the mobile communication signal is less than the second threshold, acquiring the location information of the collection point by inertial positioning or indoor positioning; or
    根据当前位置的场合类别,通过与所述场合类别对应的定位方法获取采集点的位置信息;或,Obtaining location information of the collection point by using a positioning method corresponding to the occasion category according to the occasion category of the current location; or
    检测当前可用的定位移动终端,所述可用的定位方法包括第一定位方法,接收针对所述第一定位方法选定指令,通过所述第一定位方法获取采集点的位置信息。The currently available positioning mobile terminal is detected, and the available positioning method includes a first positioning method, and receives a selection instruction for the first positioning method, and acquires location information of the collection point by using the first positioning method.
  55. 如权利要求53或54所述的移动终端,其特征在于,所述发送单元将所述位置信息发送至地图服务器,具体包括:The mobile terminal according to claim 53 or 54, wherein the sending unit sends the location information to the map server, which specifically includes:
    所述发送单元用于以固定的周期向地图服务器发送所述位置信息;或,The sending unit is configured to send the location information to a map server at a fixed period; or
    所述移动终端还包括存储单元,用于缓存所述位置信息;所述发送单元还用于在缓存的位置信息的数据大小不小于存储阈值时,向地图服务器所述缓存的位置信息。The mobile terminal further includes a storage unit, configured to cache the location information, and the sending unit is further configured to: when the data size of the cached location information is not less than a storage threshold, the cached location information to the map server.
  56. 如权利要求53或54所述的移动终端,其特征在于,A mobile terminal according to claim 53 or 54, wherein
    所述获取单元还用于:接收针对第一位置的标记信息;The obtaining unit is further configured to: receive tag information for the first location;
    所述发送单元还用于:将所述标记信息发送至所述地图服务器,以使所述地图服务器在接收到所述标记信息后,在电子地图中对应所述第一位置关联所述标记信息。The sending unit is further configured to: send the tag information to the map server, so that after receiving the tag information, the map server associates the tag information with the first location in an electronic map. .
  57. 如权利要求53-56任一权利要求所述的移动终端,其特征在于,A mobile terminal according to any of claims 53-56, characterized in that
    所述发送单元还用于:向所述地图服务器发送针对所述第一区域的更新请求,以使所述地图服务器接收到所述更新请求后,所述地图服务器向所述移动终端发送所述第一区域对应的地图数据;The sending unit is further configured to: send an update request for the first area to the map server, so that after the map server receives the update request, the map server sends the update request to the mobile terminal Map data corresponding to the first area;
    所述获取单元还用于:接收所述地图服务器发送的所述地图数据;The obtaining unit is further configured to: receive the map data sent by the map server;
    所述移动终端还包括处理单元,用于:根据所述地图数据,更新所述移动终端中电子地图上所述第一区域内的地图。 The mobile terminal further includes a processing unit, configured to: update a map in the first area on the electronic map in the mobile terminal according to the map data.
PCT/CN2017/094135 2017-03-01 2017-07-24 Method and device for drawing roads in electronic map WO2018157541A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780012386.XA CN108700428B (en) 2017-03-01 2017-07-24 Method and device for drawing roads in electronic map

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710117513 2017-03-01
CN201710117513.4 2017-03-01

Publications (1)

Publication Number Publication Date
WO2018157541A1 true WO2018157541A1 (en) 2018-09-07

Family

ID=63369734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/094135 WO2018157541A1 (en) 2017-03-01 2017-07-24 Method and device for drawing roads in electronic map

Country Status (2)

Country Link
CN (1) CN108700428B (en)
WO (1) WO2018157541A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984747A (en) * 2019-05-21 2020-11-24 丰图科技(深圳)有限公司 Method, device and equipment for acquiring geographic information data
CN111061710A (en) * 2019-11-26 2020-04-24 中车青岛四方机车车辆股份有限公司 Method and device for generating line positioning data based on dynamic train operation data
CN112880693A (en) * 2019-11-29 2021-06-01 北京市商汤科技开发有限公司 Map generation method, positioning method, device, equipment and storage medium
TWI744861B (en) * 2020-04-15 2021-11-01 財團法人工業技術研究院 Application service server, information processing method based on located region, and user equipment
CN112034850A (en) * 2020-09-01 2020-12-04 青岛悟牛智能科技有限公司 Method for realizing unmanned production of farm
CN114722127A (en) * 2021-01-06 2022-07-08 华为技术有限公司 Electronic map correction method, navigation information setting method, navigation method and navigation device
CN113470143B (en) * 2021-06-29 2024-04-05 阿波罗智能技术(北京)有限公司 Electronic map drawing method, device, equipment and automatic driving vehicle
CN116380059A (en) * 2021-12-23 2023-07-04 中兴通讯股份有限公司 Determination method of walking track, terminal and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122464A (en) * 2007-09-24 2008-02-13 凯立德欣技术(深圳)有限公司 GPS navigation system road display method, device and apparatus
CN101174262A (en) * 2006-11-02 2008-05-07 广东新蓝德信息产业有限公司 GIS automatic image-forming system and method thereof
US20090070031A1 (en) * 2007-09-07 2009-03-12 On Time Systems Inc. System and method for automated updating of map information
CN101464158A (en) * 2009-01-15 2009-06-24 上海交通大学 Automatic generation method for road network grid digital map based on GPS positioning
US20150338234A1 (en) * 2014-05-23 2015-11-26 Robert Seastrom Map information management and correction of geodata
CN105574931A (en) * 2014-11-07 2016-05-11 高德信息技术有限公司 Electronic map road drawing method and device
CN106441319A (en) * 2016-09-23 2017-02-22 中国科学院合肥物质科学研究院 System and method for generating lane-level navigation map of unmanned vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100778800B1 (en) * 2007-03-05 2007-11-23 이지훈 The driver direct the vehicle loading Navigation method intelligence report and the system
CN102157001B (en) * 2011-04-14 2013-08-21 中国测绘科学研究院 Method and system for drawing electronic map
CN105628035B (en) * 2014-10-30 2018-12-11 高德软件有限公司 Walking navigation method and apparatus
CN105806351B (en) * 2014-12-30 2019-06-07 阿里巴巴集团控股有限公司 A kind of road information estimation method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174262A (en) * 2006-11-02 2008-05-07 广东新蓝德信息产业有限公司 GIS automatic image-forming system and method thereof
US20090070031A1 (en) * 2007-09-07 2009-03-12 On Time Systems Inc. System and method for automated updating of map information
CN101122464A (en) * 2007-09-24 2008-02-13 凯立德欣技术(深圳)有限公司 GPS navigation system road display method, device and apparatus
CN101464158A (en) * 2009-01-15 2009-06-24 上海交通大学 Automatic generation method for road network grid digital map based on GPS positioning
US20150338234A1 (en) * 2014-05-23 2015-11-26 Robert Seastrom Map information management and correction of geodata
CN105574931A (en) * 2014-11-07 2016-05-11 高德信息技术有限公司 Electronic map road drawing method and device
CN106441319A (en) * 2016-09-23 2017-02-22 中国科学院合肥物质科学研究院 System and method for generating lane-level navigation map of unmanned vehicle

Also Published As

Publication number Publication date
CN108700428A (en) 2018-10-23
CN108700428B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
WO2018157541A1 (en) Method and device for drawing roads in electronic map
CN113593215B (en) Determining pick-up and destination location of autonomous vehicles
CN110147705B (en) Vehicle positioning method based on visual perception and electronic equipment
CN108932331B (en) Map data updating method, device and system
US9843893B2 (en) Method and apparatus for providing point-of-interest detection via feature analysis and mobile device position information
US10352718B2 (en) Discovering points of entry to a location
CN104884899B (en) Determine the method across the track of one or more intersections of transportation network
CN104541528B (en) For mapping the methods, devices and systems of the route of mobile device
CN104584094B (en) Location estimation method and system
US9344854B2 (en) Method, storage medium, server, and electronic device for implementing location based service within building
US9939514B2 (en) Determination of a statistical attribute of a set of measurement errors
JP2018511038A (en) Adaptive position indicator
US10859392B2 (en) Dynamic one-way street detection and routing penalties
US20220070619A1 (en) Method, apparatus, and system for detecting events or points of interest based on mobile device orientation changes
US20190049255A1 (en) Detection of travel mode associated with computing devices
US11699246B2 (en) Systems and methods for validating drive pose refinement
US10909714B2 (en) Method, apparatus, and system for providing a distance marker in an image
JP2008152364A (en) Information providing device, information providing method, information providing program and computer-readable recording medium
CN107403232A (en) A kind of navigation control method, device and electronic equipment
CN112414420A (en) Navigation method based on traffic flow and related device
CN107835304A (en) Control method, apparatus, mobile terminal and the storage medium of mobile terminal
US9891072B2 (en) Method and apparatus for providing a map display based on velocity information
WO2018174847A1 (en) Systems and methods of determining an improved user location using real world map and sensor data
KR102046366B1 (en) A system to register and find the location information
CN110795994A (en) Intersection image selection method and device

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

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

Country of ref document: EP

Kind code of ref document: A1