CN112967136B - Spontaneous-generation community common service grid based on blockchain - Google Patents

Spontaneous-generation community common service grid based on blockchain Download PDF

Info

Publication number
CN112967136B
CN112967136B CN202110170815.4A CN202110170815A CN112967136B CN 112967136 B CN112967136 B CN 112967136B CN 202110170815 A CN202110170815 A CN 202110170815A CN 112967136 B CN112967136 B CN 112967136B
Authority
CN
China
Prior art keywords
grid
service
block
developer
transaction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110170815.4A
Other languages
Chinese (zh)
Other versions
CN112967136A (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

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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Bioethics (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Software Systems (AREA)
  • Technology Law (AREA)
  • Educational Administration (AREA)
  • Computer Hardware Design (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Computing Systems (AREA)

Abstract

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

Description

Spontaneous-generation community common service grid based on blockchain
Technical Field
The invention belongs to the technical field of grids, and particularly relates to a spontaneous-development community common service grid based on a block chain.
Background
The internet has experienced rapid growth from none to complex, from simple to complex, over the last half century. Internet Protocol (IP) based networks have a vital role in human life. IP networks were designed to achieve simple end-to-end communication, with large-scale deployment and application of big data, cloud computing, mobile internet, and internet of things, the amount of network information and identification has increased at a doubled rate. In the face of network development under a new situation, the problems of resource exhaustion, poor service adaptability and the like of an IP network are solved, and the problems of poor safety and poor manageability in the traditional IP system are urgently solved by taking important network resources such as an American monopoly top-grade IP server and the like into consideration in the traditional system.
In the face of centralized technology and management risk, decentralized multilateral co-management becomes a global resort to domain name geographic management. The international Namecin project firstly proposes a plurality of solutions such as distributed storage, combined mining and the like based on a bit coin block chain network. The Blockstack project provides a virtual chain technology to support the migration of a logic layer between different bottom links, and carries out intensive research on the technologies of a blockchain network architecture, distributed data storage, infinite ledgers and the like, thereby effectively enhancing the overall robustness and reusability of a blockchain system.
In recent years, advanced countries around the world have begun to study new network systems independent of IP. The main consensus is that the network in the later IP age should be a new network system supporting multiple identities, i.e. multi-modal domain name identities, including content, identity, IP address and geographical location. Multimodal identification is the network geography commonly owned by all humans. The novel network has the basic technical characteristics of full-dimensional definable, accurate and reliable geographic identification, intelligent, generalized robustness and the like. In an open network architecture, the full-dimension definable network topology, protocol, software and hardware, interfaces and the like are realized, the difficult problem of diversified addressing and routing technologies is solved, high-strength robustness is realized, and the requirement of mankind on network diversification under new situation can be fully met.
The multi-mode network combines with the blockchain technology, realizes the characteristics of safety, reliability, high-efficiency transmission and large-scale deployment for a novel multi-mode domain name resolution system which is free from centralized management, participation of all parties, multilateral common management and equal opening, and promotes the stable transition of the existing network system to the novel network system.
The intelligent community is a new idea of community management, the construction of which can effectively promote economic transformation and promote the development of modern service industry, wherein most communities at present are managed in a community formed by households, which is a well known property, however, the management mode in the small area has great limitation, a few households in one community have demands for services in a certain aspect, however, the demands of the few households are mostly overcome by themselves relative to the scope of the community, however, when the scope is continuously enlarged, the areas of tens of regional similar communities form integrated management after the community is formed into a community, one community has the same service demands, a considerable number is formed in a relatively certain scope, and at the moment, the corresponding service system is the most practical, so that the intelligent management mode based on block chain coupling is provided, and the intelligent management mode is a more practical one.
Disclosure of Invention
The invention aims to provide a self-generating community common service grid based on a block chain, which is used for solving the technical problem that an effective community service grid is lacking in the prior art.
A self-generating community common service grid based on a block chain, wherein the grid comprises three types of grids, namely a developer grid, a grid main terminal grid and an Internet of things device grid; wherein each grid main terminal grid corresponds to a grid main;
the developer grid provides full-service type service while performing grid maintenance through authentication registration, obtains benefits by promoting transaction completion between grid owners, and obtains benefits by developing new blocks and activating grid issuing applications;
the grid main terminal grid acquires self-service and mutual service through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid main terminal grid, and carries out transaction or obtains benefits based on block chains; each grid main terminal grid contains 1 hundred million modal identifiers and a plurality of grid electronic wallets;
when one grid master sends a self-help or mutual-help service request, the calculation process of the relative distance between other grid masters responding to the service request and the grid master comprises the following steps:
Judging the current geographical position types of the sender and the responder;
when the first position type is included, GIS geographic position information of the grid main party and the grid main party are obtained, and the actual distance between the grid main party and the grid main party is calculated according to the longitude and latitude addresses;
when the grid belongs to the second position type, acquiring the position information of the response party closest to the grid according to the longitude and latitude address of the transmission party;
when the grid is mainly of a third position type, directly calling the relative distance information stored in the database;
the calculation formula for calculating the actual distance between the two parties according to the actual longitude and latitude addresses of the two parties is as follows:
wherein, the main longitude and latitude of the grid are A (x 1 ,y 1 )、B(x 2 ,y 2 ) The linear distance between the two sides is S, t is a coefficient converted from a longitude difference to the actual geographic length, and l is a coefficient converted from a latitude difference to 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 master; the third position type is that the sender and the responder are both fixed position grids and longitude and latitude information is recorded in a database;
the process of seeking help and responding to seeking help among the grid masters comprises the following steps:
The grid owner initiates a help announcement through the mobile terminal; wherein, help seeking matters and rewards to be paid are listed in the help seeking notice; or alternatively
Another grid master initiates a service announcement through the mobile terminal; wherein, the service bulletin lists the available services and the consideration to be acquired;
the developer grid respectively pushes corresponding transaction information to the two parties according to the relative geographic positions of the help seeker and the service provider by collecting the help seeker information and/or the service information, charges transaction fees and stores the transaction fees in the blockchain;
the grid owner also comprises a poverty-stricken grid owner, and the process of obtaining help by the poverty-stricken grid owner comprises the following steps:
the poverty-relieving grid owner initiates poverty-relieving assistance through the mobile terminal;
the developer grid receives rescue information of the poor grid master, obtains position information of at least two other grid masters nearby the poor grid master, and sends a proving request to at least two nearby grid masters;
receiving a proving request by more than two nearby grid owners and auditing the poverty relief information of the poverty relief grid owners;
when the verification is passed, the developer grid sends out donation information, and after the donation response is obtained, the donation party initiates multiple payment donation;
Unlocking and paying after being signed by at least two nearby grid owners, and sending donation fund to the lean grid owners;
the process of the developer grid to generate the benefit by developing the new block includes:
the developer grid monitors transactions in real time and collects the transactions, 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 which are already contained in the known block, and keeping the transactions which are not confirmed;
the developer grid creates candidate blocks, unidentified transactions are contained in the candidate blocks, and when the work difficulty of creating the developer grid of the candidate blocks proves that the candidate blocks are first acquired among all competitors, the candidate blocks become effective new blocks;
the developer grid obtains benefits by advancing and completing the transaction of the new block;
the process of obtaining the benefit by activating the grid issuing application by the developer grid comprises the following steps:
the grid developer enjoys the right of providing full-business type service preferentially through the self-created new region blocks, and obtains corresponding benefits through providing service.
The common service grid is a grid with a side length of one meter and coded according to longitude and latitude division, so that community interaction and common service are facilitated, and each grid contains 1 hundred million modal identifiers and a plurality of grid electronic wallets. Grids are also nodes of a common service networking, and the grids are divided into three types according to functions:
First, full service developer grids. Peer-to-peer P2P blockchain support, such as smart contracts, trusted payments, mesh autonomous networks, CA certificate development and generation, is provided. And C/S type services such as emergency, monitoring, home security, health detection, home appliance control, voting, negotiation, mutual assistance, e-commerce, cultural big data and the like are also provided.
And second, grid main terminal grid. The system is operated on a grid main intelligent mobile phone and used for grid group self-help and mutual-help service and control of surrounding internet of things equipment.
Third class, internet of things grid. A sensor with grid interface and controllable household appliances which are the main periphery of the grid.
The common service grid is coupled with the blockchain technology through a TCP/IP protocol by an SDK, and the public Internet cloud is coupled with the public blockchain cloud.
The developer grid is used for promoting the mutual service to acquire the grid part transaction fee and promoting the new grid to be issued and online; the development of various services of the grid is further promoted by the developer, so that the common service grid is stimulated to be self-organized according to the economic rule of the market.
Further, the process of identity registration authentication by the grid owner comprises the following steps:
Receiving identity registration information of the grid owner; wherein the identity registration information comprises a name, an identity document number, a communication address and a telephone number;
checking the identity registration information of the grid master, performing regional management on the grid master after the checking is passed, and issuing a CA certificate; wherein the zone management includes:
and recording and storing the name, nationality, administrative area, 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:
unique modal identification codes are respectively given to the grid master, the geographic information, the internet of things equipment around the grid and the grid wallet in each grid, and different modal identification codes of the same grid master are associated with each other.
The method is characterized in that each grid fixedly associates related information of grid owners, geographic information, grid surrounding internet of things equipment and grid wallets with fixed mode identification codes to form a safe and reliable network of equal collaboration, real names, real reality and real information among grids, and is characterized in that everything with the grid owners as centers and regions as links is interconnected, so that exclusive information rights and information income rights of the grid owners are guaranteed.
The method is characterized in that each grid node and each piece of information have a real geographic position, so that the calculation of a relevant range and a mutual distance is facilitated, and the method has the advantages of being accurate in response to emergency, mutual assistance, poverty relief, credit investigation, negotiation, investigation and voting range determination in a decentralised grid system; the peer node P2P grid has the advantages of equality, safety and credibility and the advantages of C/S grid democracy.
Further, the process of making the candidate block into a valid new block according to the work difficulty proving comprises the following steps:
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 current total value of the transaction amount into a block head when the comparison result is first, wherein the candidate block becomes a valid new block;
the developer grid passing the new chunk to all other peer grid nodes;
the peer mesh node receives the new block 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, the developer grid further includes:
The new Block was tested to verify validity using Check Block and Check Block Header functions, including:
whether the grammar of the block data structure is correct or not, whether the block head hash is larger than the target difficulty or not, whether the time stamp of the block is earlier than the future preset time or not, whether the block size is within the allowable range or not, whether the first transaction occurring in the block is a newly developed grid transaction or not, and whether all transactions in the block are valid or not are checked.
The beneficial effects of the invention are as follows: the developer grid provides full-service type service while performing grid maintenance through authentication registration, obtains benefits by promoting transaction completion between grid owners, and obtains benefits by developing new blocks and activating grid issuing applications; the grid main terminal grid acquires self-service and mutual service through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid main terminal grid, and carries out transaction or obtains benefits based on block chains; therefore, the grid owner can carry out intelligent life and self-help and mutual assistance, and can acquire benefits through own expertise or capability; and the developer grid obtains benefits by developing new blocks, activating grid issuing application and providing full-service type service, thereby providing convenience for life, work and other aspects of people and improving life quality of people.
Drawings
FIG. 1 is a schematic diagram of an architecture of a blockchain-based spontaneous community common 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 gridding card in an embodiment of the invention;
FIG. 4 is a schematic back view of a grid card in an embodiment of the invention;
FIG. 5 is a flow chart of actual distance calculation in an embodiment of the invention;
FIG. 6 is a schematic flow chart of help seeking interaction in an embodiment of the invention;
FIG. 7 is a schematic flow chart of a lean help in an embodiment of the invention;
FIG. 8 is a flow chart of an emergency response in an embodiment of the invention.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present specification more clear, the technical solutions of the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is apparent that the described embodiments are some embodiments of the present specification, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are intended to be within the scope of the present disclosure.
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 element. 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" that may appear herein, it is merely one association relationship that describes an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a alone, B alone, and both a and B; for the term "/and" that may appear herein, which is descriptive of another associative object relationship, it means that there may be two relationships, e.g., a/and B, it may be expressed that: a alone, a alone and B alone; in addition, for the character "/" that may appear herein, it is generally indicated that the context associated object is 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. In contrast, when an element is referred to herein as being "directly connected" or "directly coupled" to another element, it means that there are no intervening elements present. In addition, other words used to describe relationships between elements (e.g., "between … …" pair "directly between … …", "adjacent" pair "directly adjacent", etc.) should be interpreted in a similar manner.
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," "including" and/or "including," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, and do not preclude the presence or addition of one or more other features, quantities, steps, operations, elements, components, and/or groups thereof.
It should be appreciated that in some alternative embodiments, 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 provide a thorough understanding of the 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, a system may be shown in block diagrams in order to avoid obscuring the examples with unnecessary detail. In other instances, well-known processes, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the example embodiments.
Examples
Referring to fig. 1, a self-generating community co-service grid based on a blockchain in an embodiment of the present invention is shown, where the grid includes three types of grids, namely a developer grid, a grid main terminal grid and an internet of things device grid; wherein each grid main terminal grid corresponds to a grid main;
the developer grid provides full-service type service while performing grid maintenance through authentication registration, obtains benefits by promoting transaction completion between grid owners, and obtains benefits by developing new blocks and activating grid issuing applications;
the grid main terminal grid acquires self-service and mutual service through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid main terminal grid, and carries out transaction or obtains benefits based on block chains; each grid main terminal grid contains 1 hundred million modal identifiers and a plurality of grid electronic wallets.
The common service grid is a grid with a side length of one meter and coded according to longitude and latitude division, so that community interaction and common service are facilitated, and each grid contains 1 hundred million modal identifiers and a plurality of grid electronic wallets. Specifically, the grids are nodes of a common service networking and are divided into three types according to functions:
First, full service developer grids. Peer-to-peer P2P blockchain support, such as smart contracts, trusted payments, mesh autonomous networks, CA certificate development and generation, is provided. And C/S type services such as emergency, monitoring, home security, health detection, home appliance control, voting, negotiation, mutual assistance, e-commerce, cultural big data and the like are also provided.
And second, grid main terminal grid. The system is operated on a grid main intelligent mobile phone and used for grid group self-help and mutual-help service and control of surrounding internet of things equipment.
Third class, internet of things grid. A sensor with grid interface and controllable household appliances which are the main periphery of the grid.
The common service grid is coupled with the blockchain technology through a TCP/IP protocol by an SDK, and the public Internet cloud is coupled with the public blockchain cloud.
The developer grid is used for promoting the mutual service to acquire the grid part transaction fee and promoting the new grid to be issued and online; the development of various services of the grid is further promoted by the developer, so that the common service grid is stimulated to be self-organized according to the economic rule of the market.
Wherein, it needs to be noted that each grid owner must obtain the grid code and login password issued by the certificate issuing module (CA), and can provide identity card, telephone and communication address to join the grid networking; furthermore, although the identity of the grid owners themselves is known, the grid owners do not necessarily trust each other, so that data and transactions are ensured to be trusted between grids through intelligent contracts.
Specifically, the process of identity registration authentication by the grid master terminal comprises the following steps:
receiving identity registration information of a grid owner; wherein the identity registration information comprises a name, an identity document number, a communication address and a telephone number;
checking the identity registration information of the grid master, and after the checking is passed, performing regional management on the grid master and issuing a CA certificate; wherein the zone management includes:
recording and storing the name, nationality, administrative area, 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:
unique modal identification codes are respectively assigned to grid main and geographic information, grid surrounding internet of things equipment and grid wallets in each grid, and different modal identification codes of the same main are associated with each other.
Referring to fig. 2, fig. 3, and fig. 4, it should be specifically described that the coding mode of each grid owner specifically includes: the 1 st bit of the grid code is a grid type, roman numerals are represented by Arabic numerals, the Roman numerals comprise 3 types, namely I, II and III grids, the I type is a common longitude and latitude address, the II type is a national 5A-level scenic spot and red according to the address, and the III type is a human cultural heritage longitude and latitude address. For easy identification, the address is identified by the pinyin initial or the English initial, different grid types are different according to the awareness of addresses identified by the longitude and latitude, so that the access flow is different, and the occupied bandwidth, storage and other resources are also different.
Wherein the modality identification enlarges the coverage 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, gene information and the like can be fixed at the same grid address, so that one information and one code are realized, and the whole life is unchanged. If a certain grid address 1 is a door magnetic inductor, a fire alarm sensor, a health physical examination machine, an air purifier, an old photo, medical records, old stone mill information, an old door pier photo, a milk paper-cut work and the like are arranged in the grid address 1. Another important function of the modality identifier is to solve the problem of insufficient IP fixed addresses, and IP removal can be gradually realized in a common network.
Wherein, it should be noted that the grid wallet provides distributed accounting non-tamperable wallet services for the grid owner. A grid wallet contains a collection of key pairs. Each key pair contains a private key and a public key. The private key (K) is a digital number, is generated by a common network certificate module (CA) by using a random number generator at the bottom of an operating system, can calculate a public key (K) by using elliptic curve multiplication, and can generate a common grid wallet address (A) from the public key by using a one-way encryption hash function.
Further, the private key generated by the certificate module (CA) is issued to the grid owner, which is the root of funds associated with the wallet address of the grid master control grid, and the grid owner wants to prove that the funds used are self-owned when in transaction, and the transaction must be signed by using the private key. Privacy of the private key must be ensured at any time.
Each grid owner has a wallet with 1 or more keys for supporting, receiving, and accepting, electronic renminbi approved by the chinese renminbi or other legal licensed currencies. Preferably, a hierarchical deterministic wallet, which is also called HD wallet, is used, and the key contained in the hierarchical deterministic wallet is defined in the bitcoin BIP0032 standard to be in a tree structure, a parent key can derive a series of child keys, and each child key can derive a series of grandchild keys.
Referring to fig. 4 specifically, in fig. 4, 1 is a tearable page slit, 2 is a grid entrance two-dimensional code, 3 is a registered trademark, 4 is a heat-sensitive and fadeable word, 5 is an adhesive aluminum foil seal, 6 is an ultraviolet development metal foil strip, and 7 is an ultraviolet development pattern.
Referring to fig. 5, in the embodiment of the present invention, it should be noted that, further, when one grid master sends a self-service or mutual-assistance service request, the calculation process for the relative distance between other grid masters responding to the service request and the grid master includes:
Judging the current geographical position types of the sender and the responder;
when the first position type is included, GIS geographic position information of the grid main party and the grid main party are obtained, and the actual distance between the grid main party and the grid main party is calculated according to the longitude and latitude addresses;
when the grid belongs to the second position type, acquiring the position information of the response party closest to the grid according to the longitude and latitude address of the transmission party;
when the grid is mainly of a third position type, directly calling the relative distance information stored in the database;
the calculation formula for calculating the actual distance between the two parties according to the actual longitude and latitude addresses of the two parties is as follows:
wherein, the main longitude and latitude of the grid are A (x 1 ,y 1 )、B(x 2 ,y 2 ) Distance between two straight linesS, t is a coefficient of converting the longitude difference into the actual geographic length, and l is a coefficient of converting the latitude difference into 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 master; and the third position type is that the sender and the responder are both fixed position grids and longitude and latitude information is recorded in a database.
The method is characterized in that each grid node and each piece of information have a real geographic position, so that the calculation of a relevant range and a mutual distance is facilitated, and the method has the advantages of being accurate in response to emergency, mutual assistance, poverty relief, credit investigation, negotiation, investigation and voting range determination in a decentralised grid system; the peer node P2P grid has the advantages of equality, safety and credibility and the advantages of C/S grid democracy.
Referring to fig. 6, in an embodiment of the present invention, further, the process of seeking help and responding to seeking help between the grid owners includes:
the grid owner initiates a help announcement through the mobile terminal; wherein, help seeking matters and rewards to be paid are listed in the help seeking notice; or alternatively
Another grid master initiates a service announcement through the mobile terminal; wherein, the service bulletin lists the available services and the consideration to be acquired;
the developer grid respectively pushes corresponding transaction information to the two parties according to the relative geographic positions of the help seeker and the service provider by collecting the help seeker information and/or the service information, charges transaction fees and stores the transaction fees in the blockchain.
Referring to fig. 7, in an embodiment of the present invention, further, the grid owner further includes a lean grid owner, and the process of obtaining help by the lean grid owner includes:
the poverty-relieving grid owner initiates poverty-relieving assistance through the mobile terminal;
the developer grid receives rescue information of the poor grid master, obtains position information of at least two other grid masters nearby the poor grid master, and sends a proving request to at least two nearby grid masters;
Receiving a proving request by more than two nearby grid owners and auditing the poverty relief information of the poverty relief grid owners;
when the verification is passed, the developer grid sends out donation information, and after the donation response is obtained, the donation party initiates multiple payment donation;
unlocking payment after signing by the at least more than two nearby grid owners, and sending donation funds to the poverty-stricken grid owners.
The multiple payment donation is specifically: a condition is set for the blockchain multiple signature, so that N public keys are recorded in the script, and at least M public keys are agreed to provide signatures to unblock. Such transactions are also referred to as M-of-N schemes, where N represents the total number of keys and M is the minimum number used to verify the signature, e.g., one 2-of-3 multiple signature, where 3 public keys in the list represent 3 potential signers, of which at least 2 provide the signature to verify the validity of the transaction and allow the use of funds. In an embodiment of the invention, a maximum of 15 public keys are allowed to be listed, that is, 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 grid owner may also perform emergency help through the common service grid, for example, when the grid owner falls outdoors, emergency diseases and the like need emergency rescue, an emergency soft button on the mobile phone may be pressed; when an emergency occurs in the home, an emergency call hardware button in the home can be pressed; the grid can call according to the preset telephone sequence, and the common grid belongs to the local service, so that nearby emergency people and resources can be quickly collected, and a rescuer can see the position of the caller and the path for rescue; if the preset telephone does not respond, other nearby grid masters and service centers can respond in emergency according to distance, such as a few people responding, pick the last volunteer to connect to respond, and rank and calculate S1, S2, S3 and S4, and take the minimum value as a responder, see in particular FIG. 8.
In the embodiment of the present invention, it should be noted that the intelligent control of the peripheral internet of things device by the grid owner through the common service grid includes: the intelligent home with online interconnection can sense the burglary prevention, fire prevention, water resistance, moving objects, PM2.5, carbon dioxide concentration and the like of the entrance guard; various household appliances can be managed and controlled, the life quality is improved, energy is saved, consumption is reduced, and the household appliance can be remotely maintained and managed, such as household temperature control, air purification, illumination, cooking utensils and household appliances; furniture, clothing, houses, etc. can be managed off-line by a common network, for which management proposals are made.
In addition, in the embodiment of the present invention, it should be noted that, the grid owner may also perform health management, grid mall, community security management, cultural big data transaction, community voting, co-quotient, etc. through the common service grid, and specific applications and implementations are not limited, and are not repeated herein.
In an embodiment of the present invention, further, the process of developing new blocks and obtaining benefits by the developer grid includes:
the developer grid monitors transactions in real time and collects the transactions, 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 which are already contained in the known block, and keeping the transactions which are not confirmed;
the developer grid creates candidate blocks, unidentified transactions are contained in the candidate blocks, and when the work difficulty of creating the developer grid of the candidate blocks proves that the candidate blocks are first acquired among all competitors, the candidate blocks become effective new blocks;
the developer grid obtains revenue by advancing and completing transactions for the new block.
It should be noted that, the blockchain adopted by the common service grid is an ordered and backward connected transaction blocklist. Each block in the blockchain is identified at its head using a hash value generated by the SHA256 cryptographic hash algorithm. Each block header also contains a field of "preamble block hash", references the preamble block (parent block), the hash of the parent block is stored in each block header, the hash sequence connecting each block to its parent block forms a chain that can be traced back to the first block (originating block).
It should be noted that, the main identifier of the block is its encrypted hash, or referred to as a digital fingerprint, and the 32-byte hash value is calculated by performing SHA256 on the block header twice, which is called a block hash (block hash). The block hash only uniquely identifies one block, is unambiguous, and any node can be independently identified by performing simple hash computation on the block header. Another way to identify a block is its position in the blockchain, called the block height (block height). The first created tile has a height of 0.
The work difficulty proved to be that: in order to obtain the benefits, the developers search and respond to the transactions proposed by the grid owners in a competitive manner to prompt and ensure the completion of the transactions, meanwhile, the developers also compete to activate grid applications and even invent new grid applications, and the difficulty of the work is proved by transaction amounts collected by the developers and is called as work difficulty proof. The work difficulty proof is contained in the new block as a tamper-proof of the work load paid by the developer.
In an embodiment of the present invention, further, the making the candidate block into a valid new block according to the work difficulty proof 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 current total value of the transaction amount into a block head when the comparison result is first, wherein the candidate block becomes a valid new block;
the developer grid passing the new chunk to all other peer grid nodes;
the peer mesh node receives the new block and adds to the corresponding local copy of the blockchain and updates.
In an embodiment of the present invention, the developer grid is further characterized by, before transferring the new block to all other peer grid nodes, further comprising:
the new Block was tested to verify validity using Check Block and Check Block Header functions, including:
whether the grammar of the block data structure is correct or not, whether the block head hash is larger than the target difficulty or not, whether the time stamp of the block is earlier than the future preset time or not, whether the block size is within the allowable range or not, whether the first transaction occurring in the block is a newly developed grid transaction or not, and whether all transactions in the block are valid or not are checked.
In an embodiment of the present invention, further, the process of obtaining the benefit by activating the grid issuing application by the developer grid includes:
the grid developer enjoys the right of providing full-business type service preferentially through the self-created new region blocks, and obtains corresponding benefits through providing service.
As a practical application of the embodiment of the present invention, after verifying the transaction, the grid node adds them to the transaction pool, where the transaction and information wait to be added to a block of the developer, and after completing the actions, the developer node integrates the transactions into a candidate block (conducto block).
The developer's development node maintains a complete copy of the blockchain, which is a list of all blocks, including all blocks after the common network system is created. The developer's node continues to monitor transactions, trying its own pool of transactions for highest difficulty values at the same time, creating a new block, assuming that a developer has assembled a chain of 010314 blocks, it receives 010315 blocks from the common network when it is collecting new transaction information, the arrival of which marks the end of the development competition of block 010315, and the competition to create block 010316 begins from this point.
During the previous 10 minutes, this developer's node is also collecting transactions in the process of looking up 010315 solutions, in preparation for creating the next block. At this point it has collected hundreds of transactions and stored in the pool, and upon receipt of 010315 and verification, the developer's node checks the pool for transactions, eliminating those transactions that have been included in the 010315 block. Transactions that remain in the pool are unacknowledged transactions and they continue to wait to be recorded in the new block.
After completing these preparations, the node of the developer immediately creates a new empty block as a candidate for block 010316, which is called a candidate block because it has not yet become a valid block, contains no work difficulty evidence, and becomes valid only after the work difficulty accumulated by the developer wins the first win.
The embodiment of the invention has the beneficial effects that: the developer grid provides full-service type service while performing grid maintenance through authentication registration, obtains benefits by promoting transaction completion between grid owners, and obtains benefits by developing new blocks and activating grid issuing applications; the grid main terminal grid acquires self-service and mutual service through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid main terminal grid, and carries out transaction or obtains benefits based on block chains; therefore, the grid owner can carry out intelligent life and self-help and mutual assistance, and can acquire benefits through own expertise or capability; and the developer grid obtains benefits by developing new blocks, activating grid issuing application and providing full-service type service, thereby providing convenience for life, work and other aspects of people and improving life quality of people.
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, the present invention is intended to include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (5)

1. The self-generating community common service grid based on the block chain is characterized by comprising three types of grids, namely a developer grid, a grid main terminal grid and an Internet of things device grid; wherein each grid main terminal grid corresponds to a grid main;
the developer grid provides full-service type service while performing grid maintenance through authentication registration, obtains benefits by promoting transaction completion between grid owners, and obtains benefits by developing new blocks and activating grid issuing applications;
the grid main terminal grid acquires self-service and mutual service through the common service grid after identity registration authentication, intelligently controls the Internet of things equipment around the grid main terminal grid, and carries out transaction or obtains benefits based on block chains; each grid main terminal grid contains 1 hundred million modal identifiers and a plurality of grid electronic wallets;
When one grid master sends a self-help or mutual-help service request, the calculation process of the relative distance between other grid masters responding to the service request and the grid master comprises the following steps:
judging the current geographical position types of the sender and the responder;
when the first position type is included, GIS geographic position information of the grid main party and the grid main party are obtained, and the actual distance between the grid main party and the grid main party is calculated according to the longitude and latitude addresses;
when the grid belongs to the second position type, acquiring the position information of the response party closest to the grid according to the longitude and latitude address of the transmission party;
when the grid is mainly of a third position type, directly calling the relative distance information stored in the database;
the calculation formula for calculating the actual distance between the two parties according to the actual longitude and latitude addresses of the two parties is as follows:
wherein, the grid masterLongitude and latitude are A (x) 1 ,y 1 )、B(x 2 ,y 2 ) The linear distance between the two sides is S, t is a coefficient converted from a longitude difference to the actual geographic length, and l is a coefficient converted from a latitude difference to 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 master; the third position type is that the sender and the responder are both fixed position grids and longitude and latitude information is recorded in a database;
The process of seeking help and responding to seeking help among the grid masters comprises the following steps:
the grid owner initiates a help announcement through the mobile terminal; wherein, help seeking matters and rewards to be paid are listed in the help seeking notice; or alternatively
Another grid master initiates a service announcement through the mobile terminal; wherein, the service bulletin lists the available services and the consideration to be acquired;
the developer grid respectively pushes corresponding transaction information to the two parties according to the relative geographic positions of the help seeker and the service provider by collecting the help seeker information and/or the service information, charges transaction fees and stores the transaction fees in the blockchain;
the grid owner also comprises a poverty-stricken grid owner, and the process of obtaining help by the poverty-stricken grid owner comprises the following steps:
the poverty-relieving grid owner initiates poverty-relieving assistance through the mobile terminal;
the developer grid receives rescue information of the poor grid master, obtains position information of at least two other grid masters nearby the poor grid master, and sends a proving request to at least two nearby grid masters;
receiving a proving request by more than two nearby grid owners and auditing the poverty relief information of the poverty relief grid owners;
When the verification is passed, the developer grid sends out donation information, and after the donation response is obtained, the donation party initiates multiple payment donation;
unlocking and paying after being signed by at least two nearby grid owners, and sending donation fund to the lean grid owners;
the process of the developer grid to generate the benefit by developing the new block includes:
the developer grid monitors transactions in real time and collects the transactions, 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 which are already contained in the known block, and keeping the transactions which are not confirmed;
the developer grid creates candidate blocks, unidentified transactions are contained in the candidate blocks, and when the work difficulty of creating the developer grid of the candidate blocks proves that the candidate blocks are first acquired among all competitors, the candidate blocks become effective new blocks;
the developer grid obtains benefits by advancing and completing the transaction of the new block;
the process of obtaining the benefit by activating the grid issuing application by the developer grid comprises the following steps:
the grid developer enjoys the right of providing full-business type service preferentially through the self-created new region blocks, and obtains corresponding benefits through providing service.
2. The self-generating community co-service grid based on blockchain of claim 1, wherein the process of identity registration authentication by the grid owner comprises:
receiving identity registration information of the grid owner; wherein the identity registration information comprises a name, an identity document number, a communication address and a telephone number;
checking the identity registration information of the grid master, performing regional management on the grid master after the checking is passed, and issuing a CA certificate; wherein the zone management includes:
and recording and storing the name, nationality, administrative area, longitude and latitude of each grid owner and the distance between one grid owner and other grid owners or target addresses.
3. The self-generating community co-service grid based on blockchain of claim 2, further comprising, after issuing a CA certificate to the grid owner:
unique modal identification codes are respectively given to the grid master, the geographic information, the internet of things equipment around the grid and the grid wallet in each grid, and different modal identification codes of the same grid master are associated with each other.
4. The self-expanding community co-service grid based on blockchain of claim 1, wherein the process of making the candidate block into a valid new block based on job 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 current total value of the transaction amount into a block head when the comparison result is first, wherein the candidate block becomes a valid new block;
the developer grid passing the new chunk to all other peer grid nodes;
the peer mesh node receives the new block and adds to the corresponding local copy of the blockchain and updates.
5. The self-generating community co-service grid based on blockchain of claim 4, wherein before the developer grid passes the new block to all other peer grid nodes, further comprising:
the new Block was tested to verify validity using Check Block and Check Block Header functions, including:
whether the grammar of the block data structure is correct or not, whether the block head hash is larger than the target difficulty or not, whether the time stamp of the block is earlier than the future preset time or not, whether the block size is within the allowable range or not, whether the first transaction occurring in the block is a newly developed grid transaction or not, and whether all transactions in the block are valid or not are checked.
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 CN112967136A (en) 2021-06-15
CN112967136B true 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 (7)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11138827B2 (en) * 2016-09-15 2021-10-05 Simpsx Technologies Llc Implementations of a computerized business transaction exchange for various users

Patent Citations (7)

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

Also Published As

Publication number Publication date
CN112967136A (en) 2021-06-15

Similar Documents

Publication Publication Date Title
Baza et al. B-ride: Ride sharing with privacy-preservation, trust and fair payment atop public blockchain
Maroufi et al. On the convergence of blockchain and internet of things (iot) technologies
CN109462587B (en) Block chain layered consensus method, block chain network system and block chain node
Aggarwal et al. Blockchain for smart communities: Applications, challenges and opportunities
Jesus et al. A survey of how to use blockchain to secure internet of things and the stalker attack
Zheng et al. An overview of blockchain technology: Architecture, consensus, and future trends
Sisi et al. Blockchain technology for energy‐aware mobile crowd sensing approaches in Internet of Things
Hsiao et al. Employing blockchain technology to strengthen security of wireless sensor networks
Bada et al. Towards a green blockchain: A review of consensus mechanisms and their energy consumption
Hu et al. Parking management: A blockchain-based privacy-preserving system
Xu et al. Edgence: A blockchain-enabled edge-computing platform for intelligent IoT-based dApps
CN109711836A (en) A kind of storage method of transaction, storage network and electronic equipment
CN108510252B (en) Intelligent electric vehicle power grid safety payment method based on block chain
Xu et al. Constructing trustworthy and safe communities on a blockchain-enabled social credits system
JP2020522919A (en) Computer-implemented system and method for managing transactions in a blockchain network
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
CN108876669B (en) Course notarization system and method applied to multi-platform education resource sharing
CN111553767A (en) Shared house leasing system, method and storage medium based on block chain
Kouzinopoulos et al. Implementing a forms of consent smart contract on an IoT-based blockchain to promote user trust
Guan et al. Blockchain: A distributed solution to UAV‐enabled mobile edge computing
CN102377573A (en) Double-factor authentication method capable of securely updating password
Cong et al. Blockchain applications, challenges and evaluation: a survey
WO2019237840A1 (en) Data set generating method and apparatus
CN112967136B (en) Spontaneous-generation community common service grid based on blockchain

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