CN116303805B - Geospatial basic data sharing method and system based on blockchain - Google Patents

Geospatial basic data sharing method and system based on blockchain Download PDF

Info

Publication number
CN116303805B
CN116303805B CN202310575221.0A CN202310575221A CN116303805B CN 116303805 B CN116303805 B CN 116303805B CN 202310575221 A CN202310575221 A CN 202310575221A CN 116303805 B CN116303805 B CN 116303805B
Authority
CN
China
Prior art keywords
data
event
sharing
space
node
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
CN202310575221.0A
Other languages
Chinese (zh)
Other versions
CN116303805A (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.)
Beijing Hengge Technology Co ltd
Original Assignee
Beijing Hengge 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 Hengge Technology Co ltd filed Critical Beijing Hengge Technology Co ltd
Priority to CN202310575221.0A priority Critical patent/CN116303805B/en
Publication of CN116303805A publication Critical patent/CN116303805A/en
Application granted granted Critical
Publication of CN116303805B publication Critical patent/CN116303805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/22Indexing; Data structures therefor; Storage structures
    • 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
    • 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
    • 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)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Remote Sensing (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a geospatial basic data sharing method and system based on a blockchain, wherein the method comprises the following steps: determining geographic space basic data of a target space, and setting storage event nodes for each space unit according to geographic attention degree and geographic change events of each space unit in the target space; receiving a data sharing request matched with a target space, analyzing the data sharing request, traversing all storage event nodes according to an analysis result, and locking the sharing event nodes; ordering the locked sharing event nodes according to the node states; and according to the sequencing result, sequentially sending the basic data in the sharing event node to a receiving end matched with the data sharing request, so as to realize data sharing. The event nodes are arranged for each space unit to be decentralized, and the data sharing request is matched with the nodes to obtain the sharing event nodes, so that data sharing is realized, and the efficiency of data sharing is effectively improved.

Description

Geospatial basic data sharing method and system based on blockchain
Technical Field
The invention relates to the technical field of blockchains, in particular to a geospatial basic data sharing method and system based on blockchains.
Background
The main characteristics of the blockchain technology are decentralization, cryptographic security and non-tamper-resistance. Decentralizing means that all transactions are co-monitored and recorded by network members, rather than being controlled by a centralized organization.
In the process of data transmission, because of the huge geographic space basic data of each city, in the calling process, if the whole city data exists in a server appointed by a matching area, but in the process of data sharing, the data are shared in a centralized mode, but the data to be shared are transmitted to a receiving end only by carrying out layer-by-layer matching and layer-by-layer transmission on the server, so that the efficiency of data sharing is definitely reduced.
Accordingly, the present invention provides a geospatial base data sharing method and system based on blockchain.
Disclosure of Invention
The invention provides a geospatial basic data sharing method and system based on a blockchain, which are used for achieving data sharing by adopting the steps of setting event nodes to each space unit for decentralization and obtaining shared event nodes by matching data sharing requests with the nodes, thereby effectively improving the efficiency of data sharing.
The invention provides a geospatial basic data sharing method based on a blockchain, which comprises the following steps:
step 1: determining geographic space basic data of a target space, and setting storage event nodes for each space unit according to geographic attention and geographic change events of each space unit in the target space;
step 2: receiving a data sharing request matched with the target space, analyzing the data sharing request, traversing all storage event nodes according to an analysis result, and locking the sharing event nodes;
step 3: ordering the locked sharing event nodes according to the node states;
step 4: according to the ordering result, sequentially sending the basic data in the sharing event node to a receiving end matched with the data sharing request to realize data sharing;
traversing all the storage event nodes according to the analysis result, and locking the sharing event nodes, wherein the method comprises the following steps:
determining factors to be compared in the analysis result, and determining the total factor number;
matching the factors to be compared with each storage event node respectively, and obtaining the number of successfully matched factors of each storage event node;
Calculating a first comparison value corresponding to a stored event nodeSecond comparison value ∈>;/>
Wherein, the liquid crystal display device comprises a liquid crystal display device,the number of the factors which are successfully matched after the factors to be compared are matched with the corresponding storage event nodes is represented; />Representing the total number of the factors to be compared; />Indicating the success of the match->Factor matching weights of the factors to be compared; />Indicate->The factors of the factors to be compared match weights, wherein +.>Less than 1->Less than or equal to 1, and->Greater than or equal to->
When the first comparison value isGreater than a first threshold->Second comparison value ∈>Greater than a second threshold->At this time, the corresponding storage event node is locked as a shared event node.
Preferably, determining geospatial base data of a target space includes:
acquiring first basic data of the target space according to the infrastructure diagram of the target space;
according to the pre-planning information of the target space, carrying out planning time analysis on the pre-planning information, if the analyzed planning time is before the preset time, acquiring second basic data of the target space based on the pre-planning information, and constructing and obtaining geographic space basic data according to the first basic data and the second basic data;
If the analyzed planning time is within the preset time, constructing and obtaining geospatial basic data based on the first basic data;
otherwise, extracting third basic data before planning time, and constructing and obtaining geospatial basic data according to the first basic data and the third basic data.
Preferably, setting a storage event node for each space unit according to the geographical attention degree and the geographical change event of each space unit in the target space, including:
performing unit segmentation on the target space to obtain a plurality of space units;
based on the unit boundary position of the space unit, carrying out data extraction on the geographic space basic data matched with the target space to obtain first data;
acquiring second data under each unit time corresponding to the space unit in a specified time period, arranging the first data and all the second data according to time sequence data, sequentially acquiring difference data of adjacent data in an arrangement result, and acquiring a geographic change event corresponding to the space unit;
and simultaneously, acquiring and obtaining the geographical attention degree of the corresponding space unit based on the space setting attribute of the target space, the public attention attribute of each space unit and the attention attribute of the management mechanism.
Preferably, the obtaining of the difference data of the adjacent data in the arrangement result and obtaining the geographic change event of the corresponding space unit sequentially includes:
constructing and obtaining a difference set according to the acquired result of the difference data:/>
Wherein, the liquid crystal display device comprises a liquid crystal display device,1 st first data representing a specified period of time; />Representing the 2 nd first data within a specified period of time; />Representing second data; />Representation specificationFirst->First data;
according to the difference setDetermining a change set->Wherein->A change value indicating the 1 st first data and the 2 nd first data; />Representing second data and->A modified value of the first data;
extracting a data pair with a change value larger than a preset value from the change set B, and calling a sub-change event consistent with the change value of the data pair and the data change type of the data pair from a change database based on the data pair;
determining event reference value of each sub-change event according to the occurrence time of each sub-change event and the change type corresponding to each sub-change event;
wherein, the liquid crystal display device comprises a liquid crystal display device,indicate->Event reference value of sub-change event; />Indicate->Sub-change events are based on a reference factor of a change type; / >The sub-change event relates to the number of change types; />Representing the sign of an exponential function; />Indicate->The first of all change types involved in a sub-change event>Type weights of the change types, and +.>Less than 1; />The representation is based on +.>A value adjustment factor for the occurrence time of the sub-change event; />Indicate->The occurrence time of the sub-change event; />Representing a comparison time specified based on the current time;
and screening the obtained related sub-change events based on all event reference values to obtain the geographic change events of the corresponding space units.
Preferably, the obtaining the geographical attention degree of the corresponding space unit based on the space setting attribute of the target space, the people attention attribute of each space unit and the attention attribute of the management mechanism includes:
building a cell array for each spatial cellWherein->A space setting attribute representing the target space; />Representing a mass interest attribute of the corresponding spatial unit; />Representing a management organization attention attribute of the corresponding space unit;
determining the space position of the corresponding space unit based on the target space, and acquiring a space-comparison mapping table matched with the corresponding space unit from a position-comparison database;
Acquiring a first value of a people attention attribute in a corresponding unit array based on the space-comparison mapping tableAnd a second value of the authority attention attribute in the corresponding cell array +.>
Meanwhile, a third value of the space setting attribute in the corresponding unit array is obtained from the space-comparison mapping table
According to the first valueSecond value->Third value->Calculating to obtain the geographical attention degree of the corresponding space unit>
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing a first weight based on the spatial setup attribute; />Representing a second weight based on the people's attention attribute; />Representing a third weight based on the attribute of interest of the regulatory agency, and +.>;/>The sign representing the exponential function.
Preferably, ordering the locked shared event nodes according to node status includes:
acquiring state parameter information of a corresponding sharing event node, and acquiring a node sharing state value of the corresponding sharing event node;
determining node weights of the corresponding sharing event nodes according to the geographic attention degree and the geographic change event contained in each sharing event node, and determining the value plus step length of the related sharing event nodes by combining the node sharing state values;
and sequencing the locked sharing event nodes according to the final state value.
Preferably, according to the sorting result, the basic data in the sharing event node is sequentially sent to a receiving end matched with the data sharing request, so as to realize data sharing, including:
determining shared data with the data sharing request in each sharing event node, and setting significance labels for the shared data;
and after the transmission is carried out according to the sequencing result, the shared data with the significance set is subjected to significance display at the receiving end.
Preferably, determining the value plus step size of the related sharing event node in combination with the node sharing state value includes:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing a pointing function, representing a pointing function represented by ∈ ->Directed to matching database +.>Further obtaining the value of the related sharing event node plus the step length; />Indicating the pointing symbol.
The invention provides a geospatial base data sharing system based on a blockchain, comprising:
the node setting module is used for determining geographic space basic data of a target space and setting storage event nodes for each space unit according to the geographic attention degree and geographic change event of each space unit in the target space;
the node locking module is used for receiving the data sharing request matched with the target space, analyzing the data sharing request, traversing all the storage event nodes according to the analysis result, and locking the sharing event nodes;
The node ordering module is used for ordering the locked sharing event nodes according to the node states;
the data sharing module is used for sequentially sending the basic data in the sharing event nodes to a receiving end matched with the data sharing request according to the ordering result, so as to realize data sharing;
wherein, the node locking module includes:
the total number determining unit is used for determining factors to be compared in the analysis result and determining the total factor number;
the matching number determining unit is used for respectively matching the factors to be compared with each storage event node and obtaining the number of successfully matched factors of each storage event node;
a calculation unit for calculating a first comparison value corresponding to the stored event nodeSecond comparison value ∈>
Wherein, the liquid crystal display device comprises a liquid crystal display device,the number of the factors which are successfully matched after the factors to be compared are matched with the corresponding storage event nodes is represented; />Representing the total number of the factors to be compared; />Indicating the success of the match->Factor matching weights of the factors to be compared; />Indicate->The factors of the factors to be compared match weights, wherein +.>Is less than 1 of the total number of the components,less than or equal to 1, and->Greater than or equal to->
A node locking unit for locking the first comparison value Greater than a first threshold->Second comparison value ∈>Greater than a second threshold->At this time, the corresponding storage event node is locked as a shared event node.
Compared with the prior art, the beneficial effects of the application are as follows:
the event nodes are arranged for each space unit to be decentralized, the shared event nodes are obtained by matching the data sharing request with the nodes, so that data sharing is realized, the efficiency of data sharing is effectively improved, and further, the factors in the analysis result are determined, the factors are matched with the nodes, and the number of the matched factors is compared, so that the nodes are conveniently and comprehensively locked from two aspects, the reliability of obtaining the shared event nodes is ensured, and a foundation is provided for subsequent data sharing.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate the invention and together with the embodiments of the invention, serve to explain the invention. In the drawings:
FIG. 1 is a flow chart of a method for sharing geospatial base data based on blockchains in accordance with an embodiment of the present invention;
FIG. 2 is a block chain based geospatial base data sharing system in accordance with an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The invention provides a geospatial basic data sharing method based on a blockchain, which is shown in fig. 1 and comprises the following steps:
step 1: determining geographic space basic data of a target space, and setting storage event nodes for each space unit according to geographic attention and geographic change events of each space unit in the target space;
step 2: receiving a data sharing request matched with the target space, analyzing the data sharing request, traversing all storage event nodes according to an analysis result, and locking the sharing event nodes;
Step 3: ordering the locked sharing event nodes according to the node states;
step 4: according to the ordering result, sequentially sending the basic data in the sharing event node to a receiving end matched with the data sharing request to realize data sharing;
traversing all the storage event nodes according to the analysis result, and locking the sharing event nodes, wherein the method comprises the following steps:
determining factors to be compared in the analysis result, and determining the total factor number;
matching the factors to be compared with each storage event node respectively, and obtaining the number of successfully matched factors of each storage event node;
calculating a first comparison value corresponding to a stored event nodeSecond comparison value ∈>;/>
Wherein, the liquid crystal display device comprises a liquid crystal display device,the number of the factors which are successfully matched after the factors to be compared are matched with the corresponding storage event nodes is represented; />Representing the total number of the factors to be compared; />Indicating the success of the match->Factor matching weights of the factors to be compared; />Indicate->Factors of the factors to be comparedMatching weights, wherein ∈>Is less than 1 of the total number of the components,less than or equal to 1, and->Greater than or equal to->
When the first comparison value isGreater than a first threshold->Second comparison value ∈ >Greater than a second threshold->At this time, the corresponding storage event node is locked as a shared event node.
In this embodiment, the geospatial base data includes data such as building plan, road plan, population layout, and industry plan of different cities or towns, and the target space refers to a city, a town, and the like, so that the target space corresponding to a city is taken as a unit of different streets, and the target space corresponding to a town is taken as a unit of different villages.
In this embodiment, the geographical attention refers to the structure of a management organization, the attention of people to the place and the attention of the place, and the geographical change event refers to a change of the unit on a building facility, a change of personnel flow, a change of industry planning, and the like, so that the corresponding geographical change event can be obtained.
In this embodiment, the storage event node refers to various geographic information that may exist for the geographic interest and geographic change event as well as itself in the spatial element.
In this embodiment, the data sharing request refers to a need to obtain required data from a node, such as: the data sharing request is analyzed to determine that the data 21 in the node 2 and the data 33 in the node 3 need to be acquired, and at the moment, the nodes 2 and 3 can be regarded as locked sharing event nodes.
In this embodiment, the node status refers to determining the importance of the data of the node corresponding to the shared event node, so as to facilitate the ordering of the nodes.
In the embodiment, the basic data of the nodes are sent after being sequenced, so that the transmission efficiency is convenient to ensure, the nodes and the terminals are directly transmitted, and the data sharing efficiency is convenient to improve.
In this embodiment, the receiving end refers to a device that can receive data transmitted by a node.
In this embodiment, the analysis result refers to analysis of the request, and in the process of matching the request with the node, the matching is performed with the node of the storage event mainly by relying on the factor in the analysis result.
In this embodiment, for example, the factor to be compared is also related to the data type related to the spatial geographic basic data, and therefore, the first comparison value and the second comparison value are obtained by matching the factor in the analysis result with the factor in the node.
In this embodiment, the first threshold and the second threshold are preset, the value of the first threshold is generally 0.4, and the value of the second threshold is generally 0.5.
The beneficial effects of the technical scheme are as follows: the event nodes are arranged for each space unit to be decentralized, the shared event nodes are obtained by matching the data sharing request with the nodes, so that data sharing is realized, the efficiency of data sharing is effectively improved, and further, the factors in the analysis result are determined, the factors are matched with the nodes, and the number of the matched factors is compared, so that the nodes are conveniently and comprehensively locked from two aspects, the reliability of obtaining the shared event nodes is ensured, and a foundation is provided for subsequent data sharing.
The invention provides a geospatial basic data sharing method based on a blockchain, which determines geospatial basic data of a target space and comprises the following steps:
acquiring first basic data of the target space according to an infrastructure diagram of the target space;
according to the pre-planning information of the target space, carrying out planning time analysis on the pre-planning information, if the analyzed planning time is before the preset time, acquiring second basic data of the target space based on the pre-planning information, and constructing and obtaining geographic space basic data according to the first basic data and the second basic data;
if the analyzed planning time is within the preset time, constructing and obtaining geospatial basic data based on the first basic data;
otherwise, extracting third basic data before planning time, and constructing and obtaining geospatial basic data according to the first basic data and the third basic data.
In this embodiment, the infrastructure map is pre-deployed for the space, the first basic data may be obtained according to the deployed result, and the pre-planning information refers to a facility that does not exist at the present time, but is well built in a certain time period in the future, where the planning time resolution is to determine whether the non-existing facility is well built in the certain time period in the future.
In this embodiment, the preset time is preset, that is, the relevant construction can be achieved within 3 days after the current moment, and then the preset time is considered before, otherwise, the preset time is considered after.
In this embodiment, by analyzing the planning time of the pre-planning information, it can be effectively ensured whether the facility construction result at the future time is a part of the basic data, and a basis is provided for determining the geospatial basic data.
The beneficial effects of the technical scheme are as follows: and determining the first basic data through the infrastructure diagram, determining whether the first basic data needs to be expanded or not through planning time analysis of the pre-planning information, ensuring the integrity of the finally acquired geospatial basic data, and providing an effective basis for subsequent data sharing.
The invention provides a geospatial basic data sharing method based on a blockchain, which sets a storage event node to each space unit according to the geographic attention degree and geographic change event of each space unit in the target space, and comprises the following steps:
performing unit segmentation on the target space to obtain a plurality of space units;
based on the unit boundary position of the space unit, carrying out data extraction on the geographic space basic data matched with the target space to obtain first data;
Acquiring second data under each unit time corresponding to the space unit in a specified time period, arranging the first data and all the second data according to time sequence data, sequentially acquiring difference data of adjacent data in an arrangement result, and acquiring a geographic change event corresponding to the space unit;
and simultaneously, acquiring and obtaining the geographical attention degree of the corresponding space unit based on the space setting attribute of the target space, the public attention attribute of each space unit and the attention attribute of the management mechanism.
In this embodiment, the unit division may be performed by dividing the unit in village or street, and the unit boundary position is, for example, a region boundary range of village or a management boundary range divided by street, so that the target space may be divided into boundaries according to the boundaries to obtain the data of the unit, that is, the first data.
In this embodiment, the specified period refers to the current time and a period of time including the period of time before the current time, for example, 21 days before the current time, that is, the unit is acquired, and the first day of second data in each unit is acquired by taking 10 days as one unit.
In this embodiment, if there are the second data 1, the second data 2, the second data 3, and the first data, the difference data: the second data 2-first data 1, second data 3-second data 2, first data-second data 3, and the difference data that exists, i.e., the difference data related to the geospatial base data.
In this embodiment, a geographic change event refers to a change in a facility building in a geographic space.
In this embodiment, the people attention refers to the attention degree of people to change and the attention degree of the management mechanism to change in a certain small period of time within a corresponding specified period of time, mainly for setting more reasonable basic data for different space units, so as to facilitate subsequent data sharing, and the people attention attribute is related to the attention type, and the management mechanism attention attribute is also related to the attention type.
In this embodiment, the geographic attention is determined based on a combination of a number of attributes, further ensuring the data rationality of the unit.
The beneficial effects of the technical scheme are as follows: the data are extracted after the unit classification and the boundary division are carried out on the space, different first data are obtained according to the appointed time period, further, the change event and the geographic attention degree are determined according to the difference data, a basis is provided for the follow-up data sharing, the rationality of data matching is guaranteed, and the reasonable matching of the request is guaranteed.
The invention provides a geospatial basic data sharing method based on a blockchain, which sequentially acquires difference data of adjacent data in an arrangement result and obtains a geographic change event of a corresponding space unit, and comprises the following steps:
constructing and obtaining a difference set according to the acquired result of the difference data
Wherein, the liquid crystal display device comprises a liquid crystal display device,1 st first data representing a specified period of time; />Representing the 2 nd first data within a specified period of time; />Representing second data; />Represents +.>First data;
according to the difference setDetermining a change set->Wherein->A change value indicating the 1 st first data and the 2 nd first data; />Representing second data and->A modified value of the first data;
extracting a data pair with a change value larger than a preset value from the change set B, and calling a sub-change event consistent with the change value of the data pair and the data change type of the data pair from a change database based on the data pair;
based on the time of occurrence of each sub-change event and eachDetermining the event reference value of the corresponding sub-change event according to the change type corresponding to the sub-change event;
wherein, the liquid crystal display device comprises a liquid crystal display device,indicate->Event reference value of sub-change event; / >Indicate->Sub-change events are based on a reference factor of a change type; />Indicate->The sub-change event relates to the number of change types; />Representing the sign of an exponential function; />Indicate->The first of all change types involved in a sub-change event>Type weights of the change types, and +.>Less than 1; />The representation is based on +.>A value adjustment factor for the occurrence time of the sub-change event;indicate->The occurrence time of the sub-change event; />Representing a comparison time specified based on the current time;
and screening the obtained related sub-change events based on all event reference values to obtain the geographic change events of the corresponding space units.
In this embodiment, the preset value is preset, and is generally 0.5.
In this embodiment, the data pair refers to
In this embodiment, the change database includes different data pairs and change values corresponding to the data pairs, and data change types and matching events, and it should be noted that the data change types are change types for facility data caused by changes of geospatial basic data such as facilities, changes of road construction, and the like, that is, facility change data types, road change data types, and the like.
In this embodiment, the child change event is also related to a geospatial and the like.
In this embodiment, the occurrence time of the sub-change event refers to the time of a change of some facilities or buildings or roads, and the corresponding change type can be determined.
In this embodiment, the reference factor has a value in the range of 0-1.
In this embodiment, the comparison time may be at the time of the next time or may be a time before the time of the next time.
In this embodiment, based on all event reference values, filtering the obtained related sub-change events to obtain geographic change events of the corresponding space unit, including:
after determining the reference value of the event, the value is ordered, and the event without the reference value is rejected, so that the geographic change event is obtained.
The beneficial effects of the technical scheme are as follows: the method has the advantages that the difference set is constructed, the change set is determined, the preset value is compared, the obtained event reference value is obtained through calculation, event screening is carried out for the follow-up event, an effective basis is provided for obtaining the geographic change event, the reliability of data is guaranteed, and data sharing is further conveniently achieved.
The invention provides a geographic space basic data sharing method based on a block chain, which obtains the geographic attention of a corresponding space unit based on the space setting attribute of the target space, the public attention attribute of each space unit and the attention attribute of a management mechanism, and comprises the following steps:
Building a cell array for each spatial cellWherein->A space setting attribute representing the target space; />Representing a mass interest attribute of the corresponding spatial unit; />Representing a management organization attention attribute of the corresponding space unit;
determining the space position of the corresponding space unit based on the target space, and acquiring a space-comparison mapping table matched with the corresponding space unit from a position-comparison database;
acquiring a first value of a people attention attribute in a corresponding unit array based on the space-comparison mapping tableAnd a second value of the authority attention attribute in the corresponding cell array +.>
Meanwhile, a third value of the space setting attribute in the corresponding unit array is obtained from the space-comparison mapping table
According to the first valueSecond value->Third value->Calculating to obtain the geographical attention degree of the corresponding space unit>;/>
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing a first weight based on the spatial setup attribute; />Representing a second weight based on the people's attention attribute; />Representing a third weight based on the attribute of interest of the regulatory agency, and +.>;/>The sign representing the exponential function.
In this embodiment, the location-comparison database includes different spatial locations and a spatial-comparison mapping table matching the spatial locations, and the spatial-comparison mapping table includes different attributes and values matching the attributes, and includes the attributes: people attention attribute, management organization attention attribute and space setting attribute.
In this embodiment, the first, second and third values range from 0 to 1.
The beneficial effects of the technical scheme are as follows: the geographical attention can be effectively calculated by constructing the unit array and acquiring the values related to the attributes through different mapping tables, a foundation is provided for the subsequent matching nodes, and the realization of data sharing is further ensured.
The invention provides a geospatial basic data sharing method based on a blockchain, which sorts locked sharing event nodes according to node states, and comprises the following steps:
acquiring state parameter information of a corresponding sharing event node, and acquiring a node sharing state value of the corresponding sharing event node;
determining node weights of the corresponding sharing event nodes according to the geographic attention degree and the geographic change event contained in each sharing event node, and determining the value plus step length of the related sharing event nodes by combining the node sharing state values;
and sequencing the locked sharing event nodes according to the final state value.
In this embodiment, the state parameter information refers to unit basic data of a corresponding unit included in the node, so that a node sharing state value of the node can be obtained, that is, the more the basic data has a reference value, the higher the last sharing state value is, and the value range is 0-1, which is specifically obtained as follows:
Node sharing state value:,/>the basic data has the value of meeting the request, < >>The base data is weighted to satisfy the value of the request.
In this embodiment, node weights:
for attention degree, ++>Data change related value, ">Is the attention rate and the->The duty cycle of the correlation value is changed for the data. />For maximum attention, ++>The correlation value is changed to the maximum.
In this embodiment, the value adding step refers to an adjustment value of the node sharing status value, for example, after the node sharing status value is obtained to be 1, the node weight is 0.3, and the value adding step matched from the database is 0.02, and at this time, the corresponding final status value is 1.02.
The beneficial effects of the technical scheme are as follows: by determining the node sharing state value and by determining the node weight, the value plus step length is effectively obtained, a basis is provided for obtaining the final state value subsequently, and the reasonable order of node sharing is ensured.
The invention provides a geospatial basic data sharing method based on a blockchain, which sequentially transmits basic data in a sharing event node to a receiving end matched with a data sharing request according to a sequencing result, and realizes data sharing, and comprises the following steps:
determining shared data with the data sharing request in each sharing event node, and setting significance labels for the shared data;
And after the transmission is carried out according to the sequencing result, the shared data with the significance set is subjected to significance display at the receiving end.
In this embodiment, the saliency labels are set depending on different colors.
The beneficial effects of the technical scheme are as follows: through carrying out the setting of saliency label, follow-up effective show of being convenient for is convenient for know shared data directly perceivedly.
The invention provides a geospatial basic data sharing method based on a blockchain, which combines the node sharing state value to determine the value plus step length of a related sharing event node, and comprises the following steps:
wherein, the liquid crystal display device comprises a liquid crystal display device,representing a pointing function, representing a pointing function represented by ∈ ->Directed to matching database +.>Further obtaining the value of the related sharing event node plus the step length; />Indicating the pointing symbol.
In this embodiment, the pointing database contains shared state values for different nodes, as well as node weights and matched values plus step sizes.
The beneficial effects of the technical scheme are as follows: the step length is convenient to determine according to the pointing function, a basis is provided for the subsequent determination of the final state value, the reliability of data sharing and the preferential transmission of reliable data are ensured, and the realization effectiveness of the data sharing is ensured.
The invention provides a geospatial base data sharing system based on blockchain, as shown in fig. 2, comprising:
the node setting module is used for determining geographic space basic data of a target space and setting storage event nodes for each space unit according to the geographic attention degree and geographic change event of each space unit in the target space;
the node locking module is used for receiving the data sharing request matched with the target space, analyzing the data sharing request, traversing all the storage event nodes according to the analysis result, and locking the sharing event nodes;
the node ordering module is used for ordering the locked sharing event nodes according to the node states;
the data sharing module is used for sequentially sending the basic data in the sharing event nodes to a receiving end matched with the data sharing request according to the ordering result, so as to realize data sharing;
wherein, the node locking module includes:
the total number determining unit is used for determining factors to be compared in the analysis result and determining the total factor number;
the matching number determining unit is used for respectively matching the factors to be compared with each storage event node and obtaining the number of successfully matched factors of each storage event node;
A calculation unit for calculating a first comparison value corresponding to the stored event nodeSecond comparison value ∈>
Wherein, the liquid crystal display device comprises a liquid crystal display device,the number of the factors which are successfully matched after the factors to be compared are matched with the corresponding storage event nodes is represented; />Representing the total number of the factors to be compared; />Indicating the success of the match->Factor matching weights of the factors to be compared; />Indicate->The factors of the factors to be compared match weights, wherein +.>Is less than 1 of the total number of the components,less than or equal to 1, and->Greater than or equal to->
A node locking unit for locking the first comparison valueGreater than a first threshold->Second comparison value ∈>Greater than a second threshold->At this time, the corresponding storage event node is locked as a shared event node.
The beneficial effects of the technical scheme are as follows: the event nodes are arranged for each space unit to be decentralized, the shared event nodes are obtained by matching the data sharing request with the nodes, so that data sharing is realized, the efficiency of data sharing is effectively improved, and further, the factors in the analysis result are determined, the factors are matched with the nodes, and the number of the matched factors is compared, so that the nodes are conveniently and comprehensively locked from two aspects, the reliability of obtaining the shared event nodes is ensured, and a foundation is provided for subsequent data sharing.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A method for geospatial base data sharing based on blockchains, comprising:
step 1: determining geographic space basic data of a target space, and setting storage event nodes for each space unit according to geographic attention and geographic change events of each space unit in the target space; the storage event node contains geographic attention and geographic change events and geographic information existing in the space unit;
step 2: receiving a data sharing request matched with the target space, analyzing the data sharing request, traversing all storage event nodes according to an analysis result, and locking the sharing event nodes;
step 3: ordering the locked sharing event nodes according to the node states, wherein the node states are determined based on the importance of the data of the nodes corresponding to the sharing event nodes, so that the nodes are ordered conveniently;
Step 4: according to the ordering result, sequentially sending the basic data in the sharing event node to a receiving end matched with the data sharing request to realize data sharing;
traversing all the storage event nodes according to the analysis result, and locking the sharing event nodes, wherein the method comprises the following steps:
determining factors to be compared in the analysis result, and determining the total factor number;
matching the factors to be compared with each storage event node respectively, and obtaining the number of successfully matched factors of each storage event node;
calculating a first comparison value S1 and a second comparison value S2 of the corresponding storage event node;
m01 represents the number of successfully matched factors after the factors to be compared are matched with the corresponding storage event nodes; m02 represents the total number of the factors to be compared; θ j01 Factor matching weights representing the j01 th factor to be compared which is successfully matched; θ j02 The factor matching weight representing the j02 th factor to be compared, wherein,less than 1->Less than or equal to 1, and->Greater than or equal to->
When the first comparison value S1 is greater than the first threshold value S01 and the second comparison value S2 is greater than the second threshold value S02, locking the corresponding storage event node to be used as a sharing event node;
Setting a storage event node for each space unit according to the geographic attention degree and the geographic change event of each space unit in the target space, wherein the storage event node comprises the following steps:
performing unit segmentation on the target space to obtain a plurality of space units;
based on the unit boundary position of the space unit, carrying out data extraction on the geographic space basic data matched with the target space to obtain first data;
acquiring second data under each unit time corresponding to the space unit in a specified time period, arranging the first data and all the second data according to time sequence data, sequentially acquiring difference data of adjacent data in an arrangement result, and acquiring a geographic change event corresponding to the space unit;
and simultaneously, acquiring and obtaining the geographical attention degree of the corresponding space unit based on the space setting attribute of the target space, the public attention attribute of each space unit and the attention attribute of the management mechanism.
2. The blockchain-based geospatial base data sharing method of claim 1 wherein determining geospatial base data for a target space includes:
acquiring first basic data of the target space according to the infrastructure diagram of the target space;
According to the pre-planning information of the target space, carrying out planning time analysis on the pre-planning information, if the analyzed planning time is before the preset time, acquiring second basic data of the target space based on the pre-planning information, and constructing and obtaining geographic space basic data according to the first basic data and the second basic data;
if the analyzed planning time is within the preset time, constructing and obtaining geospatial basic data based on the first basic data;
otherwise, extracting third basic data before planning time, and constructing and obtaining geospatial basic data according to the first basic data and the third basic data.
3. The method for sharing geospatial base data based on blockchains according to claim 1, wherein the step of sequentially obtaining difference data of adjacent data in the arrangement result and obtaining a geospatial change event of a corresponding spatial unit includes:
according to the acquisition result of the difference data, constructing and obtaining a difference set C1:
C1={y 2 -y 1 ,...,y n -y n-1 }
wherein y is 1 Representing the 1 st second data within a specified period of time; y is 2 Representing the 2 nd second data within a specified period of time; y is n Representing first data; y is n-1 Representing the n-1 th second data within a specified period of time;
determining a change set according to the difference set C1Wherein (1)>A change value indicating the 1 st second data and the 2 nd second data; />A change value representing the first data and the n-1 th second data;
extracting a data pair with a change value larger than a preset value from the change set B, and calling a sub-change event consistent with the change value of the data pair and the data change type of the data pair from a change database based on the data pair;
determining event reference value of each sub-change event according to the occurrence time of each sub-change event and the change type corresponding to each sub-change event;
C1 i1 =δ i1 ×ln(e+∝ i1 )
wherein C1 i1 An event reference value indicating the i1 st sub-change event; delta i1 A reference factor indicating that the 1 st sub-change event is based on a change type; m1 i1 Indicating the number of change types involved in the i1 st sub-change event; exp represents the sign of an exponential function;a type weight indicating the i2 nd change type among all the change types involved in the i1 st sub-change event, andless than 1; oc (oc) i1 A value adjustment factor indicating an occurrence time based on the i1 st sub-change event; t is t i1 Indicating the occurrence time of the (1) st sub-change event; t0 represents a comparison time specified based on the current time;
And screening the obtained related sub-change events based on all event reference values to obtain the geographic change events of the corresponding space units.
4. The blockchain-based geospatial base data sharing method of claim 1 wherein obtaining a geographic attention of each spatial unit based on the spatial setup attribute of the target space and the mass attention attribute and the administrative attention attribute of each spatial unit includes:
building a cell array z1 for each spatial cell: z1= { s01, s02, s03}, where s01 represents a spatial setup attribute of the target space; s02 represents a mass attention attribute of the corresponding space unit; s03 represents the management organization attention attribute of the corresponding space unit;
determining the space position of the corresponding space unit based on the target space, and acquiring a space-comparison mapping table matched with the corresponding space unit from a position-comparison database;
acquiring a first value A1 of the audience attention attribute in the corresponding unit array and a second value A2 of the management mechanism attention attribute in the corresponding unit array based on the space-comparison mapping table;
meanwhile, a third value A3 of the space setting attribute in the corresponding unit array is obtained from the space-comparison mapping table;
According to the first value A1, the second value A2 and the third value A3, the geographic attention G2 of the corresponding space unit is calculated;
wherein, oc 3 represents a first weight based on the spatial setting attribute; oc 1 represents a second weight based on a mass attention attribute; oc 2 represents a third weight based on the regulatory agency attention attribute, and oc 1+ oc2 + oc3 = 1; e denotes the sign of the exponential function.
5. The blockchain-based geospatial base data sharing method of claim 1 wherein ordering locked sharing event nodes by node status includes:
acquiring state parameter information of a corresponding sharing event node, and acquiring a node sharing state value of the corresponding sharing event node based on the state parameter information, wherein the state parameter information is unit basic data of a corresponding unit contained in the node;
determining node weights of corresponding sharing event nodes according to the geographic attention degree and the geographic change event contained in each sharing event node, determining the value adding step length of the related sharing event node by combining the node sharing state values, wherein the value adding step length refers to an adjustment value of the node sharing state values, and obtaining a final state value based on the node sharing state values and the value adding step length;
And sequencing the locked sharing event nodes according to the final state value.
6. The blockchain-based geospatial basic data sharing method of claim 1 wherein sequentially transmitting basic data in a sharing event node to a receiving end matched with the data sharing request according to a sequencing result, implementing data sharing, includes:
determining shared data with the data sharing request in each sharing event node, and setting significance labels for the shared data;
and after the transmission is carried out according to the sequencing result, the shared data set by the saliency tag is displayed in saliency at the receiving end.
7. The blockchain-based geospatial base data sharing method of claim 5 wherein determining the value of the related sharing event node plus step in conjunction with the node sharing status value includes:
Δ=R(g01,w01→r1)
wherein R represents a direction function, and represents that a node sharing state value g01 and a node weight w01 point to a matching database R1, so that the value added step length of the related sharing event node is obtained; -representing the pointing symbol.
8. A blockchain-based geospatial base data sharing system, comprising:
The node setting module is used for determining geographic space basic data of a target space and setting storage event nodes for each space unit according to the geographic attention degree and geographic change event of each space unit in the target space; the storage event node contains geographic attention and geographic change events and geographic information existing in the space unit;
the node locking module is used for receiving the data sharing request matched with the target space, analyzing the data sharing request, traversing all the storage event nodes according to the analysis result, and locking the sharing event nodes;
the node ordering module is used for ordering the locked sharing event nodes according to the node states, and the node states are determined based on the importance of the data of the nodes corresponding to the sharing event nodes, so that the nodes are ordered conveniently;
the data sharing module is used for sequentially sending the basic data in the sharing event nodes to a receiving end matched with the data sharing request according to the ordering result, so as to realize data sharing;
wherein, the node locking module includes:
the total number determining unit is used for determining factors to be compared in the analysis result and determining the total factor number;
The matching number determining unit is used for respectively matching the factors to be compared with each storage event node and obtaining the number of successfully matched factors of each storage event node;
the computing unit is used for computing a first comparison value S1 and a second comparison value S2 of the corresponding storage event node;
wherein M01 represents the number of successfully matched factors after the factors to be compared are matched with the corresponding storage event nodes; m02 represents the total number of the factors to be compared; θ j01 Factor matching weights representing the j01 th factor to be compared which is successfully matched; θ j02 The factor matching weight representing the j02 th factor to be compared, wherein,less than 1->Less than or equal to 1, and->Greater than or equal to->
A node locking unit, configured to lock a corresponding storage event node as a shared event node when the first comparison value S1 is greater than a first threshold value S01 and the second comparison value S2 is greater than a second threshold value S02;
setting a storage event node for each space unit according to the geographic attention degree and the geographic change event of each space unit in the target space, wherein the storage event node comprises the following steps:
performing unit segmentation on the target space to obtain a plurality of space units;
Based on the unit boundary position of the space unit, carrying out data extraction on the geographic space basic data matched with the target space to obtain first data;
acquiring second data under each unit time corresponding to the space unit in a specified time period, arranging the first data and all the second data according to time sequence data, sequentially acquiring difference data of adjacent data in an arrangement result, and acquiring a geographic change event corresponding to the space unit;
and simultaneously, acquiring and obtaining the geographical attention degree of the corresponding space unit based on the space setting attribute of the target space, the public attention attribute of each space unit and the attention attribute of the management mechanism.
CN202310575221.0A 2023-05-22 2023-05-22 Geospatial basic data sharing method and system based on blockchain Active CN116303805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310575221.0A CN116303805B (en) 2023-05-22 2023-05-22 Geospatial basic data sharing method and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310575221.0A CN116303805B (en) 2023-05-22 2023-05-22 Geospatial basic data sharing method and system based on blockchain

Publications (2)

Publication Number Publication Date
CN116303805A CN116303805A (en) 2023-06-23
CN116303805B true CN116303805B (en) 2023-07-25

Family

ID=86820721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310575221.0A Active CN116303805B (en) 2023-05-22 2023-05-22 Geospatial basic data sharing method and system based on blockchain

Country Status (1)

Country Link
CN (1) CN116303805B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255007A (en) * 2018-09-28 2019-01-22 中链科技有限公司 Geographical space basic data sharing method and device based on block chain
CN109729168A (en) * 2018-12-31 2019-05-07 浙江成功软件开发有限公司 A kind of data share exchange system and method based on block chain
CN110175913A (en) * 2019-04-12 2019-08-27 阿里巴巴集团控股有限公司 Data processing system, method, calculating equipment and storage medium based on block chain
CN112214518A (en) * 2020-11-09 2021-01-12 广东新禾道信息科技有限公司 Block chain-based geospatial basic data sharing method and system
CN113704357A (en) * 2021-09-01 2021-11-26 雷长宝 Smart city data sharing method and system based on block chain
CN114691630A (en) * 2022-06-01 2022-07-01 前海容安供应链管理(深圳)有限公司 Smart supply chain big data sharing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10652248B2 (en) * 2016-07-28 2020-05-12 Molecula Corp. Systems and methods of managing data rights and selective data sharing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255007A (en) * 2018-09-28 2019-01-22 中链科技有限公司 Geographical space basic data sharing method and device based on block chain
CN109729168A (en) * 2018-12-31 2019-05-07 浙江成功软件开发有限公司 A kind of data share exchange system and method based on block chain
CN110175913A (en) * 2019-04-12 2019-08-27 阿里巴巴集团控股有限公司 Data processing system, method, calculating equipment and storage medium based on block chain
CN112214518A (en) * 2020-11-09 2021-01-12 广东新禾道信息科技有限公司 Block chain-based geospatial basic data sharing method and system
CN113704357A (en) * 2021-09-01 2021-11-26 雷长宝 Smart city data sharing method and system based on block chain
CN114691630A (en) * 2022-06-01 2022-07-01 前海容安供应链管理(深圳)有限公司 Smart supply chain big data sharing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向5G物联网数据共享的区块链关键技术研究;乔康;《中国优秀硕士学位论文全文数据库 信息科技辑》(第1期);全文 *

Also Published As

Publication number Publication date
CN116303805A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
Rathore et al. Exploiting IoT and big data analytics: Defining smart digital city using real-time urban data
Shanmukhappa et al. Spatial analysis of bus transport networks using network theory
Zhao et al. Estimation of passenger route choice pattern using smart card data for complex metro systems
US20160314554A1 (en) Evacuation plan design
CN110008414B (en) Method and device for determining geographic information point
CN113763700B (en) Information processing method, information processing device, computer equipment and storage medium
Higashino et al. Edge computing and IoT based research for building safe smart cities resistant to disasters
Pang et al. Modeling park-and-ride location choice of heterogeneous commuters
US8600957B2 (en) Mesh data creation method
Xue et al. Multi-source data-driven identification of urban functional areas: A case of Shenyang, China
Li Assessing survivability of the Beijing subway system
Wachtel et al. Planning for tourist urban evacuation routes: A framework for improving the data collection and evacuation processes
Sayed et al. Understanding dhaka city traffic intensity and traffic expansion using gravity model
Kozievitch et al. Exploratory analysis of public transportation data in Curitiba
Thakurzx et al. Modeling and characterization of urban vehicular mobility using web cameras
Guan et al. A unified framework for predicting kpis of on-demand transport services
CN116303805B (en) Geospatial basic data sharing method and system based on blockchain
Raghothama et al. Analytics on public transport delays with spatial big data
CN112235714A (en) POI positioning method and device based on artificial intelligence, computer equipment and medium
CN111861139A (en) Merchant recommendation method and device and computer equipment
Sarbajna et al. DEIMOSBC: a blockchain-based system for crowdsensing after natural disasters
CN112040413B (en) User track calculation method and device and electronic equipment
JP7205197B2 (en) Traffic volume survey device, traffic volume survey method, and program
Namiot et al. Data Mining on the Use of Railway Stations.
US20190213617A1 (en) System and Method for Visitor Flow Analysis

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