CN112307145A - Batch updating method, device, medium and equipment for historical map data - Google Patents

Batch updating method, device, medium and equipment for historical map data Download PDF

Info

Publication number
CN112307145A
CN112307145A CN202011127207.7A CN202011127207A CN112307145A CN 112307145 A CN112307145 A CN 112307145A CN 202011127207 A CN202011127207 A CN 202011127207A CN 112307145 A CN112307145 A CN 112307145A
Authority
CN
China
Prior art keywords
data
map data
updating
target
historical map
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.)
Pending
Application number
CN202011127207.7A
Other languages
Chinese (zh)
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.)
Beijing Perfect Knowledge Technology Co Ltd
Original Assignee
Beijing Perfect Knowledge Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Perfect Knowledge Technology Co Ltd filed Critical Beijing Perfect Knowledge Technology Co Ltd
Priority to CN202011127207.7A priority Critical patent/CN112307145A/en
Publication of CN112307145A publication Critical patent/CN112307145A/en
Pending legal-status Critical Current

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/29Geographical information databases
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Sensing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a batch updating method, a device, a medium and equipment of historical map data, wherein the method comprises the following steps: acquiring historical map data; selecting one or more first target plots corresponding to any historical time in a first time period as first updating template data; acquiring attribute information of a selected first target parcel, and modifying the attribute information of the first target parcel to obtain target updating template data; creating a data updating task for updating historical map data based on the target updating template data; determining a plurality of historical map data to be updated, and executing data updating tasks on the plurality of historical map data to be updated in batches. Based on the method provided by the invention, the historical map data within the set time can be uniformly updated only by establishing a data updating task once, so that the updating time can be saved and the updating efficiency of the historical map can be improved while the updating requirement of the historical map data is met.

Description

Batch updating method, device, medium and equipment for historical map data
Technical Field
The invention relates to the technical field of data processing, in particular to a batch updating method, a batch updating device, a batch updating medium and a batch updating device for historical map data.
Background
With the continuous development of computer technology, electronic maps have gradually replaced the trend of traditional electronic maps due to the convenience of searching and viewing. Especially for historical maps in electronic maps, compared with conventional electronic maps, the historical maps have the important attribute of time dimension. For the historical map, due to partial inaccuracy of the historical data, partial modification and adjustment update of the historical map may be needed.
In the traditional scheme, a map editor is used for modifying historical map data for avoiding data risks, but only single task modification in one year is supported in the modification process, but some problems are found in the actual operation process and can occur repeatedly in multiple years, if the traditional scheme is adopted, the modification is carried out one by one, resources are wasted, and omission easily occurs due to manual operation, so that the historical map modification efficiency is influenced.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a batch update method and apparatus, medium, and device of history map data that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a batch update method of historical map data, including:
acquiring historical map data; selecting one or more first target plots corresponding to any historical time in a first time period as first updating template data;
acquiring attribute information of a selected first target parcel, and modifying the attribute information of the first target parcel to obtain target updating template data;
creating a data updating task for updating the historical map data based on the target updating template data;
determining a plurality of historical map data to be updated, and executing the data updating tasks on the plurality of historical map data to be updated in batch.
Optionally, the attribute information of the selected first target parcel includes:
the parcel identification ID, the name of the government authority.
Optionally, the modifying the attribute information of the first target parcel to obtain target update template data includes:
acquiring modification information and/or newly added information of the attribute information of the one or more first target plots, and acquiring target updating template data based on the modification information and/or newly added information; and/or
Receiving an information deletion instruction for attribute information of the one or more first target parcel; and adding a preset mark in the updated template data according to the information deleting instruction to obtain target updated template data.
Optionally, after acquiring the historical map data, the method further includes:
selecting one or more target government rights corresponding to any historical time in a second time period as second updating template data;
acquiring first government information of the target government, modifying the first government information, and taking the modified first government information of the one or more target government as target updating template data;
the first right information comprises at least one of a right name, a right name labeling position and a land parcel covered by the target right.
Optionally, after selecting one or more target government authorities corresponding to any historical time in the second time period as second update template data, the method further includes:
acquiring at least one second target plot covered by the target government right;
determining a display area of each second target land block and a central point of the display area;
highlighting a center point of the display area of each of the second target plots.
Optionally, the determining a plurality of historical map data to be updated, and performing the data update task on the plurality of historical map data to be updated in batch includes:
following modification of the property information of the one or more first target plots in the first updating template data for the government right start-stop information, determining a second time period of the data updating task;
acquiring a plurality of historical map data to be updated in the second time period;
and executing the data updating tasks on the plurality of historical map data to be updated in batch.
Optionally, the determining a plurality of historical map data to be updated, and performing the data update task on the plurality of historical map data to be updated in batch includes:
selecting a third time period for executing the data updating task, and acquiring a plurality of historical map data to be updated in the third time period;
and executing the data updating tasks on the plurality of historical map data to be updated in batch.
Optionally, the executing the data updating task on the plurality of historical map data to be updated in batch includes:
acquiring a historical map data table corresponding to each year in the second time period or the third time period;
second administrative right information of the current year is recorded in the historical map data sheet to be updated corresponding to each year; the second administrative right information comprises administrative right distribution, administrative right names and parcel identification IDs of parcels corresponding to the administrative rights;
and executing the data updating task on the historical map data tables corresponding to the years in batches.
Optionally, after the obtaining of the historical map data table corresponding to each year in the second time period or the third time period, the method further includes:
checking the state and the data content of the historical map data table to be updated in each year;
the batch execution of the data updating task on the plurality of groups of historical map data to be updated comprises the following steps:
and executing the data updating task on the historical map data table to be updated which passes the state check and the data content check in batch.
Optionally, the performing status check and data content check on the historical map data table to be updated for each year includes:
judging whether the historical map data table to be updated in each year is in a preset state or not and whether the historical map data table to be updated has a specific identifier or not so as to complete state check; and
and (4) carrying out weight checking and weight duration checking on the government names in the historical map data table to be updated in each year so as to complete data content checking.
According to another aspect of the present invention, there is also provided a batch update apparatus of historical map data, including:
the template data acquisition module is suitable for acquiring historical map data; selecting one or more first target plots corresponding to any historical time in a first time period as first updating template data;
the template data modification module is suitable for acquiring the attribute information of the selected first target parcel and modifying the attribute information of the first target parcel to obtain target update template data;
the task creating module is suitable for creating a data updating task for updating the historical map data based on the target updating template data;
and the updating module is suitable for determining a plurality of historical map data to be updated and executing the data updating tasks on the plurality of historical map data to be updated in batch.
Optionally, the attribute information of the selected first target parcel includes: the parcel identification ID, the name of the government authority.
Optionally, the template data modification module is further adapted to:
the modifying the attribute information of the first target parcel to obtain target update template data includes:
acquiring modification information and/or newly added information of the attribute information of the one or more first target plots, and acquiring target updating template data based on the modification information and/or newly added information; and/or
Receiving an information deletion instruction for attribute information of the one or more first target parcel; and adding a preset mark in the updated template data according to the information deleting instruction to obtain target updated template data.
Optionally, the template data modification module is further adapted to:
selecting one or more target government rights corresponding to any historical time in a second time period as second updating template data;
acquiring first government information of the target government, modifying the first government information, and taking the modified first government information of the one or more target government as target updating template data;
the first right information comprises at least one of a right name, a right name labeling position and a land parcel covered by the target right.
Optionally, the apparatus further comprises a display module;
the display module is suitable for acquiring at least one second target plot covered by the target government right;
determining a display area of each second target land block and a central point of the display area;
highlighting a center point of the display area of each of the second target plots.
Optionally, the update module includes:
a first updating unit, adapted to follow up modification of the property information of the one or more first target plots in the first updating template data for government right start-stop information, and determine a second time period of the data updating task;
acquiring a plurality of historical map data to be updated in the second time period;
and executing the data updating tasks on the plurality of historical map data to be updated in batch.
Optionally, the update module further includes:
the second updating unit is suitable for selecting a third time period for executing the data updating task and acquiring a plurality of historical map data to be updated in the third time period;
and executing the data updating tasks on the plurality of historical map data to be updated in batch.
Optionally, the update module is further adapted to:
acquiring a historical map data table corresponding to each year in the second time period or the third time period;
second administrative right information of the current year is recorded in the historical map data sheet to be updated corresponding to each year; the second administrative right information comprises administrative right distribution, administrative right names and parcel identification IDs of parcels corresponding to the administrative rights;
and executing the data updating task on the historical map data tables corresponding to the years in batches.
Optionally, the update module further comprises;
the checking unit is suitable for checking the state and the data content of the historical map data table to be updated in each year;
the batch execution of the data updating task on the plurality of groups of historical map data to be updated comprises the following steps:
and executing the data updating task on the historical map data table to be updated which passes the state check and the data content check in batch.
Optionally, the examination unit is further adapted for:
judging whether the historical map data table to be updated in each year is in a preset state or not and whether the historical map data table to be updated has a specific identifier or not so as to complete state check; and
and (4) carrying out weight checking and weight duration checking on the government names in the historical map data table to be updated in each year so as to complete data content checking.
According to still another aspect of the present invention, there is also provided a computer-readable storage medium for storing program code for executing the batch update method of historical map data of any one of the above.
According to yet another aspect of the present invention, there is also provided a computing device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to execute any one of the above batch update methods of historical map data according to instructions in the program code.
The invention provides a batch updating method, a device, a medium and equipment of historical map data. Based on the method provided by the invention, a data updating task is created once for the target updating template data obtained after the attribute information of one or more first target plots is modified, so that the unified updating of a plurality of historical map data can be realized, the updating time of the historical map data can be saved while the updating requirement of the historical map data is met, the omission of the historical map data needing to be updated is avoided, and the updating efficiency of the historical map is further improved.
Furthermore, the method provided by the invention can also carry out state check and data content check on the historical map data to be updated in the determined time period, and screen out the historical map data which do not meet the updating condition, so that the historical map data can be updated more accurately in batch.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flow chart of a batch update method for historical map data according to an embodiment of the invention;
FIG. 2 illustrates a historical map data display interface diagram according to an embodiment of the invention;
FIG. 3 illustrates a historical map data display interface diagram according to another embodiment of the invention;
FIG. 4 is a flowchart illustrating a batch update method for historical map data according to another embodiment of the invention;
FIG. 5 is a block diagram of an apparatus for batch update of historical map data according to an embodiment of the invention;
fig. 6 is a schematic structural diagram of a batch update apparatus for historical map data according to another embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart illustrating a method for batch updating of historical map data according to an embodiment of the present invention, and as can be seen from fig. 1, the method for batch updating of historical map data according to an embodiment of the present invention may include at least the following steps S102 to S108.
Step S102, obtaining historical map data; one or more first target plots corresponding to any historical time in the first time period are selected as first updating template data.
In the embodiment of the invention, the historical map data is map data which is constructed by a plurality of plots serving as map graphic elements. That is, the parcel may be formed by splitting a land map, may be displayed in a tile form in a designated page, and each parcel may have its own specific attribute information, such as attribute information of the administrative right information, unique identification information, and the like. After the historical map data is acquired, the historical map data may be loaded into a pre-created display page (e.g., a web page), and the acquired historical map data is displayed in the display page, as shown in fig. 2.
Optionally, in the embodiment of the present invention, one or more first target parcel corresponding to any historical time in a first time period may be selected in the historical map data as the first update template data, that is, the historical time may be determined first, and the historical time may be determined based on any time period, or may be determined according to different requirements. After the historical time is determined, one or more first target plots corresponding to the historical time can be selected as first updating template data. Optionally, when the first target parcel is selected, one parcel may be selected as the first target parcel in a single time based on the display page, or multiple (two or more) parcels may be selected as the first target parcel at the same time, and the selected first target parcel may be used as the first update template data, so that the first update template data may be subsequently used to update the related data in the history map data that needs to be updated.
And step S104, acquiring the attribute information of the selected first target parcel, and modifying the attribute information of the first target parcel to obtain target updating template data.
In this embodiment of the present invention, after the first target parcel is selected, attribute information of each selected first target parcel may be further obtained, and optionally, the attribute information of the selected first target parcel may include: the parcel identification ID, the name of the government authority. The system comprises a plot identification ID, a geographic information database and a geographic information database, wherein the plot identification ID is a unique identification ID for identifying a plot; the name of the government right can be the name of the government right corresponding to the current parcel. Of course, besides the above description, the attribute information of the parcel may also include an english name and remark information of a government right to which the parcel belongs, and the present invention is not limited to this.
Further, after the attribute information of the first target parcel is acquired, the attribute information of the first target parcel may be modified to obtain target update template data.
In practical application, when the attribute information of any first target parcel is modified, operations such as adding, modifying and deleting the attribute information may be performed, and when the attribute information is modified and deleted, part of the attribute information may be modified or deleted, or all of the attribute information may be modified or deleted, which is not limited in the present invention.
In an optional embodiment of the present invention, when modifying the attribute information of the first target parcel to obtain the target update template data, the method may include obtaining modification information and/or new information of the attribute information of one or more first target parcels, and obtaining the target update template data based on the modification information and/or the new information. That is to say, in the embodiment of the present invention, modification and/or addition may be directly performed on the existing attribute information of the first target blocks, so as to obtain modification information and/or addition information of the attribute information of each first target block, and one or more first target blocks modified by the attribute information of the blocks are used as target update template data.
In another optional embodiment of the present invention, when obtaining the target update template data, an information deletion instruction for attribute information of one or more first target parcel may be further received; and adding a preset mark in the updated template data according to the information deleting instruction to obtain target updated template data. In this embodiment, different from the addition and modification information, when the attribute information of the first target parcel needs to be deleted, a preset flag needs to be generated based on the information deletion instruction, and then the updated template data added with the preset flag is used as the target updated template data.
For example, when deleting the attribute information of the first target parcel, the parcel may be given a virtual government right named "delete" according to a traditional way of drawing government right, that is, a preset identifier corresponding to "delete" is generated, and when the preset identifier is subsequently identified, deletion processing may be performed according to the attribute information of the parcel corresponding to the parcel with the preset identifier. Based on the method provided by the embodiment of the invention, the attribute information of the plot is deleted by adding the preset identifier, so that the deleting process of the plot information can be simplified, and the updating efficiency of the historical map data is improved.
The above-described embodiments describe a process of updating template data based on one or more first target parcel as a first update. In an alternative embodiment of the present invention, the second update template data may be further based on information related to the political authority. That is, after acquiring the history map data in step S102, the method may further include:
and S1, selecting one or more target government rights corresponding to any historical time in the second time period as second updating template data. Alternatively, when the target administrative right is selected, the administrative right names in the history map data shown in fig. 2 may be directly clicked, or an administrative right selection window may be created in the display page, for example, a multi-level area selection list currently aiming at each continent, each country, and a lower-level city of each country is provided, so as to select an administrative right area in the administrative right selection window, where information needs to be updated, according to different requirements.
And S2, acquiring first right information of the target right, modifying the first right information, and taking the modified first right information of one or more target rights as target updating template data. The first administrative right information comprises at least one of an administrative right name, an administrative right name marking position and a land parcel covered by a target administrative right. Besides, information such as the start and stop time of the government right, the marking font and size of the government right name and the like can be included.
For example, assuming that the name annotation position of a certain right needs to be adjusted, at this time, the parameter corresponding to the "name annotation position" of the target right may be obtained and adjusted, for example, the mark coordinates of the right name in the historical map data are re-input, or after the right name of the target right is moved by directly adopting a dragging manner, the new name annotation position of the target right is obtained. In addition, after the name annotation position information is acquired, a preset flag "name adjustment" may be added, and only the name annotation position information (e.g., coordinate information in a map) corresponding to the administrative right is updated, and the parcel information is not updated. When the data update task is performed, the adjustment of the name annotation position of the target right can be quickly and accurately completed according to the marker.
In practical applications, when the information is modified, a misoperation may be triggered due to improper editing, and optionally, after the step S1, at least one second target parcel covered by the target government right may be obtained; determining a display area of each second target plot and a central point of the display area; the center point of the display area of each second target parcel is highlighted.
That is, when the user selects a certain political right in the preset editing interface to view the distribution range, since the tile data of the land parcel cannot be further highlighted in the parameters such as filling color, side line identification degree and the like, the embodiment of the present invention can highlight the center points of the display areas corresponding to all the land parcels of the political right, ensure that the user can clearly tell whether the land parcel range of the current political right is wrong, and specifically, can emphasize the display center point or adopt the color mark center point which is different from the display area, and the like. As shown in fig. 3, the area (area in the block) where the drawing error is likely to be found clearly, the method provided by the embodiment of the present invention can assist the user to visually identify the error in the editing process, optimize the data exception identification of the editing interface, increase the function of viewing the coverage area of the selected government right, and reduce the batch processing work of the map data caused by the editing error to a certain extent.
Step S106, a data updating task for updating the historical map data is created based on the target updating template data.
As described above, the target update template data already includes the related information after the modification of the attribute information or the administrative information of the parcel, so that the data update task can be created directly based on the target update template data, and the target update data and the related instruction information can be stored in the data update task.
Step S108, determining a plurality of historical map data to be updated, and executing data updating tasks on the plurality of historical map data to be updated in batch.
After the data updating task is established, a plurality of historical map data to be updated which need to be updated can be determined, so that the updating task can be executed on the plurality of historical map data to be updated at the same time, and batch updating of the plurality of historical map data to be updated is realized.
In an optional embodiment of the present invention, when determining the historical map data to be updated, the modification of the property information of one or more first target parcel in the first update template data for the administrative right start-stop information may be followed, and a second time period of the data update task is determined; acquiring a plurality of historical map data to be updated in a second time period; and executing data updating tasks on a plurality of historical map data to be updated in batches.
In the above embodiment, the property information and the administrative right information of the parcel may include an administrative right start-stop time, when the historical map data to be updated is determined in step S108, the administrative right start-stop time may be directly used as the second time period, and the multiple historical map data to be updated in the second time period are acquired, and when the information in the data updating module is modified, the modification of the first updating template data may be followed, so as to complete the batch execution of the data updating task on the multiple historical map data to be updated at the same time. The method provided by the embodiment of the invention can complete the determination of the historical map to be updated and the execution of the data updating task while modifying the first updating template data, can reduce the related operations of the data updating task, and effectively improves the execution efficiency of the data updating task.
In another alternative embodiment of the present invention, the time period required for updating may also be determined separately. That is, the step S108 may further include: selecting a third time period for executing a data updating task, and acquiring a plurality of historical map data to be updated in the third time period; and executing data updating tasks on a plurality of historical map data to be updated in batches. The creator of the data updating task can autonomously select the third time period, that is, determine which time period of historical map data needs to be updated, and further obtain a plurality of historical map data to be updated in the third time period according to the determined third time period and execute the data updating task in batch.
Generally speaking, each year can correspond to a group of historical map data, so when the data updating task is executed on the historical map data, a historical map data table corresponding to each year in the second time period or the third time period can be obtained; and executing data updating tasks on the historical map data tables corresponding to the years in batches.
In the embodiment of the present invention, second right information of the current year, for example, right distribution, right name, and block ID of the block corresponding to each right, is recorded in the history map data table to be updated corresponding to each year. When the update task is executed on the historical map data to be updated, the data update task may be executed on the historical map data tables corresponding to each year in batches, that is, the information in the data tables of each year is updated uniformly, and specifically, when the update is executed, the data update task may be executed on each data table one by one, so as to update each data table.
In practical application, the data updating task may not be executed on the historical map data of all the years within a certain time, and at this time, after the historical map data table corresponding to each year within the second time period or the third time period is obtained, the historical map data table to be updated of each year may be checked to screen out the historical map data table meeting the requirement. Specifically, the status check and the data content check may be performed on the history map data table to be updated for each year, and the data update task may be performed in batches on the history map data table to be updated through which the status check and the data content check pass.
Optionally, when the status of the data table is checked, it may be determined whether the historical map data table to be updated in each year is in a preset status and has a specific identifier, so as to complete the status check. The preset state may be a data table non-warehousing state, that is, the data table is not stored in the designated database. The specific identifier, i.e., the identifiable data table, is map data of the whole world of the year, and can be agreed in advance.
In addition, content inspection needs to be performed on the data table, and specifically, duplication checking and government right duration time checking can be performed on the government right names in the historical map data table to be updated in each year so as to complete data content inspection. When the administrative right names are checked for duplication, all the administrative right names in the data table can be traversed, whether map data in the same year have administrative rights with the same name is judged, if yes, the map data belong to an abnormal condition, and at the moment, alarm information can be sent out; if not, the weight name check is passed. And the duration check of the administrative right means that the duration (from appearance to death) of the administrative right needing to be modified cannot cover the year interval to be treated in batches, and if the duration check of the administrative right does not cover the year interval, an error is reported and the flow is terminated.
And for the historical map data tables of each year, which pass both the status check and the data content check, executing a data updating task, and replacing the corresponding content in the data tables of each year with the updating information in the data updating task. After the data updating task is completed in step S108 on the data table of the historical map data of each year, the updating result may be fed back to the user to check according to the updating condition, including the information of success and failure of updating. If network abnormality, overtime, database abnormality and the like are encountered, the data sheet updating of a certain year may fail, and after the updating is completed, the failed data sheet year and the failed administrative name are fed back to the user in a text form, so that the subsequent modification is facilitated.
Fig. 4 is a flowchart illustrating a batch update method for historical map data according to another alternative embodiment of the present invention, and as can be seen from fig. 4, the method provided by the embodiment of the present invention may include the following steps S402 to S414.
Step S402, acquiring historical map data; the historical map data may include a plurality of plots that are stitched as map elements to form a map, as shown in fig. 2;
step S404, selecting the updating template data corresponding to any historical time in the first time period, and modifying the updating template data to obtain target updating template data; specifically, it may include at least one of the following:
1) one or more first target plots corresponding to any historical time in a first time period are selected as first updating template data, and attribute information of the first target plots is modified to obtain the target updating template data. When the attribute information of any first target plot is modified, operations such as adding, modifying and deleting can be carried out on the attribute information, and when the attribute information is modified and deleted, partial information can be modified or deleted, and all information can be modified or deleted. Optionally, the existing attribute information of the first target parcel may be modified and/or newly added directly, so as to obtain the modification information and/or newly added information of the attribute information of each first target parcel, and one or more first target parcels modified by the attribute information of the parcel are used as target update template data. For example, the administrative right in the parcel a is modified, or remark information is added to the attribute information of the parcel B.
In addition, a preset mark can be added to the updated template data according to the information deletion instruction of the attribute information of one or more first target plots, so that the target updated template data is obtained.
2) And selecting one or more target politics corresponding to any historical time in the first time period as second updating template data, and modifying the political information of the target politics to obtain target updating template data. For example, a political right selection window is provided, for example, a list is selected according to names of ancient countries, a user can select a target political right of the window according to the political right, modification of the political right information is achieved, and then target update template data is obtained according to the modified political right information of the target political right.
Step S406, a data updating task for updating the historical map data is created based on the target updating template data;
step S408, determining a second time period needing to be updated, and acquiring a historical map data table corresponding to each year in the second time period; the second time period can be set according to different requirements, and is mainly a year interval, such as a 1900-2000 time interval. Information such as the distribution of the current year's administrative rights, the names of the administrative rights, and the parcel identification IDs of parcels corresponding to the administrative rights is recorded in the historical map data table to be updated corresponding to each year.
Step S410, performing state check on the historical map data table to be updated corresponding to each year, judging whether the state check passes, and if so, executing step S412; if not, step S418 is executed. When the state of the historical map data table to be updated corresponding to any one year is checked, whether the historical map data table is a preset state value (namely whether the data table is in an unput state) or not is mainly judged, whether a specific identifier exists or not is judged, namely whether the corresponding historical map data is map data of the whole world or not is judged, and if all the historical map data are map data, the state check of the data table is passed.
Step S412, performing content check on the historical map data table to be updated of each year passing the state check, judging whether the state check passes, and if the state check passes, executing step S414; if not, step S418 is executed. And content checking, namely judging whether the historical map data table to be updated has repeated right names and whether the duration of the right covers a set time interval, and if not, indicating that the content checking of the data table is passed.
Step S414, executing a data updating task on the historical map data table to be updated that the content inspection passes, in order to update the corresponding information in the historical map data table to be updated according to the updating information in the data updating task.
Step S416, acquiring and outputting a data updating task execution result; whether the data updating task is successfully executed or not, the execution result is output so as to inform the user of the updating condition of the historical map data table to be updated in each year.
In step S418, the error information is output, and the user performs subsequent correction processing.
According to the method provided by the embodiment of the invention, a platform for editing the historical map is provided for a user, the data updating task can be executed on the historical map data in batch in the set time period by only editing the data updating task once, so that the target updating template data in the data updating task is uniformly applied to all historical map data tables which are subjected to state and content inspection in the set time period, the requirement for editing the historical map data is met, the editing time of the historical map data is reduced, and the updating efficiency of the historical map data is further improved.
Based on the same inventive concept, an embodiment of the present invention further provides a batch update apparatus for historical map data, as shown in fig. 5, the apparatus may include:
a template data acquisition module 510 adapted to acquire historical map data; selecting one or more first target plots corresponding to any historical time in a first time period as first updating template data;
the template data modification module 520 is adapted to obtain attribute information of the selected first target parcel, and modify the attribute information of the first target parcel to obtain target update template data;
a task creation module 530 adapted to create a data update task for performing update processing on the history map data based on the target update template data;
and the updating module 540 is adapted to determine a plurality of historical map data to be updated, and perform data updating tasks on the plurality of historical map data to be updated in batches.
In an optional embodiment of the present invention, the attribute information of the selected first target parcel includes:
the parcel identification ID, the name of the government authority.
In an optional embodiment of the present invention, the template data modification module 520 is further adapted to:
modifying the attribute information of the first target parcel to obtain target update template data, comprising:
acquiring modification information and/or newly added information of the attribute information of one or more first target plots, and acquiring target update template data based on the modification information and/or newly added information; and/or
Receiving an information deletion instruction for attribute information of one or more first target parcel; and adding a preset mark in the updated template data according to the information deleting instruction to obtain target updated template data.
In an optional embodiment of the present invention, the template data modification module 520 is further adapted to:
selecting one or more target government rights corresponding to any historical time in a second time period as second updating template data;
acquiring first government information of target government, modifying the first government information, and taking the modified first government information of one or more target government as target updating template data;
the first right information comprises at least one of a right name, a right name labeling position and a land parcel covered by the target right.
In an alternative embodiment of the invention, the apparatus further comprises a display module 550;
a display module 550 adapted to obtain at least one second target parcel covered by the target government right;
determining a display area of each second target plot and a central point of the display area;
the center point of the display area of each second target parcel is highlighted.
In an alternative embodiment of the present invention, as shown in fig. 6, the update module 540 includes:
a first updating unit 541 adapted to follow up a modification to the administrative right start-stop information in the attribute information of one or more second target parcel in the first update template data, and determine a second time period of the data update task;
acquiring a plurality of historical map data to be updated in a second time period;
and executing data updating tasks on a plurality of historical map data to be updated in batches.
In an alternative embodiment of the present invention, as shown in fig. 6, the update module 540 further includes:
the second updating unit 542 is adapted to select a third time period for executing a data updating task, and obtain a plurality of historical map data to be updated within the third time period;
and executing data updating tasks on a plurality of historical map data to be updated in batches.
In an alternative embodiment of the present invention, the update module 540 is further adapted to:
acquiring a historical map data table corresponding to each year in a second time period or a third time period;
second administrative right information of the current year is recorded in the historical map data sheet to be updated corresponding to each year; the second administrative right information comprises administrative right distribution, administrative right names and parcel identification IDs of parcels corresponding to the administrative rights;
and executing data updating tasks on the historical map data tables corresponding to the years in batches.
In an alternative embodiment of the present invention, as shown in fig. 6, the apparatus further comprises a checking unit 543;
the checking module 543 is suitable for checking the state and the data content of the historical map data table to be updated in each year;
the method comprises the following steps of carrying out data updating tasks on a plurality of groups of historical map data to be updated in batch, wherein the data updating tasks comprise:
and executing data updating tasks on the historical map data table to be updated, which passes the status check and the data content check, in batches.
In an optional embodiment of the present invention, the checking module 543 is further adapted to:
judging whether the historical map data table to be updated in each year is in a preset state or not and whether the historical map data table to be updated has a specific identifier or not so as to complete state check; and
and (4) carrying out weight checking and weight duration checking on the government names in the historical map data table to be updated in each year so as to complete data content checking.
In an optional embodiment of the present invention, there is further provided a computer-readable storage medium for storing program code for executing the batch update method of historical map data of any one of the above embodiments.
In an optional embodiment of the invention, there is also provided a computing device comprising a processor and a memory: the memory is used for storing the program codes and transmitting the program codes to the processor; the processor is used for executing the batch updating method of the historical map data of any one of the above embodiments according to instructions in the program code.
The embodiment of the invention provides a batch updating method, a device, a medium and equipment for historical map data. Based on the method provided by the invention, a data updating task is created once for the target updating template data obtained after the attribute information of one or more first target plots is modified, so that the unified updating of a plurality of historical map data can be realized, the updating time of the historical map data can be saved while the updating requirement of the historical map data is met, the omission of the historical map data needing to be updated is avoided, and the updating efficiency of the historical map is further improved.
Furthermore, the method provided by the embodiment of the invention can also perform state check and data content check on the historical map data to be updated in the determined time period, and screen out the historical map data which do not meet the updating condition, so that the historical map data can be updated more accurately in batch.
It is clear to those skilled in the art that the specific working processes of the above-described systems, devices, modules and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

Claims (13)

1. A batch updating method of historical map data is characterized by comprising the following steps:
acquiring historical map data; selecting one or more first target plots corresponding to any historical time in a first time period as first updating template data;
acquiring attribute information of a selected first target parcel, and modifying the attribute information of the first target parcel to obtain target updating template data;
creating a data updating task for updating the historical map data based on the target updating template data;
determining a plurality of historical map data to be updated, and executing the data updating tasks on the plurality of historical map data to be updated in batch.
2. The method of claim 1, wherein the attribute information of the selected first target parcel comprises: the parcel identification ID, the name of the government authority.
3. The method of claim 1, wherein modifying the attribute information of the first target parcel to obtain target update template data comprises:
acquiring modification information and/or newly added information of the attribute information of the one or more first target plots, and acquiring target updating template data based on the modification information and/or newly added information; and/or
Receiving an information deletion instruction for attribute information of the one or more first target parcel; and adding a preset mark in the updated template data according to the information deleting instruction to obtain target updated template data.
4. The method of claim 1, wherein after obtaining the historical map data, further comprising:
selecting one or more target government rights corresponding to any historical time in a second time period as second updating template data;
acquiring first government information of the target government, modifying the first government information, and taking the modified first government information of the one or more target government as target updating template data;
the first right information comprises at least one of a right name, a right name labeling position and a land parcel covered by the target right.
5. The method according to claim 4, wherein after selecting one or more target politics corresponding to any historical time in the second time period as second updating template data, the method further comprises:
acquiring at least one second target plot covered by the target government right;
determining a display area of each second target land block and a central point of the display area;
highlighting a center point of the display area of each of the second target plots.
6. The method according to any one of claims 1 to 5, wherein the determining a plurality of historical map data to be updated, and the performing the data updating task on the plurality of historical map data to be updated in batch comprises:
following modification of the property information of the one or more first target plots in the first updating template data for the government right start-stop information, determining a second time period of the data updating task;
acquiring a plurality of historical map data to be updated in the second time period;
and executing the data updating tasks on the plurality of historical map data to be updated in batch.
7. The method according to any one of claims 1 to 5, wherein the determining a plurality of historical map data to be updated, and the performing the data updating task on the plurality of historical map data to be updated in batch comprises:
selecting a third time period for executing the data updating task, and acquiring a plurality of historical map data to be updated in the third time period;
and executing the data updating tasks on the plurality of historical map data to be updated in batch.
8. The method according to claim 6 or 7, wherein the batch execution of the data update task on the plurality of historical map data to be updated comprises:
acquiring a historical map data table corresponding to each year in the second time period or the third time period;
second administrative right information of the current year is recorded in the historical map data sheet to be updated corresponding to each year; the second administrative right information comprises administrative right distribution, administrative right names and parcel identification IDs of parcels corresponding to the administrative rights;
and executing the data updating task on the historical map data tables corresponding to the years in batches.
9. The method according to claim 8, wherein after obtaining the historical map data table corresponding to each year in the second time period or the third time period, further comprising:
checking the state and the data content of the historical map data table to be updated in each year;
the batch execution of the data updating task on the plurality of groups of historical map data to be updated comprises the following steps:
and executing the data updating task on the historical map data table to be updated which passes the state check and the data content check in batch.
10. The method according to claim 9, wherein the status check and the data content check of the historical map data table to be updated for each year comprise:
judging whether the historical map data table to be updated in each year is in a preset state or not and whether the historical map data table to be updated has a specific identifier or not so as to complete state check; and
and (4) carrying out weight checking and weight duration checking on the government names in the historical map data table to be updated in each year so as to complete data content checking.
11. An apparatus for batch update of historical map data, comprising:
the template data acquisition module is suitable for acquiring historical map data; selecting one or more first target plots corresponding to any historical time in a first time period as first updating template data;
the template data modification module is suitable for acquiring the attribute information of the selected first target parcel and modifying the attribute information of the first target parcel to obtain target update template data;
the task creating module is suitable for creating a data updating task for updating the historical map data based on the target updating template data;
and the updating module is suitable for determining a plurality of historical map data to be updated and executing the data updating tasks on the plurality of historical map data to be updated in batch.
12. A computer-readable storage medium characterized in that the computer-readable storage medium stores program code for executing the batch update method of history map data according to any one of claims 1 to 10.
13. A computing device, the computing device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the batch update method of historical map data of any of claims 1-10 according to instructions in the program code.
CN202011127207.7A 2020-10-20 2020-10-20 Batch updating method, device, medium and equipment for historical map data Pending CN112307145A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011127207.7A CN112307145A (en) 2020-10-20 2020-10-20 Batch updating method, device, medium and equipment for historical map data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011127207.7A CN112307145A (en) 2020-10-20 2020-10-20 Batch updating method, device, medium and equipment for historical map data

Publications (1)

Publication Number Publication Date
CN112307145A true CN112307145A (en) 2021-02-02

Family

ID=74328193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011127207.7A Pending CN112307145A (en) 2020-10-20 2020-10-20 Batch updating method, device, medium and equipment for historical map data

Country Status (1)

Country Link
CN (1) CN112307145A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176845A (en) * 2021-04-23 2021-07-27 北京完美知识科技有限公司 Method and device for displaying historical information in historical map
CN113190610A (en) * 2021-04-09 2021-07-30 北京完美知识科技有限公司 Map color matching method, device and storage medium
CN114077474A (en) * 2021-10-20 2022-02-22 广州景骐科技有限公司 Processing method, device and equipment for high-precision map data packet and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150348A (en) * 2013-02-07 2013-06-12 国家基础地理信息中心 Incremental updating method and system for GIS database
CN104794217A (en) * 2015-04-28 2015-07-22 武大吉奥信息技术有限公司 Tile map data and service updating method and system based on parallel computing mode
CN105808578A (en) * 2014-12-29 2016-07-27 高德软件有限公司 Method and device for incremental updating of electronic map
CN107273486A (en) * 2017-06-12 2017-10-20 江苏省基础地理信息中心 Map updating method and device
CN110309122A (en) * 2018-03-28 2019-10-08 腾讯科技(深圳)有限公司 Obtain method, apparatus, server and the storage medium of incremental data
CN111209364A (en) * 2019-12-31 2020-05-29 武汉中海庭数据技术有限公司 Mass data access processing method and system based on crowdsourcing map updating
CN111324685A (en) * 2020-02-28 2020-06-23 天津完美引力科技有限公司 Method, device and system for processing historical map data

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150348A (en) * 2013-02-07 2013-06-12 国家基础地理信息中心 Incremental updating method and system for GIS database
CN105808578A (en) * 2014-12-29 2016-07-27 高德软件有限公司 Method and device for incremental updating of electronic map
CN104794217A (en) * 2015-04-28 2015-07-22 武大吉奥信息技术有限公司 Tile map data and service updating method and system based on parallel computing mode
CN107273486A (en) * 2017-06-12 2017-10-20 江苏省基础地理信息中心 Map updating method and device
CN110309122A (en) * 2018-03-28 2019-10-08 腾讯科技(深圳)有限公司 Obtain method, apparatus, server and the storage medium of incremental data
CN111209364A (en) * 2019-12-31 2020-05-29 武汉中海庭数据技术有限公司 Mass data access processing method and system based on crowdsourcing map updating
CN111324685A (en) * 2020-02-28 2020-06-23 天津完美引力科技有限公司 Method, device and system for processing historical map data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113190610A (en) * 2021-04-09 2021-07-30 北京完美知识科技有限公司 Map color matching method, device and storage medium
CN113176845A (en) * 2021-04-23 2021-07-27 北京完美知识科技有限公司 Method and device for displaying historical information in historical map
CN113176845B (en) * 2021-04-23 2024-01-12 北京完美知识科技有限公司 Method and device for displaying history information in history map
CN114077474A (en) * 2021-10-20 2022-02-22 广州景骐科技有限公司 Processing method, device and equipment for high-precision map data packet and storage medium
CN114077474B (en) * 2021-10-20 2024-02-27 广州景骐科技有限公司 Processing method, device, equipment and storage medium for high-precision map data packet

Similar Documents

Publication Publication Date Title
CN112307145A (en) Batch updating method, device, medium and equipment for historical map data
CN111930381B (en) Personalized page configuration method supporting SaaS multi-tenant system
WO2008105611A1 (en) Database auto-building method for link of search data in gis system using cad drawings
CN108830554B (en) Task model-based intelligent detection method and system for data result information quality
CN105426372A (en) Electronic map data manufacturing and updating method and apparatus
CN111324685A (en) Method, device and system for processing historical map data
CN111159982A (en) Document editing method and device, electronic equipment and computer readable storage medium
CN111582518A (en) Automatic generation method and device for power inspection report and terminal equipment
CN111190807A (en) Buried point testing method and device
CN111506593B (en) Software system data upgrading method, device, equipment and storage medium
CN113742441A (en) Rapid updating method and system for electronic house map
CN115033936B (en) Material model management method for SolidWorks system
CN114490906B (en) Method and device for checking whether area boundary line drawing in electronic map is in compliance
CN116414935A (en) Method for distributed Search space vector data based on Elastic Search
CN114331135B (en) Process flow management method, device, equipment and storage medium
CN115757672A (en) High-precision map data updating method and system
CN113688150B (en) Keyword searching method and device, electronic equipment and storage medium
CN110675729B (en) Multi-version local geographic information integrated drawing method and system
CN114003679A (en) Spatial superposition analysis method
CN110717576A (en) Image processing method, device and equipment
CN112612915B (en) Picture labeling method and device
CN109150571B (en) Grid mapping method and device
CN111352747A (en) Cooperative operation method and device
CN115412928B (en) Flower arrangement base station identification method and device based on space technology
CN118132143B (en) Training method, mapping method and equipment for low-code component recognition model

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