Intelligent parking space sharing management method, electronic equipment and medium
Through blockchain and Internet of Things technology, combined with fuzzy C-mean clustering algorithm, the problems of complexity of parking management and low resource utilization are solved, intelligent management and win-win situation of parking space resources are realized, and transaction security and resources are improved. Utilization.
Patent Information
- Application Number
- CN202411348077.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2025-01-10
Smart Images

Figure CN119296362A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent transportation technology, and in particular to an intelligent parking space sharing management method, electronic equipment and medium. Background Art
[0002] With the acceleration of urbanization, the parking problem in cities is becoming increasingly serious. Traditional parking management methods can no longer meet the needs of modern cities. In the existing technology, although some Internet-based parking sharing platforms have emerged, these platforms have complex management links for shared parking spaces and involve access to multiple platforms. There are generally problems such as difficult parking space management, occupied parking spaces, uneven distribution of benefits, and low data and transaction security.
[0003] In addition, existing technologies usually rely on centralized database management, and the controller of the centralized system regularly checks and maintains parking space information. This method lacks effective management of the scattered distribution of parking spaces, resulting in low resource utilization and failure to achieve a win-win situation for car owners, parking space owners and system operators. Therefore, there is an urgent need for an intelligent parking space sharing management method to achieve effective management and allocation of parking space resources, making shared parking space management more efficient and intelligent. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the present invention provides an intelligent parking space sharing management method, electronic device and medium, which introduces blockchain technology to ensure the transparency and security of transactions, uses Internet of Things technology to achieve intelligent management of parking spaces, and uses fuzzy C-means clustering algorithm to unify the pricing of similar parking spaces, ultimately achieving a win-win situation for car owners, parking space owners and system operators.
[0005] To achieve the above object, the present invention adopts the following technical solution: In a first aspect, the present invention provides an intelligent parking space sharing management method, which specifically comprises the following steps: S1. Parking space information collection and release: Parking space owners upload personal parking space information and parking space shared use time period to the parking space IoT system through the parking space owner terminal, and obtain parking space location information through parking space sensors. The sensors of the parking space IoT system collect parking space status information in real time, integrate the parking space information, and update it to the blockchain in real time; S2. Parking space reservation: Users reserve parking spaces through the parking space sharing management system. The parking space sharing management system selects available parking spaces in the blockchain according to the location and time selected by the user. Users can choose from the available parking spaces according to their needs. After the reservation is successful, the transaction information is uploaded to the blockchain. S3. Parking space usage and monitoring: The parking space IoT system’s sensors monitor the usage of parking spaces in real time, detecting whether the car owner uses the parking space at the scheduled time and location. If the parking space is found to be occupied or not used as required, the parking space owner and the system operator will be automatically notified and corresponding management measures will be taken; S4. Transaction settlement and profit distribution: After the transaction is completed, the blockchain automatically settles the transaction through a smart contract and distributes the profits to the car owner, parking space owner and system operator according to a predetermined ratio. All transaction records are stored on the blockchain. The fuzzy C-means clustering algorithm is used to cluster the scattered parking spaces regularly according to the parking space information, parking space usage and parking space geographic location information, unify the pricing of similar parking spaces, and update the blockchain's smart contract.
[0006] As a further technical solution of the present invention, the specific process of the parking space sharing management system screening available parking spaces in step S2 is: S21. Setting query parameters, including the distance threshold between the user-selected location and the parking space location And user demand data , where user demand data Including vehicle type, parking security and parking fees; S22. Query the blockchain for the nearest location to the user's selected location. Parking spaces, get collection : right ,in Indicates parking spaces, Satisfy user needs Parking space collection, Represents the coordinates of the user-selected location, Indicates The location coordinates of the parking spaces; S23, The parking spaces are sorted from near to far according to the distance, and the corresponding parking space information is pushed to the user terminal for the user to view and select.
[0007] As a further technical solution of the present invention, the process of clustering the scattered parking spaces using the fuzzy C-means clustering algorithm in step S4 is as follows: S41. Collect parking space information, including parking space location, parking space size, surrounding popular areas, parking space usage frequency, parking space safety, and whether the parking space is open-air; S42, parking space information processing, standardize all data to the same range, and obtain data points , data points Indicates Parking space information data corresponding to each parking space; S43, set clustering parameters, which include cluster number C, membership index , Stop Threshold , fuzzy factor and the maximum number of iterations ; S44, randomly initialize the membership matrix of each data point to each cluster center , membership matrix Elements Represents data points Belongs to cluster The membership degree satisfies ; S45, iterative update, first update the cluster center, according to the current membership matrix , calculate each cluster center : ,in, is the total number of data points; then update the membership matrix, that is, update the membership of each data point to each cluster : ,in, Represents data points To cluster center Repeat the update until the change in the membership matrix is less than the stop threshold , or the number of repeated iterations is equal to the maximum number of iterations ; S46, obtain the parking space clustering result. After the iteration of step S45 is completed, the final cluster center and membership matrix are obtained. According to the maximum membership value of the membership matrix They are assigned to the corresponding clusters. After clustering is completed, the characteristics of each cluster are analyzed; S47. Price assignment: setting a unified price for each cluster based on the characteristics of each cluster and market demand.
[0008] As a further technical solution of the present invention, when setting a unified price in step S47, pricing is performed according to different areas. Parking spaces in a certain cluster are located in high-demand areas, and a higher price is set. High-demand areas include shopping centers and office areas. A medium price is set for parking spaces in ordinary areas. A lower price is set for parking spaces in low-demand areas or less popular areas. The price is appropriately increased for parking spaces with high utilization rates, good locations, and additional facilities. Parking spaces with position numbers include parking spaces near entrances and exits or elevators, and parking spaces with additional facilities include parking spaces with charging piles or awnings.
[0009] In a second aspect, the present invention provides an electronic device, comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in the first aspect is completed.
[0010] In a third aspect, the present invention provides a computer-readable storage medium for storing computer instructions, wherein when the computer instructions are executed by the electronic device, the method described in the first aspect is completed.
[0011] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention uses the Internet of Things technology to realize real-time monitoring and viewing of scattered parking space information, effectively improving the efficiency of parking space management. The parking space information is uploaded to the parking space information blockchain through the Internet of Things. Users can also use mobile terminals to understand the surrounding idle parking space information at any time in the parking space sharing management system.
[0012] 2. The present invention introduces blockchain technology to ensure the decentralized management of parking space information, reduce the cost of information maintenance, and the point-to-point information transactions of users on the blockchain also reduce the operating costs of management.
[0013] 3. The smart contract technology of blockchain can automatically complete transactions on the blockchain according to pre-established rules. The immutability and traceability of blockchain also ensure the security and transparency of the entire parking space sharing transaction process. Through the solution of the present invention, not only can the problem of difficult parking in cities be effectively solved, but also the utilization rate of parking space resources can be improved, achieving a win-win situation for car owners, parking space owners and system operators. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present disclosure and do not constitute improper limitations on the present invention.
[0015] Figure 1 It is an overall architecture diagram of the intelligent parking space sharing management method provided by the present invention.
[0016] Figure 2 It is a flow chart of the intelligent parking space sharing management method provided by the present invention. DETAILED DESCRIPTION
[0017] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0018] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0019] It should be noted that the terms used herein are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that the terms "include" and "have" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.
[0021] Embodiment 1: like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides an intelligent parking space sharing management method, comprising the following steps: S1. Parking space information collection and release: Parking space owners upload personal parking space information and parking space shared use time period to the parking space IoT system through the parking space owner terminal, and obtain parking space location information through parking space sensors. The sensors of the parking space IoT system collect parking space status information in real time, integrate the parking space information, and update it to the blockchain in real time; the sensors of the parking space IoT system include geomagnetic sensors and cameras; the process of integrating parking space information by the parking space IoT system is as follows: the parking space IoT system formats the received parking space information, removes redundant or erroneous data, unifies the field format, ensures data consistency and accuracy, and encapsulates the processed parking space information into a format suitable for blockchain storage, creates transaction records, verifies and stores them through the blockchain network, and uses a blockchain platform that supports smart contracts to synchronize parking space information and status changes to the blockchain distributed ledger in real time to ensure the data is tamper-proof and transparent.
[0022] S2. Parking space reservation: Users reserve parking spaces through the parking space sharing management system. The parking space sharing management system selects available parking spaces in the blockchain according to the location and time selected by the user. Users select available parking spaces according to their needs. After the reservation is successful, the transaction information is uploaded to the blockchain. The nodes in the blockchain network verify the validity of the transaction, including user identity, parking space status, etc. After the verification is passed, the smart contract is automatically executed, the parking space status is updated to "reserved", and the transaction record is stored on the blockchain. The specific process of the parking space sharing management system selecting available parking spaces is as follows: S21. Setting query parameters, including the distance threshold between the user-selected location and the parking space location And user demand data , where user demand data Including vehicle type, parking security and parking fees; S22. Query the blockchain for the nearest location to the user's selected location. Parking spaces, get collection : right ,in Indicates parking spaces, Satisfy user needs Parking space collection, Represents the coordinates of the user-selected location, Indicates The location coordinates of the parking spaces; S23, The parking spaces are sorted from near to far according to the distance, and the corresponding parking space information is pushed to the user terminal for the user to view and select.
[0023] S3. Parking space usage and monitoring: The sensors of the parking space IoT system monitor the usage of parking spaces in real time, and detect whether the car owner uses the parking space at the scheduled time and place. If the parking space is found to be occupied or not used as required, the parking space owner and the system operator will be automatically notified and corresponding management measures will be taken; management measures include automatic cancellation of reservations, deduction of reservation deposits or generation of violation records.
[0024] S4. Transaction settlement and profit distribution: After the transaction is completed, the blockchain automatically settles the transaction through the smart contract, distributes the profits to the car owner, parking space owner and system operator according to the predetermined ratio, and stores them on the blockchain in an unalterable manner to ensure transparency and fairness. The fuzzy C-means clustering algorithm is used to cluster the scattered parking spaces regularly according to the parking space information, parking space usage, and parking space geographic location information, unify the pricing of similar parking spaces, and update the smart contract of the blockchain. The process of clustering the scattered parking spaces using the fuzzy C-means clustering algorithm is as follows: S41. Collect parking space information, including parking space location, parking space size, surrounding popular areas, parking space usage frequency, parking space safety, and whether the parking space is open-air; S42, parking space information processing, standardize all data to the same range, and obtain data points , data points Indicates Parking space information data corresponding to each parking space; S43, set clustering parameters, which include cluster number C, membership index , Stop Threshold , fuzzy factor and the maximum number of iterations ; S44, randomly initialize the membership matrix of each data point to each cluster center , membership matrix Elements Represents data points Belongs to cluster The membership degree satisfies ; S45, iterative update, first update the cluster center, according to the current membership matrix , calculate each cluster center : ,in, is the total number of data points; then update the membership matrix, that is, update the membership of each data point to each cluster : ,in, Represents data points To cluster center Repeat the update until the change in the membership matrix is less than the stop threshold , or the number of repeated iterations is equal to the maximum number of iterations ; S46, obtain the parking space clustering result. After the iteration of step S45 is completed, the final cluster center and membership matrix are obtained. According to the maximum membership value of the membership matrix They are assigned to the corresponding clusters. After clustering is completed, the characteristics of each cluster are analyzed; S47. Price assignment: a unified price is set for each cluster based on the characteristics of each cluster and market demand. When setting a unified price, different areas are used to determine the price. Parking spaces in a cluster are located in high-demand areas, and a higher price is set. High-demand areas include shopping centers and office areas. A medium price is set for parking spaces in ordinary areas. A lower price is set for parking spaces in low-demand areas or less popular areas. The price is appropriately increased for parking spaces with high usage rates, good locations, and additional facilities. Parking spaces with location numbers include those near entrances and exits or elevators. Parking spaces with additional facilities include those with charging piles or awnings.
[0025] Embodiment 2: This embodiment adds user interaction and experience based on Embodiment 1, and uses the React modern front-end framework to build an intuitive and easy-to-operate user interface. The user interface implements the following functions: Map positioning: Users can quickly find their location through the map positioning function and view the surrounding parking space information.
[0026] Parking space search: Provides efficient search function, allowing users to filter by address, parking space type, price and other factors to quickly find suitable parking spaces.
[0027] Reservation process: The concise and clear reservation process allows users to easily complete parking space reservations, and the operation steps are simple and easy to understand.
[0028] Payment: With the integration of multiple payment methods, users can complete payment safely and quickly, and experience a smooth payment process.
[0029] This embodiment also uses professional data visualization libraries such as D3.js to draw parking heat maps and parking space utilization charts. Through the heat map, users can intuitively see which areas have the most demand for parking spaces, and display parking space utilization in the form of charts to help users better understand the supply and demand of parking spaces and provide data support for parking decisions. At the same time, to ensure security, this embodiment uses JWT (JSON Web Tokens) technology to implement user login identity authentication and authorization, ensuring that only legitimate users can access the system, and supports multiple one-time password verification methods such as SMS verification codes and email links to further improve the security of user accounts, and uses WebSocket technology to achieve real-time communication between the server and the client, ensuring that users can instantly obtain the latest parking space status and order information, so that the system background and front-end interface data are updated synchronously to ensure that users always see the latest information.
[0030] This embodiment uses simulation experiments to test data consistency, blockchain throughput, blockchain latency, smart contract correctness, IoT sensor accuracy, data transmission real-time and user interface response time, where data consistency verifies the consistency between data in the blockchain and uploaded data, blockchain throughput is the number of transactions processed per second, blockchain latency is the average time from transaction sending to confirmation, smart contract correctness is the correctness ratio of smart contract processing logic, IoT sensor accuracy is the proportion of times the sensor correctly reports parking space status changes, data transmission real-time is the average delay from sensor data collection to system data reception, and user interface response time is the average time from user operation to interface response. The results are shown in Table 1, which shows that each indicator meets the daily use needs of users.
[0031] Table 1: .
[0032] In further embodiments, there is also provided: An electronic device includes a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method described in Embodiment 1 is performed. For the sake of simplicity, the detailed method content is not repeated here.
[0033] It should be clear that the processor in this embodiment is not limited to the central processing unit CPU, it can also be a general-purpose processor core, a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device PLD, a discrete gate circuit or transistor logic component, a discrete hardware module, etc. In addition, the general-purpose processor can be a microprocessor MPU, or any conventional computing core.
[0034] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.
[0035] A computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the method described in Example 1 is completed.
[0036] The method in Example 1 can be directly embodied as a hardware processor, or a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it is not described in detail here.
[0037] Those skilled in the art will appreciate that the units, i.e., algorithm steps, of the various examples described in conjunction with this embodiment can be implemented in electronic hardware or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0038] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. The systems and algorithms not described in detail in the present invention are all general techniques. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0039] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A smart parking space sharing management method, characterized in that: The specific steps include: S1. Parking space information collection and release: Parking space owners upload personal parking space information and parking space shared use time period to the parking space IoT system through the parking space owner terminal, and obtain parking space location information through parking space sensors. The sensors of the parking space IoT system collect parking space status information in real time, integrate the parking space information, and update it to the blockchain in real time; S2. Parking space reservation: Users reserve parking spaces through the parking space sharing management system. The parking space sharing management system selects available parking spaces in the blockchain according to the location and time selected by the user. Users can choose from the available parking spaces according to their needs. After the reservation is successful, the transaction information is uploaded to the blockchain. S3. Parking space usage and monitoring: The parking space IoT system’s sensors monitor the usage of parking spaces in real time, detecting whether the car owner uses the parking space at the scheduled time and location. If the parking space is found to be occupied or not used as required, the parking space owner and the system operator will be automatically notified and corresponding management measures will be taken; S4. Transaction settlement and profit distribution: After the transaction is completed, the blockchain automatically settles the transaction through a smart contract and distributes the profits to the car owner, parking space owner and system operator according to a predetermined ratio. All transaction records are stored on the blockchain. The fuzzy C-means clustering algorithm is used to cluster the scattered parking spaces regularly according to the parking space information, parking space usage and parking space geographic location information, unify the pricing of similar parking spaces, and update the blockchain's smart contract.
2. The intelligent parking space sharing management method according to claim 1 is characterized in that: The specific process of the parking space sharing management system screening available parking spaces in step S2 is as follows: S21. Setting query parameters, including the distance threshold between the user-selected location and the parking space location And user demand data , where user demand data Including vehicle type, parking security and parking fees; S22. Query the blockchain for the nearest location to the user's selected location. Parking spaces, get collection : right ,in Indicates parking spaces, Satisfy user needs Parking space collection, Represents the coordinates of the user-selected location, Indicates The location coordinates of the parking spaces; S23, The parking spaces are sorted from near to far according to the distance, and the corresponding parking space information is pushed to the user terminal for the user to view and select.
3. The intelligent parking space sharing management method according to claim 2 is characterized in that: The process of clustering the scattered parking spaces using the fuzzy C-means clustering algorithm in step S4 is as follows: S41. Collect parking space information, including parking space location, parking space size, surrounding popular areas, parking space usage frequency, parking space safety, and whether the parking space is open-air; S42, parking space information processing, standardize all data to the same range, and obtain data points , data points Indicates Parking space information data corresponding to each parking space; S43, set clustering parameters, which include cluster number C, membership index , Stop Threshold , fuzzy factor and the maximum number of iterations ; S44, randomly initialize the membership matrix of each data point to each cluster center , membership matrix Elements Represents data points Belongs to cluster The membership degree satisfies ; S45, iterative update, first update the cluster center, according to the current membership matrix , calculate each cluster center : ,in, is the total number of data points; then update the membership matrix, that is, update the membership of each data point to each cluster : ,in, Represents data points To cluster center Repeat the update until the change in the membership matrix is less than the stop threshold , or the number of repeated iterations is equal to the maximum number of iterations ; S46, obtain the parking space clustering result. After the iteration of step S45 is completed, the final cluster center and membership matrix are obtained. According to the maximum membership value of the membership matrix They are assigned to the corresponding clusters. After clustering is completed, the characteristics of each cluster are analyzed; S47. Price assignment: setting a unified price for each cluster based on the characteristics of each cluster and market demand.
4. The intelligent parking space sharing management method according to claim 3 is characterized in that: When setting a unified price in step S47, pricing is performed according to different areas. Parking spaces in a certain cluster are located in high-demand areas, and a higher price is set. High-demand areas include shopping centers and office areas. A medium price is set for parking spaces in ordinary areas. A lower price is set for parking spaces in low-demand areas or less popular areas. The price is appropriately increased for parking spaces with high utilization rates, good locations, and additional facilities. Parking spaces with position numbers include those near entrances and exits or elevators, and parking spaces with additional facilities include those with charging piles or awnings.
5. An electronic device, characterized in that: The invention comprises a memory and a processor and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the method according to any one of claims 1 to 4 is completed.
6. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by the electronic device, complete the method described in any one of claims 1 to 4.