CN108877290B - Parking space scheduling method, device, equipment and storage medium - Google Patents

Parking space scheduling method, device, equipment and storage medium Download PDF

Info

Publication number
CN108877290B
CN108877290B CN201810879720.8A CN201810879720A CN108877290B CN 108877290 B CN108877290 B CN 108877290B CN 201810879720 A CN201810879720 A CN 201810879720A CN 108877290 B CN108877290 B CN 108877290B
Authority
CN
China
Prior art keywords
parking space
user
node
parking
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810879720.8A
Other languages
Chinese (zh)
Other versions
CN108877290A (en
Inventor
田新雪
马书惠
肖征荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810879720.8A priority Critical patent/CN108877290B/en
Publication of CN108877290A publication Critical patent/CN108877290A/en
Application granted granted Critical
Publication of CN108877290B publication Critical patent/CN108877290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07BTICKET-ISSUING APPARATUS; FARE-REGISTERING APPARATUS; FRANKING APPARATUS
    • G07B15/00Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points
    • G07B15/02Arrangements or apparatus for collecting fares, tolls or entrance fees at one or more control points taking into account a variable factor such as distance or time, e.g. for passenger transport, parking systems or car rental systems

Abstract

The embodiment of the invention provides a parking space scheduling method, a parking space scheduling device, parking space scheduling equipment and a storage medium. The method comprises the following steps: the user node sends parking time required by a vehicle of a user and identification information of a parking space preset by the user to a timestamp server; the user node receives the time stamp which is sent by the time stamp server and distributed to the parking time required by the vehicle of the user and the identification information by the time stamp server; and the user node broadcasts the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when the parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node. The embodiment of the invention improves the fairness of the reserved occupation of the parking space.

Description

Parking space scheduling method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a parking space scheduling method, a parking space scheduling device, parking space scheduling equipment and a storage medium.
Background
With the continuous development of the automobile industry, vehicles have become indispensable vehicles for people to go out daily, in particular to household vehicles.
When going out, the user needs to park the vehicle in the parking lot, but if the parking lot has fewer parking spaces and the number of vehicles needing to be parked is large, some users cannot park the vehicle. In the prior art, a user can send reservation information to a server through terminal equipment to realize reservation of a parking space, when different users have time conflict with reservation of the same parking space, the server can determine users of the available parking space according to timestamps of the reservation information sent by the terminal equipment of the different users, but the parking space reservation is not fair due to the fact that the timestamps are possibly forged.
Disclosure of Invention
The embodiment of the invention provides a parking space scheduling method, a parking space scheduling device, parking space scheduling equipment and a storage medium, and aims to improve fairness of reserved parking space occupation.
In a first aspect, an embodiment of the present invention provides a parking space scheduling method, including:
the user node sends parking time required by a vehicle of a user and identification information of a parking space preset by the user to a timestamp server;
the user node receives the time stamp which is sent by the time stamp server and distributed to the parking time required by the vehicle of the user and the identification information by the time stamp server;
and the user node broadcasts the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when the parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node.
In a second aspect, an embodiment of the present invention provides a parking space scheduling apparatus, including:
the system comprises a sending module, a timestamp server and a control module, wherein the sending module is used for sending parking time required by a vehicle of a user and identification information of a parking space preset by the user to the timestamp server;
the receiving module is used for receiving the time stamp which is sent by the time stamp server and is distributed to the parking time required by the vehicle of the user and the identification information by the time stamp server;
the sending module is further configured to: broadcasting the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when the parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node.
In a third aspect, an embodiment of the present invention provides a terminal device, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
The parking space scheduling method, the device, the equipment and the storage medium provided by the embodiment of the invention send the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the timestamp server through the user node, the timestamp server distributes the information sent by the user node with a timestamp, the user node broadcasts the timestamp distributed by the timestamp server, the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the block chain network, when the user node and other user nodes preset the same parking space and the time of the parking space which is expected to be occupied by the user node and other user nodes conflicts, the parking space node corresponding to the parking space determines the user occupying the parking space according to the timestamps which are respectively obtained from the timestamp server by the user node and other user nodes, thereby avoiding the timestamp from being forged, the fairness of parking space reservation occupation is improved.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of a parking space scheduling method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an application scenario provided in the embodiment of the present invention;
fig. 4 is a flowchart of a parking space scheduling method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a parking space scheduling apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The parking space scheduling method provided by the invention can be applied to the communication system shown in fig. 1. As shown in fig. 1, the communication system includes: access network device 11, terminal device 12 and server 13. It should be noted that the communication System shown in fig. 1 may be applicable to different network formats, for example, may be applicable to Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability and Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the access Network device 11 may be a Base Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gbb) in a future 5G Network, and the present invention is not limited thereto.
The terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device 12 may also be a smart watch, a tablet computer, or the like. The terminal device 12 and the server 13 may be nodes in a blockchain network.
The invention provides a parking space scheduling method, and aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a parking space scheduling method according to an embodiment of the present invention. The embodiment of the invention provides a parking space scheduling method aiming at the technical problems in the prior art, and the method comprises the following specific steps:
step 201, the user node sends the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user to a timestamp server.
The user node in this embodiment may specifically be the terminal device 31 or the terminal device 35 shown in fig. 3. Further, 32 and 33 respectively represent parking space nodes, 34 represents a timestamp server, and the terminal device 31, the terminal device 35, the parking space node 32, the parking space node 33, and the timestamp server 34 may be nodes in a block chain network. The present invention is only illustrative, and does not limit the specific structure of the blockchain network, and in other embodiments, the blockchain network may further include other nodes. In this embodiment, the parking space node may specifically be a communication device or a communication apparatus arranged in a parking lot, optionally, the parking lot has a plurality of parking spaces, and each parking space corresponds to one parking space node, or one parking space node corresponds to a plurality of parking spaces. Optionally, each parking space corresponds to one unique identification information in the block chain network.
In this embodiment, a parking space node corresponding to each parking space is taken as an example for schematic explanation. When the user of the terminal device 31 needs to reserve a parking space, the terminal device 31 sends the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user to the timestamp server 34, and it can be understood that the parking time required by the vehicle of the user is the time period in which the parking space predetermined by the user is occupied.
Alternatively, the terminal device 31 signs the parking time required for the vehicle of the user and the identification information of the parking space predetermined by the user with its own private key, and sends the signature to the timestamp server 34.
Step 202, the user node receives the time stamp sent by the time stamp server and distributed by the time stamp server to the parking time required by the vehicle of the user and the identification information.
When the time stamp server 34 receives the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user, which are sent by the terminal device 31, the time stamp server 34 assigns a time stamp to the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user, and optionally, the time stamp is a time stamp local to the time stamp server 34 when the time stamp server 34 receives the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user, which are sent by the terminal device 31. The time stamp server 34 may transmit the time stamp, the time required for parking the user vehicle signed by the terminal device 31, and the identification information of the parking space predetermined by the user to the terminal device 31 together, upon receiving the time required for parking the user vehicle signed by the terminal device 31 and the identification information of the parking space predetermined by the user. Optionally, the timestamp server 34 signs the timestamp, the parking time required by the vehicle of the user signed by the terminal device 31, and the identification information of the parking space predetermined by the user with its own private key, and then sends the signature to the terminal device 31.
Step 203, the user node broadcasts the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when the parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node.
When the terminal device 31 receives the time stamp signed by the time stamp server 34, the parking time required for the user vehicle and the identification information of the parking space reserved by the user signed by the terminal device 31, the terminal device 31 broadcasts the time stamp, the parking time required for the user vehicle and the identification information of the parking space reserved by the user into the blockchain network. Alternatively, the terminal device 31 may employ its own private key to sign the timestamp, the parking time required by the vehicle of the user, and the identification information of the parking space predetermined by the user, and then broadcast the signature to the blockchain network.
It is understood that the terminal device 35 and the terminal device 31 belong to different users, for example, the terminal device 31 corresponds to the user a, the terminal device 35 corresponds to the user B, and the terminal device 31 broadcasts the parking time required for the vehicle of the user a, the identification information of the parking space predetermined by the user a, and the timestamp acquired by the terminal device 31 from the timestamp server 34 in the blockchain network. Similarly, the terminal device 35 broadcasts the parking time required for the vehicle of the user B, the identification information of the parking space predetermined by the user B, and the time stamp acquired by the terminal device 35 from the time stamp server 34 in the blockchain network.
Optionally, the parking space reserved by the user a and the parking space reserved by the user B may be the same, that is, the identification information of the parking space reserved by the user a and the identification information of the parking space reserved by the user B may be the same, assuming that the parking space reserved by the user a and the parking space reserved by the user B are the same, the parking space node corresponding to the parking space reserved by the user a and the parking space reserved by the user B is the parking space node 32, the parking space node 32 may receive the parking time required for the vehicle of the user a and the identification information of the parking space reserved by the user a transmitted from the terminal device 31 and the timestamp acquired by the terminal device 31 from the timestamp server 34 within a preset time range, and receiving the parking time required for the vehicle of the user B, the identification information of the parking space predetermined by the user B, and the time stamp acquired by the terminal device 35 from the time stamp server 34, which are transmitted by the terminal device 35. In other embodiments, the terminal devices in the blockchain network are not limited to the terminal device 31 and the terminal device 35, that is, the parking space node 32 may also receive the parking time required by the vehicle of the other user, the identification information of the parking space reserved by the other user, and the timestamp acquired by the other terminal device from the timestamp server 34, which are sent by the other terminal device. That is, within the preset time range, the parking space node 32 may receive the parking time required for the vehicle of the user, the identification information of the parking space predetermined by the user, and the timestamp acquired by the terminal device from the timestamp server 34, which are sent by at least one terminal device.
In this embodiment, the parking time required for the vehicle of the user a and the parking time required for the vehicle of the user B may overlap or partially overlap, that is, the time in which the user a and the user B are expected to occupy the same parking space may conflict. In this case, the parking space node 32 may compare the timestamp acquired by the terminal device 31 from the timestamp server 34 with the timestamp acquired by the terminal device 35 from the timestamp server 34, and if the timestamp acquired by the terminal device 31 from the timestamp server 34 corresponds to a time earlier than the timestamp acquired by the terminal device 35 from the timestamp server 34, the parking space node 32 determines that the user a corresponding to the terminal device 31 occupies the parking space within the vehicle required parking time of the user a. That is, the terminal device 31 is a target user node determined by the parking space node 32 from the terminal device 31 and the terminal device 35. And vice versa, and will not be described in detail herein.
Optionally, when the user node is the target user node, the user node and the parking space node sign an intelligent contract, where the intelligent contract includes signature information of the user node and signature information of the parking space node.
For example, the terminal device 31 is a target user node determined by the parking space node 32 from the terminal device 31 and the terminal device 35, and the terminal device 31 and the parking space node 32 sign an intelligent contract, where the intelligent contract may specifically include identification information of the parking space node 32 and the terminal device 31 in a blockchain network, a time period for the terminal device 31 to reserve and occupy a parking space corresponding to the parking space node 32, parking charge information, and the like. Optionally, the intelligent contract may be generated by the parking space node 32, the parking space node 32 generates the intelligent contract, signs a signature with its own private key and broadcasts the signature to the blockchain network, and after the terminal device 31 receives the intelligent contract sent by the parking space node 32 from the blockchain network, the terminal device 31 broadcasts the intelligent contract to the blockchain network after signing the intelligent contract again with its own private key, so that the intelligent contract takes effect formally. After the terminal device 35 receives the intelligent contract sent by the parking space node 32 from the blockchain network, it is determined that the terminal device 31 and the parking space node 32 sign the intelligent contract, and then the user B corresponding to the terminal device 35 may continue to select another parking space for reservation, or select another time period of the same parking space reserved by the terminal device 31 and the terminal device 35.
In addition, in other embodiments, after the user node signs an intelligent contract with the parking space node, the method further includes: and the user node broadcasts transfer information in the block chain network according to the intelligent contract, wherein the transfer information is used for showing that the user node transfers money to the target parking space node.
After the parking space node 32 and the terminal device 31 sign an intelligent contract, the user of the terminal device 31 arrives at the parking space corresponding to the parking space node 32 according to the time period that the user vehicle agreed in the intelligent contract occupies the parking space, further, the terminal device 31 sends transfer information to the parking space node 32 according to the parking charge information agreed in the intelligent contract, and optionally, the terminal device 31 broadcasts the transfer information in the block chain network. Optionally, the terminal device 31 signs the transfer information with its own private key and broadcasts the signed transfer information to the blockchain network.
The embodiment of the invention sends the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the time stamp server through the user node, the time stamp server distributes the time stamp to the information sent by the user node, the user node broadcasts the time stamp distributed by the time stamp server, the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the block chain network, when the user node and other user nodes reserve the same parking space and the time of the user node and other user nodes expecting to occupy the parking space conflicts, the parking space node that this parking stall corresponds determines the user who occupies this parking stall according to the timestamp that this user node and other user nodes obtained from the timestamp server respectively, avoids the timestamp to be forged, has improved the fairness that the parking stall reservation was occupied.
Fig. 4 is a flowchart of a parking space scheduling method according to another embodiment of the present invention. On the basis of the foregoing embodiment, the parking space scheduling method provided in this embodiment specifically includes the following steps:
step 401, the user node receives a broadcast message sent by at least one parking space node in the block chain network, where the broadcast message includes identification information, geographical location information, charging information, and right information of a parking space corresponding to the parking space node.
In this embodiment, the parking spaces of the parking lot or the parking spaces on the roadside may be provided with parking space nodes communicating in the block chain network, and optionally, each parking space corresponds to one parking space node, or one parking space node corresponds to a plurality of parking spaces, for example, the parking space nodes store identification information and state information of a plurality of parking spaces.
And when the parking space node joins the block chain network, sending a broadcast message to the block chain network, wherein the broadcast message comprises identification information, position information, charging information and right information of the parking space corresponding to the parking space node. In addition, the public key of the parking space node may also be included in the broadcast message. Optionally, the parking space node signs the identification information, the location information, the charging information, the right information, and the public key of the parking space node by using its own private key and broadcasts the signature information, the location information, the charging information, the right information, and the public key of the parking space node to the block chain network.
In other real-time examples, the parking space node may further broadcast the identification information of the parking space and the public key of the parking space node as the identity information of the parking space in the blockchain to the blockchain network. Optionally, the parking space node signs the identification information of the parking space and the public key of the parking space node by using its own private key and broadcasts the information to the block chain network.
In this embodiment, the terminal device 31 may receive the broadcast message as shown above sent by at least one parking space node when joining the blockchain network.
Step 402, the user node receives state information broadcasted by at least one parking space node in real time in the block chain network, where the state information indicates a state of a parking space corresponding to the parking space node.
It can be understood that the state of the parking space may be changed in real time, for example, the parking space is in an occupied state at the previous moment, and the parking space is in an idle state at the next moment, so that the parking space node corresponding to each parking space needs to broadcast the state information of each parking space to the blockchain network in real time, and optionally, the parking space node corresponding to each parking space adopts the private key of the parking space to broadcast the state information of each parking space to the blockchain network in real time after signing.
Optionally, in other embodiments, when the state of the parking space changes, the parking space node broadcasts the state information of the changed parking space to the blockchain network, and if the state information of the parking space does not change after a certain time threshold, the parking space node corresponding to the parking space broadcasts the state information of the parking space in the blockchain network at a fixed time interval.
In this embodiment, assuming that a certain parking space is already occupied, for example, the parking space corresponding to the parking space node 32 is already occupied, the parking space node 32 broadcasts the information that the parking space is occupied to the block chain network.
Alternatively, the parking space corresponding to the parking space node 32 has been reserved by the user, and the parking space node 32 broadcasts reservation information of the parking space reserved by the user to the blockchain network, where the reservation information may include the occupied time period of the parking space. Specifically, the parking space node 32 may employ its own private key to sign the reservation information and broadcast the signed reservation information to the blockchain network.
Step 403, the user node sends the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user to the timestamp server.
The implementation manner of step 403 and step 201 is consistent with specific principles, and will not be described herein again.
Step 404, the user node receives the time stamp sent by the time stamp server and distributed by the time stamp server to the parking time required by the vehicle of the user and the identification information.
The implementation manner of step 404 and step 202 is consistent with specific principles, and will not be described herein.
Step 405, the user node broadcasts the timestamp, the parking time required by the user vehicle, and the identification information to a blockchain network, so that when the parking space node corresponding to the parking space in the blockchain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node.
The implementation manner of step 405 and step 203 is consistent with specific principles, and will not be described herein.
The embodiment of the invention sends the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the time stamp server through the user node, the time stamp server distributes the time stamp to the information sent by the user node, the user node broadcasts the time stamp distributed by the time stamp server, the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the block chain network, when the user node and other user nodes reserve the same parking space and the time of the user node and other user nodes expecting to occupy the parking space conflicts, the parking space node that this parking stall corresponds determines the user who occupies this parking stall according to the timestamp that this user node and other user nodes obtained from the timestamp server respectively, avoids the timestamp to be forged, has improved the fairness that the parking stall reservation was occupied.
Fig. 5 is a schematic structural diagram of a parking space scheduling apparatus according to an embodiment of the present invention. The parking space scheduling apparatus may specifically be the user node in the above embodiment. As shown in fig. 5, the parking space scheduling apparatus 50 according to an embodiment of the present invention may execute the processing procedure provided in the parking space scheduling method embodiment, and includes: a transmitting module 51 and a receiving module 52; the sending module 51 is configured to send parking time required by a vehicle of a user and identification information of a parking space predetermined by the user to the timestamp server; the receiving module 52 is configured to receive the timestamp sent by the timestamp server and assigned by the timestamp server to the parking time required by the vehicle of the user and the identification information; the sending module 51 is further configured to: broadcasting the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when the parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node.
Optionally, the parking space scheduling apparatus 50 further includes: an intelligent contract signing module 53; the intelligent contract signing module 53 is configured to sign an intelligent contract with the parking space node, where the intelligent contract includes signature information of the user node and signature information of the parking space node.
Optionally, the sending module 51 is further configured to: and after the intelligent contract signing module signs an intelligent contract with the parking space node, broadcasting transfer information in the block chain network according to the intelligent contract, wherein the transfer information is used for representing that the user node transfers the money to the target parking space node.
Optionally, the receiving module 52 is further configured to: before the sending module sends the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to the timestamp server, the sending module receives the broadcast message sent by at least one parking space node in the block chain network, wherein the broadcast message comprises the identification information, the geographical position information, the charging information and the belonging right information of the parking space corresponding to the parking space node.
Optionally, the receiving module 52 is further configured to: and receiving state information broadcasted by at least one parking space node in real time in the block chain network, wherein the state information represents the state of a parking space corresponding to the parking space node.
The parking space scheduling apparatus in the embodiment shown in fig. 5 can be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 6, the terminal device 60 includes a memory 61, a processor 62, a computer program, and a communication interface 63; wherein the computer program is stored in the memory 61 and configured to be executed by the processor 62 for executing the parking space scheduling method described in the above embodiments.
The terminal device in the embodiment shown in fig. 6 may be configured to execute the technical solution of the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the parking space scheduling method described in the above embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art 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 the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A parking space scheduling method is characterized by comprising the following steps:
the user node sends parking time required by a vehicle of a user and identification information of a parking space preset by the user to a timestamp server; the parking time required by the vehicle of the user is a time period in which a parking space preset by the user is occupied;
the user node receives the time stamp which is sent by the time stamp server and distributed to the parking time required by the vehicle of the user and the identification information by the time stamp server; the time stamp is a local time stamp of the time stamp server when the time stamp server receives the parking time required by the vehicle of the user and the identification information of the parking space preset by the user, which are sent by the terminal equipment;
the user node broadcasts the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when the parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node;
before the user node sends the parking time required by the vehicle of the user and the identification information of the parking space predetermined by the user to the timestamp server, the method further comprises the following steps:
the user node receives a broadcast message sent by at least one parking space node in the block chain network, wherein the broadcast message comprises identification information, geographical position information, charging information and right information of a parking space corresponding to the parking space node;
the method further comprises the following steps:
and the user node receives state information broadcasted by at least one parking space node in real time in the block chain network, wherein the state information represents the state of a parking space corresponding to the parking space node.
2. The method of claim 1, further comprising:
and when the user node is the target user node, the user node and the parking space node sign an intelligent contract, wherein the intelligent contract comprises the signature information of the user node and the signature information of the parking space node.
3. The method of claim 2, wherein after the user node enters into a smart contract with the parking space node, the method further comprises:
and the user node broadcasts transfer information in the block chain network according to the intelligent contract, wherein the transfer information is used for showing that the user node transfers money to the target parking space node.
4. A parking space scheduling device, comprising:
the system comprises a sending module, a timestamp server and a control module, wherein the sending module is used for sending parking time required by a vehicle of a user and identification information of a parking space preset by the user to the timestamp server; the parking time required by the vehicle of the user is a time period in which a parking space preset by the user is occupied;
the receiving module is used for receiving the time stamp which is sent by the time stamp server and is distributed to the parking time required by the vehicle of the user and the identification information by the time stamp server; the time stamp is a local time stamp of the time stamp server when the time stamp server receives the parking time required by the vehicle of the user and the identification information of the parking space preset by the user, which are sent by the terminal equipment;
the sending module is further configured to: broadcasting the timestamp, the parking time required by the user vehicle and the identification information to a block chain network, so that when a parking space node corresponding to the parking space in the block chain network determines that the occupied time of the parking space has conflict according to the parking time required by the user vehicle sent by at least one user node, a target user node is determined from the at least one user node according to the timestamp sent by the at least one user node;
the receiving module is further configured to: before the sending module sends the parking time required by the vehicle of the user and the identification information of the parking space preset by the user to a timestamp server, receiving a broadcast message sent by at least one parking space node in the block chain network, wherein the broadcast message comprises the identification information, the geographical position information, the charging information and the belonging right information of the parking space corresponding to the parking space node;
the receiving module is further configured to: and receiving state information broadcasted by at least one parking space node in real time in the block chain network, wherein the state information represents the state of a parking space corresponding to the parking space node.
5. The parking space scheduling apparatus according to claim 4, further comprising:
and the intelligent contract signing module is used for signing an intelligent contract with the parking space node, and the intelligent contract comprises the signature information of the user node and the signature information of the parking space node.
6. The parking space scheduling apparatus of claim 5, wherein the transmitting module is further configured to: and after the intelligent contract signing module signs an intelligent contract with the parking space node, broadcasting transfer information in the block chain network according to the intelligent contract, wherein the transfer information is used for representing that the user node transfers the money to the target parking space node.
7. A terminal device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-3.
8. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method according to any one of claims 1-3.
CN201810879720.8A 2018-08-03 2018-08-03 Parking space scheduling method, device, equipment and storage medium Active CN108877290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810879720.8A CN108877290B (en) 2018-08-03 2018-08-03 Parking space scheduling method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810879720.8A CN108877290B (en) 2018-08-03 2018-08-03 Parking space scheduling method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108877290A CN108877290A (en) 2018-11-23
CN108877290B true CN108877290B (en) 2021-03-16

Family

ID=64307805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810879720.8A Active CN108877290B (en) 2018-08-03 2018-08-03 Parking space scheduling method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108877290B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111028537A (en) * 2019-12-13 2020-04-17 中国联合网络通信集团有限公司 Method for judging use state of parking space, parking lot management method and parking lot management system
CN111738470B (en) * 2020-06-19 2021-11-05 乐清市凡山电器有限公司 Library seat management system and method based on block chain
CN111898900B (en) * 2020-07-26 2023-10-24 中国人民解放军93209部队 Airspace allocation method and device based on block chain
CN112265541A (en) * 2020-10-13 2021-01-26 恒大新能源汽车投资控股集团有限公司 Automatic parking method and device based on PC5 air interface direct communication

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10382485B2 (en) * 2016-12-23 2019-08-13 Vmware, Inc. Blockchain-assisted public key infrastructure for internet of things applications
CN107103473A (en) * 2017-04-27 2017-08-29 电子科技大学 A kind of intelligent contract implementation method based on block chain
CN107147501B (en) * 2017-06-27 2019-08-06 中国联合网络通信集团有限公司 Timestamp processing method and processing device
CN107492262A (en) * 2017-09-01 2017-12-19 深圳市易成自动驾驶技术有限公司 Parking navigation method and readable storage medium storing program for executing based on block chain
CN108064017A (en) * 2017-12-22 2018-05-22 武汉邮电科学研究院 The processing method and processing system of a kind of parking data
CN108154704B (en) * 2017-12-27 2020-07-07 武汉邮电科学研究院 Intelligent parking system and method based on block chain

Also Published As

Publication number Publication date
CN108877290A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108877290B (en) Parking space scheduling method, device, equipment and storage medium
CN101467477B (en) Network-initiated communication establishment in a cellular system
CN103650376B (en) A kind of method of the group channel access based on representative
US8811979B2 (en) Method for providing private information to mobile user and associated wireless communication network and mobile station
CN109118360B (en) Block chain account checking method, device, equipment and storage medium
CN108712506B (en) Block chain node communication method and device and block chain node
CN108769142B (en) Transaction information processing method and block generation node
CN102215458B (en) Digital cluster communication system based on long term evolution technology as well as base station and terminal
CN108377575B (en) Multi-card mobile terminal and service processing method thereof
CN102378302A (en) Network access method and system
CN109118076A (en) Parking stall dispatching method, device, equipment and storage medium
CN110383866A (en) Direct connected link resource allocation method, device, system and readable storage medium storing program for executing
CN109089225A (en) A kind of system information transmission method, terminal and the network equipment
CN103379665B (en) Method and device for establishing association between station and access point
CN102378309A (en) Network access method and system thereof
CN108683727B (en) Block processing method and main node
CN109565647A (en) Information transferring method, apparatus and system between car networking equipment
CN108810120B (en) Block chain node communication method and device and block chain node
CN112673705B (en) Information transmission method, apparatus, communication device and storage medium
CN103596183A (en) Method and system for carrying out rapid communication by utilizing public frequency band
CN110536286A (en) Data transmission method, device, base station, terminal and readable storage medium storing program for executing
CN103856903A (en) Cluster access network, terminal equipment and method for joining cluster group
CN109076321A (en) System information transmission method, apparatus and system between car networking equipment
CN109035849A (en) Parking stall dispatching method, device, equipment and storage medium
CN108876611B (en) Transaction information processing method and device and block link points

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant