CN112967136A - Block chain-based spontaneous exhibition community common service grid - Google Patents

Block chain-based spontaneous exhibition community common service grid Download PDF

Info

Publication number
CN112967136A
CN112967136A CN202110170815.4A CN202110170815A CN112967136A CN 112967136 A CN112967136 A CN 112967136A CN 202110170815 A CN202110170815 A CN 202110170815A CN 112967136 A CN112967136 A CN 112967136A
Authority
CN
China
Prior art keywords
grid
block
service
developer
master
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
CN202110170815.4A
Other languages
Chinese (zh)
Other versions
CN112967136B (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202110170815.4A priority Critical patent/CN112967136B/en
Publication of CN112967136A publication Critical patent/CN112967136A/en
Application granted granted Critical
Publication of CN112967136B publication Critical patent/CN112967136B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Abstract

The invention belongs to the technical field of grids, and discloses a block chain-based spontaneous exhibition community common service grid, which comprises three types of grids, namely a developer grid, a grid main terminal grid and an Internet of things equipment grid; the method comprises the steps that a developer grid provides full-service type services while grid maintenance is carried out through authentication registration, benefits are obtained by promoting transaction completion between grid masters, the benefits are obtained by developing a new block and activating grid issuing application, self-service and mutual-aid services are obtained through a common service grid after identity registration authentication is carried out on a grid master terminal grid, intelligent control is carried out on Internet of things equipment around the grid master, and transaction or benefits are obtained based on a block chain. The invention enables the grid owner to carry out intelligent life and self-help and mutual assistance, and the developers can obtain benefits by developing new blocks, activating grid issuing application and providing various services, thereby providing convenience for the aspects of life, work and the like of people.

Description

Block chain-based spontaneous exhibition community common service grid
Technical Field
The invention belongs to the technical field of grids, and particularly relates to a block chain-based spontaneous exhibition community common service grid.
Background
The internet has experienced a rapid progression from endless, simple to complex in the last half century. Internet Protocol (IP) -based networks have a dominant position in human life. The IP network is designed to realize simple end-to-end communication, and with large-scale deployment and application of big data, cloud computing, mobile internet, and internet of things, the amount of network information and identification increases at a doubled rate. In the face of the serious problems of resource exhaustion, poor business adaptability and the like of an IP network in the new situation of network development, and in addition, important network resources such as a top-level IP server and the like are monopolized in the United states in the existing system, the problems of poor safety and poor controllability in the traditional IP system are urgently solved.
Facing to centralized technology and management and control risks, decentralized multilateral common management and control become global demands for domain name geographic management. The international Namecoin project firstly provides a plurality of solutions such as distributed storage and ore merging and digging based on a bitcoin block chain network. The Blockstack project provides a virtual chain technology to support the migration of a logic layer among different bottom layer chains, and deeply researches the technologies such as a block chain network architecture, distributed data storage and an infinite classification book, so that the overall robustness and reusability of a block chain system are effectively enhanced.
In recent years, advanced countries around the world have started to research new network architectures that are independent of IP. The main flow consensus is that the network in the post-IP era should support a new network system including multiple identifiers, such as content, identity, IP address, and geographic location, i.e., a multi-modal domain name identifier. Multimodal identification is a network geography that is commonly owned by all humans. The novel network should have the basic technical characteristics of full-dimensional definition, accurate and reliable geographic identification, intellectualization, generalized robustness and the like. In an open network architecture, full-dimensional definition of network topology, protocols, software, hardware, interfaces and the like is realized, the difficult problems of diversified addressing and routing technologies are broken through, high-strength robustness is realized, and the requirement of human on network diversification under new conditions can be fully met.
The multimode network combines the block chain technology, realizes the characteristics of safe and reliable, high-efficiency transmission and large-scale deployment of a novel multimode domain name resolution system which is free of centralized management, participated by each party, shared by multiple sides, flat and the like, and promotes the stable transition of the existing network system to the novel network system.
The smart community integrates various existing service resources of the community by utilizing various intelligent technologies and modes, provides multiple convenient service modes such as government affairs, business, entertainment, education, medical care, mutual assistance in life and the like for community masses, is a new concept of community management, can effectively promote economic transformation and promote development of modern service industry, wherein most of the existing communities adopt management inside a community formed by using residents as units, namely widely-known property, however, the management mode of the community has great limitation, few users in one community have requirements on certain service, most of the requirements of the users overcome difficulties by themselves relative to the community scope, and after tens of regional community cells are close to each other and integrally managed, one community has the same service requirements of the users, a considerable number can be formed in a certain range, and a corresponding service system is the most practical, so that a grid community management mode based on block chain technology coupling is provided, the integration degree is higher, and the intelligent management mode is achieved.
Disclosure of Invention
The invention aims to provide a block chain-based spontaneous exhibition community common service grid, which is used for solving the technical problem that an effective community service grid is lacked in the prior art.
A spontaneous exhibition community common service grid based on a block chain comprises three types of grids, namely a developer grid, a grid main terminal grid and an Internet of things equipment grid; each grid main terminal grid corresponds to a grid main;
the developer grid provides full-service type services while carrying out grid maintenance through authentication registration, benefits are obtained by promoting transaction completion between grid owners, and benefits are obtained by developing new blocks and activating grid issuing application;
after identity registration authentication is carried out on the grid master terminal grid, self-help and mutual-help services are obtained through the common service grid, intelligent control is carried out on the Internet of things equipment around the grid master terminal grid, and trading or earnings are obtained based on the block chain; wherein each grid master terminal grid comprises 1 hundred million modal identifiers and a plurality of grid electronic purses.
It should be noted that the common service grid is a grid with one side length of one meter, which is coded according to longitude and latitude, so that the community can mutually assist the common service, and each grid contains 1 hundred million modal identifiers and a plurality of grid electronic purses. The grids are also nodes of a common service networking, and are divided into three types according to functions:
the first category, full service developer grids. Peer P2P blockchain support is provided, such as smart contracts, trusted payments, grid autonomy, CA certificate development and generation. And C/S type services such as emergency, monitoring, home security, health detection, household appliance control, voting, negotiation, mutual assistance, E-commerce, cultural big data and the like are also provided.
The second type, the mesh master terminal mesh. The system runs on a grid master smart phone and is used for self-service and mutual-service of grid groups and control of peripheral Internet of things equipment.
And the third type, Internet of things grid. A sensor with a grid interface and a controllable appliance which is the main periphery of the grid.
It should be noted that the common service grid realizes coupling between the TCP/IP protocol and the block chain technology through the SDK, and coupling between the public internet cloud and the public block chain cloud.
The development network promotes mutual-help service to obtain partial transaction fee of the network, and promotes new network to be issued and on-line; developers also have a drive to promote the development of various services of the grid, so that the common service grid is stimulated to self-organize according to the market economic rule.
Further, the process of identity registration and authentication by the grid master includes:
receiving identity registration information of the grid master; the identity registration information comprises a name, an identity certificate number, a communication address and a telephone number;
verifying the identity registration information of the grid master, performing domain management on the grid master after the verification is passed, and issuing a CA certificate; wherein the region management comprises:
and recording and storing the name, nationality, administrative region, longitude and latitude and the distance between one grid owner and other grid owners or target addresses of each grid owner.
Further, after issuing the CA certificate to the grid master, the method further includes:
and respectively endowing unique modal identification codes for the grid owner, the geographic information, the Internet of things equipment around the grid and the grid wallet in each grid, and mutually associating different modal identification codes of the same grid owner.
It should be noted that each grid fixedly associates the grid master, the geographic information, the internet of things equipment around the grid and the grid wallet with the related information of the fixed modal identification code to form a safe and reliable network with equal cooperation, real name, real residence and real information among the grids, and all things are interconnected by taking the grid master as a center and taking the region as a link, so that the exclusive information right and the information profit right of the grid master are guaranteed.
Further, when one of the grid masters sends a self-service or mutual-service request, the calculation of the relative distance between the other grid masters responding to the service request and the grid master includes:
judging the current geographic position types of a sender and a responder;
when the grid main part belongs to the first position type, acquiring GIS geographic position information of both grid main parts and calculating the actual distance of both grid main parts and grid main parts according to the latitudinal addresses;
when the grid is mainly of a second position type, acquiring position information of a responder closest to the grid according to the longitude and latitude address of the sender;
when the grid owner belongs to the third position type, directly calling the relative distance information stored in the database;
wherein, the calculation formula for calculating the actual distance of the two parties according to the actual longitude and latitude addresses of the two parties is as follows:
Figure BDA0002938872430000041
wherein, the main longitude and latitude of the grid are respectively A (x)1,y1)、B(x2,y2) The straight line distance between the two parties is S, the longitude difference of t is converted into a coefficient of the actual geographic length, and the latitude difference of l is converted into a coefficient of the actual geographic length;
wherein the first location type is that both the sender and the responder are in a mobile state; the second position type is that the sender is a fixed position and the responder is a mobile grid owner; and the third position type is that the sender and the responder are both fixed position grid masters and longitude and latitude information is recorded in a database.
It should be noted that each grid node and each piece of information have a definite geographic position, which is convenient for the calculation of the related range and the mutual distance, and in the decentralized grid system, the method has the accurate advantages in the aspects of responding to emergency, mutual assistance, poverty relief, credit investigation, negotiation, investigation and voting range determination; the grid of the peer node P2P has the advantages of equality, safety and credibility, and has the long place of democratic centralization of the C/S grid.
Further, the process of seeking help and responding to help between the grid owners includes:
the grid master initiates a help-seeking announcement through the mobile terminal; wherein, the help seeking item and the reward to be paid are listed in the help seeking bulletin; or
Another grid master initiates a service announcement through the mobile terminal; wherein the service bulletin lists the services available and the consideration to be obtained;
and the developer grid respectively pushes corresponding transaction information to the help seeker and the service provider according to the relative geographic positions of the help seeker and the service provider by acquiring the help seeking information and/or the service information, collects transaction fees and then stores the transaction fees in the block chain.
Further, the grid owner also includes a poor grid owner, and the process of obtaining help by the poor grid owner includes:
the poor grid initiates poor rescue through a mobile terminal;
the developer grid receives the rescue information of the poor grid owner, acquires the position information of at least two other grid owners close to the poor grid owner, and sends a certification request to at least two nearby grid owners;
more than two nearby grid masters receive the certification request and check the poverty relief information of the poverty poor grid masters;
after the audit is passed, the developer grid sends out the contribution information, and the contributors initiate multiple payment contributions after receiving the response of the contributors;
and unlocking and paying after the signatures of at least two nearby grid masters are signed, and sending the contribution fund to the poor grid masters.
Further, the process of developing new blocks and gaining revenue by the developer grid includes:
the developer grid monitors and collects the transactions in real time, and then stores a plurality of collected transactions in a grid transaction pool;
checking the transactions stored in the grid transaction pool, eliminating the transactions contained in the known block, and retaining the transactions which are not confirmed;
creating a candidate block by the developer grid, including an unconfirmed transaction into the candidate block, the candidate block becoming a valid new block when the job difficulty of creating the developer grid for the candidate block proves to be first among all competitors;
the developer grid obtains revenue by advancing and completing the trade of the new block.
Further, the process of the developer grid obtaining revenue by activating the grid publishing application comprises:
the grid developer enjoys the priority of providing full-service type services through the self-created new blocks and obtains corresponding benefits through providing the services.
Further, the process of making the candidate block a valid new block according to the working difficulty certification comprises:
judging whether the transaction amount in the candidate block exceeds a preset work difficulty value in real time;
comparing the work difficulty value corresponding to the transaction amount with other competitors, and filling the total value of the current transaction amount into a block head when the comparison result is the first time, so that the candidate block becomes an effective new block;
the developer grid passing the new block to all other peer grid nodes;
the peer mesh node receives the new tile and adds to the corresponding local copy of the blockchain and updates.
Further, before the developer grid passes the new block to all other peer grid nodes, further comprising:
the new Block is tested using Check Block and Check Block Header functions to verify validity, including:
checking whether the grammar of the block data structure is correct, whether the block head hash is larger than the target difficulty, whether the time stamp of the block is earlier than the future preset time, whether the block size is within the allowable range, whether the first transaction occurring in the block is a newly developed grid transaction, and whether all transactions in the block are effective.
The invention has the beneficial effects that: the developer grid provides full-service type services while carrying out grid maintenance through authentication registration, gains are obtained by promoting transaction completion between grid owners, and gains are obtained by developing new blocks and activating grid issuing application; the grid master terminal grid obtains self-service and mutual-service services through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid master, and conducts transaction or obtains income based on the block chain; therefore, the network owner can carry out intelligent life, can also carry out self-help and mutual help, and can obtain benefits through own expertise or capability; and the developer grid obtains benefits by developing a new block, activating grid issuing application and providing service of a full service type, thereby providing convenience for aspects of life, work and the like of people and improving the life quality of people.
Drawings
FIG. 1 is an architectural illustration of a block chain based self-evolving community mutual services grid in an embodiment of the invention;
FIG. 2 is a schematic diagram of trellis encoding in an embodiment of the present invention;
FIG. 3 is a schematic front view of a grid certificate in an embodiment of the invention;
FIG. 4 is a schematic illustration of the back of a grid certificate in an embodiment of the invention;
FIG. 5 is a flow chart illustrating actual distance calculation in an embodiment of the present invention;
FIG. 6 is a schematic flow chart of the help-seeking mutual aid in the embodiment of the present invention;
FIG. 7 is a schematic diagram of a flow of performing poverty-poor recourse in an embodiment of the present invention;
fig. 8 is a schematic flow chart of emergency response according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in this description belong to the protection scope of this description.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that, for the term "and/or" as may appear herein, it is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, B exists alone, and A and B exist at the same time; for the term "/and" as may appear herein, which describes another associative object relationship, it means that two relationships may exist, e.g., a/and B, may mean: a exists independently, and A and B exist independently; in addition, for the character "/" that may appear herein, it generally means that the anteroposterior related objects are in an "or" relationship.
It will be understood that when an element is referred to herein as being "connected," "connected," or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Conversely, if an element is referred to herein as being "directly connected" or "directly coupled" to another element, it is intended that no intervening elements are present. In addition, other words used to describe the relationship between elements should be interpreted in a similar manner (e.g., "between … …" versus "directly between … …", "adjacent" versus "directly adjacent", etc.).
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
It should be understood that specific details are provided in the following description to facilitate a thorough understanding of example embodiments. However, it will be understood by those of ordinary skill in the art that the example embodiments may be practiced without these specific details. For example, systems may be shown in block diagrams in order not to obscure the examples in unnecessary detail. In other instances, well-known processes, structures and techniques may be shown without unnecessary detail in order to avoid obscuring example embodiments.
Examples
Referring to fig. 1, a block chain-based spontaneous exhibition community common service grid in an embodiment of the present invention is shown, where the grid includes three types of grids, namely a developer grid, a grid master terminal grid, and an internet of things device grid; each grid main terminal grid corresponds to a grid main;
the developer grid provides full-service type services while carrying out grid maintenance through authentication registration, benefits are obtained by promoting transaction completion between grid owners, and benefits are obtained by developing new blocks and activating grid issuing application;
after identity registration authentication is carried out on the grid master terminal grid, self-help and mutual-help services are obtained through the common service grid, intelligent control is carried out on the Internet of things equipment around the grid master terminal grid, and trading or earnings are obtained based on the block chain; wherein each grid master terminal grid comprises 1 hundred million modal identifiers and a plurality of grid electronic purses.
It should be noted that the common service grid is a grid with one side length of one meter, which is coded according to longitude and latitude, so that the community can mutually assist the common service, and each grid contains 1 hundred million modal identifiers and a plurality of grid electronic purses. Specifically, a grid is a node of a common service networking, and is divided into three types according to functions:
the first category, full service developer grids. Peer P2P blockchain support is provided, such as smart contracts, trusted payments, grid autonomy, CA certificate development and generation. And C/S type services such as emergency, monitoring, home security, health detection, household appliance control, voting, negotiation, mutual assistance, E-commerce, cultural big data and the like are also provided.
The second type, the mesh master terminal mesh. The system runs on a grid master smart phone and is used for self-service and mutual-service of grid groups and control of peripheral Internet of things equipment.
And the third type, Internet of things grid. A sensor with a grid interface and a controllable appliance which is the main periphery of the grid.
It should be noted that the common service grid realizes coupling between the TCP/IP protocol and the block chain technology through the SDK, and coupling between the public internet cloud and the public block chain cloud.
The development network promotes mutual-help service to obtain partial transaction fee of the network, and promotes new network to be issued and on-line; developers also have a drive to promote the development of various services of the grid, so that the common service grid is stimulated to self-organize according to the market economic rule.
Wherein, it should be noted that each grid master must obtain the grid code and login password issued by the certificate issuing module (CA) and provide the identity card, telephone, communication address of the user to join the grid group; in addition, although the identity of the grid masters is known, the grid masters are not necessarily trusted with each other, so that the data and transaction credibility is ensured by intelligent contracts among the grids.
Specifically, the process of the grid master terminal performing identity registration authentication includes:
receiving identity registration information of a grid master; the identity registration information comprises a name, an identity card number, a communication address and a telephone number;
verifying the identity registration information of the grid owner, performing region management on the grid owner after the verification is passed, and issuing a CA certificate; wherein the region management comprises:
recording and storing the name, nationality, administrative region, longitude and latitude of each grid owner and the distance between one grid owner and other grid owners or target addresses;
further, after issuing the CA certificate to the grid master, the method further includes:
and respectively endowing a grid master, geographic information, grid peripheral Internet of things equipment and a grid wallet in each grid with unique modal identification codes, and mutually associating different modal identification codes of the same master.
Referring to fig. 2, fig. 3 and fig. 4, it should be specifically noted that the encoding method of each lattice master specifically includes: the 1 st position of the grid code is of a grid type, Roman numerals are presented by Arabic number fonts, and the grid code comprises 3 types, namely I, II and III grids, wherein the I type is a common longitude and latitude address, the II type is a national level 5A scenic spot and a red according address, and the III type is a human cultural heritage longitude and latitude address. For the convenience of identification, the address is marked by the initial phonetic letter or the initial English letter, different grid types are marked according to the latitude and longitude, the access flow is different, and the occupied bandwidth, storage and other resources are different.
Wherein, the mode identification enlarges the coverage range of the grid codes, namely, each grid code is actually a cluster formed by 1 hundred million grid codes with the same grid address but different codes. Therefore, different states, objects or events such as the Internet of things, cultural big data, genetic information and the like can be fixedly marked at the same grid address, and the purpose that one message is one code and the whole life is unchanged is achieved. If the number 1 of a certain grid address is door magnetic sensor, the number 2 is fire alarm sensor, the number 3 is health physical examination machine, the number 4 is air purifier, the number 5 is old photo, the number 6 is calendar, the number 7 is old stone mill information, the number 8 is old door pier photo, the number 9 is milk paper-cut works and the like. Another important role of the modality identification is to solve the problem of insufficient IP fixed addresses, and de-IP can be gradually implemented in a common network.
It should be noted that the grid wallet provides a non-tampered wallet service for distributed accounting for the grid owner. A mesh wallet containing a collection of key pairs. Each key pair contains a private key and a public key. The private key (K) is a number, is generated by a common network certificate module (CA) by utilizing a random number generator at the bottom of an operating system, can calculate a public key (K) by utilizing an elliptic curve multiplication function, and can generate a common grid wallet address (A) from the public key by utilizing a one-way encryption hash function.
Further, the private key generated by the certificate module (CA) is issued to the grid master, which is the root of the funds associated with the grid wallet address of the grid master, and the grid master wants to prove that the funds used are his own funds when transacting, and must sign the transaction with the private key. The privacy of the private key must be guaranteed at all times.
Each grid master has 1 or more key wallets for supporting and receiving e-renminbi or other legally approved currency approved by the chinese national bank. Preferably, a hierarchical deterministic wallet, also known as an HD wallet, is used, and the key contained in the hierarchical deterministic wallet is defined in the BIP0032 standard to be a tree structure, and a parent key can be derived to form a series of keys
Referring to fig. 4, in fig. 4, 1 is a tearable page seam, 2 is a grid entry two-dimensional code, 3 is a registered trademark, 4 is a thermosensitive discolorable character, 5 is an adhesive aluminum foil seal, 6 is an ultraviolet-developed metal foil strip, and 7 is an ultraviolet-developed pattern.
Referring to fig. 5, in the embodiment of the present invention, it should be noted that, further, when one of the grid owners sends a self-service or mutual-aid service request, the calculation process of the relative distances between the other grid owners responding to the service request and the grid owner includes:
judging the current geographic position types of a sender and a responder;
when the grid main part belongs to the first position type, acquiring GIS geographic position information of both grid main parts and calculating the actual distance of both grid main parts and grid main parts according to the latitudinal addresses;
when the grid is mainly of a second position type, acquiring position information of a responder closest to the grid according to the longitude and latitude address of the sender;
when the grid owner belongs to the third position type, directly calling the relative distance information stored in the database;
wherein, the calculation formula for calculating the actual distance of the two parties according to the actual longitude and latitude addresses of the two parties is as follows:
Figure BDA0002938872430000111
wherein, the main longitude and latitude of the grid are respectively A (x)1,y1)、B(x2,y2) The straight line distance between the two parties is S, the longitude difference of t is converted into a coefficient of the actual geographic length, and the latitude difference of l is converted into a coefficient of the actual geographic length;
wherein the first location type is that both the sender and the responder are in a mobile state; the second position type is that the sender is a fixed position and the responder is a mobile grid owner; and the third position type is that the sender and the responder are both fixed position grid masters and longitude and latitude information is recorded in a database.
It should be noted that each grid node and each piece of information have a certain geographical position, which is convenient for the calculation of the related range and the mutual distance, and in the decentralized grid system, the method has the advantages of being accurate in response to emergency, mutual assistance, poverty relief, credit investigation, consultation, investigation and voting range determination; the grid of the peer node P2P has the advantages of equality, safety and credibility, and has the advantages of the C/S grid.
Referring to fig. 6, in the embodiment of the present invention, further, the process of performing help seeking and responding to help seeking between the lattice masters includes:
the grid master initiates a help-seeking announcement through the mobile terminal; wherein, the help seeking item and the reward to be paid are listed in the help seeking bulletin; or
Another grid master initiates a service announcement through the mobile terminal; wherein the service bulletin lists the services available and the consideration to be obtained;
and the developer grid respectively pushes corresponding transaction information to the help seeker and the service provider according to the relative geographic positions of the help seeker and the service provider by acquiring the help seeking information and/or the service information, collects transaction fees and then stores the transaction fees in the block chain.
Referring to fig. 7, in the embodiment of the present invention, further, the grid owner further includes a poor grid owner, and the process of obtaining help by the poor grid owner includes:
the poor grid initiates poor rescue through a mobile terminal;
the developer grid receives the rescue information of the poor grid owner, acquires the position information of at least two other grid owners close to the poor grid owner, and sends a certification request to at least two nearby grid owners;
more than two nearby grid masters receive the certification request and check the poverty relief information of the poverty poor grid masters;
after the audit is passed, the developer grid sends out the contribution information, and the contributors initiate multiple payment contributions after receiving the response of the contributors;
and unlocking and paying after the signatures of at least two nearby grid masters are signed, and sending the contribution fund to the poor grid masters.
Wherein, it should be noted that the multiple payment contributions specifically include: setting a condition for the blockchain multiple signature, so that N public keys are recorded in the script, and ensuring that at least M public keys in the N public keys provide the signature to relieve the obstruction. This transaction is also known as an M-of-N scheme, where N represents the total number of keys and M is the minimum number used to verify the signature, e.g., a 2-of-3 multiple signature, where the 3 public keys in the list represent 3 potential signers, at least 2 of whom provide the signature to verify the validity of the transaction and allow the use of funds. In an embodiment of the present invention, a maximum of 15 public keys are allowed to be listed, i.e., the user may choose multiple signatures between 1-of-1 and 15-of-15.
Referring to fig. 8, in the embodiment of the present invention, the preferred grid owner may also use the common service grid to perform emergency help, for example, when the grid owner falls outdoors, and needs emergency help, such as an emergency, the grid owner may press an emergency soft button on a mobile phone; when an emergency occurs at home, the emergency call hardware button at home can be pressed; the grids can call according to a preset telephone sequence, and the common grid belongs to personal services, so that nearby emergency people and resources can be quickly gathered, and a rescuer can see the position of the caller and a path for rescue; if the preset phone does not respond, other grid masters and service centers nearby can respond to the emergency by distance, if several persons respond, the nearest volunteer is selected to connect the response, and S1, S2, S3 and S4 are calculated in sequence, and the minimum value is taken as the responder, as shown in FIG. 8.
In the embodiment of the present invention, it should be noted that the intelligent control, by the grid owner, of the peripheral internet of things device through the common service grid includes: the intelligent home interconnected on line can sense the burglary prevention, fire prevention, water prevention, moving objects, PM2.5, carbon dioxide concentration and the like of the entrance guard; various household electrical appliances can be managed and controlled, the quality of life is improved, energy is saved, and consumption is reduced, such as remote maintenance and management of household temperature control, air purification, illumination, cooking utensils and household appliances; furniture, clothes, houses and the like can be managed off line by a common network, and management suggestions are provided for the furniture, the clothes, the houses and the like.
In addition, in the embodiment of the present invention, it should be noted that the grid owner may further perform health management, grid mall, community security management, cultural big data transaction, community voting, co-quotient, and the like through the common service grid, and specific applications and implementations are not limited, and are not described herein again.
In the embodiment of the present invention, further, the process of the developer grid developing a new block and obtaining a benefit includes:
the developer grid monitors and collects the transactions in real time, and then stores a plurality of collected transactions in a grid transaction pool;
checking the transactions stored in the grid transaction pool, eliminating the transactions contained in the known block, and retaining the transactions which are not confirmed;
creating a candidate block by the developer grid, including an unconfirmed transaction into the candidate block, the candidate block becoming a valid new block when the job difficulty of creating the developer grid for the candidate block proves to be first among all competitors;
the developer grid obtains revenue by advancing and completing the trade of the new block.
It should be noted that the blockchain employed by the common service grid is an ordered backward-connected transaction blocklist. Each block in the chain of blocks is identified at its head using a hash value generated by the SHA256 cryptographic hash algorithm. Each block header also contains a field "preamble block hash" to reference the preamble block (parent block), and the hash sequence connecting each block to its parent block forms a chain that can trace back to the first block (founder block).
It should be noted that the primary identifier of the block is its encrypted hash, or called digital fingerprint, and a 32-byte hash value obtained by running SHA256 twice on the head of the block is called block hash (block hash). The block hash only uniquely identifies one block, no ambiguity exists, and any node can independently obtain the identification by performing simple hash calculation on a block head. Another way to identify a block is its position in the block chain, referred to as block height. The first created block is 0 in height.
Wherein, it should be noted that the work difficulty certification refers to: in order to obtain income, developers search and respond to the transaction proposed by the grid masters in a competitive mode to promote and ensure the completion of the transaction, meanwhile, the developers also need to competitively activate the grid application, even invent new grid applications, and the difficulty of the work is proved by the transaction amount collected by the developers, namely work difficulty proving. The proof of difficulty of work is included in the new block as proof of the amount of non-tamperable work paid by the developer.
In this embodiment of the present invention, further, the process of making the candidate block become a valid new block according to the work difficulty certification includes:
judging whether the transaction amount in the candidate block exceeds a preset work difficulty value in real time;
comparing the work difficulty value corresponding to the transaction amount with other competitors, and filling the total value of the current transaction amount into a block head when the comparison result is the first time, so that the candidate block becomes an effective new block;
the developer grid passing the new block to all other peer grid nodes;
the peer mesh node receives the new tile and adds to the corresponding local copy of the blockchain and updates.
In this embodiment of the present invention, before the developer grid transfers the new block to all other peer grid nodes, the method further includes:
the new Block is tested using Check Block and Check Block Header functions to verify validity, including:
checking whether the grammar of the block data structure is correct, whether the block head hash is larger than the target difficulty, whether the time stamp of the block is earlier than the future preset time, whether the block size is within the allowable range, whether the first transaction occurring in the block is a newly developed grid transaction, and whether all transactions in the block are effective.
In an embodiment of the present invention, further, the process of the developer grid obtaining revenue by activating the grid publishing application includes:
the grid developer enjoys the priority of providing full-service type services through the self-created new blocks and obtains corresponding benefits through providing the services.
As a practical application of the embodiment of the present invention, specifically, after the transactions are verified, the grid node will add them to the transaction pool, where the transactions and information wait to be added to a block of the developer, and after the developer node completes these actions, the transactions will be integrated into a candidate block (conjugate block).
The developer's development node maintains a complete copy of the blockchain, which is a list of all blocks that contain all blocks after the common network system is created. The developer's node continues to listen for transactions, trying to reach the highest contemporaneous difficulty value from the own transaction pool, creating a new tile, assuming that a developer has assembled a chain of 010314 tiles, and as it is collecting new transaction information, it receives tile 010315 from the common network, the arrival of this tile marks the end of the development competition at tile 010315, and the competition to create tile 010316 begins.
During the previous 10 minutes, the developer's node is also collecting transactions in the process of looking up 010315 for a solution, in preparation for creating the next tile. At this point it has collected hundreds of transactions and stored in the transaction pool, and when 010315 is received and verified, the developer's node checks the memory pool for transactions to remove those that have been included in block 010315. The transactions that remain in the transaction pool are all unacknowledged transactions that continue to wait to be recorded into the new block.
After the preparation, the developer's node immediately creates a new empty block as a candidate for block 010316, which is called a candidate block because it has not been a valid block and does not include a difficulty proof, and the block becomes valid only after the accumulated difficulty of the developer wins the first win.
The embodiment of the invention has the beneficial effects that: the developer grid provides full-service type services while carrying out grid maintenance through authentication registration, gains are obtained by promoting transaction completion between grid owners, and gains are obtained by developing new blocks and activating grid issuing application; the grid master terminal grid obtains self-service and mutual-service services through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid master, and conducts transaction or obtains income based on the block chain; therefore, the grid owner can carry out intelligent life, can also carry out self-help and mutual assistance, and can obtain benefits through own specialties or abilities; and the developer grid obtains benefits by developing a new block, activating a grid issuing application and providing services of a full service type, thereby providing convenience for the aspects of life, work and the like of people and improving the life quality of people.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (10)

1. A spontaneous exhibition community common service grid based on a block chain is characterized in that the grid comprises three types of grids, namely a developer grid, a grid main terminal grid and an Internet of things equipment grid; each grid main terminal grid corresponds to a grid main;
the developer grid provides full-service type services while carrying out grid maintenance through authentication registration, gains are obtained by promoting transaction completion between grid owners, and gains are obtained by developing new blocks and activating grid issuing application;
the grid master terminal grid obtains self-service and mutual-service services through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid master, and conducts transaction or obtains income based on the block chain; wherein each grid master terminal grid comprises 1 hundred million modal identifiers and a plurality of grid electronic purses.
2. The block chain based spontaneous exhibition community common service grid according to claim 1, wherein the process of identity registration authentication by the grid master comprises:
receiving identity registration information of the grid master; the identity registration information comprises a name, an identity document number, a communication address and a telephone number;
verifying the identity registration information of the grid owner, performing region management on the grid owner after the verification is passed, and issuing a CA certificate; wherein the region management comprises:
and recording and storing the name, nationality, administrative region, longitude and latitude and the distance between one grid owner and other grid owners or target addresses of each grid owner.
3. The block chain based spontaneous exhibition community common services grid of claim 2, further comprising after issuing a CA certificate to the grid master:
and respectively endowing a grid master, geographic information, grid peripheral Internet of things equipment and a grid wallet in each grid with unique modal identification codes, and mutually associating different modal identification codes of the same grid master.
4. The block chain based spontaneous exhibition community common service grid of claim 1, wherein when one of the grid owners sends a self-service or mutual-service request, the calculation of the relative distance between the other grid owner responding to the service request and the grid owner comprises:
judging the current geographic position types of a sender and a responder;
when the grid-based geographic information system belongs to the first position type, acquiring GIS geographic position information of both grid masters and calculating actual distances of both grid masters according to longitude and latitude addresses;
when the grid is mainly of a second position type, acquiring position information of a responder closest to the grid according to the longitude and latitude address of the sender;
when the grid owner belongs to the third position type, directly calling the relative distance information stored in the database;
wherein, the calculation formula for calculating the actual distance of the two parties according to the actual longitude and latitude addresses of the two parties is as follows:
Figure FDA0002938872420000021
wherein, the main longitude and latitude of the grid are respectively A (x)1,y1)、B(x2,y2) The straight line distance between the two parties is S, the longitude difference of t is converted into a coefficient of the actual geographic length, and the latitude difference of l is converted into a coefficient of the actual geographic length;
wherein the first location type is that both the sender and the responder are in a mobile state; the second position type is that the sender is a fixed position and the responder is a mobile grid owner; and the third position type is that the sender and the responder are both fixed position grid masters and longitude and latitude information is recorded in a database.
5. The block chain based spontaneous exhibition community common service grid of claim 4, wherein the process of help seeking and response help seeking between grid owners comprises:
the grid master initiates a help-seeking announcement through the mobile terminal; wherein, the help seeking item and the reward to be paid are listed in the help seeking bulletin; or
Another grid master initiates a service announcement through the mobile terminal; wherein the service announcements specify services available and consideration to be earned;
and the developer grid respectively pushes corresponding transaction information to the help seeker and the service provider according to the relative geographic positions of the help seeker and the service provider by acquiring the help seeking information and/or the service information, collects transaction fees and then stores the transaction fees in the block chain.
6. The block chain based spontaneous exhibition community common service grid according to claim 5, wherein the grid master further comprises a poor grid master, and the process of obtaining help by the poor grid master comprises:
the poor grid initiates poor rescue through a mobile terminal;
the developer grid receives the rescue information of the poor grid owner, acquires the position information of at least more than two other grid owners near the poor grid owner and sends a certification request to at least more than two nearby grid owners;
more than two nearby grid masters receive the certification request and check the poverty relief information of the poverty poor grid masters;
after the audit is passed, the developer grid sends out the donation information, and the donator initiates multiple payment donations after the response of the donator is obtained;
and unlocking payment after the signatures of at least two nearby grid masters are signed, and sending the donation funds to the poor grid master.
7. The block chain based spontaneous exhibition community common services grid of claim 6, wherein the process of the developer grid developing new blocks and gaining revenue comprises:
the developer grid monitors and collects the transactions in real time, and then stores a plurality of collected transactions in a grid transaction pool;
checking the transactions stored in the grid transaction pool, eliminating the transactions contained in the known block, and retaining the transactions which are not confirmed;
creating a candidate block by the developer grid, including an unconfirmed transaction into the candidate block, the candidate block becoming a valid new block when the difficulty of the job of creating the developer grid for the candidate block proves to be the first among all competitors;
the developer grid obtains revenue by advancing and completing the trade of the new block.
8. The blockchain-based spontaneous exhibition community mutual services grid of claim 7, wherein the process of the developer grid obtaining revenue through activation of a grid publishing application comprises:
the grid developer enjoys the right to preferentially provide full-service type services through the self-created new blocks and obtains corresponding benefits through providing the services.
9. The block chain-based spontaneous exhibition community common services grid according to claim 7, wherein the process of making candidate blocks valid new blocks according to the work difficulty certification comprises:
judging whether the transaction amount in the candidate block exceeds a preset work difficulty value in real time;
comparing the work difficulty value corresponding to the transaction amount with other competitors, and filling the total value of the current transaction amount into a block head when the comparison result is the first time, so that the candidate block becomes an effective new block;
the developer grid passing the new block to all other peer grid nodes;
the peer mesh node receives the new tile and adds to the corresponding local copy of the blockchain and updates.
10. The block chain based spontaneous exhibition community common services grid of claim 9, wherein before the developer grid passes the new block to all other peer grid nodes, further comprising:
the new Block is tested using Check Block and Check Block Header functions to verify validity, including:
checking whether the grammar of the block data structure is correct, whether the block head hash is larger than the target difficulty, whether the time stamp of the block is earlier than the future preset time, whether the block size is within the allowable range, whether the first transaction occurring in the block is a newly developed grid transaction, and whether all transactions in the block are effective.
CN202110170815.4A 2021-02-08 2021-02-08 Spontaneous-generation community common service grid based on blockchain Active CN112967136B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110170815.4A CN112967136B (en) 2021-02-08 2021-02-08 Spontaneous-generation community common service grid based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110170815.4A CN112967136B (en) 2021-02-08 2021-02-08 Spontaneous-generation community common service grid based on blockchain

Publications (2)

Publication Number Publication Date
CN112967136A true CN112967136A (en) 2021-06-15
CN112967136B CN112967136B (en) 2023-12-12

Family

ID=76275348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110170815.4A Active CN112967136B (en) 2021-02-08 2021-02-08 Spontaneous-generation community common service grid based on blockchain

Country Status (1)

Country Link
CN (1) CN112967136B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102624904A (en) * 2012-03-12 2012-08-01 李宗诚 Design basis for planning configuration unit of internet user terminal
KR20120094172A (en) * 2011-02-01 2012-08-24 고려대학교 산학협력단 Electric power trading method and energy management system performing the same
CN103606123A (en) * 2013-12-06 2014-02-26 因为科技无锡有限公司 Community service terminal and community service system
CN105931014A (en) * 2016-04-13 2016-09-07 中国农业大学 Gridding management service system and method for town community
US20180075695A1 (en) * 2016-09-15 2018-03-15 Erik Mowery Simpson Implementations of various methods to create economic incentives to directly link users of a social network or social network reality game to actual projects and people within a charity or developing world area
CN109768988A (en) * 2019-02-26 2019-05-17 安捷光通科技成都有限公司 Decentralization Internet of Things security certification system, facility registration and identity identifying method
CN110166551A (en) * 2019-05-22 2019-08-23 贵州理工学院 Intelligence community comprehensive service platform
WO2020019207A1 (en) * 2018-07-25 2020-01-30 李修球 Smart community implementation method and node device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120094172A (en) * 2011-02-01 2012-08-24 고려대학교 산학협력단 Electric power trading method and energy management system performing the same
CN102624904A (en) * 2012-03-12 2012-08-01 李宗诚 Design basis for planning configuration unit of internet user terminal
CN103606123A (en) * 2013-12-06 2014-02-26 因为科技无锡有限公司 Community service terminal and community service system
CN105931014A (en) * 2016-04-13 2016-09-07 中国农业大学 Gridding management service system and method for town community
US20180075695A1 (en) * 2016-09-15 2018-03-15 Erik Mowery Simpson Implementations of various methods to create economic incentives to directly link users of a social network or social network reality game to actual projects and people within a charity or developing world area
WO2020019207A1 (en) * 2018-07-25 2020-01-30 李修球 Smart community implementation method and node device
CN109768988A (en) * 2019-02-26 2019-05-17 安捷光通科技成都有限公司 Decentralization Internet of Things security certification system, facility registration and identity identifying method
CN110166551A (en) * 2019-05-22 2019-08-23 贵州理工学院 Intelligence community comprehensive service platform

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
刘丹;裴颖;李闯;: "智慧网格化社区协同服务平台研究", 测绘通报, no. 12 *
岳敬华;张;: "智能社区云服务平台及服务模式研究", 物联网技术, no. 09 *
李志平;: "物联网时代的新型智慧社区", 中国高新区, no. 11 *
杨春;: "智慧社区助推智慧物业飞速发展", 中国公共安全, no. 23 *
许茆堂;: "网格化城市管理平台商业运作初探", 电脑知识与技术, no. 06 *
陈艳华;宋彦涛;: "基于SOA的网格化智慧社区信息系统的设计与实现", 城市勘测, no. 01 *

Also Published As

Publication number Publication date
CN112967136B (en) 2023-12-12

Similar Documents

Publication Publication Date Title
Cui et al. Security and privacy in smart cities: Challenges and opportunities
Biswas et al. Securing smart cities using blockchain technology
Maroufi et al. On the convergence of blockchain and internet of things (iot) technologies
Aggarwal et al. Blockchain for smart communities: Applications, challenges and opportunities
Zheng et al. Blockchain challenges and opportunities: A survey
Sisi et al. Blockchain technology for energy‐aware mobile crowd sensing approaches in Internet of Things
Xu et al. Edgence: A blockchain-enabled edge-computing platform for intelligent IoT-based dApps
Wu An e-voting system based on blockchain and ring signature
CN111553767B (en) Shared house leasing system, method and storage medium based on block chain
CN108510252B (en) Intelligent electric vehicle power grid safety payment method based on block chain
CN109636599A (en) License block chain secret protection and monitoring and managing method based on group ranking
Alshaikhli et al. Evolution of Internet of Things from blockchain to IOTA: A survey
CN106575327A (en) Analyzing facial recognition data and social network data for user authentication
CN101175246A (en) Environmental services broker for mediating collaborative computing sessions
CN110138861A (en) A kind of security protection Intelligentized method and device
CN109615340A (en) Active data processing method and its system in public welfare activities
CN114913013B (en) House renting transaction system and house renting transaction method based on blockchain
Chentouf et al. Security and privacy in smart city: a secure e-voting system based on blockchain
Cong et al. Blockchain applications, challenges and evaluation: a survey
Davlyatov Smart-City Ecosystem Using Block-Chain Technology
Kaur et al. Blockchain oriented effective charity process during pandemics and emergencies
Bathen et al. Riders: towards a privacy-aware decentralized self-driving ride-sharing ecosystem
CN112967136B (en) Spontaneous-generation community common service grid based on blockchain
Shaikh et al. Applications of blockchain technology for smart cities
CN113269651A (en) Gridding community common service network and service method

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