A parking management method, device and medium based on blockchain technology

By adopting blockchain technology-based methods in the parking management system, the problem of insufficient security of uploading vehicle parking record information in traditional systems is solved, and the information is highly secure and reliable.

CN119445888BActive Publication Date: 2025-04-04FUZHOU INSTITUE OF TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510018327.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-07
Publication Date
2025-04-04
Estimated Expiration
2045-01-07

AI Technical Summary

Technical Problem

In traditional parking management systems, vehicle parking record information has security defects when uploading to the cloud, especially the risk of key encryption, which leads to insecure information.

Method used

The parking management method based on blockchain technology is adopted, and through local information scanning, appointment authentication and protection upload units, vehicle information is collected and consistently matched, protection upload data is generated, and blockchain technology is used for cloud storage to ensure information security.

Benefits of technology

Through the application of blockchain technology, the high security of vehicle parking record information is achieved, the risks of key management and leakage are avoided, and the security of information is ensured during transmission and storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119445888B_ABST
    Figure CN119445888B_ABST
Patent Text Reader

Abstract

The present invention discloses a parking management method, device and medium based on blockchain technology, and relates to the technical field of parking management. The present invention collects and authenticates vehicle information of a moving vehicle that is about to enter a target parking lot. The authentication is performed by extracting a corresponding reservation number, and the parking record information of the moving vehicle is protected and uploaded according to the reservation number. During the protection upload process, based on a randomly generated reservation number, the first and second position arrays of the moving vehicle's current parking are determined, and a plurality of groups of processing arrays converted from the parking record information are combined to obtain a slice reconstruction array of each group of processing arrays. After the slice reconstruction array of each group of processing arrays is generated, it will depend on the update of the first position array and the second position array by the previous group of processing arrays, and the generation of the slice reconstruction array of the first group of processing arrays depends on the reservation number, thereby ensuring the dynamic variability of each parking record information, and in this way ensuring the high security of the parking record information of the moving vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of parking management, and in particular to a parking management method, device and medium based on blockchain technology. Background Art

[0002] With the continuous development of urban traffic and the continuous increase in the number of cars, parking management has become an important part of urban traffic management. Traditional parking management systems often rely on centralized databases and management models, which have many disadvantages.

[0003] In traditional parking management systems, when a vehicle enters a parking lot, its parking record information will be collected and uploaded to a cloud server for storage and management after authentication. However, in the process of uploading these parking record information to the cloud, the key encryption method used has obvious security flaws. Key encryption usually relies on a specific encryption algorithm and key to encrypt data. Although it can prevent information from being directly stolen to a certain extent during the transmission process, it faces the risk of key management and key leakage;

[0004] In order to solve the above problems, the present invention proposes a solution. Summary of the invention

[0005] The purpose of the present invention is to provide a parking management method, device and medium based on blockchain technology, in order to solve the problems raised in the above background technology;

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A parking management method based on blockchain technology, comprising the following steps:

[0008] Step 1: The local information scanning terminal collects the vehicle information of the vehicle currently scheduled to enter the target parking lot and transmits it to the reservation authentication unit. The vehicle information includes the license plate number, vehicle model and vehicle color;

[0009] Step 2: After receiving the transmitted vehicle information, the reservation authentication unit matches it with the reservation information of all reserved vehicles stored in the storage, extracts the reservation number carried in the matched reservation information and generates a verification instruction, and transmits the verification instruction to the local information scanning terminal;

[0010] At the same time, generating parking record information of the traveling vehicle according to the extracted reservation number and the vehicle information, and transmitting the parking record information to the protection uploading unit;

[0011] Step 3: After receiving the transmitted authentication pass instruction, the local information scanning terminal opens the authentication authority to the driving vehicle;

[0012] Step 4: After receiving the transmitted parking record information of the traveling vehicle, the protection upload unit generates the protection upload data of the traveling vehicle according to the preset protection upload rule, and transmits the protection upload data to the cloud storage terminal.

[0013] Further, in step 4, the protection upload rules for generating the protection upload data of the traveling vehicle are as follows:

[0014] S11: extracting vehicle information carried in the parking record information, performing binary conversion on the vehicle information, and marking the converted data as data to be packaged;

[0015] S12: from left to right, every four characters in the data to be packaged are taken as a group of processing arrays to obtain a plurality of groups of processing arrays, and the processing arrays are marked as A1, A2, ..., Aa from left to right in accordance with the order of each group of processing arrays in the data to be packaged, where a≥1;

[0016] S13: extracting the reservation number carried in the parking record information, and traversing all the characters constituting the reservation number from left to right, and performing a non-zero determination on each character after traversing. If the traversed character is 1, stopping traversing the remaining characters, and intercepting the character and all the characters to the right of the character in the reservation number to obtain the extended reservation number B1 of the traveling vehicle. If the traversed character is not 1, continuing to traverse downward until all characters are traversed to obtain the extended reservation number B1 of the traveling vehicle.

[0017] S14: Calculating and filtering according to a preset calculation and filtering rule to obtain a first extended number series and a second extended number series of the traveling vehicle;

[0018] S15: Using “.” as a segmentation symbol, the security string is segmented into a first position array and a second position array, wherein the first position array and the second position array are arranged in sequence from left to right in the security string, wherein the security string is 0123456789.0123456789;

[0019] S16: updating the first position array according to the first extended number sequence and a preset updating rule;

[0020] S17: updating the second position array according to the second extended sequence according to the same updating rule as S16;

[0021] S18: Obtain the decimal number E1 of the processing array A1, and if 0≤the number of digits of the decimal number E1≤9, extract the character at the E1th position from the first position array according to the decimal number E1, and use the four-digit binary number of the character as the slice swap array of the processing array A1;

[0022] After obtaining the slice swap array of the processing array A1, the first position array is updated;

[0023] S19: if the decimal number E1≥10, generating a slice swap array of the processing array A1 according to a preset generation rule and updating the first position array and the second position array after obtaining the slice swap array;

[0024] S110: obtaining slice exchange arrays of processing arrays A2, A3, ..., Aa in sequence according to S18 to S19. It should be noted that the first position array or the second position array is updated each time a slice exchange array is obtained;

[0025] In the order of processing arrays A1, A2, ..., Aa, the sliced ​​reconstructed arrays are spliced ​​to obtain the protection upload data of the traveling vehicle.

[0026] A parking management device based on blockchain technology, comprising:

[0027] A local information scanning terminal is used to collect vehicle information of vehicles that are expected to enter the target parking lot for parking;

[0028] A reservation authentication unit, for matching the received vehicle information with the stored reservation information of all reserved vehicles, by extracting the reservation number carried in the matched reservation information, and generating the parking record information of the traveling vehicle according to the extracted reservation number and the vehicle information;

[0029] After receiving the transmitted parking record information of the traveling vehicle, the protection upload unit generates the protection upload data of the traveling vehicle according to the preset protection upload rule, and transmits the protection upload data to the cloud storage terminal for restoration storage.

[0030] Beneficial effects of the present invention:

[0031] The present invention collects vehicle information of vehicles that are expected to enter a target parking lot, and matches the vehicle information with the reservation information for consistency. The vehicle is allowed to enter by opening permissions to the vehicle, and the corresponding reservation number is extracted after the match is passed. The parking record information of the vehicle is protected and uploaded according to the reservation number. The parking record information is converted during the protection upload process, thereby avoiding the occurrence of unsafe parking record information upload process caused by conventional key methods.

[0032] The present invention determines the first and second position arrays of the current parking of the moving vehicle based on the randomly generated reservation number during the protection upload process, and obtains the slice reconstruction array of each group of processing arrays in combination with the several groups of processing arrays obtained from the parking record information, wherein after the slice reconstruction array of each group of processing arrays is generated, it will rely on the previous group of processing arrays to update the first position array and the second position array once, thereby ensuring the complexity of the parking record information conversion processing, and the generation of the slice reconstruction array of the first group of processing arrays depends on the reservation number, thereby ensuring the dynamic variability of each parking record information, and in this way ensuring the high security of the parking record information of the moving vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The present invention will be further described below in conjunction with the accompanying drawings.

[0034] Figure 1 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] like Figure 1 As shown, a parking management method, device and medium based on blockchain technology include a local information scanning terminal, a local information management terminal and a cloud storage terminal;

[0037] The local information scanning end is used to collect vehicle information of the moving vehicles that are expected to enter the target parking lot for parking, wherein the vehicle information includes the license plate number, vehicle model and vehicle color, and transmit the vehicle information of the moving vehicles to the local information management end;

[0038] The local information management terminal is used to authenticate the vehicles that are expected to enter the target parking lot and manage the vehicle information of the authenticated vehicles. The local information management terminal includes a reservation authentication unit and a protection upload unit;

[0039] The reservation authentication unit stores reservation information of a number of reserved vehicles that have reserved to enter the target parking lot, wherein the reservation information includes the reservation number, license plate number, vehicle model and vehicle color, expected arrival time information and driver information, wherein the driver information includes the driver's name, contact number and driver's license information;

[0040] In this application, the driver of the reserved vehicle checks and reserves the available parking spaces in the target parking lot in advance through the parking management app. The reserved parking spaces are temporarily locked until the vehicle that reserved the parking space fails to arrive at or leaves the target parking lot within the time limit, and then the spaces are released, allowing for another reservation.

[0041] It should be noted here that the reservation number is a sequence of pure numbers randomly generated by the parking management app when the driver of the reserved vehicle makes a reservation. In this application, the total number of characters in the reservation number is 8;

[0042] After receiving the transmitted vehicle information of the traveling vehicle, the local information management terminal transmits it to the reservation authentication unit. After receiving the transmitted vehicle information of the traveling vehicle, the reservation authentication unit matches the corresponding reservation information in the reservation authentication unit according to the license plate number, vehicle model and vehicle color carried in the vehicle information;

[0043] If the license plate number, vehicle model and vehicle color included in the reservation information of a certain reserved vehicle are consistent with the license plate number, vehicle model and vehicle color carried in the vehicle information, an authentication success instruction is generated and transmitted to the local information scanning end, and after the authentication success instruction is generated, the reservation number included in the reservation information is extracted, and the parking record information of the traveling vehicle is generated according to the reservation number and the vehicle information of the traveling vehicle, and the parking record information of the traveling vehicle is transmitted to the protection upload unit;

[0044] After receiving the transmitted parking record information of the traveling vehicle, the protection upload unit generates the protection upload data of the traveling vehicle according to the preset protection upload rule. The protection upload rule is as follows:

[0045] S11: extracting vehicle information carried in the parking record information, performing binary conversion on the vehicle information, and marking the converted data as data to be packaged;

[0046] S12: from left to right, every four characters in the data to be packaged are taken as a group of processing arrays to obtain a plurality of groups of processing arrays, and the processing arrays are marked as A1, A2, ..., Aa from left to right in accordance with the order of each group of processing arrays in the data to be packaged, where a≥1;

[0047] S13: extracting the reservation number carried in the parking record information, and traversing all the characters constituting the reservation number from left to right, and performing a non-zero determination on each character after traversing. If the traversed character is 1, stopping traversing the remaining characters, and intercepting the character and all the characters to the right of the character in the reservation number to obtain the extended reservation number B1 of the traveling vehicle. If the traversed character is not 1, continuing to traverse downward until all characters are traversed to obtain the extended reservation number B1 of the traveling vehicle.

[0048] S14: Calculate and filter the first extended number series and the second extended number series of the traveling vehicle according to the preset calculation and filtering rules, and the filtering rules are as follows:

[0049] S141: Using formula The extended scalar C1 of the moving vehicle is obtained by calculation, wherein floor() is a floor rounding function, mod() is a remainder function, and P1 is a preset processing base constant. In this application, the value of P1 is 99. is the preset adjustment factor used to adjust The value of always satisfies: greater than or equal to 0 and less than or equal to P1;

[0050] S142: performing 8-bit binary conversion on the extended scalar C1, and calibrating the binary number obtained after the conversion as the extended sequence of the moving vehicle;

[0051] S143: extracting the first 4 characters from the extended sequence from left to right as a first extended sequence, and taking the remaining 4 characters after the extraction as a second extended sequence;

[0052] S15: Using “.” as a segmentation symbol, segment the security character string into a first position array and a second position array, wherein the first and second position arrays are arranged in sequence from left to right in the security character string;

[0053] The security string in this application is 0123456789.0123456789;

[0054] S16: updating the first position array according to the first extended sequence according to a preset updating rule, where the updating rule is as follows:

[0055] S161: If the decimal number of the first extended number sequence is less than or equal to 9, swapping the character of the decimal number of the first extended number sequence with the character 0 in the first position array to obtain a new first position array of the moving vehicle;

[0056] S162: If the decimal number of the first extended number sequence is greater than 9, mark the characters constituting the decimal number as D1 and D2 in order from left to right;

[0057] In the first position array, the positions of the characters D1 and D2 are swapped to obtain a new first position array of the traveling vehicle, wherein if the characters D1 and D2 are consistent, the new first position array of the traveling vehicle is itself;

[0058] S17: Following the same steps as S16, the second position array is updated according to the second extended sequence;

[0059] S18: Obtain the decimal number E1 of the processing array A1, and if 0≤the number of digits of the decimal number E1≤9, extract the character at the E1th position from the first position array according to the decimal number E1, and use the four-digit binary number of the character as the slice swap array of the processing array A1;

[0060] After obtaining the slice swap array of the processing array A1, the first position array is updated, and the steps are as follows: then in the first position array, the character consistent with the decimal number E1 is swapped with the character 0 to obtain a new first position array of the traveling vehicle;

[0061] S19: If the decimal number E1≥10, a slice swap array of the processing array A1 is generated according to a preset generation rule and the first position array and the second position array are updated after the slice swap array is obtained, as follows:

[0062] S191: Obtain two characters constituting the decimal number E1 in order from left to right, and mark them as F1 and F2 respectively;

[0063] Extracting the character G1 located at the F1th position from the first position array, and extracting the character G2 located at the F2th position from the second position array;

[0064] S192: Perform four-bit binary conversion on the characters G1 and G2 in turn and concatenate the converted data to obtain a slice array of the processing array A1, wherein the slice array after concatenation contains four-bit binary numbers of the characters G1 and G2 from left to right;

[0065] S193: after obtaining the slice reconstruction array of the processing array A1, the first position array and the second position array are updated, and the updating steps are as follows: in the first position array, the character consistent with the character G1 is swapped with the character 0 to obtain a new first position array of the traveling vehicle, and in the second position array, the character consistent with the character G2 is swapped with the character 0 to obtain a new second position array of the traveling vehicle;

[0066] S110: obtaining slice exchange arrays of processing arrays A2, A3, ..., Aa in sequence according to S18 to S19. It should be noted that the first position array or the second position array is updated each time a slice exchange array is obtained;

[0067] In the order of processing arrays A1, A2, ..., Aa, the sliced ​​reconstructed arrays are spliced ​​to obtain the protection upload data of the traveling vehicle;

[0068] The protection upload unit transmits the protection upload data of the traveling vehicle and its reservation number to the cloud storage terminal;

[0069] The cloud storage terminal is used to receive, restore and store the protection uploaded data of all vehicles in the target parking lot using blockchain technology. The cloud storage terminal stores the reservation information of all reserved vehicles in the target parking lot that have made reservations to enter the target parking lot;

[0070] After receiving the transmitted protection upload data and reservation number of the traveling vehicle, the cloud storage terminal restores the protection upload data according to the reservation number to obtain the parking record information of the traveling vehicle, and uses blockchain technology to store the parking record information in the cloud.

[0071] In the description of the specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0072] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

[0073] The above is a detailed description of an embodiment of the present invention, but the content is only a preferred embodiment of the present invention and cannot be considered to limit the scope of implementation of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the patent coverage of the present invention.

Claims

1. A parking management method based on blockchain technology, characterized in that: The following steps are involved: Step 1: The local information scanning terminal collects the vehicle information of the vehicle currently scheduled to enter the target parking lot and transmits it to the reservation authentication unit. The vehicle information includes the license plate number, vehicle model and vehicle color; Step 2: After receiving the transmitted vehicle information, the reservation authentication unit matches it with the reservation information of all reserved vehicles stored in the storage, extracts the reservation number carried in the matched reservation information and generates a verification instruction, and transmits the verification instruction to the local information scanning terminal; At the same time, generating parking record information of the traveling vehicle according to the extracted reservation number and the vehicle information, and transmitting the parking record information to the protection uploading unit; Step 3: After receiving the transmitted authentication pass instruction, the local information scanning terminal opens the authentication authority to the driving vehicle; Step 4: After receiving the transmitted parking record information of the traveling vehicle, the protection upload unit generates the protection upload data of the traveling vehicle according to the preset protection upload rule, and transmits the protection upload data to the cloud storage terminal. The protection upload rule for generating the protection upload data of the traveling vehicle is as follows: S11: extracting vehicle information carried in the parking record information, performing binary conversion on the vehicle information, and marking the converted data as data to be packaged; S12: from left to right, every four characters in the data to be packaged are taken as a group of processing arrays to obtain a plurality of groups of processing arrays, and the processing arrays are marked as A1, A2, ..., Aa from left to right in accordance with the order of each group of processing arrays in the data to be packaged, where a≥1; S13: extracting the reservation number carried in the parking record information, and traversing all the characters constituting the reservation number from left to right, and performing a non-zero determination on each character after traversing. If the traversed character is 1, stopping traversing the remaining characters, and intercepting the character and all the characters to the right of the character in the reservation number to obtain the extended reservation number B1 of the traveling vehicle. If the traversed character is not 1, continuing to traverse downward until all characters are traversed to obtain the extended reservation number B1 of the traveling vehicle. S14: Calculate and filter the first extended number series and the second extended number series of the traveling vehicle according to the preset calculation and filtering rules, and the calculation and filtering rules are as follows: S141: Using formula The extended scalar C1 of the moving vehicle is obtained by calculation, wherein floor() is a floor rounding function, mod() is a remainder function, P1 is a preset processing base constant, and the value of P1 is 99. is the preset adjustment factor used to adjust The value of always satisfies: greater than or equal to 0 and less than or equal to P1; S142: performing 8-bit binary conversion on the extended scalar C1, and calibrating the binary number obtained after the conversion as the extended sequence of the moving vehicle; S143: extracting the first 4 characters from the extended sequence from left to right as a first extended sequence, and taking the remaining 4 characters after the extraction as a second extended sequence; S15: Using ". " as a segmentation symbol, the security string is segmented into a first position array and a second position array, wherein the first and second position arrays are arranged in sequence from left to right in the security string, wherein the security string is 0123456789.0123456789; S16: updating the first position array according to the first extended sequence according to a preset updating rule, where the updating rule is as follows: S161: If the decimal number of the first extended number sequence is less than or equal to 9, swapping the character of the decimal number of the first extended number sequence with the character 0 in the first position array to obtain a new first position array of the moving vehicle; S162: If the decimal number of the first extended number sequence is greater than 9, mark the characters constituting the decimal number as D1 and D2 in order from left to right; In the first position array, the positions of the characters D1 and D2 are swapped to obtain a new first position array of the traveling vehicle, wherein if the characters D1 and D2 are consistent, the new first position array of the traveling vehicle is itself; S17: updating the second position array according to the second extended sequence according to the same updating rule as S16; S18: Obtain the decimal number E1 of the processing array A1, and if 0≤the number of digits of the decimal number E1≤9, extract the character at the E1th position from the first position array according to the decimal number E1, and use the four-digit binary number of the character as the slice swap array of the processing array A1; After obtaining the slice swap array of the processing array A1, the first position array is updated, and the updating steps are as follows: In the first position array, the character consistent with the decimal number E1 is swapped with the character 0 to obtain a new first position array of the moving vehicle; S19: If the decimal number E1≥10, a slice swap array of the processing array A1 is generated according to a preset generation rule and the first position array and the second position array are updated after the slice swap array is obtained. The updating steps are as follows: S191: Obtain two characters constituting the decimal number E1 in order from left to right, and mark them as F1 and F2 respectively; Extracting the character G1 located at the F1th position from the first position array, and extracting the character G2 located at the F2th position from the second position array; S192: Perform four-bit binary conversion on the characters G1 and G2 in turn and concatenate the converted data to obtain a slice array of the processing array A1, wherein the slice array after concatenation contains four-bit binary numbers of the characters G1 and G2 from left to right; S193: after obtaining the slice reconstruction array of the processing array A1, the first position array and the second position array are updated, and the updating steps are as follows: in the first position array, the character consistent with the character G1 is swapped with the character 0 to obtain a new first position array of the traveling vehicle, and in the second position array, the character consistent with the character G2 is swapped with the character 0 to obtain a new second position array of the traveling vehicle; S110: obtaining slice exchange arrays of processing arrays A2, A3, ..., Aa in sequence according to S18 to S19. It should be noted that the first position array or the second position array is updated each time a slice exchange array is obtained; In the order of processing arrays A1, A2, ..., Aa, the sliced ​​reconstructed arrays are spliced ​​to obtain the protection upload data of the traveling vehicle.

2. A parking management device based on blockchain technology, characterized in that: include: A local information scanning terminal is used to collect vehicle information of vehicles that are expected to enter the target parking lot for parking; A reservation authentication unit, for matching the received vehicle information with the stored reservation information of all reserved vehicles, by extracting the reservation number carried in the matched reservation information, and generating the parking record information of the traveling vehicle according to the extracted reservation number and the vehicle information; After receiving the transmitted parking record information of the traveling vehicle, the protection upload unit generates the protection upload data of the traveling vehicle according to the preset protection upload rule, and transmits the protection upload data to the cloud storage terminal for restoration storage. The protection upload rule for generating the protection upload data of the traveling vehicle is as follows: S11: extracting vehicle information carried in the parking record information, performing binary conversion on the vehicle information, and marking the converted data as data to be packaged; S12: from left to right, every four characters in the data to be packaged are taken as a group of processing arrays to obtain a plurality of groups of processing arrays, and the processing arrays are marked as A1, A2, ..., Aa from left to right in accordance with the order of each group of processing arrays in the data to be packaged, where a≥1; S13: extracting the reservation number carried in the parking record information, and traversing all the characters constituting the reservation number from left to right, and performing a non-zero determination on each character after traversing. If the traversed character is 1, stopping traversing the remaining characters, and intercepting the character and all the characters to the right of the character in the reservation number to obtain the extended reservation number B1 of the traveling vehicle. If the traversed character is not 1, continuing to traverse downward until all characters are traversed to obtain the extended reservation number B1 of the traveling vehicle. S14: Calculate and filter the first extended number series and the second extended number series of the traveling vehicle according to the preset calculation and filtering rules, and the calculation and filtering rules are as follows: S141: Using formula The extended scalar C1 of the moving vehicle is obtained by calculation, wherein floor() is a floor rounding function, mod() is a remainder function, P1 is a preset processing base constant, and the value of P1 is 99. is the preset adjustment factor used to adjust The value of always satisfies: greater than or equal to 0 and less than or equal to P1; S142: performing 8-bit binary conversion on the extended scalar C1, and calibrating the binary number obtained after the conversion as the extended sequence of the moving vehicle; S143: extracting the first 4 characters from the extended sequence from left to right as a first extended sequence, and taking the remaining 4 characters after the extraction as a second extended sequence; S15: Using ". " as a segmentation symbol, the security string is segmented into a first position array and a second position array, wherein the first and second position arrays are arranged in sequence from left to right in the security string, wherein the security string is 0123456789.0123456789; S16: updating the first position array according to the first extended sequence according to a preset updating rule, where the updating rule is as follows: S161: If the decimal number of the first extended number sequence is less than or equal to 9, swapping the character of the decimal number of the first extended number sequence with the character 0 in the first position array to obtain a new first position array of the moving vehicle; S162: If the decimal number of the first extended number sequence is greater than 9, mark the characters constituting the decimal number as D1 and D2 in order from left to right; In the first position array, the positions of the characters D1 and D2 are swapped to obtain a new first position array of the traveling vehicle, wherein if the characters D1 and D2 are consistent, the new first position array of the traveling vehicle is itself; S17: updating the second position array according to the second extended sequence according to the same updating rule as S16; S18: Obtain the decimal number E1 of the processing array A1, and if 0≤the number of digits of the decimal number E1≤9, extract the character at the E1th position from the first position array according to the decimal number E1, and use the four-digit binary number of the character as the slice swap array of the processing array A1; After obtaining the slice swap array of the processing array A1, the first position array is updated, and the updating steps are as follows: In the first position array, the character consistent with the decimal number E1 is swapped with the character 0 to obtain a new first position array of the moving vehicle; S19: If the decimal number E1≥10, a slice swap array of the processing array A1 is generated according to a preset generation rule and the first position array and the second position array are updated after the slice swap array is obtained. The updating steps are as follows: S191: Obtain two characters constituting the decimal number E1 in order from left to right, and mark them as F1 and F2 respectively; Extracting the character G1 located at the F1th position from the first position array, and extracting the character G2 located at the F2th position from the second position array; S192: Perform four-bit binary conversion on the characters G1 and G2 in turn and concatenate the converted data to obtain a slice array of the processing array A1, wherein the slice array after concatenation contains four-bit binary numbers of the characters G1 and G2 from left to right; S193: after obtaining the slice reconstruction array of the processing array A1, the first position array and the second position array are updated, and the updating steps are as follows: in the first position array, the character consistent with the character G1 is swapped with the character 0 to obtain a new first position array of the traveling vehicle, and in the second position array, the character consistent with the character G2 is swapped with the character 0 to obtain a new second position array of the traveling vehicle; S110: obtaining slice exchange arrays of processing arrays A2, A3, ..., Aa in sequence according to S18 to S19. It should be noted that the first position array or the second position array is updated each time a slice exchange array is obtained; In the order of processing arrays A1, A2, ..., Aa, the sliced ​​reconstructed arrays are spliced ​​to obtain the protection upload data of the traveling vehicle.

3. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to implement the parking management method described in claim 1 when executed by a processor.

Citation Information

Patent Citations

  • Intelligent parking cloud service system

    CN110634319A