CN112561103A - Parking reservation management method, node, device and medium based on block chain - Google Patents

Parking reservation management method, node, device and medium based on block chain Download PDF

Info

Publication number
CN112561103A
CN112561103A CN202011412674.4A CN202011412674A CN112561103A CN 112561103 A CN112561103 A CN 112561103A CN 202011412674 A CN202011412674 A CN 202011412674A CN 112561103 A CN112561103 A CN 112561103A
Authority
CN
China
Prior art keywords
parking
user terminal
block chain
reservation
requested
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
CN202011412674.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 CN202011412674.4A priority Critical patent/CN112561103A/en
Publication of CN112561103A publication Critical patent/CN112561103A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • G08G1/145Traffic control systems for road vehicles indicating individual free spaces in parking areas where the indication depends on the parking areas
    • G08G1/148Management of a network of parking areas
    • 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/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/3247Cryptographic 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 involving digital signatures
    • 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)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The present disclosure provides a parking reservation management method based on a block chain, a block chain node, a terminal device and a computer readable storage medium, wherein the method includes: receiving a first application message sent by a user terminal, wherein the first application message comprises a parking lot or a parking space to be requested; acquiring the reservation states of all parking lots and parking spaces from the block chain; judging whether the parking lot or the parking space to be requested is free or not based on the reservation states of all the parking lots and the parking spaces; and if the parking lot or parking space to be requested is free, generating a successful reservation message of the parking lot or parking space to be requested, and broadcasting the successful reservation message to the block chain. The embodiment of the disclosure utilizes the block chain technology to realize the rapid synchronization of the parking reservation data, improves the reservation parking efficiency of the user, improves the user experience, and simultaneously reduces the labor cost in the parking reservation management process.

Description

Parking reservation management method, node, device and medium based on block chain
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a parking reservation management method based on a block chain, a block chain node point, a terminal device, and a computer-readable storage medium.
Background
With the increasing number of urban vehicles, the problem of parking reservation management is becoming a non-negligible problem.
The parking appointment management method widely adopted at present mainly comprises the following steps: and each parking lot establishes and maintains a respective parking management system, so that a user can reserve or call a reserved parking space and parking time through the parking management system, or the parking lot publishes the use condition of the parking space for the user to refer to, or the user instructs parking or finds the parking space by himself/herself after arriving at the parking lot. In the parking reservation management scheme, each parking lot cannot acquire empty parking spaces and reserved parking space data in real time, the reserved parking space data may be delayed, and each parking lot maintains a system of the parking lot or is in a manual reservation mode or a manual command mode, so that a large amount of manpower and material resources are wasted, and great inconvenience is brought to a user for reserving the parking spaces.
Disclosure of Invention
The present disclosure provides a parking reservation management method based on a block chain, a block chain node, a terminal device, and a computer-readable storage medium to at least solve the above problems.
According to an aspect of the embodiments of the present disclosure, there is provided a parking reservation management method based on a block chain, applied to a block chain node, including:
receiving a first application message sent by a user terminal, wherein the first application message comprises a parking lot or a parking space to be requested;
acquiring the reservation states of all parking lots and parking spaces from the block chain;
judging whether the parking lot or the parking space to be requested is free or not based on the reservation states of all the parking lots and the parking spaces;
and if the parking lot or parking space to be requested is free, generating a successful reservation message of the parking lot or parking space to be requested, and broadcasting the successful reservation message to a block chain.
In one embodiment, before receiving the first application message sent by the user terminal, the method further includes:
receiving a second application message sent by a user terminal, wherein the second application message comprises parking reservation information;
matching all parking lots or parking spaces meeting preset conditions for the user terminal based on the parking reservation information; and the number of the first and second groups,
and sending the parking lots or the parking spaces meeting the preset conditions to the user terminal so that the user terminal selects the parking lots or the parking spaces to be requested from the parking lots or the parking spaces meeting the preset conditions.
In one embodiment, the parking reservation information includes a parking time, a parking date, and a parking position.
In one embodiment, the first application message further includes identity information of the user terminal,
after receiving the first application message sent by the user terminal and before acquiring the reservation states of all parking lots and parking spaces from the block chain, the method further includes:
and judging whether the identity of the user terminal is valid or not according to the identity information of the user terminal, and if so, executing the step of acquiring the reservation states of all parking lots and parking spaces from the block chain.
In one embodiment, the first application message is obtained by encrypting the parking lot or parking space to be requested and the identity information of the user terminal,
the determining whether the identity of the user terminal is valid according to the identity information of the user terminal includes:
broadcasting the first application message into a block chain so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the identity information, and verifying and signing the identity information respectively to obtain respective signing results;
receiving the respective signature results of all other block chain link points, and judging whether the respective signature results of all other block chain link points are consistent;
and if the identity of the user terminal is consistent with the identity of the user terminal, judging that the identity of the user terminal is valid.
In one embodiment, the first application information further includes a digital signature of the user terminal, the first application information is obtained by encrypting the parking lot or parking space to be requested and the digital signature of the user terminal, the digital signature is obtained by encrypting the identity information of the user terminal,
after receiving the first application message sent by the user terminal and before acquiring the reservation states of all parking lots and parking spaces from the block chain, the method further includes:
broadcasting the first application message into a block chain so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the digital signature, decrypting the digital signature respectively to obtain the identity information of the user terminal, and verifying and signing the identity information respectively to obtain respective signature results;
receiving the respective signature results of all other block chain link points, and judging whether the respective signature results of all other block chain link points are consistent;
and if the parking spaces are consistent with the parking spaces, judging that the identities of the user terminals are valid, and then executing the step of acquiring the reservation states of all the parking lots and the parking spaces from the block chain.
In one embodiment, the method further comprises:
receiving a registration message of a user terminal, wherein the registration message comprises identity information of the user terminal;
performing identity registration on the user terminal in a block chain based on the registration message of the user terminal; and the number of the first and second groups,
and carrying out Hash operation on the identity information by using a random function to obtain a digital signature after encrypting the identity information, and returning the digital signature to the user terminal. According to another aspect of the disclosed embodiments, there is provided a block link point including:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first application message sent by a user terminal, and the first application message comprises a parking lot or a parking space to be requested;
the acquisition module is set to acquire the reservation states of all parking lots and parking spaces from the block chain;
the judging module is arranged for judging whether the parking lot or the parking space to be requested is free or not based on the reservation states of all the parking lots and the parking spaces;
and the generation and broadcasting module is set to generate an appointment success message based on the parking lot or parking space to be requested when the judgment module judges that the parking lot or parking space to be requested is free, and broadcast the appointment success message to the block chain.
According to still another aspect of the embodiments of the present disclosure, there is provided a terminal device including a memory and a processor, the memory having a computer program stored therein, and the processor executing the block chain-based parking reservation management method when the processor runs the computer program stored in the memory.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, the processor executing the parking reservation management method.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the parking reservation management method based on the block chain provided by the embodiment of the disclosure receives a first application message sent by a user terminal, wherein the first application message comprises a parking lot or a parking space to be requested; acquiring the reservation states of all parking lots and parking spaces from the block chain; judging whether the parking lot or the parking space to be requested is free or not based on the reservation states of the parking lot and the parking space; and if the parking lot or parking space to be requested is free, generating an appointment success message based on the parking lot or parking space to be requested, and broadcasting the appointment success message to the block chain. The embodiment of the disclosure utilizes the block chain technology, can at least realize the rapid synchronization of the parking reservation data, improves the reservation parking efficiency of the user, improves the user experience, and simultaneously reduces the labor cost in the parking reservation management process.
Additional features and advantages of the disclosure will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the disclosure. The objectives and other advantages of the disclosure may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosed embodiments and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the example serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a schematic flowchart of a parking reservation management method based on a block chain according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another parking reservation management method based on a block chain according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another parking reservation management method based on a block chain according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a block link point according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, specific embodiments of the present disclosure are described below in detail with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order; also, the embodiments and features of the embodiments in the present disclosure may be arbitrarily combined with each other without conflict.
In which the terminology used in the embodiments of the disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in the disclosed embodiments and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for the convenience of explanation of the present disclosure, and have no specific meaning in themselves. Thus, "module", "component" or "unit" may be used mixedly.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a parking reservation management method based on a block chain according to an embodiment of the present disclosure, where the method is applied to a block chain node, and specifically includes steps S101 to S104.
In step S101, a first application message sent by a user terminal is received, where the first application message includes a parking lot or a parking space to be requested.
In this embodiment, when a user needs to make a parking reservation, a first application message is sent to the blockchain system, and after receiving the first application message, any blockchain node of the blockchain system processes the first application message, where the first application message includes a parking lot or a parking space to be requested, where the parking lot is a parking lot specified by the user and does not define a certain parking space, and the parking space refers to a specific certain parking space.
In step S102, reservation states of all parking lots and parking spaces are acquired from the block chain.
Specifically, the reservation states of the parking lots and the parking spaces of the parking lots are synchronized into the block chain system in real time, so that the synchronization of parking reservation data is realized, and after receiving the first application message, the block chain link points acquire the reservation state of a parking lot or a parking space which a user needs to reserve from the block chain and judge whether the parking lot or the parking space is in an idle state.
Compared with the related art, when a user needs to reserve a parking space, the parking system cannot rapidly realize real-time sharing and synchronization of reserved state data of the parking lot, so that delay may exist in the situation of parking reservation, the parking efficiency of the user is low, each parking lot maintains the own system, or manual reservation and manual command are realized, a great deal of manpower and material resources are wasted, great inconvenience is brought to the user for reserving the parking space, the block chain technology is utilized in the embodiment, rapid synchronization of the reserved parking data is realized, reserved parking efficiency of the user is improved, and user experience is improved.
In step S103, it is determined whether the parking lot or parking space to be requested is free based on the reservation states of all parking lots and parking spaces, if the parking lot or parking space to be requested is free, step S104 is executed, otherwise, the process is ended, or other adjacent parking lots or parking spaces are recommended to the user terminal for the user to select.
It can be understood that a parking space in the parking lot is empty, that is, the parking lot is empty.
In step S104, a successful reservation message for the parking lot or parking space to be requested is generated and broadcasted to the block chain.
In the embodiment, after the parking lot or the parking space requested by the user is judged to be free, the reservation success message is generated and synchronized into the block chain in real time, and when other users make parking reservations, the data can be quickly updated and the parking reservations can be efficiently processed.
Referring to fig. 2, fig. 2 is a schematic flow chart of a parking reservation management method based on a block chain according to another embodiment of the present disclosure, in order to improve the efficiency of parking reservation of a user and improve the utilization rate of parking resources, this embodiment matches a qualified parking lot or parking space for the user according to the user' S requirement in a manner of a second application message on the basis of the previous embodiment, for the user to select, specifically, before step S101, further includes steps S201 to S203.
In step S201, a second application message sent by the user terminal is received, where the second application message includes parking reservation information.
Specifically, the parking reservation information includes a parking time (including a parking start time and a parking end time), a parking date, and a parking position. In some embodiments, the parking lot information may further include other parking reservation information such as license plate information and parking lot names, and the block link points recommend parking lots or parking spaces meeting parking requirements for the block link points according to the actual parking reservation information of the user, so as to improve the parking reservation experience of the user.
In step S202, all parking lots or parking spaces meeting the preset condition are matched for the user terminal based on the parking reservation information.
Specifically, a parking sensing device and a parking space sensing device can be arranged in each parking lot, parking space state information is acquired and uploaded to a block chain, and all parking factories or parking spaces meeting preset conditions are matched for a user terminal by block chain nodes from the block chain based on parking reservation information of users.
It should be noted that, a person skilled in the art may set the preset condition according to actual situations, for example, a parking lot meeting the parking time and date of the user within the range of the parking position 500m in the user parking reservation information is defined as meeting the preset condition.
In step S203, all parking lots or parking spaces meeting the preset condition are sent to the user terminal, so that the user terminal selects a parking lot or parking space to be requested from all parking lots or parking spaces meeting the preset condition.
In this embodiment, utilize the data synchronism of block chain, can effectively solve each parking area and can not acquire empty parking stall and reservation parking stall data in real time, lead to the problem that resource utilization is low, further improve the parking and reserve management efficiency, promote the user to park the reservation and experience simultaneously.
Referring to fig. 3, fig. 3 is a flowchart illustrating a parking reservation management method based on a block chain according to another embodiment of the present disclosure, in order to ensure orderly and safe parking reservation and improve efficiency of parking reservation management, on the basis of the previous embodiment, the present embodiment verifies an identity of a user terminal, and further processes application information of a user, so as to ensure safety and effectiveness of a parking reservation management process, specifically, the first application message further includes the identity information of the user terminal, and after step S101 and before step S102, step S301 is further included.
In step S301, it is determined whether the identity of the user terminal is valid according to the identity information of the user terminal, if so, step S102 is executed to acquire the reservation states of all parking lots and parking spaces from the block chain, otherwise, the process is ended.
In one embodiment, the first application message is obtained by encrypting the identity information of the parking lot or parking space to be requested and the user terminal,
the determining whether the identity of the user terminal is valid according to the identity information of the user terminal includes:
broadcasting the first application message into a block chain so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the identity information, and verifying and signing the identity information respectively to obtain respective signing results;
receiving the respective signature results of all other block chain link points, and judging whether the respective signature results of all other block chain link points are consistent;
and if the identity of the user terminal is consistent with the identity of the user terminal, judging that the identity of the user terminal is valid.
Further, when the block link point broadcasts the first application message to the block chain, the first application message is stamped with a timestamp according to the current time so as to record the data uploading time, and the subsequent tracing is facilitated.
Specifically, the encryption of the parking lot or parking space to be requested and the user identity information and the decryption of the first application message may be implemented by using a public key encryption and private key decryption manner, wherein the user terminal uses the public key to encrypt the parking lot or parking space to be requested and the user identity information to obtain the first application message, the block chain node uses the private key to decrypt the first application message to obtain the parking lot or parking space to be requested and the user identity information, wherein the public key and the private key may be generated by the user terminal when the user terminal registers in the block chain system, the public key is distributed to the user terminal, and the private key is stored in the block chain.
In the embodiment, the parking reservation data is encrypted and transmitted, so that the data is prevented from being tampered in the transmission process, the data safety is improved, and unnecessary situations such as incapability of reservation and the like caused by the error problem of the reserved data are avoided.
In another embodiment, the first application information further includes a digital signature of the user terminal, the first application information is obtained by encrypting the parking lot or parking space to be requested and the digital signature of the user terminal, the digital signature is obtained by encrypting the identity information of the user terminal,
after receiving the first application message sent by the user terminal and before acquiring the reservation status of all parking lots and parking spaces from the block chain (i.e., after step S101 and before step S102), the method further includes the following steps:
broadcasting the first application message into a block chain so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the digital signature, decrypting the digital signature respectively to obtain the identity information of the user terminal, and verifying and signing the identity information respectively to obtain respective signature results;
receiving the respective signature results of all other block chain link points, and judging whether the respective signature results of all other block chain link points are consistent;
and if the parking spaces are consistent with the parking spaces, judging that the identities of the user terminals are valid, and then executing the step of acquiring the reservation states of all the parking lots and the parking spaces from the block chain.
It can be understood that each other block chain link point verifies and signs the identity information, and compares the decrypted user identity information with the user identity information pre-stored in the block chain, where the block chain may store the user identity information after the user terminal completes registration, so as to facilitate comparison of the user identity information in a later period, and certainly, the block chain may also use other manners, which is not limited in this embodiment and is not described herein again.
Different from the previous embodiment, the real-time mode further encrypts the identity information of the user and transmits the identity information in a digital signature mode, so that the safety of the user identity identification process is further improved, and the validity and the authenticity of the user identity are ensured.
Further, the user terminal registers in the block chain through the block chain node, and the user terminal is used as a legal user of parking reservation, so that parking reservation management is facilitated, specifically, the method further comprises the following steps:
receiving a registration message of a user terminal, wherein the registration message comprises identity information of the user terminal;
performing identity registration on the user terminal in a block chain based on the registration message of the user terminal; and the number of the first and second groups,
and carrying out Hash operation on the identity information by using a random function to obtain a digital signature after encrypting the identity information, and returning the digital signature to the user terminal.
Based on the same technical concept, embodiments of the present disclosure correspondingly provide a block link node, as shown in fig. 4, the block link node includes:
a first receiving module 41, configured to receive a first application message sent by a user terminal, where the first application message includes a parking lot or a parking space to be requested;
an obtaining module 42 configured to obtain the reservation status of all parking lots and parking spaces from the block chain;
a determining module 43 configured to determine whether the parking lot or parking space to be requested is free based on the reservation status of all parking lots and parking spaces;
and a generating and broadcasting module 44 configured to generate a reservation success message for the parking lot or parking space to be requested when the determining module determines that the parking lot or parking space to be requested is free, and broadcast the reservation success message to the block chain.
In one embodiment, the method further comprises:
the second receiving module is arranged to receive a second application message sent by the user terminal before the first receiving module receives the first application message, wherein the second application message comprises parking reservation information;
the matching module is set to match all parking lots or parking spaces meeting preset conditions for the user terminal based on the parking reservation information; and the number of the first and second groups,
and the sending module is configured to send all the parking lots or parking spaces meeting the preset conditions to the user terminal, so that the user terminal selects a parking lot or parking space to be requested from all the parking lots or parking spaces meeting the preset conditions. .
In one embodiment, the parking reservation information includes a parking time, a parking date, and a parking location.
In one embodiment, the first application message further includes identity information of the user terminal,
the judging module is further configured to judge whether the identity of the user terminal is valid according to the identity information of the user terminal after the first receiving module receives the first application message sent by the user terminal and before the acquiring module acquires the reservation states of all parking lots and parking spaces from the block chain, and if so, execute the step of acquiring the reservation states of all parking lots and parking spaces from the block chain.
In one embodiment, the first application message is obtained by encrypting the parking lot or parking space to be requested and the identity information of the user terminal,
the judging module comprises:
the broadcasting unit is configured to broadcast the first application message to a block chain, so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the identity information, and verify and sign the identity information respectively to obtain respective signature results;
the receiving unit is used for receiving the respective signature results of all other block chain link points and judging whether the respective signature results of all other block chain link points are consistent or not;
and the judging unit is set to judge that the identity of the user terminal is valid when the respective signature results of all other block chain nodes are consistent.
In one embodiment, the first application information further includes a digital signature of the user terminal, the first application information is obtained by encrypting the parking lot or parking space to be requested and the digital signature of the user terminal, the digital signature is obtained by encrypting the identity information of the user terminal,
the block chain node further includes:
after receiving the first application message sent by the user terminal and before acquiring the reservation states of all parking lots and parking spaces from the block chain,
a broadcasting module configured to broadcast the first application message to a block chain after the first receiving module receives the first application message and before the acquiring module acquires the reservation state, so that all other block link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and a digital signature, decrypt the digital signature to obtain identity information of the user terminal, and then verify and sign the identity information respectively to obtain signature results thereof;
the third receiving module is configured to receive the respective signature results of all other block link points and judge whether the respective signature results of all other block link points are consistent;
and the judging module is set to judge that the identity of the user terminal is valid when the respective signature results of all other block link points are consistent.
In one embodiment, the blockchain node further comprises:
a fourth receiving module, configured to receive a registration message of a user terminal, where the registration message includes identity information of the user terminal;
a registration module configured to perform identity registration for the user terminal in a blockchain based on a registration message of the user terminal; and the number of the first and second groups,
and the encryption module is configured to perform hash operation on the identity information by using a random function to obtain a digital signature obtained by encrypting the identity information, and return the digital signature to the user terminal.
In some embodiments, the present disclosure constructs a system and an apparatus for performing safe and efficient management on processes of initiation, confirmation, parking space reservation, and parking space release of a parking reservation based on an internet of things technology and a block chain technology. The system and the device comprise network entities such as a parking space management platform, a parking lot sensing device, a parking space sensing device, user terminal equipment and the like, and a block chain system consisting of block chain nodes deployed on the network entities. The block chain system realizes the work of parking space reservation application initiation, information transmission, parking space confirmation, parking space reservation, parking space release, record preservation, privacy protection and the like in the parking reservation management process through methods such as distributed storage, digital signature, encryption technology, safety algorithm, privacy protection strategy and the like, provides safe and effective guarantee for a user to reserve a parking space on line, thereby effectively solving a series of problems of difficult parking, difficult parking space finding and the like and bringing great convenience to the user for going out.
Based on the same technical concept, the embodiment of the present disclosure correspondingly provides a terminal device, as shown in fig. 5, the terminal device includes a memory 51 and a processor 52, the memory 51 stores a computer program, and when the processor 52 runs the computer program stored in the memory 51, the processor 52 executes the parking reservation management method based on the blockchain.
Based on the same technical concept, embodiments of the present disclosure correspondingly provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the processor executes the parking reservation management method.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present disclosure, and not for limiting the same; while the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present disclosure.

Claims (10)

1. A parking reservation management method based on a block chain is applied to a block chain node and is characterized by comprising the following steps:
receiving a first application message sent by a user terminal, wherein the first application message comprises a parking lot or a parking space to be requested;
acquiring the reservation states of all parking lots and parking spaces from the block chain;
judging whether the parking lot or the parking space to be requested is free or not based on the reservation states of all the parking lots and the parking spaces;
and if the parking lot or parking space to be requested is free, generating a successful reservation message of the parking lot or parking space to be requested, and broadcasting the successful reservation message to a block chain.
2. The method of claim 1, further comprising, before receiving the first application message sent by the user terminal:
receiving a second application message sent by a user terminal, wherein the second application message comprises parking reservation information;
matching all parking lots or parking spaces meeting preset conditions for the user terminal based on the parking reservation information; and the number of the first and second groups,
and sending the parking lots or the parking spaces meeting the preset conditions to the user terminal so that the user terminal selects the parking lots or the parking spaces to be requested from the parking lots or the parking spaces meeting the preset conditions.
3. The method of claim 2, wherein the parking reservation information includes a parking time, a parking date, and a parking location.
4. The method of claim 1, wherein the first application message further includes identity information of the UE,
after receiving the first application message sent by the user terminal and before acquiring the reservation states of all parking lots and parking spaces from the block chain, the method further includes:
and judging whether the identity of the user terminal is valid or not according to the identity information of the user terminal, and if so, executing the step of acquiring the reservation states of all parking lots and parking spaces from the block chain.
5. The method according to claim 4, wherein the first application message is obtained by encrypting the parking lot or parking space to be requested and the identity information of the user terminal,
the determining whether the identity of the user terminal is valid according to the identity information of the user terminal includes:
broadcasting the first application message into a block chain so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the identity information, and verifying and signing the identity information respectively to obtain respective signing results;
receiving the respective signature results of all other block chain link points, and judging whether the respective signature results of all other block chain link points are consistent;
and if the identity of the user terminal is consistent with the identity of the user terminal, judging that the identity of the user terminal is valid.
6. The method according to claim 1, wherein the first application information further includes a digital signature of the user terminal, the first application information is obtained by encrypting the digital signature of the parking lot or parking space to be requested and the user terminal, the digital signature is obtained by encrypting the identity information of the user terminal,
after receiving the first application message sent by the user terminal and before acquiring the reservation states of all parking lots and parking spaces from the block chain, the method further includes:
broadcasting the first application message into a block chain so that all other block chain link points decrypt the first application message respectively to obtain the parking lot or parking space to be requested and the digital signature, decrypting the digital signature respectively to obtain the identity information of the user terminal, and verifying and signing the identity information respectively to obtain respective signature results;
receiving the respective signature results of all other block chain link points, and judging whether the respective signature results of all other block chain link points are consistent;
and if the parking spaces are consistent with the parking spaces, judging that the identities of the user terminals are valid, and then executing the step of acquiring the reservation states of all the parking lots and the parking spaces from the block chain.
7. The method of claim 1, further comprising:
receiving a registration message of a user terminal, wherein the registration message comprises identity information of the user terminal;
performing identity registration on the user terminal in a block chain based on the registration message of the user terminal; and the number of the first and second groups,
and carrying out Hash operation on the identity information by using a random function to obtain a digital signature after encrypting the identity information, and returning the digital signature to the user terminal.
8. A block link point, comprising:
the system comprises a first receiving module, a second receiving module and a third receiving module, wherein the first receiving module is used for receiving a first application message sent by a user terminal, and the first application message comprises a parking lot or a parking space to be requested;
the acquisition module is set to acquire the reservation states of all parking lots and parking spaces from the block chain;
the judging module is arranged for judging whether the parking lot or the parking space to be requested is free or not based on the reservation states of all the parking lots and the parking spaces;
and the generation and broadcasting module is set to generate an appointment success message based on the parking lot or parking space to be requested when the judgment module judges that the parking lot or parking space to be requested is free, and broadcast the appointment success message to the block chain.
9. A terminal device characterized by comprising a memory in which a computer program is stored and a processor that executes the block chain-based parking reservation management method according to any one of claims 1 to 7 when the processor runs the computer program stored in the memory.
10. A computer-readable storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the processor executes the parking reservation management method according to any of claims 1 to 7.
CN202011412674.4A 2020-12-04 2020-12-04 Parking reservation management method, node, device and medium based on block chain Pending CN112561103A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011412674.4A CN112561103A (en) 2020-12-04 2020-12-04 Parking reservation management method, node, device and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011412674.4A CN112561103A (en) 2020-12-04 2020-12-04 Parking reservation management method, node, device and medium based on block chain

Publications (1)

Publication Number Publication Date
CN112561103A true CN112561103A (en) 2021-03-26

Family

ID=75048911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011412674.4A Pending CN112561103A (en) 2020-12-04 2020-12-04 Parking reservation management method, node, device and medium based on block chain

Country Status (1)

Country Link
CN (1) CN112561103A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645200A (en) * 2021-07-26 2021-11-12 苏州喜全软件科技有限公司 Thing networking device operating system based on block chain
CN114038230A (en) * 2021-10-25 2022-02-11 深圳市神州路路通网络科技有限公司 Shared parking lot parking space recommendation method and system, computer equipment and storage medium
CN114866261A (en) * 2022-07-06 2022-08-05 环球数科集团有限公司 Restriction-free application processing system based on block chain technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105575167A (en) * 2015-12-25 2016-05-11 张亦煌 Intelligent reservation parking system
CN108154704A (en) * 2017-12-27 2018-06-12 武汉邮电科学研究院 Wisdom shutdown system and method based on block chain
CN109920270A (en) * 2019-03-22 2019-06-21 广东安居宝数码科技股份有限公司 A kind of parking management method, block chain network and storage medium
US20190325522A1 (en) * 2018-04-18 2019-10-24 Conduent Business Services, Llc Blockchain driven unified multi-party system and method for monitored transactions of urban assets

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105575167A (en) * 2015-12-25 2016-05-11 张亦煌 Intelligent reservation parking system
CN108154704A (en) * 2017-12-27 2018-06-12 武汉邮电科学研究院 Wisdom shutdown system and method based on block chain
US20190325522A1 (en) * 2018-04-18 2019-10-24 Conduent Business Services, Llc Blockchain driven unified multi-party system and method for monitored transactions of urban assets
CN109920270A (en) * 2019-03-22 2019-06-21 广东安居宝数码科技股份有限公司 A kind of parking management method, block chain network and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645200A (en) * 2021-07-26 2021-11-12 苏州喜全软件科技有限公司 Thing networking device operating system based on block chain
CN114038230A (en) * 2021-10-25 2022-02-11 深圳市神州路路通网络科技有限公司 Shared parking lot parking space recommendation method and system, computer equipment and storage medium
CN114866261A (en) * 2022-07-06 2022-08-05 环球数科集团有限公司 Restriction-free application processing system based on block chain technology

Similar Documents

Publication Publication Date Title
CN112561103A (en) Parking reservation management method, node, device and medium based on block chain
CN111510485B (en) OTA upgrade package downloading method, device, vehicle end and server
US9742569B2 (en) System and method for filtering digital certificates
US9077698B2 (en) Group security in machine-type communication
CN107005844B (en) Communication method and related device
RU2008109827A (en) MOBILE STATION, RADIO ACCESS NETWORK DEVICE, MOBILE SWITCHING STATION, MOBILE COMMUNICATION SYSTEM AND METHOD OF GIVING ACCESS TO COMMUNICATION SERVICES
EP2816755A1 (en) Encryption communication system, communication device, key distribution device, encryption communication method
CN111194034B (en) Authentication method and device
CN109756336B (en) Authentication method, V2X computing system and V2X computing node
JP2012227672A (en) Inter-vehicle/road-to-vehicle communication system
CN105577613A (en) Secret key information transmitting method, secret key information receiving method, equipment and system thereof
CN110719620B (en) Terminal access method and system
CN112507352B (en) Data sharing method and system based on block chain
CN111464536B (en) Block chain cross-chain method and device
CN108076016B (en) Authentication method and device between vehicle-mounted devices
KR101321080B1 (en) Method of message batch verification scheme using bloom filter in vanet
CN111246474A (en) Base station authentication method and device
CN113115309B (en) Data processing method and device for Internet of vehicles, storage medium and electronic equipment
CN107005913A (en) Verification method, user equipment and the adjacent service functional entity of adjacent service communication
CN112235290B (en) Block chain-based Internet of things equipment management method and first Internet of things equipment
CN113163399B (en) Communication method and device for terminal and server
CN110958598A (en) Binding authentication method and device for mobile terminal and SIM card
CN109379190B (en) Key distribution method, device, computer equipment and storage medium
US20100042836A1 (en) Method for securely transmitting device management message via broadcast channel and server and terminal thereof
CN112988412B (en) Edge caching method, base station and system based on block chain network

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