CN219437020U - Block chain node equipment for storing business data in urban planning field - Google Patents
Block chain node equipment for storing business data in urban planning field Download PDFInfo
- Publication number
- CN219437020U CN219437020U CN202320983046.4U CN202320983046U CN219437020U CN 219437020 U CN219437020 U CN 219437020U CN 202320983046 U CN202320983046 U CN 202320983046U CN 219437020 U CN219437020 U CN 219437020U
- Authority
- CN
- China
- Prior art keywords
- data
- module
- sub
- urban planning
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- 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
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A30/00—Adapting or protecting infrastructure or their operation
- Y02A30/60—Planning or developing urban green infrastructure
Landscapes
- Computer And Data Communications (AREA)
Abstract
The utility model provides block chain node equipment for storing business data in the field of urban planning, which is a computer or a server directly controlled by an urban planning unit and comprises a core processing module, a power supply module, a communication module and a storage module; the core processing module comprises: the data acquisition sub-module is used for receiving the data record of the whole network broadcast through the communication module; a data storage sub-module: the storage module is used for connecting the output data and storing the output data in the storage module; and a judging sub-module: for judging whether the blocking condition is satisfied; packaging competition sub-module: the method is used for packing the data records into blocks into a first type of block chain through competition of a competition mechanism and broadcasting the blocks into legal blocks. The utility model can effectively utilize all resources of the urban planning unit, store service data on the basis of meeting the service characteristics of the urban planning field, and serve the block chain of the urban planning field.
Description
Technical Field
The utility model belongs to the field of urban planning equipment, and particularly relates to block chain node equipment for storing business data in the field of urban planning.
Background
The data content recorded in the blocks of the first generation blockchain is a transaction record. The method is characterized by small blocks, single data types in the blocks and large recording quantity. The second generation blockchain is characterized by a knowledge intelligence contract. Based on smart contract technology, blockchains are applied to applications in specific industries, whether second generation blockchain technology is essential or contract-centric. The blockchain technology in the early research stage belongs to the third generation blockchain technology, further expands from the circle of transaction to the periphery, and different attempts are made according to different industry characteristics.
In the field of urban planning, in practice, the demands of transactions or contracts are very small, and more so, the demands of urban planning businesses on data are considered. The business characteristics in the urban planning field are large data volume, various data types and different specific requirements for different data types. Data can be roughly divided into data records and operation records, and the requirements of the data records are release timeliness and authority management; the requirement for operation recording is multiplexing. At present, the first generation and the second generation blockchain technologies in the prior art cannot be suitable for the urban planning field, and have the defects that the blocks are too small, the service types are simple, the processing means are single, and the service characteristics in the urban planning field cannot be basically met; to truly implement the blockchain technology that accords with the business features in the urban planning field, the blockchain node device for storing the business data in the urban planning field must be first available.
Disclosure of Invention
The utility model provides block chain node equipment for storing business data in the urban planning field, which can store the business data on the basis of meeting the business characteristics in the urban planning field and serve the block chain in the urban planning field.
In order to achieve the above purpose, the technical scheme of the utility model is realized as follows:
a blockchain node device for storing business data in the field of urban planning, the blockchain node device being a computer or server directly controlled by an urban planning unit, comprising: the device comprises a core processing module, a power module, a communication module and a storage module; the power supply module is used for supplying power; the core processing module comprises:
the data acquisition sub-module is used for receiving data records broadcasted by the whole network through the communication module, wherein the data records are data records of output data of nodes executing urban planning service or sub-service to be published on a first type block chain; the first type block chain is used for storing data records of city planning business data;
a data storage sub-module: the storage module is used for connecting the output data and storing the output data in the storage module;
and a judging sub-module: the data record is used for judging whether the data record stored in the storage module meets the blocking condition or not;
packaging competition sub-module: the data record is packaged into blocks into a first type of block chain through competition of a competition mechanism and broadcast to become legal blocks.
Further, the blockchain node equipment participates in the processing of urban planning specific business, generates data and packages the data into a blockchain; the block link point devices are connected by the Internet. If the interconnected nodes are within a certain city planning unit, they are connected by means of an internal network.
Further, the node executing the city planning service or the sub-service is a task node, and when a certain node starts a city planning service, the node is used as a task node to decompose the city planning service into a plurality of sub-tasks, execute the corresponding operation of the sub-tasks, and generate output data.
Further, a memory area special for the first type of blockchain is arranged in the memory module.
Further, in the judging submodule, the judging submodule is configured to judge that the stored data record meets the blocking condition, and specifically includes:
the sorting unit is used for setting the current time as t2, sorting all the data records to be formed into blocks in a storage area of the data records according to the value of t=t2-t 0-t1, and sorting with small t value is carried out before;
a judging unit for judging 1) whether the total size of all storage data of the storage area is larger than or equal to the block size of the first type block chain; judging whether the t value is less than or equal to 0; if the judgment 1) is true, selecting the record to be put into the block of the first type of block chain according to the sorting until the record is not put down; if decision 2) is true, then all records are placed in the blocks of the first type of blockchain.
Compared with the prior art, the utility model has the following beneficial effects:
1. in the utility model, each node is a node directly controlled by a city planning unit, and the positions of each node are the same; the node initiating the task temporarily serves as a task node, all nodes compete for the packing blocks, and all resources of the city planning units can be effectively utilized in the mode.
2. The block chain node equipment provided by the utility model can store service data on the basis of meeting the service characteristics of the urban planning field and serve the block chain of the urban planning field.
Drawings
Fig. 1 is a schematic structural view of an embodiment of the present utility model.
Detailed Description
It should be noted that, without conflict, the embodiments of the present utility model and features of the embodiments may be combined with each other.
For the purpose of making the objects and features of the present utility model more comprehensible, embodiments accompanied with figures are described in detail below.
In this embodiment, the blockchain node device for storing service data in the urban planning field is actually constructed by using a computer or a server directly controlled by the urban planning unit, and is not a device separately built. The block chain node equipment participates in the processing of urban planning specific business, generates data and packages the data into a block chain; the block link point devices are connected by the Internet. If other node devices connected with each other belong to a certain city planning unit, the node devices are connected by an internal network.
The structure of the utility model is shown in fig. 1, and comprises: the device comprises a core processing module, a power module, a communication module and a storage module; the power supply module is used for supplying power; the core processing module comprises:
(1) The data acquisition sub-module is used for receiving data records broadcasted by the whole network through the communication module, wherein the data records are data records of output data of nodes executing urban planning service or sub-service to be published on a first type block chain; the node executing the city planning service or the sub-service is a task node, and when a certain node starts a city planning service, the node is used as a task node to decompose the city planning service into a plurality of sub-tasks, execute the corresponding operation of the sub-tasks and generate output data; the first type block chain is used for storing data records of city planning business data;
(2) A data storage sub-module: the storage module is used for connecting the output data and storing the output data in the storage module; and a storage area special for the first type of blockchain is arranged in the storage module.
(3) And a judging sub-module: the data record is used for judging whether the data record stored in the storage module meets the blocking condition or not; the method specifically comprises the following steps:
the sorting unit is used for setting the current time as t2, sorting all the data records to be formed into blocks in a storage area of the data records according to the value of t=t2-t 0-t1, and sorting with small t value is carried out before;
a judging unit for judging 1) whether the total size of all storage data of the storage area is larger than or equal to the block size of the first type block chain; judging whether the t value is less than or equal to 0; if the judgment 1) is true, selecting the record to be put into the block of the first type of block chain according to the sorting until the record is not put down; if decision 2) is true, then all records are placed in the blocks of the first type of blockchain.
(4) Packaging competition sub-module: the data record is packaged into blocks into a first type of block chain through competition of a competition mechanism and broadcast to become legal blocks. The contention mechanism may employ a contention mechanism in the prior art.
Based on the structure, the utility model can effectively utilize all resources of the city planning unit, any node can be the block chain node equipment for storing the business data in the city planning field, can store the business data on the basis of conforming to the business characteristics in the city planning field, and serves the block chain in the city planning field.
To further illustrate the function of the present utility model, the operation flow of the blockchain system in the urban planning field is described as follows (the function of the present utility model is not limited to the position and function of the present utility model in the flow is shown in the following description):
step 1: when a user starts to start a city planning service on a node (called a task node) in the city planning field, the city planning service is decomposed into a plurality of subtasks; if the plurality of sub-tasks can be executed in parallel, the sub-tasks can be executed separately without considering the existing sequence, and if the plurality of sub-tasks need to be executed in series, the execution of the previous sub-tasks needs to be waited for and then the execution of the subsequent sub-tasks is needed.
Step 2: if the sub-task which is not executed exists, selecting one sub-task as the current sub-task; an input data index and an operation index of the current subtask are determined.
Step 3: acquiring input data from a first type of blockchain according to an input data index; determining an operation to be performed on the input data according to the operation index; the first class of blockchains has a larger block size. Preferably 1 mbyte. Other sized blocks may also be set according to desired characteristics; the first type of blockchain is used for storing data records of city planning business data.
Step 4: executing subtask corresponding operation to generate output data; outputting data requires publishing a data record on a first type of blockchain, the data record comprising at least: record generation time t0 (realized by a time stamp), record blocking maximum delay t1 (determined by the information of the business priority level such as the type of the business related to the data, the type of the owner of the data and the like according to the type of the data, the record t1 value which needs to be timely disclosed is small, the record t1 value which does not need to be timely disclosed is large), and business content; broadcasting the record in the whole network, wherein the type of the data record is content data, and the service content comprises input data, intermediate data and output data;
step 5: the nodes of the whole network are all used as block chain node equipment for storing business data in the urban planning field, and after the data acquisition submodule receives the data record broadcasted by the whole network, the data storage submodule stores the data record in a storage area of a first type of block chain arranged in the storage module;
step 6: the judging submodule judges whether the data records of the storage areas of the first type of blockchain meet the blocking condition, the current time is set to be t2, all data to be blocked are ordered in the storage areas according to the value of t=t2-t 0-t1, and the ordering with small t value is front. Then, judging 1) whether the total size of all storage data of the storage area is more than or equal to 1M (or other set sizes); judging whether 2) the t value is equal to or smaller than 0;
if the judgment 1) is true, selecting the data record according to the ordering and putting the data record into the block of the first type of block chain until the data record is not put down; if the judgment 2) is true, all the data records are put into the blocks of the first type of block chain;
the packing competition sub-module competes through a competition mechanism, and after competition is successful, the whole network broadcasts, and other block chain node devices are confirmed to become legal blocks. Each data record in the block can be input data of a subsequent task.
Step 7: and (3) after receiving the block generated in the step (6), the task node obtains an output data index, and generates an operation record comprising the input data index, the operation index and the output data index.
The input data index includes: the index of the block where the input data is located+the index of the data within the block. The input data may be null, may be 1, or may be plural.
The operation index is a predefined index of the entire blockchain system corresponding to a specific operation, the correspondence rule having a consensus among all nodes.
The output data index includes: the index of the block where the output data is located+the index of the block where the data is located.
Step 8: the task node broadcasts the operation record generated in the step 7 to the whole network;
step 9: all nodes of the whole network which receive the operation records are stored in a storage area of a second class block chain; the block size of the second type of blockchain is much smaller than the block size of the first type of blockchain, which may be, for example, 1 kbyte.
Step 10: when the capacity of the operation records in the storage area of the second class of block chains meets the blocking condition, each node packs the operation records into blocks through competition of a competition mechanism, and the blocks are broadcasted in the whole network, and after other nodes confirm, the legal blocks are obtained. The second blockchain blocking method in the step is a blockwise conditional confirmation method which is achieved by adopting a conventional means in the prior art.
The foregoing description of the preferred embodiments of the utility model is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the utility model.
Claims (5)
1. A blockchain node device for storing business data in the field of urban planning, wherein the blockchain node device is a computer or a server directly controlled by an urban planning unit, and the blockchain node device comprises: the device comprises a core processing module, a power module, a communication module and a storage module; the power supply module is used for supplying power; the core processing module comprises:
the data acquisition sub-module is used for receiving data records broadcasted by the whole network through the communication module, wherein the data records are data records of output data of nodes executing urban planning service or sub-service to be published on a first type block chain; the first type block chain is used for storing data records of city planning business data;
a data storage sub-module: the storage module is used for connecting the output data and storing the output data in the storage module;
and a judging sub-module: the data record is used for judging whether the data record stored in the storage module meets the blocking condition or not;
packaging competition sub-module: the method is used for packing the data records into blocks into a first type of block chain through competition of a competition mechanism and broadcasting the blocks into legal blocks.
2. The blockchain node device for storing business data in the area of urban planning according to claim 1, wherein the blockchain node device participates in the processing of urban planning specific business, generating data, and packaging data into blockchains; the block link point devices are connected by the Internet, and if the interconnected nodes are in a certain city planning unit, the block link point devices are connected by an internal network.
3. The blockchain node device for storing service data in the city planning field according to claim 1, wherein the node executing the city planning service or the sub-service is a task node, and when a certain node starts a city planning service, the node is used as a task node to decompose the city planning service into a plurality of sub-tasks, execute corresponding operations of the sub-tasks, and generate output data.
4. The blockchain node device for storing business data in the urban planning field according to claim 1, wherein a storage area dedicated to the blockchain of the first type is provided in the storage module.
5. The blockchain node device for storing business data in the urban planning field according to claim 1, wherein the determining submodule is configured to determine that the stored data record meets a blocking condition, and specifically includes:
the sorting unit is used for setting the current time as t2, sorting all the data records to be formed into blocks in a storage area of the data records according to the value of t=t2-t 0-t1, and sorting with small t value is carried out before;
a judging unit for judging 1) whether the total size of all storage data of the storage area is larger than or equal to the block size of the first type block chain; judging whether the t value is less than or equal to 0; if the judgment 1) is true, selecting the record to be put into the block of the first type of block chain according to the sorting until the record is not put down; if decision 2) is true, then all records are placed in the blocks of the first type of blockchain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320983046.4U CN219437020U (en) | 2023-04-27 | 2023-04-27 | Block chain node equipment for storing business data in urban planning field |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202320983046.4U CN219437020U (en) | 2023-04-27 | 2023-04-27 | Block chain node equipment for storing business data in urban planning field |
Publications (1)
Publication Number | Publication Date |
---|---|
CN219437020U true CN219437020U (en) | 2023-07-28 |
Family
ID=87343597
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202320983046.4U Active CN219437020U (en) | 2023-04-27 | 2023-04-27 | Block chain node equipment for storing business data in urban planning field |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN219437020U (en) |
-
2023
- 2023-04-27 CN CN202320983046.4U patent/CN219437020U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Anily et al. | Shipping multiple items by capacitated vehicles: An optimal dynamic programming approach | |
CN106815254A (en) | A kind of data processing method and device | |
CN103825964A (en) | SLS (Service Level Specification) scheduling device and SLS scheduling method based on cloud computing PaaS (platform-as-a-service) platform | |
CN114818446B (en) | Power service decomposition method and system facing 5G cloud edge terminal cooperation | |
CN107273195A (en) | A kind of batch processing method of big data, device and computer system | |
CN110555079B (en) | Data processing method, device, equipment and storage medium | |
CN116192881B (en) | Access control method and system for block chain data in urban planning field | |
EP1170663A2 (en) | Job distributed processing method and distributed processing system | |
CN110503385A (en) | Method for processing business, device, computer equipment and storage medium | |
CN110730220B (en) | Intelligent scheduling method and device based on system current business capability integration | |
CN113762830A (en) | Order splitting processing method, device and equipment and readable storage medium | |
CN219437020U (en) | Block chain node equipment for storing business data in urban planning field | |
CN116302453B (en) | Task scheduling method and device for quantum electronic hybrid platform | |
CN111435495A (en) | Service processing method, device and equipment | |
CN110225110B (en) | Method and device for splitting block chain group | |
CN111510484B (en) | Block chain processing method, system, device, computer equipment and storage medium | |
CN116244062A (en) | Data processing method and device, electronic equipment and storage medium | |
CN113807539B (en) | Machine learning and graphic computing power high multiplexing method, system, medium and terminal | |
CN115185543A (en) | Model deployment method, packing method, device, equipment and storage medium | |
CN115454618A (en) | Data processing method and device for virtual resources, storage medium and processor | |
CN114416765A (en) | Stepless prediction execution method and system for block chain transaction | |
CN115495225B (en) | Data processing method and device, storage medium and electronic device | |
CN117651044B (en) | Edge computing task scheduling method and device | |
CN116974771B (en) | Resource scheduling method, related device, electronic equipment and medium | |
CN113535388B (en) | Task-oriented service function aggregation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |