CN110825753B - Method for increasing positioning point capacity on webpage map - Google Patents

Method for increasing positioning point capacity on webpage map Download PDF

Info

Publication number
CN110825753B
CN110825753B CN201911004421.0A CN201911004421A CN110825753B CN 110825753 B CN110825753 B CN 110825753B CN 201911004421 A CN201911004421 A CN 201911004421A CN 110825753 B CN110825753 B CN 110825753B
Authority
CN
China
Prior art keywords
positioning object
positioning
position information
map
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911004421.0A
Other languages
Chinese (zh)
Other versions
CN110825753A (en
Inventor
林权威
曹胜柳
房宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Wo Xu Wireless Co ltd
Original Assignee
Nanjing Wo Xu Wireless Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Wo Xu Wireless Co ltd filed Critical Nanjing Wo Xu Wireless Co ltd
Priority to CN201911004421.0A priority Critical patent/CN110825753B/en
Publication of CN110825753A publication Critical patent/CN110825753A/en
Application granted granted Critical
Publication of CN110825753B publication Critical patent/CN110825753B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Navigation (AREA)

Abstract

The invention discloses a method for increasing the capacity of a positioning point on a webpage map, which comprises the following steps: before updating a positioning object in a webpage map, judging whether the positioning object belongs to a current map layer or not, and if not, not updating the positioning object; if the positioning object belongs to the current layer, judging whether historical position information corresponding to the positioning object exists in the current layer, if so, comparing the positioning object with the coordinates of the historical position, if the positioning object is smaller than a set threshold condition, considering that the positioning object belongs to a repeated interference item, not performing updating treatment, and if the positioning object is larger than or equal to the set threshold condition, adding the positioning object and the current position information thereof to the current layer; if no historical position information exists, the positioning object belongs to a new positioning point, and the new positioning object and the current position information thereof are added to the current map layer.

Description

Method for increasing positioning point capacity on webpage map
Technical Field
The invention relates to the technical field of electronic map positioning point increase, in particular to a method for increasing positioning point capacity on a webpage map.
Background
In the electronic map development industry, the number of positioning points in a map and the accuracy of the positioning points are very important issues. In actual use at present, the number of map positioning points and the accuracy degree of the positioning points are often related to the computing capability of the system, and a large amount of positioning point position updating consumes more hardware resources. Therefore, a method for providing a large number of location update with less hardware resource consumption is needed.
According to the invention, by judging a plurality of preset conditions, unnecessary positioning point updating is reduced, computing resources are saved, hardware resource consumption is reduced, the problem of high-capacity positioning updating is effectively solved, large-scale positioning scene application with higher complexity can be realized, more positioning point capacity updating is provided by using less hardware resources, and better use experience can be brought to users.
Disclosure of Invention
The invention aims to provide a method for increasing the capacity of a positioning point on a webpage map, which comprises the following steps: before updating a positioning object in a webpage map, judging whether the positioning object belongs to a current map layer or not, and if not, not updating the positioning object; if the positioning object belongs to the current layer, judging whether historical position information corresponding to the positioning object exists in the current layer, if so, comparing the positioning object with the coordinates of the historical position, if the positioning object is smaller than a set threshold condition, considering that the positioning object belongs to a repeated interference item, not performing updating treatment, and if the positioning object is larger than or equal to the set threshold condition, adding the positioning object and the current position information thereof to the current layer; if no historical position information exists, the positioning object belongs to a new positioning point, and the new positioning object and the current position information thereof are added to the current map layer.
To achieve the above object, with reference to fig. 1, the present invention provides a method for increasing capacity of a location point on a web map, the method comprising:
s1: and adding a plurality of positioning objects in the data background, and setting parameters of the positioning objects.
S2: selecting the appointed layer data in a data background according to an appointed layer instruction input from the outside;
s3: and (4) adopting a map frame to create a front-end webpage map, initializing the front-end webpage map, setting the specified layer in the step S2 as a current layer, and using the current layer as a container of the positioning object for receiving and displaying the positioning object sent by the data background.
S4: selecting one positioning object in the data background, sending the positioning object to the front-end webpage map, judging whether the selected positioning object belongs to the current map layer, and if so, jumping to the step S5; if not, the process ends with respect to the positioning object, and the process goes to step S6.
S5: judging whether the positioning object has historical position information in the current layer, if so, comparing the current position information of the positioning object with the historical position information of the previous updating turn, if the distance between the current position information and the historical position information is less than the preset threshold range, taking the current position information of the positioning object as a repeated interference item of the historical position information, ending the processing of the positioning object, and jumping to the step S6; and if the distance between the current position information and the current position information is larger than or equal to the preset threshold range, updating the current position information of the positioning object into the current layer, and setting the parameters of the positioning object.
And if the historical position information does not exist, updating the current position information of the positioning object to the current layer, and setting the parameters of the positioning object.
S6: and repeating the steps S4 to S5 until the position information updating operation of all the positioning objects in the data background is completed, and ending the current round of the webpage map updating process.
Further, the setting of the parameters of each positioning object includes: the method comprises the steps of positioning object ID, positioning object name, positioning object coordinates, the identifier of the layer to which the positioning object belongs and the characteristics of the positioning object, wherein the positioning object ID is the unique identifier of the positioning object.
Further, the map frame comprises openlayers map frames.
Further, in step S5, the process of comparing the current position information of the positioning object with the historical position information of the previous update turn is decomposed into the following steps:
s51: and setting a preset threshold range, wherein the preset threshold range comprises a first preset threshold range and a second preset threshold range.
S52: calculating the distance between the current position information of the positioning object and the historical position information in the x direction, comparing the distance with a first preset threshold range, if the distance is larger than or equal to the first preset threshold range, adding the positioning object and the current position information thereof into the current image layer, and ending the comparison process; if the value is smaller than the first preset threshold range, go to step S53.
S53: calculating the distance between the current position information of the positioning object and the historical position information in the y direction, comparing the distance with a second preset threshold range, and if the distance is larger than or equal to the second preset threshold range, adding the positioning object and the current position information thereof to the current image layer; and if the current position information is smaller than the second preset threshold range, taking the current position information of the positioning object as a repeated interference item of the historical position information, and ending the processing of the positioning object.
Further, the method further comprises:
calculating to obtain a value of a preset threshold range according to the maximum hardware resource quantity and the positioning precision corresponding to the webpage map during updating, wherein:
the preset threshold range value is inversely proportional to the maximum hardware resource quantity corresponding to the updating of the webpage map, and the preset threshold range value is inversely proportional to the positioning precision corresponding to the updating of the webpage map.
Furthermore, the method also comprises the steps of obtaining the maximum hardware resource quantity which can be called when the webpage map is updated, and calculating to obtain the minimum preset threshold value range value by combining the positioning precision and the updating frequency requirements of the webpage map.
Furthermore, a websocket protocol is adopted for data transmission between the data background and the front-end webpage map.
Compared with the prior art, the technical scheme of the invention has the following remarkable beneficial effects:
(1) before updating the positioning point of the webpage map, multiple judgments are carried out, and the positioning object which does not meet the preset threshold condition is filtered, so that unnecessary updating of the positioning point is reduced, hardware resource consumption is saved, and updating capacity of the positioning point is enlarged.
(2) By comparing the position information of the positioning object with the historical position information, the positioning object in the reasonable error range is not updated, once the reasonable error range is exceeded, the new positioning object identifies the position of the point in the webpage map, and the positioning point precision of the webpage map can be better ensured under the condition that the reasonable error range is set to be smaller.
(3) The method can be applied to various map development frames and has strong applicability.
It should be understood that all combinations of the foregoing concepts and additional concepts described in greater detail below can be considered as part of the inventive subject matter of this disclosure unless such concepts are mutually inconsistent. Additionally, all combinations of claimed subject matter are considered a part of the presently disclosed subject matter.
The foregoing and other aspects, embodiments and features of the present teachings can be more fully understood from the following description taken in conjunction with the accompanying drawings. Additional aspects of the present invention, such as features and/or advantages of exemplary embodiments, will be apparent from the description which follows, or may be learned by practice of specific embodiments in accordance with the teachings of the present invention.
Drawings
The drawings are not intended to be drawn to scale. In the drawings, each identical or nearly identical component that is illustrated in various figures may be represented by a like numeral. For purposes of clarity, not every component may be labeled in every drawing. Embodiments of various aspects of the present invention will now be described, by way of example, with reference to the accompanying drawings, in which:
fig. 1 is a flowchart of a method for increasing the capacity of a positioning point on a netpage map according to the present invention.
Detailed Description
In order to better understand the technical content of the present invention, specific embodiments are described below with reference to the accompanying drawings.
In this disclosure, aspects of the present invention are described with reference to the accompanying drawings, in which a number of illustrative embodiments are shown. Embodiments of the present disclosure are not necessarily defined to include all aspects of the invention. It should be appreciated that the various concepts and embodiments described above, as well as those described in greater detail below, may be implemented in any of numerous ways, as the disclosed concepts and embodiments are not limited to any one implementation. In addition, some aspects of the present disclosure may be used alone, or in any suitable combination with other aspects of the present disclosure.
With reference to fig. 1, the present invention provides a method for increasing the capacity of a positioning point on a web map, which is characterized in that the method includes:
s1: and adding a plurality of positioning objects in the data background, and setting parameters of the positioning objects.
A plurality of positioning objects are managed in the data background, the positioning objects comprise positioning objects which are originally added and are associated with specific position points on the webpage map, and also comprise newly added positioning objects which are not associated with the specific position points on the webpage map and wait to be added into the webpage map.
The parameters for locating the object include, but are not limited to: the positioning object ID, the positioning object name, the positioning object coordinate, the mark of the layer to which the positioning object belongs and the positioning object characteristic.
And the positioning object ID is the unique identifier of each positioning object and cannot be repeated, and after the new positioning object is added into the webpage map, the new positioning object ID is associated with the position on the webpage map, and the association relation is stored in the data background.
The locating object name is defined as a general name of the locating object.
The positioning object coordinate is defined as the position of the positioning object in the webpage map, and the definition mode comprises longitude and latitude, x and y coordinates and is used for determining the position of the positioning point.
The identifier of the layer to which the positioning object belongs is defined as that the layer identifier is given to the positioning object as a parameter after a new positioning object is added to a certain layer of the webpage map, so that whether the positioning object belongs to the current layer of the webpage map can be quickly judged in the subsequent step of judging whether the positioning object belongs to the current layer of the webpage map.
The positioning object characteristics comprise other required recorded and stored positioning object parameter values.
S2: and selecting the specified layer data in a data background according to an externally input specified layer instruction.
The external input instruction is used for designating a layer required to be displayed and updated, and the data background selects the data content of the designated layer according to requirements and sends the data content to the front-end webpage map.
S3: and (4) adopting a map frame to create a front-end webpage map, initializing the front-end webpage map, setting the specified layer in the step S2 as a current layer, and using the current layer as a container of the positioning object for receiving and displaying the positioning object sent by the data background.
And then, establishing a front-end webpage map by adopting a map frame, initializing the front-end webpage map, setting the specified layer as a container of which the current layer is used as a positioning object, and adding the newly-added positioning object into the specified layer of the webpage map after being judged by multiple preset conditions.
Preferably, the map frame can be an openlayer map frame.
And the data transmission between the data background and the front end webpage map adopts a websocket protocol.
S4: selecting one positioning object in the data background, sending the positioning object to the front-end webpage map, judging whether the selected positioning object belongs to the current map layer, and if so, jumping to the step S5; if not, the process ends for the positioning object, and the process proceeds to step S6.
And receiving a webpage map updating instruction, and starting to add the positioning object to the webpage map.
Here, a first re-determination condition for anchor point update is set: and judging whether the positioning object in the data background belongs to the current map layer of the webpage map. There are various ways of determining.
1) Firstly, reading the identifier of the layer to which the positioning object belongs in the positioning object parameter by a data background, if the field is empty, indicating that the positioning object is not associated with the position point of any layer, belongs to a new positioning object, and needing to judge in a second mode; if the field is the determined layer identifier, whether the positioning object belongs to the current layer can be determined quickly and definitely.
2) Secondly, the data background determines whether the positioning object belongs to the current layer according to the coordinates or other characteristic values in the positioning object parameters.
And after the judgment is finished, filtering the positioning object which does not belong to the current layer, not updating and displaying the positioning object in the front-end webpage map, finishing the processing of the positioning object, and performing second judgment on the positioning object which belongs to the current layer.
S5: judging whether the positioning object has historical position information in the current layer, if so, comparing the current position information of the positioning object with the historical position information of the previous updating turn, if the distance between the current position information and the historical position information is less than the preset threshold range, taking the current position information of the positioning object as a repeated interference item of the historical position information, ending the processing of the positioning object, and jumping to the step S6; if the distance between the current position information and the current position information is larger than or equal to a preset threshold range, updating the current position information of the positioning object into a current layer, and setting the parameters of the positioning object; and if the historical position information does not exist, updating the current position information of the positioning object to the current layer, and setting the parameters of the positioning object.
Here, a second re-determination condition for anchor point update is set: and judging whether the positioning object belonging to the current layer has historical position information in the current layer of the webpage map.
Judging whether the historical position information exists can adopt the following modes: 1) extracting characteristic keywords of the positioning object, and searching whether the position information corresponding to the keywords has history position information of similar matching; 2) and judging whether the associated historical information exists according to the coordinates of the positioning object.
If the historical position information close to the positioning object does not exist, the positioning object is indicated to be a positioning point to be added, the new positioning object and the current position information thereof are added into the current layer to identify the position information of the point in the current layer, the ID of the new positioning object is associated with the position of the point in the current layer, the association result is sent to a data background, and meanwhile, the related parameter characteristic value of the positioning object is set.
If the historical position information close to the positioning object exists, comparing the current position information of the positioning object with the historical position information of the previous updating turn, wherein the comparison is a third judging condition of positioning point updating, judging whether the distance difference value between the current position information and the historical position information of the positioning object is within a reasonable preset range, and the comparison process comprises the following steps:
1) and setting a preset threshold range.
2) And calculating the distance between the current position information and the historical position information of the positioning object.
3) And comparing the calculation result with a preset threshold range.
If the distance between the current position information and the historical position information is smaller than the preset threshold range, taking the current position information of the positioning object as a repeated interference item of the historical position information, and finishing the processing of the positioning object; and if the distance between the current position information and the current position information is larger than or equal to the preset threshold range, updating the current position information of the positioning object into the current layer to identify the position information of the point in the current layer, associating the ID of the new positioning object with the position of the point in the current layer, sending an association result to a data background, and setting a related parameter characteristic value of the positioning object.
The maximum hardware resource quantity which can be called when the webpage map is updated can be obtained by setting the value of the preset threshold range, and the minimum value of the preset threshold range is obtained by calculation in combination with the requirements of the positioning precision and the updating frequency of the webpage map.
In some examples, the preset threshold range may be set to 30-50 cm, and in some examples requiring more precise positioning, the preset threshold range may be set to be smaller, for example, 10-30 cm.
In another embodiment, the current position information of the positioning object and the historical position information of the previous updating turn may be determined by first comparing the distance between the two in the x direction, and then determining whether the distance between the two in the y direction needs to be compared according to the comparison result. If the distance in the x direction is larger than the preset threshold range, the distance in the y direction does not need to be calculated and judged, and the calculation amount in the comparison process is further reduced.
The specific process is as follows:
step one, setting a preset threshold range required by judgment. The preset threshold range comprises a first preset threshold range and a second preset threshold range. The first preset threshold range is defined as the absolute value of the difference between the current position information coordinate of the positioning object and the historical position information coordinate in the x direction being a, and the second preset threshold range is defined as the absolute value of the difference between the current position information coordinate of the positioning object and the historical position information coordinate in the y direction being b.
For example, a and b may be set to 30cm to 50cm, and in some cases where more precise positioning is required, the values of a and b may be set to be smaller, for example, 10cm to 30 cm.
Step two, calculating the distance between the current position information of the positioning object and the historical position information in the x direction, comparing the distance with a first preset threshold range, if the distance is larger than and/or equal to the first preset threshold range, determining that the positioning object is a positioning point to be added if the distance difference between the positioning object and the historical position point is considered to be large enough, adding the positioning object and the current position information thereof into the current layer to identify the position information of the point in the current layer, associating the ID of the new positioning object with the position of the point in the current layer, and sending an association result to a data background; and if the distance is smaller than the first preset threshold range, continuously judging the distance relation between the first preset threshold range and the second preset threshold range in the y direction.
Step three: calculating the distance between the current position information of the positioning object and the historical position information in the y direction, comparing the distance with a second preset threshold range, if the distance between the positioning object and the historical position point is larger than and/or equal to the second preset threshold range, determining that the positioning object is a positioning point to be added, adding the positioning object and the current position information thereof into the current layer to identify the position information of the point in the current layer, associating the ID of the new positioning object with the position of the point in the current layer, and sending the association result to a data background; if the distance is smaller than the second preset threshold range, the current position information of the positioning object is used as a repeated interference item of the historical position information, the comparison distance between the new positioning object and the historical position point is within a reasonable error range, only the identifier of the layer to which the positioning object belongs is set as the current layer identifier, and the processing of the positioning object is finished.
In other examples, the current position information of the positioning object and the historical position information of the previous updating turn can be judged by firstly comparing the longitude value difference of the two, and then judging whether the latitude value difference of the two needs to be compared according to the comparison result, wherein the comparison process is the same as the coordinate comparison method.
The value of the preset threshold range is inversely proportional to the positioning accuracy of the webpage map, and the larger the value of the preset threshold range is, the larger the reasonable error range is, and the lower the positioning accuracy is; the smaller the value of the preset threshold range is, the smaller the reasonable error range is, and the higher the positioning precision is.
The value of the preset threshold value range is inversely proportional to the updating frequency of the webpage map and the hardware resources consumed during updating the webpage map. The smaller the value of the preset threshold range is, the closer the distance between the current position information of the positioning object and the historical position information is, and the current position information of the positioning object is updated into the webpage map as new position information, so that the more the updating frequency of the webpage map is, the more the hardware resource consumption is. The larger the value of the preset threshold range is, the farther the distance between the current position information and the historical position information of the positioning object is, the more the new positioning objects in the preset threshold range are considered as repeated interference items of the historical position points and are not updated, the more the positioning objects which are filtered and are not updated, the less the updating frequency of the webpage map is, and the less the hardware resource consumption is.
Therefore, the value of the preset threshold range is controlled in a proper range, which is beneficial to reducing the updating frequency and reducing the hardware resource consumption during updating the webpage map while ensuring the positioning point precision.
S6: and repeating the steps S4 to S5 until the position information updating operation of all the positioning objects in the data background is completed, and ending the current round of the webpage map updating process.
The invention provides a method for increasing the capacity of a positioning point on a webpage map, which comprises the following steps: before updating a positioning object in a webpage map, judging whether the positioning object belongs to a current map layer or not, and if not, not updating the positioning object; if the positioning object belongs to the current layer, judging whether historical position information corresponding to the positioning object exists in the current layer, if so, comparing the positioning object with the coordinates of the historical position, if the positioning object is smaller than a set threshold condition, considering that the positioning object belongs to a repeated interference item, not performing updating treatment, and if the positioning object is larger than or equal to the set threshold condition, adding the positioning object and the current position information thereof to the current layer; if no historical position information exists, the positioning object belongs to a new positioning point, and the new positioning object and the current position information thereof are added to the current map layer.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention should be determined by the appended claims.

Claims (6)

1. A method for increasing the capacity of a positioning point on a webpage map is characterized by comprising the following steps:
s1: adding a plurality of positioning objects in a data background, and setting parameters of the positioning objects; the positioning objects comprise positioning objects which are originally added and are already associated with specific position points on the webpage map, and also comprise newly added positioning objects, the newly added positioning objects are not associated with the specific position points on the webpage map, parameters of all the positioning objects to be added into the webpage map comprise positioning object IDs, positioning object names, positioning object coordinates, identifications of layers to which the positioning objects belong and positioning object characteristics, and the positioning object IDs are unique identifications of the positioning objects;
s2: selecting the appointed layer data in a data background according to an appointed layer instruction input from the outside;
s3: adopting a map frame to create a front-end webpage map, initializing the front-end webpage map, setting the specified layer in the step S2 as a current layer, and using the current layer as a container of a positioning object for receiving and displaying the positioning object sent by a data background;
s4: selecting one positioning object from the data background, sending the positioning object to a front-end webpage map, judging whether the selected positioning object belongs to the current map layer, and if so, jumping to the step S5; if not, ending the processing of the positioning object, and jumping to the step S6;
receiving a webpage map updating instruction, and starting to add a positioning object into a webpage map;
setting a first re-judgment condition of anchor point updating: judging whether a positioning object in the data background belongs to the current layer of the webpage map or not; there are two judging methods:
firstly, reading the identifier of the layer to which the positioning object belongs in the positioning object parameter by a data background, if the field is empty, the positioning object is not associated with any position point of the layer, belongs to a new positioning object, and needs to perform judgment in a second mode; if the field is the determined layer identifier, judging whether the positioning object belongs to the current layer;
secondly, the data background determines whether the positioning object belongs to the current layer according to the coordinates or other characteristic values in the positioning object parameters;
after the judgment is finished, filtering the positioning object which does not belong to the current layer, not updating and displaying the positioning object in the front-end webpage map, finishing the processing of the positioning object, and performing second judgment on the positioning object which belongs to the current layer; s5: judging whether the positioning object has historical position information in the current layer, if so, comparing the current position information of the positioning object with the historical position information of the previous updating turn, if the distance between the current position information and the historical position information is less than the preset threshold range, taking the current position information of the positioning object as a repeated interference item of the historical position information, ending the processing of the positioning object, and jumping to the step S6; if the distance between the current position information and the current position information is larger than or equal to a preset threshold range, updating the current position information of the positioning object into a current layer, and setting the parameters of the positioning object;
if the historical position information does not exist, updating the current position information of the positioning object into the current layer, and setting the parameters of the positioning object;
setting a second judging condition of the updating of the positioning point: judging whether the positioning object belonging to the current layer has historical position information in the current layer of the webpage map;
judging whether historical position information exists or not by adopting the following modes: extracting characteristic keywords of the positioning object, and searching whether the position information corresponding to the keywords has history position information which is matched with the keywords in a similar way; judging whether associated historical information exists according to the coordinates of the positioning object;
if the historical position information close to the positioning object does not exist, the positioning object is a positioning point to be added, the new positioning object and the current position information thereof are added into the current layer to identify the position information of the point in the current layer, the ID of the new positioning object is associated with the position of the point in the current layer, the association result is sent to a data background, and the related parameter characteristic value of the positioning object is set;
if the historical position information close to the positioning object exists, comparing the current position information of the positioning object with the historical position information of the previous updating turn;
s6: and repeating the steps S4 to S5 until the position information updating operation of all the positioning objects in the data background is completed, and ending the current round of the webpage map updating process.
2. The method for increasing the capacity of the positioning points on the netpage map as claimed in claim 1, wherein in step S2, the map frame comprises openlayers map frame.
3. The method for increasing the capacity of a positioning point on a netpage map according to claim 1, wherein in step S5, the process of comparing the current position information of the positioning object with the historical position information of the previous update turn is divided into the following steps:
s51: setting a preset threshold range, wherein the preset threshold range comprises a first preset threshold range and a second preset threshold range;
s52: calculating the distance between the current position information of the positioning object and the historical position information in the x direction, comparing the distance with a first preset threshold range, if the distance is larger than or equal to the first preset threshold range, adding the positioning object and the current position information thereof into the current image layer, and ending the comparison process; if the value is smaller than the first preset threshold range, jumping to step S53;
s53: calculating the distance between the current position information of the positioning object and the historical position information in the y direction, comparing the distance with a second preset threshold range, and if the distance is larger than or equal to the second preset threshold range, adding the positioning object and the current position information thereof to the current image layer; and if the current position information is smaller than the second preset threshold range, taking the current position information of the positioning object as a repeated interference item of the historical position information, and ending the processing of the positioning object.
4. The method for increasing the capacity of the positioning point on the netpage map according to the claim 3, characterized in that the method further comprises:
calculating to obtain a value of a preset threshold range according to the maximum hardware resource quantity and the positioning precision corresponding to the updated webpage map, wherein:
the preset threshold range value is in inverse proportion to the maximum hardware resource quantity corresponding to the updating of the webpage map, and the preset threshold range value is in inverse proportion to the positioning precision corresponding to the updating of the webpage map.
5. The method for increasing the capacity of the positioning point on the netpage map according to claim 4, wherein the method further comprises:
and acquiring the maximum hardware resource quantity which can be called when the webpage map is updated, and calculating to obtain the minimum preset threshold value range value by combining the positioning precision and the updating frequency requirements of the webpage map.
6. The method for increasing the capacity of the positioning point on the netpage map as claimed in claim 1, wherein the data transmission between the data background and the front-end netpage map adopts websocket protocol.
CN201911004421.0A 2019-10-22 2019-10-22 Method for increasing positioning point capacity on webpage map Active CN110825753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911004421.0A CN110825753B (en) 2019-10-22 2019-10-22 Method for increasing positioning point capacity on webpage map

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911004421.0A CN110825753B (en) 2019-10-22 2019-10-22 Method for increasing positioning point capacity on webpage map

Publications (2)

Publication Number Publication Date
CN110825753A CN110825753A (en) 2020-02-21
CN110825753B true CN110825753B (en) 2022-09-02

Family

ID=69550167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911004421.0A Active CN110825753B (en) 2019-10-22 2019-10-22 Method for increasing positioning point capacity on webpage map

Country Status (1)

Country Link
CN (1) CN110825753B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112328339B (en) * 2020-10-10 2024-04-30 Oppo(重庆)智能科技有限公司 Notification message display method and device, storage medium and electronic equipment
CN116089057B (en) * 2022-08-26 2023-10-20 荣耀终端有限公司 Resource scheduling method, device, storage medium and program product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621737A (en) * 2008-06-30 2010-01-06 北京腾瑞万里科技有限公司 Data updating method and system
CN101556165A (en) * 2009-04-24 2009-10-14 方舟信息技术(苏州)有限公司 Method for updating embedded mobile electronic map data base in real time
CN103575282B (en) * 2012-08-08 2016-10-05 北京四维图新科技股份有限公司 A kind of gas station positional information acquisition method, device, system and automobile
CN106294458A (en) * 2015-05-29 2017-01-04 北京四维图新科技股份有限公司 A kind of map point of interest update method and device
CN107543553B (en) * 2016-06-27 2020-12-15 阿里巴巴(中国)有限公司 Interest point updating method and device
CN107784012B (en) * 2016-08-30 2022-03-08 北京四维图新科技股份有限公司 Method and device for updating interest points of digital map
CN106919171B (en) * 2017-03-02 2020-06-12 安科机器人有限公司 Indoor robot positioning and navigation system and method

Also Published As

Publication number Publication date
CN110825753A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110825753B (en) Method for increasing positioning point capacity on webpage map
CN109815419B (en) Interest point indexing method, device, medium and electronic equipment based on geographic position
CN106455056A (en) Positioning method and device
CN104915860A (en) Commodity recommendation method and device
CN109771943A (en) A kind of building method and device of scene of game
CN114880337B (en) Map data integrated updating method, device, equipment and storage medium
CN116245193A (en) Training method and device of target detection model, electronic equipment and medium
CN110349253A (en) Three-dimensional reconstruction method of scene, terminal and readable storage medium
CN104915053A (en) Position determining method and device for interface controls
CN109977373A (en) Identification number assignment method, identification number recovery method and device
CN104717103A (en) Method and device for testing network device
CN112035676B (en) User operation behavior knowledge graph construction method and device
CN110955712A (en) Development API processing method and device based on multiple data sources
CN111161064A (en) Processing method and device for blockchain transaction records
CN113627526B (en) Vehicle identification recognition method and device, electronic equipment and medium
CN107998660A (en) Object scene processing method, device and electronic equipment
CN108055638A (en) Obtain method, apparatus, computer-readable medium and the equipment of target location
CN111291019B (en) Similarity discrimination method and device for data model
CN110868703A (en) Method and device for ensuring signal quality of application program
CN114596637B (en) Image sample data enhancement training method and device and electronic equipment
CN115328751B (en) Method for dynamically constructing observation page for chaos engineering experiment
CN116363260B (en) Image generation method and device and electronic equipment
CN116932838B (en) Database-based data query, update and storage method and device
CN114741072B (en) Page generation method, device, equipment and storage medium
CN111209208B (en) Test scheme generation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant