CN111510451A - Site management method and device based on block chain - Google Patents

Site management method and device based on block chain Download PDF

Info

Publication number
CN111510451A
CN111510451A CN202010289859.4A CN202010289859A CN111510451A CN 111510451 A CN111510451 A CN 111510451A CN 202010289859 A CN202010289859 A CN 202010289859A CN 111510451 A CN111510451 A CN 111510451A
Authority
CN
China
Prior art keywords
block chain
node
information
user
receiving
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.)
Pending
Application number
CN202010289859.4A
Other languages
Chinese (zh)
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202010289859.4A priority Critical patent/CN111510451A/en
Publication of CN111510451A publication Critical patent/CN111510451A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Accounting & Taxation (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a site management method and device based on a block chain, wherein the method comprises the following steps: receiving a login request of a user, broadcasting the login request in a block chain to ensure that each node in the block chain verifies the login request, and broadcasting a verification passing message when the verification passes, wherein the user is registered in any node except the node in the block chain; receiving a first query request, and broadcasting the first query request in a block chain, wherein the first query request is used for querying site information corresponding to other nodes except the node in the block chain; and receiving the query result broadcast by other nodes except the node in the block chain. For the same user, the site information corresponding to other nodes except the login node in the block chain can be inquired only by registering the site information once in the node of any block chain. User experience is greatly improved, and potential users are indirectly added to operation mechanisms in various places. Effectively reducing the risk of information leakage.

Description

Site management method and device based on block chain
Technical Field
The application belongs to the technical field of communication, and particularly relates to a site management method and device based on a block chain.
Background
Various sports fields exist in each big city, certain convenience is provided for citizens to take sports and leisure, and the foundation and the important function are played for promoting the development of various sports. The site operating organization also generally adopts IT technology to provide services such as member authentication, site inquiry/lease, payment and the like for users.
From the perspective of merchants, the existing site management system can ensure that each site operates independently, but each merchant has a common pain point, namely, the customer resource is limited and is greatly limited by the geographic position, the system databases of each party are different, and the user information is not mutually recognized; another pain point in operation is that the security risk and the operation and maintenance cost are high when the system database is maintained separately.
From the user perspective, the current site management system user uses different sites and needs to register, recharge, swipe cards and the like with different APPs, or needs to handle each membership card respectively, which is very inconvenient and increases the risk of personal information leakage.
Disclosure of Invention
In order to overcome the defects in the prior art, the application provides a site management method and device based on a block chain.
The application provides a site management method based on a block chain, which comprises the following steps:
receiving a login request of a user, broadcasting the login request in a block chain to enable each node in the block chain to verify the login request, and broadcasting a verification passing message when the verification passes, wherein the user is registered in any node except the node in the block chain;
receiving a first query request, and broadcasting the first query request in a block chain, wherein the first query request is used for querying site information corresponding to other nodes except a local node in the block chain;
and receiving the query result broadcast by other nodes except the node in the block chain.
Preferably, the method further comprises:
receiving a registration request of a user, broadcasting the registration request in a block chain so that each node in the block chain registers the user according to the registration request, and broadcasting a registration success message when the registration is successful;
and receiving the registration success message.
Preferably, after the receiving the registration success message, the method further comprises:
receiving a second query request, and broadcasting the second query request in a block chain, wherein the second query request is used for querying site information corresponding to other nodes except the node in the block chain;
and receiving the query result broadcast by other nodes except the node in the block chain.
Preferably, the method further comprises:
receiving a login request broadcasted in a block chain, wherein the login request comprises user information;
and if the block corresponding to the login request generated by the node is determined, broadcasting the first block information in the block chain.
Preferably, the method further comprises:
receiving first block information broadcast by other nodes in a block chain, and determining user information according to the first block information;
and if the user information is consistent with the pre-stored user registration information, broadcasting a verification passing message in the block chain.
Preferably, the method further comprises:
receiving a registration request broadcasted in a block chain, wherein the registration request comprises user registration information;
and if the block corresponding to the registration request generated by the node is determined, broadcasting second block information in the block chain.
Preferably, the method further comprises:
when second block information broadcasted in a block chain is received, determining user registration information according to the second block information;
and storing the user registration information into a block chain account book of the node, and broadcasting a registration success message in the block chain.
The present application further provides a node in a block chain, comprising:
the first receiving module is used for receiving a login request of a user; receiving a first query request; receiving query results broadcast by other nodes except the node in the block chain, wherein the user is registered in any node except the node in the block chain;
the first broadcasting module is used for broadcasting the login request in the block chain so that each node in the block chain verifies the login request and broadcasts a verification passing message when the verification passes; and broadcasting the first query request in the block chain, wherein the first query request is used for querying site information corresponding to other nodes except the node in the block chain.
Preferably, the method further comprises the following steps:
the second receiving module is used for receiving a registration request of a user; receiving the registration success message;
and the second broadcasting module is used for broadcasting the registration request in the block chain so that each node in the block chain registers the user according to the registration request and broadcasts a registration success message when the registration is successful.
Preferably, the method further comprises the following steps:
the second receiving module is also used for receiving a second query request; receiving query results broadcast by other nodes except the node in the block chain;
the second broadcast module is further configured to broadcast the second query request in the blockchain, where the second query request is used to query the site information corresponding to other nodes in the blockchain except the local node.
Preferably, the method further comprises the following steps:
a third receiving module, configured to receive a login request broadcasted in a block chain, where the login request includes user information;
and the third broadcasting module is used for broadcasting the first block information in the block chain if the block corresponding to the login request generated by the node is determined.
Preferably, the method further comprises the following steps:
the first determining module is used for receiving first block information broadcast by other nodes in a block chain and determining user information according to the first block information;
and the fourth broadcasting module is used for broadcasting a verification passing message in the block chain if the user information is consistent with the pre-stored user registration information.
Preferably, the method further comprises the following steps:
a fourth receiving module, configured to receive a registration request broadcasted in a block chain, where the registration request includes user registration information;
and a fifth broadcasting module, configured to broadcast the second block information in the block chain if it is determined that the block corresponding to the registration request generated by the node is a block.
Preferably, the method further comprises the following steps:
the second determining module is used for determining user registration information according to second block information when the second block information broadcasted in the block chain is received;
and the sixth broadcasting module is used for storing the user registration information into a block chain account book of the node and broadcasting a registration success message in the block chain.
The site management method based on the block chain receives a login request of a user, broadcasts the login request in the block chain, so that each node in the block chain verifies the login request, broadcasts a verification passing message when the verification passes, and the user registers in any node except the node in the block chain; receiving a first query request, and broadcasting the first query request in a block chain, wherein the first query request is used for querying site information corresponding to other nodes except a local node in the block chain; and receiving the query result broadcast by other nodes except the node in the block chain. In the application, for the same user, a plurality of APPs (application program) do not need to be switched or a plurality of membership cards do not need to be carried, and the site information corresponding to other nodes except the login node in the block chain can be inquired only by registering once in the node of any block chain. User experience is greatly improved, use convenience is improved, geographic limitation is broken, and potential users are indirectly added to operation mechanisms in various places. The block chain information is ensured to be safe and not to be tampered through the cryptography of the block chain technology, the personal data safety is enhanced, and the information leakage risk is effectively reduced.
Drawings
Fig. 1 is a flowchart of a site management method based on a blockchain according to a first embodiment of the present disclosure;
fig. 2 is another flowchart of a site management method based on a blockchain according to a first embodiment of the present disclosure;
fig. 3 is another flowchart of a site management method based on a blockchain according to a first embodiment of the present disclosure;
fig. 4 is another flowchart of a site management method based on a blockchain according to a first embodiment of the present disclosure;
fig. 5 is another flowchart of a site management method based on a blockchain according to a first embodiment of the present disclosure;
fig. 6 is another flowchart of a site management method based on a blockchain according to a first embodiment of the present disclosure;
fig. 7 is another flowchart of a site management method based on a blockchain according to a second embodiment of the present application;
fig. 8 is a schematic structural diagram of a node in a blockchain according to a second embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present invention better understood, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The application provides a site management method and device based on a block chain. The following detailed description is made with reference to the drawings of the embodiments provided in the present application, respectively.
For ease of understanding, certain terms are set forth below.
The block chain technology is an internet database technology and is characterized by decentralization, openness and transparency, so that everyone can participate in database recording. In short, if we assume the database as a book, reading and writing the database can be regarded as an accounting action. The principle of the blockchain technology is to find the person with the fastest billing speed in a period of time, to be billed by the person, and then to send the page of information of the ledger to other owners in the whole system. This is equivalent to changing all records in the database and sending to every other node in the whole network, so the blockchain technology is also called distributed ledger.
And accounting, wherein the block chain takes account page information (including transaction time, transaction content and the like) as original information to be hashed during accounting to obtain a hash value. The combination of the ledger information and the hash value constitutes the first block. About 10 minutes in the bitcoin system is billed once, i.e. each block generation time is approximately 10 minutes apart. When the second account is written, the hash value of the previous block and the current account information are hashed together as the original information. Thus, the second block not only contains the account page information, but also indirectly contains the information of the first block. Continuing the accounting in this way in turn, the newest block always contains indirectly all the previous accounting page information. All the blocks are combined to form a block chain, and the block chain forms a total account book which is convenient to verify (the last block is verified to be equivalent to the whole account book) and not changeable (any transaction information is changed, the hash values of all the following blocks are changed, and the transaction information cannot pass the verification).
The workload proving method has to increase the difficulty of accounting in order to ensure that only one person can account for about 10 minutes, so that the hashed result must begin with several 0 s. To satisfy this condition, a padding variable is introduced when hashing. The hash value will change continuously when any part of the original information of the hash is changed, so that when the hash is operated, the value of the padding value is changed continuously, and one padding value can be always found, so that the hash result starts with a plurality of 0 s. The only accounting right for this accounting is obtained by the mining machine nodes which find the appropriate filling value first. The process of finding a suitable fill value is computationally intensive, so the more computationally powerful the nodes of the mining machine, the hash value is first computed.
A site management method based on a block chain provided in a first embodiment of the present application is as follows:
as shown in fig. 1, when a node in a blockchain is a node where a user logs in, the node where the user logs in is recorded as a first node.
And 11, receiving a login request of a user, broadcasting the login request in the block chain so that each node in the block chain verifies the login request, and broadcasting a verification passing message when the verification passes.
In the initialization stage, the operation mechanisms of all the sites establish block chains together, and the operation mechanism of each site corresponds to a node in one block chain.
In this step, the first node receives a login request of a user sent by a user APP corresponding to the first node, and broadcasts the login request in the block chain, so that each node in the block chain authenticates the login request, and broadcasts an authentication passing message when the authentication passes. The login request includes user information, such as a user login account and a password. It should be noted that the user APP here may be an APP providing a site reservation service for the user, and may also be a management system PC end, where the management system PC end is configured to receive a user ID in an ID card scanned by a card reader, and send a login request of the user ID to the first node. That is to say, when a user uses an APP to log in, the first node receives a login request of the user sent by the user APP corresponding to the first node, and when the user uses an ID card to swipe a card to log in, the first node receives a login request sent by a management system PC end corresponding to the ID card. In the discussion that follows, user APP includes both of the above.
It should be noted that the user is registered in any node other than the local node in the blockchain. Only when the user registers in any node in the block chain, each node in the block chain can verify the login request. That is, the user can log in all the nodes in the blockchain as long as the user registers any node except the node in the blockchain, so that the site of the node except the node in the blockchain can be preset.
And step 12, receiving a first query request, and broadcasting the first query request in the block chain, wherein the first query request is used for querying the site information corresponding to other nodes except the node in the block chain.
In the step, the first node receives a first query request sent by a user APP and broadcasts in a block chain, and each node in the block chain confirms the first query request and records the first query request in a block chain account book. And after the first node receives the verification passing message broadcasted in the block chain, returning the verification passing message to the user APP, and allowing the user to inquire the site information of any other node except the first node in the block chain through the user APP.
And step 13, receiving the query results broadcast by other nodes except the node in the block chain.
In this step, the first node receives the query result broadcasted by other nodes except the node in the block chain, that is, the location information broadcasted by the node queried by the first query request, and the first node returns the query result to the user APP. The query result includes information of the site name, the site location, the open time, whether the reservation is made, and the like.
After this step, the user may subscribe to the venue of a node other than the first node based on the query results. The user APP sends the reservation request to the first node, the first node broadcasts the reservation request in the block chain, and each node in the block chain confirms the reservation request and records the reservation request in the block chain account book. And the first node receives a subscription success message broadcasted by the node corresponding to the subscription request, returns the subscription success message to the user APP, and completes the subscription. The booking request carries information such as a place number, booking time and the like. After the user has subscribed the sites of other nodes except the first node, the user needs to pay for the order, and the process of paying is the same as the process of subscribing the sites of other nodes except the first node, which is referred to the above process and is not described herein again.
In the application, the block chain technology is applied to the sports stadium leasing industry, and the problems that the user authorities of different operation mechanisms are not universal and the personal information leakage risk is high are solved. The intercommunication of user registration information, the enhancement of data security and the improvement of user experience are realized through the block chain technology. The operating institutions in each site join the block chain together, and user registration information of each site is linked up, wherein the user registration information on the chain is visible to all the operating institutions and invisible to non-block chain members. The nodes of each operation mechanism of the block chain can call the user registration information on the chain for user authentication, thereby realizing mutual recognition and intercommunication of the user registration information. For the same user, the user APPs of all nodes in the block chain can be logged in only needing to be registered once in the node of any block chain without switching a plurality of APPs or carrying a plurality of membership cards, and the site information corresponding to other nodes except the logged-in node in the block chain can be inquired. User experience is greatly improved, use convenience is improved, geographic limitation is broken, and potential users are indirectly added to operation mechanisms in various places.
In addition, the block chain information is ensured to be safe and not to be tampered through the cryptography of the block chain technology, the personal data safety is enhanced, and the information leakage risk is effectively reduced.
In some embodiments, as shown in fig. 2, when a node in the blockchain is a node registered by the user, the node registered by the user is marked as a second node, and the method further includes:
step 21, receiving a registration request of a user, broadcasting the registration request in the block chain, so that each node in the block chain registers the user according to the registration request, and broadcasting a registration success message when the registration is successful.
In this step, the second node receives a registration request of a user sent by a user APP corresponding to the second node, and broadcasts the registration request in the block chain, so that each node in the block chain registers the user according to the registration request, and broadcasts a registration success message when the registration is successful. The registration request includes user registration information, such as a user registration account and a password. For the same user, the second node is a node registered by the user, and the first node is any other node than the second node in the block chain.
Step 22, receiving a registration success message.
In this step, the second node receives a registration success message broadcast in the block chain.
In some embodiments, as shown in fig. 3, after the receiving the registration success message, when a node in a blockchain is a second node, the method further includes:
step 23, receiving a second query request, and broadcasting the second query request in the block chain.
In this step, the second query request is used to query site information corresponding to other nodes in the block chain except the local node. After the user finishes registering in the second node, the second node receives a second query request sent by the user APP and broadcasts in the block chain, and each node in the block chain confirms the second query request and records the second query request in the block chain account book. And after the second node receives the verification passing message broadcasted in the block chain, returning the verification passing message to the user APP, and allowing the user to inquire the site information of any other node except the second node in the block chain through the user APP.
And 24, receiving the query results broadcast by other nodes except the node in the block chain.
In this step, the second node receives the query result broadcasted by other nodes except the node in the block chain, that is, the location information broadcasted by the node queried by the second query request, and the second node returns the query result to the user APP. The query result includes information of the site name, the site location, the open time, whether the reservation is made, and the like.
In some embodiments, as shown in fig. 4, when a node in the block chain is a node that generates a block corresponding to the login request, the node is denoted as a third node, and the method further includes:
step 31, receiving a login request broadcasted in a block chain.
In this step, the login request includes user information, which includes a user login account and a password.
Step 32, if it is determined that the block corresponding to the login request is generated by the node, broadcasting the first block information in the block chain.
In this step, the block corresponding to the login request generated by the third node is determined according to the workload certification method, and the third node broadcasts the first block information of the generated block to the block chain. The first block information includes user information, that is, includes a user login account and a password.
In some embodiments, as shown in fig. 5, when the nodes in the blockchain are the nodes for verifying the login request, the method further includes:
step 33, receiving the first block information broadcast by other nodes in the block chain, and determining the user information according to the first block information.
In this step, each node in the block chain receives the first block information broadcast by the third node, and after each node confirms the first block information, each node in the block chain determines the user information according to the first block information.
And step 34, if the user information is consistent with the pre-stored user registration information, broadcasting an authentication passing message in the block chain.
In this step, each node in the blockchain compares the user information with the pre-stored user registration information, and if the comparison results of each node are consistent, the verification passing message is broadcast in the blockchain, so that the first node or the second node returns the verification passing message to the user APP.
In some embodiments, as shown in fig. 6, when a node in the block chain is a node that generates a block corresponding to the registration request, the node is denoted as a fourth node, and the method further includes:
step 41, receiving a registration request broadcasted in the block chain.
In this step, the registration request includes user registration information, which includes a user registration account and a password.
Step 42, if it is determined that the node generates the block corresponding to the registration request, broadcasting second block information in a block chain;
in this step, the block corresponding to the registration request generated by the fourth node is determined according to the workload certification method, and then the fourth node broadcasts the second block information of the generated block to the block chain. The second block information includes user registration information, that is, includes a user registration account and a password.
In some embodiments, as shown in fig. 7, when the node in the blockchain is a node that stores user registration information, the method further includes:
and step 43, when receiving the second block information broadcasted in the block chain, determining the user registration information according to the second block information.
In this step, after each node confirms the second block information, each node in the block chain determines the user registration information according to the second block information.
And step 44, storing the user registration information into a block chain account book of the node, and broadcasting a registration success message in the block chain.
In this step, each node in the blockchain stores the user registration information into its own blockchain account book, so that when the user's login request is verified later, the user registration information is compared with the user information carried in the login request, the user registration information is stored into the blockchain account book of each node, that is, the registration is completed, and a registration success message is broadcast in the blockchain, so that the second node returns the registration success message to the user APP.
A site management apparatus based on a block chain according to a second embodiment of the present application is as follows:
in the foregoing embodiment, a site management method based on a block chain is provided, and correspondingly, a site management apparatus based on a block chain is also provided in the present application, which is described below with reference to the accompanying drawings.
As shown in fig. 8, which illustrates a node in a blockchain provided in an embodiment of the present application, including the following modules.
The first receiving module 1 is used for receiving a login request of a user; receiving a first query request; receiving query results broadcast by other nodes except the node in the block chain, wherein the user is registered in any node except the node in the block chain;
the first broadcasting module 2 is configured to broadcast the login request in the blockchain, so that each node in the blockchain authenticates the login request, and broadcasts an authentication passing message when the authentication passes; and broadcasting the first query request in the block chain, wherein the first query request is used for querying site information corresponding to other nodes except the node in the block chain.
Preferably, the method further comprises the following steps:
the second receiving module is used for receiving a registration request of a user; receiving the registration success message;
and the second broadcasting module is used for broadcasting the registration request in the block chain so that each node in the block chain registers the user according to the registration request and broadcasts a registration success message when the registration is successful.
Preferably, the method further comprises the following steps:
the second receiving module is also used for receiving a second query request; receiving query results broadcast by other nodes except the node in the block chain;
the second broadcast module is further configured to broadcast the second query request in the blockchain, where the second query request is used to query the site information corresponding to other nodes in the blockchain except the local node.
Preferably, the method further comprises the following steps:
a third receiving module, configured to receive a login request broadcasted in a block chain, where the login request includes user information;
and the third broadcasting module is used for broadcasting the first block information in the block chain if the block corresponding to the login request generated by the node is determined.
Preferably, the method further comprises the following steps:
the first determining module is used for receiving first block information broadcast by other nodes in a block chain and determining user information according to the first block information;
and the fourth broadcasting module is used for broadcasting a verification passing message in the block chain if the user information is consistent with the pre-stored user registration information.
Preferably, the method further comprises the following steps:
a fourth receiving module, configured to receive a registration request broadcasted in a block chain, where the registration request includes user registration information;
and a fifth broadcasting module, configured to broadcast the second block information in the block chain if it is determined that the block corresponding to the registration request generated by the node is a block.
Preferably, the method further comprises the following steps:
the second determining module is used for determining user registration information according to second block information when the second block information broadcasted in the block chain is received;
and the sixth broadcasting module is used for storing the user registration information into a block chain account book of the node and broadcasting a registration success message in the block chain.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.

Claims (14)

1. A site management method based on a block chain is characterized by comprising the following steps:
receiving a login request of a user, broadcasting the login request in a block chain to enable each node in the block chain to verify the login request, and broadcasting a verification passing message when the verification passes, wherein the user is registered in any node except the node in the block chain;
receiving a first query request, and broadcasting the first query request in a block chain, wherein the first query request is used for querying site information corresponding to other nodes except a local node in the block chain;
and receiving the query result broadcast by other nodes except the node in the block chain.
2. The blockchain-based venue management method according to claim 1, further comprising:
receiving a registration request of a user, broadcasting the registration request in a block chain so that each node in the block chain registers the user according to the registration request, and broadcasting a registration success message when the registration is successful;
and receiving the registration success message.
3. The blockchain-based venue management method according to claim 2, wherein after the receiving of the registration success message, the method further comprises:
receiving a second query request, and broadcasting the second query request in a block chain, wherein the second query request is used for querying site information corresponding to other nodes except the node in the block chain;
and receiving the query result broadcast by other nodes except the node in the block chain.
4. The blockchain-based venue management method according to claim 1, further comprising:
receiving a login request broadcasted in a block chain, wherein the login request comprises user information;
and if the block corresponding to the login request generated by the node is determined, broadcasting the first block information in the block chain.
5. The blockchain-based venue management method according to claim 4, further comprising:
receiving first block information broadcast by other nodes in a block chain, and determining user information according to the first block information;
and if the user information is consistent with the pre-stored user registration information, broadcasting a verification passing message in the block chain.
6. The blockchain-based venue management method according to claim 5, further comprising:
receiving a registration request broadcasted in a block chain, wherein the registration request comprises user registration information;
and if the block corresponding to the registration request generated by the node is determined, broadcasting second block information in the block chain.
7. The blockchain-based venue management method according to claim 6, further comprising:
when second block information broadcasted in a block chain is received, determining user registration information according to the second block information;
and storing the user registration information into a block chain account book of the node, and broadcasting a registration success message in the block chain.
8. A node in a blockchain, comprising:
the first receiving module is used for receiving a login request of a user; receiving a first query request; receiving query results broadcast by other nodes except the node in the block chain, wherein the user is registered in any node except the node in the block chain;
the first broadcasting module is used for broadcasting the login request in the block chain so that each node in the block chain verifies the login request and broadcasts a verification passing message when the verification passes; and broadcasting the first query request in the block chain, wherein the first query request is used for querying site information corresponding to other nodes except the node in the block chain.
9. The node in the blockchain of claim 8, further comprising:
the second receiving module is used for receiving a registration request of a user; receiving the registration success message;
and the second broadcasting module is used for broadcasting the registration request in the block chain so that each node in the block chain registers the user according to the registration request and broadcasts a registration success message when the registration is successful.
10. The node in a blockchain according to claim 9, further comprising:
the second receiving module is also used for receiving a second query request; receiving query results broadcast by other nodes except the node in the block chain;
the second broadcast module is further configured to broadcast the second query request in the blockchain, where the second query request is used to query the site information corresponding to other nodes in the blockchain except the local node.
11. The node in the blockchain of claim 8, further comprising:
a third receiving module, configured to receive a login request broadcasted in a block chain, where the login request includes user information;
and the third broadcasting module is used for broadcasting the first block information in the block chain if the block corresponding to the login request generated by the node is determined.
12. The node in a blockchain according to claim 11, further comprising:
the first determining module is used for receiving first block information broadcast by other nodes in a block chain and determining user information according to the first block information;
and the fourth broadcasting module is used for broadcasting a verification passing message in the block chain if the user information is consistent with the pre-stored user registration information.
13. The node in a blockchain according to claim 12, further comprising:
a fourth receiving module, configured to receive a registration request broadcasted in a block chain, where the registration request includes user registration information;
and a fifth broadcasting module, configured to broadcast the second block information in the block chain if it is determined that the block corresponding to the registration request generated by the node is a block.
14. The node in a blockchain of claim 13, further comprising:
the second determining module is used for determining user registration information according to second block information when the second block information broadcasted in the block chain is received;
and the sixth broadcasting module is used for storing the user registration information into a block chain account book of the node and broadcasting a registration success message in the block chain.
CN202010289859.4A 2020-04-14 2020-04-14 Site management method and device based on block chain Pending CN111510451A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010289859.4A CN111510451A (en) 2020-04-14 2020-04-14 Site management method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010289859.4A CN111510451A (en) 2020-04-14 2020-04-14 Site management method and device based on block chain

Publications (1)

Publication Number Publication Date
CN111510451A true CN111510451A (en) 2020-08-07

Family

ID=71863996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010289859.4A Pending CN111510451A (en) 2020-04-14 2020-04-14 Site management method and device based on block chain

Country Status (1)

Country Link
CN (1) CN111510451A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system
CN109087214A (en) * 2018-07-23 2018-12-25 江苏恒宝智能系统技术有限公司 A kind of natural gas life payment management system based on block chain
CN109189962A (en) * 2018-08-17 2019-01-11 福建南威软件有限公司 A kind of license service realization system based on block chain
CN109819443A (en) * 2018-12-29 2019-05-28 东莞见达信息技术有限公司 Authentication registration method, apparatus and system based on block chain
CN109920270A (en) * 2019-03-22 2019-06-21 广东安居宝数码科技股份有限公司 A kind of parking management method, block chain network and storage medium
CN110349017A (en) * 2018-04-01 2019-10-18 北京轻松筹信息技术有限公司 Digital asset processing method and processing device based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453271A (en) * 2016-09-21 2017-02-22 江苏通付盾科技有限公司 Identity registration method and system, identity authentication method and system
CN110349017A (en) * 2018-04-01 2019-10-18 北京轻松筹信息技术有限公司 Digital asset processing method and processing device based on block chain
CN109087214A (en) * 2018-07-23 2018-12-25 江苏恒宝智能系统技术有限公司 A kind of natural gas life payment management system based on block chain
CN109189962A (en) * 2018-08-17 2019-01-11 福建南威软件有限公司 A kind of license service realization system based on block chain
CN109819443A (en) * 2018-12-29 2019-05-28 东莞见达信息技术有限公司 Authentication registration method, apparatus and system based on block chain
CN109920270A (en) * 2019-03-22 2019-06-21 广东安居宝数码科技股份有限公司 A kind of parking management method, block chain network and storage medium

Similar Documents

Publication Publication Date Title
US10922772B2 (en) Copyright authorization management method and system
CN111970129B (en) Data processing method and device based on block chain and readable storage medium
CN101719250B (en) Payment authentication method, platform and system
CN102457507B (en) Cloud computing resources secure sharing method, Apparatus and system
US7865173B2 (en) Method and arrangement for authentication procedures in a communication network
CN101222333B (en) Data transaction processing method and apparatus
CN110098932B (en) Electronic document signing method based on safe electronic notarization technology
CN102202300B (en) A kind of based on twin-channel dynamic cipher authentication system and method
CN101374050B (en) Apparatus, system and method for implementing identification authentication
CN110291757A (en) For providing the method for simplified account register service, user authentication service and utilizing its certificate server
CN109919579B (en) Electronic document signing method, device, storage medium and equipment
CN104270338A (en) A method and system of electronic identity registration and authentication login
CN101616136A (en) A kind of method and service integration platform system that Internet service is provided
CN104820944A (en) Method and system for bank self-service terminal authentication, and device
CN105554018B (en) Genuine cyber identification verification method
US20200111082A1 (en) Digital property remittance via telephone numbers through telecom carriers
CN101951321A (en) Device, system and method for realizing identity authentication
CN103546290A (en) Third party certification system with user groups or third party certification method
CN111260304B (en) Trial account management and issuing method and device
CN114329290B (en) Capability open platform and authorized access method thereof
CN111510451A (en) Site management method and device based on block chain
WO2014154058A1 (en) System and method for mobile identity authentication and payment
CN114493581A (en) Label-based cash register code payment method and payment equipment
CN110956461B (en) Method and system for hosting electronic signature and verification
CN110035116A (en) The method and apparatus of user-association

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200807

RJ01 Rejection of invention patent application after publication