CN116303805A - Geospatial basic data sharing method and system based on blockchain - Google Patents
Geospatial basic data sharing method and system based on blockchain Download PDFInfo
- Publication number
- CN116303805A CN116303805A CN202310575221.0A CN202310575221A CN116303805A CN 116303805 A CN116303805 A CN 116303805A CN 202310575221 A CN202310575221 A CN 202310575221A CN 116303805 A CN116303805 A CN 116303805A
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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
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 +.>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.
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; />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;
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 ∈ ->Pointing to a matching databaseFurther 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 +.>Less than 1->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->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.
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;
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; />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; />Represent the firstThe 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 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.
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 ∈ ->Number of directional matchesDatabaseFurther 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 +.>Less than 1->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 (9)
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;
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 (1)>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->;
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 blockchain-based geospatial base data sharing method of claim 1 wherein setting a storage event node to each spatial unit in the target space according to the geographic attention of each spatial unit and a geographic change event comprises:
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.
4. The method for sharing geospatial base data based on blockchain as in claim 3 wherein sequentially obtaining difference data of adjacent data in the arrangement result and obtaining a geographic change event of a corresponding spatial unit comprises:
constructing and obtaining a difference set according to the acquired result of the difference data:
Wherein (1)>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;
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 (1)>Indicate->Event reference value of sub-change event; />Represent the firstSub-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.
5. The method for sharing geospatial base data based on blockchains as in claim 3, wherein obtaining the geographic attention of the corresponding spatial unit based on the spatial setup attribute of the target space and the people attention attribute and the administrative attention attribute of each spatial unit comprises:
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 ;
6. 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;
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.
7. 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 with the significance set is subjected to significance display at the receiving end.
8. The blockchain-based geospatial base data sharing method of claim 6 wherein determining the value of the related sharing event node plus step in conjunction with the node sharing status value includes:
9. 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 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 (1)>Representation houseThe number of successfully matched factors after the factors to be compared are matched with the corresponding storage event nodes; />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->;
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 true CN116303805A (en) | 2023-06-23 |
CN116303805B 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 (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180034824A1 (en) * | 2016-07-28 | 2018-02-01 | Umbel Corporation | Systems and methods of managing data rights and selective data sharing |
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 |
-
2023
- 2023-05-22 CN CN202310575221.0A patent/CN116303805B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180034824A1 (en) * | 2016-07-28 | 2018-02-01 | Umbel Corporation | Systems and methods of managing data rights and selective data sharing |
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)
Title |
---|
乔康: "面向5G物联网数据共享的区块链关键技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 1 * |
Also Published As
Publication number | Publication date |
---|---|
CN116303805B (en) | 2023-07-25 |
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 | |
Wang et al. | A big data approach for smart transportation management on bus network | |
Zhu et al. | Hurricane evacuation modeling using behavior models and scenario-driven agent-based simulations | |
US9846887B1 (en) | Discovering neighborhood clusters and uses therefor | |
CN110008414B (en) | Method and device for determining geographic information point | |
CN113763700B (en) | Information processing method, information processing device, computer equipment and storage medium | |
CN104636457B (en) | A kind of method and device of location finding cognition | |
US8600957B2 (en) | Mesh data creation method | |
CN111639786A (en) | Resource allocation method, device, storage medium and computer equipment | |
Farzaneh et al. | An integrative framework for coordination of damage assessment, road restoration, and relief distribution in disasters | |
Xue et al. | Multi-source data-driven identification of urban functional areas: A case of Shenyang, China | |
Thakurzx et al. | Modeling and characterization of urban vehicular mobility using web cameras | |
Wachtel et al. | Planning for tourist urban evacuation routes: A framework for improving the data collection and evacuation processes | |
CN113935620A (en) | Parking lot evaluation method and device based on grid basic data and application | |
Raghothama et al. | Analytics on public transport delays with spatial big data | |
CN116303805B (en) | Geospatial basic data sharing method and system based on blockchain | |
CN112580881A (en) | Business site selection method and device, computer equipment and storage medium | |
US20190163847A1 (en) | Method, apparatus, and system for predicting spread of disaster using scenario | |
CN107133254B (en) | Based on the information collecting method and device for controlling grid altogether | |
CN109917456A (en) | Earthquake information rapid extracting method and system | |
JP7205197B2 (en) | Traffic volume survey device, traffic volume survey method, and program | |
CN111861139A (en) | Merchant recommendation method and device and computer equipment |
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 |