[go: up one dir, main page]

CN116303805A - A blockchain-based geospatial basic data sharing method and system - Google Patents

A blockchain-based geospatial basic data sharing method and system Download PDF

Info

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
node
event
sharing
change
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
Application number
CN202310575221.0A
Other languages
Chinese (zh)
Other versions
CN116303805B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (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 node
Figure SMS_1
Second comparison value ∈>
Figure SMS_2
Figure SMS_3
Wherein,,
Figure SMS_6
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;
Figure SMS_8
Representing the total number of the factors to be compared;
Figure SMS_11
Indicating the success of the match->
Figure SMS_4
Factor matching weights of the factors to be compared;
Figure SMS_7
Indicate->
Figure SMS_10
The factors of the factors to be compared match weights, wherein +.>
Figure SMS_13
Is less than 1 of the total number of the components,
Figure SMS_5
less than or equal to 1, and->
Figure SMS_9
Greater than or equal to->
Figure SMS_12
When the first comparison value is
Figure SMS_14
Greater than a first threshold->
Figure SMS_15
Second comparison value ∈>
Figure SMS_16
Greater than a second threshold->
Figure SMS_17
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
Figure SMS_18
Figure SMS_19
Wherein,,
Figure SMS_20
1 st first data representing a specified period of time;
Figure SMS_21
Representing the 2 nd first data within a specified period of time;
Figure SMS_22
Representing second data;
Figure SMS_23
Represents +.>
Figure SMS_24
First data;
according to the difference set
Figure SMS_25
Determining a change set->
Figure SMS_26
Wherein->
Figure SMS_27
A change value indicating the 1 st first data and the 2 nd first data;
Figure SMS_28
Representing second data and->
Figure SMS_29
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;
Figure SMS_30
wherein,,
Figure SMS_32
indicate->
Figure SMS_35
Event reference value of sub-change event;
Figure SMS_39
Indicate->
Figure SMS_33
Sub-change events are based on a reference factor of a change type; / >
Figure SMS_36
The sub-change event relates to the number of change types;
Figure SMS_40
Representing the sign of an exponential function;
Figure SMS_44
Indicate->
Figure SMS_31
The first of all change types involved in a sub-change event>
Figure SMS_38
Type weights of the change types, and +.>
Figure SMS_42
Less than 1;
Figure SMS_45
The representation is based on +.>
Figure SMS_34
A value adjustment factor for the occurrence time of the sub-change event;
Figure SMS_37
Indicate->
Figure SMS_41
The occurrence time of the sub-change event;
Figure SMS_43
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 cell
Figure SMS_46
Wherein->
Figure SMS_47
A space setting attribute representing the target space;
Figure SMS_48
Representing a mass interest attribute of the corresponding spatial unit;
Figure SMS_49
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 table
Figure SMS_50
And a second value of the authority attention attribute in the corresponding cell array +.>
Figure SMS_51
Meanwhile, a third value of the space setting attribute in the corresponding unit array is obtained from the space-comparison mapping table
Figure SMS_52
According to the first value
Figure SMS_53
Second value->
Figure SMS_54
Third value->
Figure SMS_55
Calculating to obtain the geographical attention degree of the corresponding space unit>
Figure SMS_56
Figure SMS_57
Wherein,,
Figure SMS_58
representing a first weight based on the spatial setup attribute;
Figure SMS_59
Representing a second weight based on the people's attention attribute;
Figure SMS_60
Representing a third weight based on the attribute of interest of the regulatory agency, and +.>
Figure SMS_61
Figure SMS_62
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:
Figure SMS_63
wherein,,
Figure SMS_64
representing a pointing function, representing a pointing function represented by ∈ ->
Figure SMS_65
Pointing to a matching database
Figure SMS_66
Further obtaining the value of the related sharing event node plus the step length;
Figure SMS_67
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 node
Figure SMS_68
Second comparison value ∈>
Figure SMS_69
Figure SMS_70
Wherein,,
Figure SMS_71
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;
Figure SMS_74
Representing the total number of the factors to be compared;
Figure SMS_77
Indicating the success of the match->
Figure SMS_73
Factor matching weights of the factors to be compared;
Figure SMS_75
Indicate->
Figure SMS_78
The factors of the factors to be compared match weights, wherein +.>
Figure SMS_80
Less than 1->
Figure SMS_72
Less than or equal to 1, and->
Figure SMS_76
Greater than or equal to->
Figure SMS_79
A node locking unit for locking the first comparison value
Figure SMS_81
Greater than a first threshold->
Figure SMS_82
Second comparison value ∈>
Figure SMS_83
Greater than a second threshold->
Figure SMS_84
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 node
Figure SMS_85
Second comparison value ∈>
Figure SMS_86
Figure SMS_87
Wherein,,
Figure SMS_89
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;
Figure SMS_91
Representing the total number of the factors to be compared;
Figure SMS_94
Indicating the success of the match->
Figure SMS_88
Factor matching weights of the factors to be compared;
Figure SMS_93
Indicate->
Figure SMS_96
The factors of the factors to be compared match weights, wherein +.>
Figure SMS_97
Less than 1->
Figure SMS_90
Less than or equal to 1, and->
Figure SMS_92
Greater than or equal to->
Figure SMS_95
When the first comparison value is
Figure SMS_98
Greater than a first threshold->
Figure SMS_99
Second comparison value ∈ >
Figure SMS_100
Greater than a second threshold->
Figure SMS_101
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
Figure SMS_102
Figure SMS_103
Wherein,,
Figure SMS_104
1 st first data representing a specified period of time;
Figure SMS_105
Representing the 2 nd first data within a specified period of time;
Figure SMS_106
Representing second data;
Figure SMS_107
Represents +.>
Figure SMS_108
First data;
according to the difference set
Figure SMS_109
Determining a change set->
Figure SMS_110
Wherein->
Figure SMS_111
A change value indicating the 1 st first data and the 2 nd first data;
Figure SMS_112
Representing second data and->
Figure SMS_113
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;
Figure SMS_114
Figure SMS_115
wherein,,
Figure SMS_125
indicate->
Figure SMS_121
Event reference value of sub-change event; / >
Figure SMS_129
Indicate->
Figure SMS_122
Sub-change events are based on a reference factor of a change type;
Figure SMS_127
Indicate->
Figure SMS_123
The sub-change event relates to the number of change types;
Figure SMS_124
Representing the sign of an exponential function;
Figure SMS_120
Indicate->
Figure SMS_126
The first of all change types involved in a sub-change event>
Figure SMS_116
Type weights of the change types, and +.>
Figure SMS_131
Less than 1;
Figure SMS_119
The representation is based on +.>
Figure SMS_128
A value adjustment factor for the occurrence time of the sub-change event;
Figure SMS_118
Represent the first
Figure SMS_130
The occurrence time of the sub-change event;
Figure SMS_117
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
Figure SMS_132
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 cell
Figure SMS_133
Wherein->
Figure SMS_134
A space setting attribute representing the target space;
Figure SMS_135
Representing a mass interest attribute of the corresponding spatial unit;
Figure SMS_136
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 table
Figure SMS_137
And a second value of the authority attention attribute in the corresponding cell array +.>
Figure SMS_138
Meanwhile, a third value of the space setting attribute in the corresponding unit array is obtained from the space-comparison mapping table
Figure SMS_139
According to the first value
Figure SMS_140
Second value->
Figure SMS_141
Third value->
Figure SMS_142
Calculating to obtain the geographical attention degree of the corresponding space unit>
Figure SMS_143
Figure SMS_144
Wherein,,
Figure SMS_145
representing a first weight based on the spatial setup attribute;
Figure SMS_146
Representing a second weight based on the people's attention attribute;
Figure SMS_147
Representing a third weight based on the attribute of interest of the regulatory agency, and +.>
Figure SMS_148
Figure SMS_149
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:
Figure SMS_150
Figure SMS_151
the basic data has the value of meeting the request, < >>
Figure SMS_152
The base data is weighted to satisfy the value of the request.
In this embodiment, node weights:
Figure SMS_153
Figure SMS_154
for attention degree, ++>
Figure SMS_155
Data change related value, ">
Figure SMS_156
Is the attention rate and the->
Figure SMS_157
The duty cycle of the correlation value is changed for the data.
Figure SMS_158
For maximum attention, ++>
Figure SMS_159
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:
Figure SMS_160
wherein,,
Figure SMS_161
representing a pointing function, representing a pointing function represented by ∈ ->
Figure SMS_162
Number of directional matchesDatabase
Figure SMS_163
Further obtaining the value of the related sharing event node plus the step length;
Figure SMS_164
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 node
Figure SMS_165
Second comparison value ∈>
Figure SMS_166
Figure SMS_167
Wherein,,
Figure SMS_170
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;
Figure SMS_172
Representing the total number of the factors to be compared;
Figure SMS_175
Indicating the success of the match->
Figure SMS_169
Factor matching weights of the factors to be compared;
Figure SMS_171
Indicate->
Figure SMS_174
The factors of the factors to be compared match weights, wherein +.>
Figure SMS_177
Less than 1->
Figure SMS_168
Less than or equal to 1, and->
Figure SMS_173
Greater than or equal to->
Figure SMS_176
A node locking unit for locking the first comparison value
Figure SMS_178
Greater than a first threshold->
Figure SMS_179
Second comparison value ∈>
Figure SMS_180
Greater than a second threshold->
Figure SMS_181
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.一种基于区块链的地理空间基础数据共享方法,其特征在于,包括:1. A method for sharing geospatial basic data based on blockchain, characterized in that it includes: 步骤1:确定目标空间的地理空间基础数据,并按照所述目标空间中每个空间单元的地理关注度以及地理变更事件,向每个空间单元设置存储事件节点;Step 1: Determine the geospatial basic data of the target space, and set up storage event nodes for each spatial unit according to the geographic attention and geographic change events of each spatial unit in the target space; 步骤2:接收与所述目标空间匹配的数据共享请求,并对所述数据共享请求进行解析,根据解析结果遍历所有存储事件节点,并锁定共享事件节点;Step 2: Receive a data sharing request that matches the target space, parse the data sharing request, traverse all storage event nodes according to the parsing result, and lock the shared event node; 步骤3:按照节点状态对锁定的共享事件节点进行排序;Step 3: Sort the locked shared event nodes according to their node status; 步骤4:按照排序结果,依次将共享事件节点中的基础数据发送到与所述数据共享请求匹配的接收端,实现数据共享;Step 4: According to the sorting result, send the basic data in the shared event node to the receiving end that matches the data sharing request in sequence to realize data sharing; 其中,根据解析结果遍历所有存储事件节点,并锁定共享事件节点,包括:This involves traversing all stored event nodes based on the parsing results and locking shared event nodes, including: 确定所述解析结果中的待比较因子,并确定总因子个数;Identify the factors to be compared in the analysis results, and determine the total number of factors; 将所述待比较因子分别与每个存储事件节点进行匹配,并获取每个存储事件节点所匹配成功的因子个数;The factors to be compared are matched with each storage event node, and the number of factors successfully matched for each storage event node is obtained. 计算对应存储事件节点的第一比较值
Figure QLYQS_1
以及第二比较值
Figure QLYQS_2
Calculate the first comparison value of the corresponding storage event node.
Figure QLYQS_1
and the second comparison value
Figure QLYQS_2
;
Figure QLYQS_5
其中,
Figure QLYQS_8
表示所述待比较因子与对应存储事件节点进行匹配后所匹配成功的因子个数;
Figure QLYQS_11
表示所述待比较因子的总个数;
Figure QLYQS_4
表示所匹配成功第
Figure QLYQS_7
个待比较因子的因子匹配权重;
Figure QLYQS_10
表示第
Figure QLYQS_13
个待比较因子的因子匹配权重,其中,
Figure QLYQS_3
小于1,
Figure QLYQS_6
小于或等于1,且
Figure QLYQS_9
大于或等于
Figure QLYQS_12
Figure QLYQS_5
in,
Figure QLYQS_8
This indicates the number of factors that are successfully matched after the factor to be compared is matched with the corresponding stored event node;
Figure QLYQS_11
This indicates the total number of factors to be compared;
Figure QLYQS_4
This indicates that the match was successful.
Figure QLYQS_7
Factor matching weights for each factor to be compared;
Figure QLYQS_10
Indicates the first
Figure QLYQS_13
Factor matching weights for each factor to be compared, where...
Figure QLYQS_3
Less than 1,
Figure QLYQS_6
Less than or equal to 1, and
Figure QLYQS_9
Greater than or equal to
Figure QLYQS_12
;
当所述第一比较值
Figure QLYQS_14
大于第一阈值
Figure QLYQS_15
以及第二比较值
Figure QLYQS_16
大于第二阈值
Figure QLYQS_17
,此时,将对应存储事件节点锁定,作为共享事件节点。
When the first comparison value
Figure QLYQS_14
Greater than the first threshold
Figure QLYQS_15
and the second comparison value
Figure QLYQS_16
Greater than the second threshold
Figure QLYQS_17
At this point, the corresponding storage event node is locked and used as a shared event node.
2.如权利要求1所述的基于区块链的地理空间基础数据共享方法,其特征在于,确定目标空间的地理空间基础数据,包括:2. The method for sharing geospatial basic data based on blockchain as described in claim 1, characterized in that determining the geospatial basic data of the target space includes: 根据所述目标空间的基础设施图,获取得到所述目标空间的第一基础数据;Based on the infrastructure map of the target space, the first basic data of the target space is obtained; 根据所述目标空间的预规划信息,对所述预规划信息进行规划时间解析,若解析后的规划时间都在预设时间之前,基于所述预规划信息获取得到所述目标空间的第二基础数据,根据所述第一基础数据以及第二基础数据构建得到地理空间基础数据;Based on the pre-planning information of the target space, the pre-planning information is analyzed for planning time. If the analyzed planning time is all before the preset time, the second basic data of the target space is obtained based on the pre-planning information. Geospatial basic data is constructed based on the first basic data and the second basic data. 若解析后的规划时间都在预设时间之后,基于所述第一基础数据构建得到地理空间基础数据;If the parsed planning times are all after the preset time, geospatial basic data is constructed based on the first basic data. 否则,提取在规划时间之前的第三基础数据,并根据所述第一基础数据以及第三基础数据构建得到地理空间基础数据。Otherwise, extract the third basic data prior to the planning time, and construct the geospatial basic data based on the first basic data and the third basic data. 3.如权利要求1所述的基于区块链的地理空间基础数据共享方法,其特征在于,按照所述目标空间中每个空间单元的地理关注度以及地理变更事件,向每个空间单元设置存储事件节点,包括:3. The method for sharing geospatial basic data based on blockchain as described in claim 1, characterized in that, according to the geographical attention and geographical change events of each spatial unit in the target space, a storage event node is set up for each spatial unit, including: 对所述目标空间进行单元分割,获取得到若干空间单元;The target space is divided into units to obtain several spatial units; 基于所述空间单元的单元边界位置,对所述目标空间所匹配的地理空间基础数据进行数据提取,得到第一数据;Based on the unit boundary location of the spatial unit, data is extracted from the geospatial basic data matched by the target space to obtain the first data; 获取指定时间段内,所述空间单元所对应的每个单元时间下的第二数据,并所述第一数据与所有第二数据按照时间顺序数据排列,并依次对排列结果中的相邻数据进行差异数据的获取,并得到对应空间单元的地理变更事件;Within a specified time period, the second data for each unit time corresponding to the spatial unit is obtained, and the first data and all the second data are arranged in chronological order. The difference data of adjacent data in the arrangement result is obtained in turn, and the geographical change event of the corresponding spatial unit is obtained. 同时,基于所述目标空间的空间设置属性以及每个空间单元的民众关注属性以及管理机构关注属性,获取得到对应空间单元的地理关注度。At the same time, based on the spatial setting attributes of the target space and the public attention attributes and management agency attention attributes of each spatial unit, the geographical attention of the corresponding spatial unit is obtained. 4.如权利要求3所述的基于区块链的地理空间基础数据共享方法,其特征在于,依次对排列结果中的相邻数据进行差异数据的获取,并得到对应空间单元的地理变更事件,包括:4. The method for sharing geospatial basic data based on blockchain as described in claim 3, characterized in that, by sequentially acquiring the difference data of adjacent data in the sorting result and obtaining the geographic change event of the corresponding spatial unit, including: 根据差异数据的获取结果,构建得到差异集合
Figure QLYQS_18
Based on the results of obtaining the difference data, a difference set is constructed.
Figure QLYQS_18
:
Figure QLYQS_19
其中,
Figure QLYQS_20
表示指定时间段内的第1个第一数据;
Figure QLYQS_21
表示指定时间段内的第2个第一数据;
Figure QLYQS_22
表示第二数据;
Figure QLYQS_23
表示指定时间段内的第
Figure QLYQS_24
个第一数据;
Figure QLYQS_19
in,
Figure QLYQS_20
This indicates the first data point within the specified time period;
Figure QLYQS_21
This indicates the second first data point within the specified time period;
Figure QLYQS_22
Indicates the second data;
Figure QLYQS_23
Indicates the first [number] within the specified time period
Figure QLYQS_24
The first data point;
根据所述差异集合
Figure QLYQS_25
,确定变更集合
Figure QLYQS_26
,其中,
Figure QLYQS_27
表示第1个第一数据与第2个第一数据的变更值;
Figure QLYQS_28
表示第二数据与第
Figure QLYQS_29
个第一数据的变更值;
According to the difference set
Figure QLYQS_25
Determine the change set
Figure QLYQS_26
,in,
Figure QLYQS_27
This indicates the change value between the first and second pieces of data.
Figure QLYQS_28
Indicates the second data and the first
Figure QLYQS_29
The change value of the first data;
提取所述变更集合B中变更值大于预设值的数据对,并基于所述数据对从变更数据库中,调取与所述数据对的变更值以及数据对的数据变化类型一致的子变更事件;Extract data pairs whose change values are greater than a preset value from the change set B, and retrieve sub-change events from the change database that are consistent with the change value and data change type of the data pairs; 根据每个子变更事件的发生时间以及每个子变更事件对应的变更类型,确定对应子变更事件的事件参考价值;Based on the occurrence time of each sub-change event and the change type corresponding to each sub-change event, determine the event reference value of the corresponding sub-change event;
Figure QLYQS_46
其中,
Figure QLYQS_33
表示第
Figure QLYQS_44
个子变更事件的事件参考价值;
Figure QLYQS_36
表示第
Figure QLYQS_38
个子变更事件基于变更类型的参考因子;
Figure QLYQS_37
表示第
Figure QLYQS_42
个子变更事件涉及到变更类型的数量;
Figure QLYQS_34
表示指数函数符号;
Figure QLYQS_43
表示第
Figure QLYQS_31
个子变更事件涉及到的所有变更类型中的第
Figure QLYQS_40
个变更类型的类型权重,且
Figure QLYQS_30
小于1;
Figure QLYQS_41
表示基于第
Figure QLYQS_35
个子变更事件发生时间的价值调整因子;
Figure QLYQS_39
表示第
Figure QLYQS_32
个子变更事件的发生时间;
Figure QLYQS_45
表示基于当下时间所指定的比较时间;
Figure QLYQS_46
in,
Figure QLYQS_33
Indicates the first
Figure QLYQS_44
The reference value of individual change events;
Figure QLYQS_36
Indicates the first
Figure QLYQS_38
Individual change events are based on a reference factor of the change type;
Figure QLYQS_37
Indicates the first
Figure QLYQS_42
The number of change types involved in each sub-change event;
Figure QLYQS_34
Indicates the symbol for an exponential function;
Figure QLYQS_43
Indicates the first
Figure QLYQS_31
The first of all change types involved in the sub-change event
Figure QLYQS_40
Type weights for each change type, and
Figure QLYQS_30
Less than 1;
Figure QLYQS_41
Indicates based on the first
Figure QLYQS_35
Value adjustment factor for the occurrence time of individual change events;
Figure QLYQS_39
Indicates the first
Figure QLYQS_32
The time of occurrence of each sub-change event;
Figure QLYQS_45
Indicates the comparison time specified based on the current time;
基于所有事件参考价值,对获取的相关子变更事件进行筛选处理,得到对应空间单元的地理变更事件。Based on the reference value of all events, the relevant sub-change events are filtered and processed to obtain the geographic change events of the corresponding spatial units.
5.如权利要求3所述的基于区块链的地理空间基础数据共享方法,其特征在于,基于所述目标空间的空间设置属性以及每个空间单元的民众关注属性以及管理机构关注属性,获取得到对应空间单元的地理关注度,包括:5. The method for sharing geospatial basic data based on blockchain as described in claim 3, characterized in that, based on the spatial setting attributes of the target space and the public attention attributes and management agency attention attributes of each spatial unit, the geographical attention of the corresponding spatial unit is obtained, including: 构建每个空间单元的单元数组
Figure QLYQS_47
,其中,
Figure QLYQS_48
表示所述目标空间的空间设置属性;
Figure QLYQS_49
表示对应空间单元的民众关注属性;
Figure QLYQS_50
表示对应空间单元的管理机构关注属性;
Construct a cell array for each spatial cell.
Figure QLYQS_47
,in,
Figure QLYQS_48
This indicates the spatial setting attributes of the target space;
Figure QLYQS_49
This indicates the public's focus attributes for the corresponding spatial unit;
Figure QLYQS_50
This indicates the attributes that the management organization of the corresponding spatial unit is concerned with;
确定对应空间单元基于所述目标空间的空间位置,并从位置-比较数据库中,获取与对应空间单元匹配的空间-比较映射表;Determine the spatial location of the corresponding spatial unit based on the target space, and obtain the spatial-comparison mapping table that matches the corresponding spatial unit from the location-comparison database; 基于所述空间-比较映射表获取对应单元数组中的民众关注属性的第一值
Figure QLYQS_51
以及对应单元数组中的管理机构关注属性的第二值
Figure QLYQS_52
Based on the space-comparison mapping table, obtain the first value of the public concern attribute in the corresponding cell array.
Figure QLYQS_51
And the second value of the management organization's focus attribute in the corresponding cell array.
Figure QLYQS_52
;
同时,从所述空间-比较映射表中,获取对应单元数组中的空间设置属性的第三值
Figure QLYQS_53
Simultaneously, the third value of the space setting attribute in the corresponding cell array is obtained from the space-comparison mapping table.
Figure QLYQS_53
;
根据所述第一值
Figure QLYQS_54
、第二值
Figure QLYQS_55
以及第三值
Figure QLYQS_56
,计算得到对应空间单元的地理关注度
Figure QLYQS_57
According to the first value
Figure QLYQS_54
Second value
Figure QLYQS_55
and the third value
Figure QLYQS_56
The geographical attention of the corresponding spatial unit is calculated.
Figure QLYQS_57
;
Figure QLYQS_58
其中,
Figure QLYQS_59
表示基于空间设置属性的第一权重;
Figure QLYQS_60
表示基于民众关注属性的第二权重;
Figure QLYQS_61
表示基于管理机构关注属性的第三权重,且
Figure QLYQS_62
Figure QLYQS_63
表示指数函数的符号。
Figure QLYQS_58
in,
Figure QLYQS_59
This indicates the first weight of the attribute based on the spatial settings;
Figure QLYQS_60
This indicates the second weight based on attributes of public concern;
Figure QLYQS_61
This indicates a third weight based on the attributes that the management organization focuses on, and
Figure QLYQS_62
Figure QLYQS_63
The symbol for an exponential function.
6.如权利要求1所述的基于区块链的地理空间基础数据共享方法,其特征在于,按照节点状态对锁定的共享事件节点进行排序,包括:6. The method for sharing geospatial basic data based on blockchain as described in claim 1, characterized in that, sorting the locked shared event nodes according to their node states includes: 获取得到对应共享事件节点的状态参数信息,并得到对应共享事件节点的节点共享状态值;Obtain the status parameter information of the corresponding shared event node, and obtain the node shared status value of the corresponding shared event node; 根据每个共享事件节点包含的地理关注度以及地理变更事件,确定对应共享事件节点的节点权重,并结合所述节点共享状态值,确定相关共享事件节点的值加步长;Based on the geographic attention and geographic change events contained in each shared event node, the node weight of the corresponding shared event node is determined, and combined with the node sharing status value, the value of the relevant shared event node plus the step size is determined. 按照最后状态值,对锁定的共享事件节点进行排序。The locked shared event nodes are sorted according to their final state values. 7.如权利要求1所述的基于区块链的地理空间基础数据共享方法,其特征在于,按照排序结果,依次将共享事件节点中的基础数据发送到与所述数据共享请求匹配的接收端,实现数据共享,包括:7. The method for sharing geospatial basic data based on blockchain as described in claim 1, characterized in that, according to the sorting result, the basic data in the shared event nodes are sequentially sent to the receiving end matching the data sharing request to realize data sharing, including: 确定每个共享事件节点中与所述数据共享请求的共享数据,并对所述共享数据进行显著性标签设置;Identify the shared data in each shared event node that is associated with the data sharing request, and set a salience label for the shared data; 在按照排序结果进行传输的之后,在接收端,将显著性设置的共享数据进行显著性显示。After transmission according to the sorting results, the receiving end displays the shared data with the salience setting prominently. 8.如权利要求6所述的基于区块链的地理空间基础数据共享方法,其特征在于,结合所述节点共享状态值,确定相关共享事件节点的值加步长,包括:8. The method for sharing geospatial basic data based on blockchain as described in claim 6, characterized in that, by combining the node sharing status value, determining the value plus a step size of the relevant sharing event node includes:
Figure QLYQS_64
其中,
Figure QLYQS_65
表示指向函数,表示由
Figure QLYQS_66
指向匹配数据库
Figure QLYQS_67
,进而得到相关共享事件节点的值加步长;
Figure QLYQS_68
表示指向符号。
Figure QLYQS_64
in,
Figure QLYQS_65
Indicates a pointer to a function, indicating that it is...
Figure QLYQS_66
Point to matching database
Figure QLYQS_67
This allows us to obtain the value of the relevant shared event node plus the step size;
Figure QLYQS_68
Indicates a pointer symbol.
9.一种基于区块链的地理空间基础数据共享系统,其特征在于,包括:9. A blockchain-based geospatial basic data sharing system, characterized in that it comprises: 节点设置模块,用于确定目标空间的地理空间基础数据,并按照所述目标空间中每个空间单元的地理关注度以及地理变更事件,向每个空间单元设置存储事件节点;The node setting module is used to determine the geospatial basic data of the target space, and set up storage event nodes for each spatial unit according to the geographic attention and geographic change events of each spatial unit in the target space. 节点锁定模块,用于接收与所述目标空间匹配的数据共享请求,并对所述数据共享请求进行解析,根据解析结果遍历所有存储事件节点,并锁定共享事件节点;The node locking module is used to receive data sharing requests that match the target space, parse the data sharing requests, traverse all storage event nodes according to the parsing results, and lock the shared event nodes. 节点排序模块,用于按照节点状态对锁定的共享事件节点进行排序;The node sorting module is used to sort the locked shared event nodes according to their status. 数据共享模块,用于按照排序结果,依次将共享事件节点中的基础数据发送到与所述数据共享请求匹配的接收端,实现数据共享;The data sharing module is used to send the basic data in the shared event nodes to the receiving end that matches the data sharing request in sequence according to the sorting result, so as to realize data sharing; 其中,节点锁定模块,包括:The node locking module includes: 总个数确定单元,用于确定所述解析结果中的待比较因子,并确定总因子个数;The total number determination unit is used to determine the factors to be compared in the analysis results and to determine the total number of factors; 匹配个数确定单元,用于将所述待比较因子分别与每个存储事件节点进行匹配,并获取每个存储事件节点所匹配成功的因子个数;The matching number determination unit is used to match the factors to be compared with each storage event node, and obtain the number of factors successfully matched by each storage event node; 计算单元,用于计算对应存储事件节点的第一比较值
Figure QLYQS_69
以及第二比较值
Figure QLYQS_70
The calculation unit is used to calculate the first comparison value of the corresponding stored event node.
Figure QLYQS_69
and the second comparison value
Figure QLYQS_70
;
Figure QLYQS_71
其中,
Figure QLYQS_76
表示所述待比较因子与对应存储事件节点进行匹配后所匹配成功的因子个数;
Figure QLYQS_79
表示所述待比较因子的总个数;
Figure QLYQS_72
表示所匹配成功第
Figure QLYQS_75
个待比较因子的因子匹配权重;
Figure QLYQS_78
表示第
Figure QLYQS_81
个待比较因子的因子匹配权重,其中,
Figure QLYQS_73
小于1,
Figure QLYQS_74
小于或等于1,且
Figure QLYQS_77
大于或等于
Figure QLYQS_80
Figure QLYQS_71
in,
Figure QLYQS_76
This indicates the number of factors that are successfully matched after the factor to be compared is matched with the corresponding stored event node;
Figure QLYQS_79
This indicates the total number of factors to be compared;
Figure QLYQS_72
This indicates that the match was successful.
Figure QLYQS_75
Factor matching weights for each factor to be compared;
Figure QLYQS_78
Indicates the first
Figure QLYQS_81
Factor matching weights for each factor to be compared, where...
Figure QLYQS_73
Less than 1,
Figure QLYQS_74
Less than or equal to 1, and
Figure QLYQS_77
Greater than or equal to
Figure QLYQS_80
;
节点锁定单元,用于当所述第一比较值
Figure QLYQS_82
大于第一阈值
Figure QLYQS_83
以及第二比较值
Figure QLYQS_84
大于第二阈值
Figure QLYQS_85
,此时,将对应存储事件节点锁定,作为共享事件节点。
Node locking unit, used when the first comparison value
Figure QLYQS_82
Greater than the first threshold
Figure QLYQS_83
and the second comparison value
Figure QLYQS_84
Greater than the second threshold
Figure QLYQS_85
At this point, the corresponding storage event node is locked and used as a shared event node.
CN202310575221.0A 2023-05-22 2023-05-22 A blockchain-based geospatial basic data sharing method and system Active CN116303805B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

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 A blockchain-based geospatial basic data sharing method and system

Country Status (1)

Country Link
CN (1) CN116303805B (en)

Citations (7)

* Cited by examiner, † Cited by third party
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, computing device 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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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, computing device 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物联网数据共享的区块链关键技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, 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
Toole et al. The path most traveled: Travel demand estimation using big data resources
Yabe et al. A framework for evacuation hotspot detection after large scale disasters using location data from smartphones: case study of kumamoto earthquake
CN106875670B (en) Taxi allocation method based on GPS data under Spark platform
JP5785973B2 (en) New store candidate site analysis apparatus, method and program
CN102595323A (en) Method for obtaining resident travel characteristic parameter based on mobile phone positioning data
US8600957B2 (en) Mesh data creation method
Gong et al. Identification of (near) Real-time Traffic Congestion in the Cities of Australia through Twitter
Kozievitch et al. Exploratory analysis of public transportation data in Curitiba
Cesario et al. Analyzing social media data to discover mobility patterns at EXPO 2015: Methodology and results
CN113935620A (en) A parking lot evaluation method, device and application based on grid basic data
CN104636457B (en) A kind of method and device of location finding cognition
CN114218340A (en) Method and device for determining stop position, storage medium and electronic device
CN109614450A (en) The method and system of personnel&#39;s whereabouts analysis based on multidimensional data
CN111861139A (en) Merchant recommendation method and device and computer equipment
CN112651992A (en) A trajectory tracking method and system
CN109917456A (en) Method and system for rapid extraction of seismic information
Raghothama et al. Analytics on public transport delays with spatial big data
CN106056515A (en) Community grid event cluster feature extraction method
CN116303805B (en) A blockchain-based geospatial basic data sharing method and system
Zhou et al. Identifying golden routes in tourist areas based on AMP collectors
US20190163847A1 (en) Method, apparatus, and system for predicting spread of disaster using scenario
CN114169940A (en) Business opportunity mining system based on business opportunity service information processing
CN114037852A (en) Portrait clustering method, device, electronic equipment and storage medium
Zhou et al. Big data for intrametropolitan human movement studies A case study of bus commuters based on smart card data

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