[go: up one dir, main page]

CN113808288B - Real-time timing consumption deduction analysis method and system for parking lot - Google Patents

Real-time timing consumption deduction analysis method and system for parking lot Download PDF

Info

Publication number
CN113808288B
CN113808288B CN202111043328.8A CN202111043328A CN113808288B CN 113808288 B CN113808288 B CN 113808288B CN 202111043328 A CN202111043328 A CN 202111043328A CN 113808288 B CN113808288 B CN 113808288B
Authority
CN
China
Prior art keywords
password
coupon
client
account
delta
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
CN202111043328.8A
Other languages
Chinese (zh)
Other versions
CN113808288A (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.)
Chongqing Yilian Information Technology Co ltd
Original Assignee
Chongqing Yilian Information Technology 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 Chongqing Yilian Information Technology Co ltd filed Critical Chongqing Yilian Information Technology Co ltd
Priority to CN202111043328.8A priority Critical patent/CN113808288B/en
Publication of CN113808288A publication Critical patent/CN113808288A/en
Application granted granted Critical
Publication of CN113808288B publication Critical patent/CN113808288B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3276Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by the M-device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a real-time timing consumption deduction analysis method and a real-time timing consumption deduction analysis system for a parking lot, wherein the method comprises the following steps: s1, acquiring a coupon comparison code according to a two-dimensional code printed on a parking lot coupon; s2, acquiring the parking deduction amount according to the coupon comparison code acquired in the step S1; s3, judging whether the deduction amount in the step S2 is larger than or equal to the parking cost: if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle; if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps: p is p 1 =p 2 ‑p 3 Wherein p is 1 Representing a supplemental fee; p is p 2 Indicating parking fees; p is p 3 Indicating the deduction amount. The invention can carry out consumption deduction in a scanning mode, is safe and reliable, and enhances the experience of consumers.

Description

Real-time timing consumption deduction analysis method and system for parking lot
Technical Field
The invention relates to the technical field of parking lots, in particular to a real-time timing consumption deduction analysis method and system for a parking lot.
Background
Currently, many merchants typically issue parking lot coupons to owners of vehicles that consume them in their stores in order to appeal to the consumer. But requires entry according to the coupon number noted on the coupon, which is detrimental to the consumer's experience.
Disclosure of Invention
The invention aims at least solving the technical problems in the prior art, and particularly creatively provides a real-time timing consumption deduction analysis method and system for a parking lot.
In order to achieve the above purpose of the present invention, the present invention provides a real-time timing consumption deduction analysis method for a parking lot, comprising the steps of:
s1, acquiring a coupon comparison code according to a two-dimensional code printed on a parking lot coupon;
s2, acquiring the parking deduction amount according to the coupon comparison code acquired in the step S1;
s3, judging whether the deduction amount in the step S2 is larger than or equal to the parking cost:
if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle;
if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps:
p 1 =p 2 -p 3
wherein p is 1 Representing a supplemental fee;
p 2 indicating parking fees;
p 3 indicating the deduction amount.
In a preferred embodiment of the present invention, in step S1, the method for acquiring the coupon comparison code according to the two-dimensional code printed on the parking lot coupon includes the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
S12, processing the coupon scanning code obtained in the step S11 to obtain a coupon comparison code, wherein the method for obtaining the coupon comparison code comprises the following steps:
Figure BDA0003250275490000011
wherein the Coupon scan code represents a Coupon scan code;
Figure BDA0003250275490000012
representing a public key decryption algorithm of the server;
coupon record code represents a coupon contrast code;
transmitting the obtained coupon contrast code Coupon record code to a server;
s13, the server determines whether the received coupon comparison code Coupon record code is used:
if the coupon contrast code Coupon record code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon record code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon record code.
In a preferred embodiment of the present invention, in step S1, the method for generating the two-dimensional code by the server includes:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code, and the method for obtaining the coupon code comprises the following steps:
Figure BDA0003250275490000021
wherein the Coupon password represents a Coupon code;
Figure BDA0003250275490000022
Representing a private key encryption algorithm of the server;
coupon Security Number the coupon number;
s1-2, binding the Coupon code coupler password obtained in the step S1-3 with the deduction amount, storing the bound Coupon code coupler password in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client;
s1-3, printing the two-dimensional code in the step S1-2 on the parking lot coupon.
In a preferred embodiment of the present invention, step S0 is further included before step S1, and the server is logged in by using the mobile phone client.
The invention also discloses a real-time timing consumption deduction analysis system of the parking lot, which comprises a coupon comparison code acquisition module, a deduction amount acquisition module and a judgment release module, wherein the data output end of the coupon comparison code acquisition module is connected with the data input end of the deduction amount acquisition module, and the data output end of the deduction amount acquisition module is connected with the data input end of the judgment release module;
the coupon comparison code acquisition module is used for acquiring the coupon comparison code according to the two-dimensional code printed on the parking lot coupon;
the deduction amount acquisition module is used for acquiring the parking deduction amount according to the coupon comparison code acquired by the coupon comparison code acquisition module;
The judgment release module is used for judging whether the deduction amount in the deduction amount acquisition module is larger than or equal to the parking fee or not:
if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle;
if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps:
p 1 =p 2 -p 3
wherein p is 1 Representing a supplemental fee;
p 2 indicating parking fees;
p 3 indicating the deduction amount.
In a preferred embodiment of the present invention, in the coupon comparison code acquisition module, the method for acquiring the coupon comparison code according to the two-dimensional code printed on the coupon of the parking lot includes the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
s12, processing the coupon scanning code obtained in the step S11 to obtain a coupon comparison code, wherein the method for obtaining the coupon comparison code comprises the following steps:
Figure BDA0003250275490000031
wherein the Coupon scan code represents a Coupon scan code;
Figure BDA0003250275490000032
representing a public key decryption algorithm of the server;
coupon record code represents a coupon contrast code;
transmitting the obtained coupon contrast code Coupon record code to a server;
S13, the server determines whether the received coupon comparison code Coupon record code is used:
if the coupon contrast code Coupon record code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon record code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon record code.
In a preferred embodiment of the present invention, in the coupon comparison code acquisition module, the method for generating the two-dimensional code by the server includes:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code, and the method for obtaining the coupon code comprises the following steps:
Figure BDA0003250275490000033
wherein the Coupon password represents a Coupon code;
Figure BDA0003250275490000034
representing a private key encryption algorithm of the server;
coupon Security Number the coupon number;
s1-2, binding the Coupon code coupler password obtained in the step S1-3 with the deduction amount, storing the bound Coupon code coupler password in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client;
s1-3, printing the two-dimensional code in the step S1-2 on the parking lot coupon.
In a preferred embodiment of the present invention, the server further comprises a client login module, wherein the client login module is used for logging in the server by using the mobile phone client;
the data output end of the client login module is connected with the data input end of the coupon comparison code acquisition module, the data output end of the coupon comparison code acquisition module is connected with the data input end of the deduction amount acquisition module, and the data output end of the deduction amount acquisition module is connected with the data input end of the judgment release module.
In summary, by adopting the technical scheme, the invention can carry out consumption deduction in a scanning mode, is safe and reliable, and enhances the experience of consumers.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and may be better understood from the following description of embodiments taken in conjunction with the accompanying drawings in which:
fig. 1 is a schematic block diagram of a flow of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
The invention provides a real-time timing consumption deduction analysis method for a parking lot, which is shown in fig. 1 and comprises the following steps:
s1, acquiring a coupon comparison code according to a two-dimensional code printed on a parking lot coupon;
s2, acquiring the parking deduction amount according to the coupon comparison code acquired in the step S1;
s3, judging whether the deduction amount in the step S2 is larger than or equal to the parking cost:
if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle;
if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps:
p 1 =p 2 -p 3
wherein p is 1 Representing a supplemental fee;
p 2 indicating parking fees;
p 3 indicating the deduction amount.
In a preferred embodiment of the present invention, the method for identifying the license plate number of the parked vehicle corresponding to the deduction amount includes the steps of:
s31, acquiring a license plate image of a parked vehicle, and acquiring a filtering code of the license plate image of the parked vehicle according to the acquired license plate image of the parked vehicle; the obtained filtering codes and the license plate images of the parked vehicles are sent to a data filtering terminal;
s32, after the data filtering terminal receives the filtering codes sent by the mobile intelligent handheld terminal and the license plate image of the parked vehicle, judging whether the filtering codes exist in a license plate image filtering database or not:
If the filtering codes exist in the license plate image filtering database, the received filtering codes are sent to a server; step S33 is performed;
if the filtering codes are not in the license plate image filtering database, the received filtering codes and the license plate image of the parked vehicle are sent to a server; step S34 is performed;
s33, after the server receives the filtering codes sent by the data filtering terminal, the server searches the license plate number of the parking vehicle corresponding to the filtering codes according to the filtering codes;
s34, after receiving the filter codes and the license plate images of the parked vehicles sent by the data filter terminal, the server extracts the license plate numbers of the parked vehicles from the license plate images of the parked vehicles; binding the filtering code with the extracted license plate number of the parking vehicle.
In a preferred embodiment of the present invention, in step S31, the method of acquiring a license plate image of a parked vehicle thereof includes one or any combination of the following:
and (3) obtaining: a license plate image of the parked vehicle shot by a camera;
and II, obtaining: transmitting license plate images of the parked vehicles to the mobile intelligent handheld terminal connected with the data filtering terminal by other mobile intelligent handheld terminals in a Bluetooth mode;
and (3) obtaining three: and the parking vehicle license plate image stored on the mobile intelligent handheld terminal.
In a preferred embodiment of the invention, the acquisition of a sample comprises the steps of:
s311, the client installed on the mobile intelligent handheld terminal judges whether the camera shoots an image or not:
if the camera shoots an image, the client acquires a shooting image storage path;
if the camera does not shoot the image, continuing to wait, and returning to the step S311;
s312, the client acquires the shooting image according to the shooting image storage path acquired in the step S311; obtaining a license plate image of the parked vehicle;
the acquisition two comprises the following steps:
S3A, the client installed on the mobile intelligent handheld terminal judges whether the mobile intelligent handheld terminal is connected with other mobile intelligent handheld terminals in a Bluetooth mode, and receives images sent by the other mobile intelligent handheld terminals:
if images sent by other mobile intelligent handheld terminals are received, the client acquires a received image storage path of the client;
if the images sent by other mobile intelligent handheld terminals are not received, continuing to wait, and returning to the step S3A;
S3B, the client acquires a received image according to the received image storage path acquired in the step S3A; obtaining a license plate image of the parked vehicle;
the acquisition three comprises the following steps:
S3a, the client installed on the mobile intelligent handheld terminal judges whether the client triggers an image folder searching command or not:
if the client receives a command for triggering to search the image folder, ejecting the image folder, wherein the image folder comprises a shooting image storage path folder or/and a receiving image storage path folder; in the photographed image storage path folder, photographed images are arranged in order of photographing time from the rear to the front, and in the received image storage path folder, received images are arranged in order of receiving time from the rear to the front;
if the client side does not receive the command for triggering to search the image folder, continuing waiting, and returning to the step S3a;
s3b, acquiring the selected image according to the selected image path, and obtaining the license plate image of the parked vehicle. The license plate images of the parked vehicles are obtained in different modes, and whether the license plate images of the parked vehicles are stored through the client side which is arranged on the mobile intelligent handheld terminal, the license plate images of the parked vehicles which are transmitted by other mobile intelligent handheld terminals or the license plate images of the parked vehicles which are directly shot through the camera, the storage path of the license plate images of the parked vehicles can be quickly found.
In a preferred embodiment of the present invention, the method for obtaining the filtering codes in step S31 includes the following steps:
s31-1, acquiring the image width value, the image height value and the image resolution of the acquired license plate image of the parking vehicle, and recording as I Height 、I Width And I Resolution ,I Height Image height value representing license plate image of parked vehicle, I Width Image width value representing license plate image of parked vehicle, I Resolution Image resolution representing a license plate image of a parked vehicle;
s31-2, obtaining the image height value I of the license plate image of the parked vehicle according to the step S31-1 Height Image width value I of license plate image of parked vehicle Width And image resolution I of license plate image of parked vehicle Resolution Constructing a two-dimensional matrix of license plate images of the parked vehicles; the following is recorded:
Figure BDA0003250275490000051
wherein, pixel 11 Representing the color degree of pixel points in the 1 st row and 1 st column of the license plate image of the parking vehicle;
Pixel 12 representing the color degree of pixel points in the 1 st row and the 2 nd column of the license plate image of the parking vehicle;
Pixel 13 representing the color degree of pixel points in the 1 st row and the 3 rd column of the license plate image of the parking vehicle;
Pixel 1J representing the color degree of pixel points in the 1 st row and the J column of the license plate image of the parking vehicle; j=i Width ×I Resolution
Pixel 21 Representing the color degree of pixel points in the 2 nd row and the 1 st column of the license plate image of the parking vehicle;
Pixel 22 representing the color degree of pixel points in the 2 nd row and the 2 nd column of the license plate image of the parking vehicle;
Pixel 23 Representing the color degree of pixel points in the 2 nd row and the 3 rd column of the license plate image of the parking vehicle;
Pixel 2J representing the color degree of pixel points in the 2 nd row and the J-th column of the license plate image of the parking vehicle;
Pixel 31 representing the color degree of pixel points in the 3 rd row and the 1 st column of the license plate image of the parking vehicle;
Pixel 32 representing the color degree of pixel points in the 3 rd row and the 2 nd column of the license plate image of the parking vehicle;
Pixel 33 representing the color degree of pixel points in the 3 rd row and the 3 rd column of the license plate image of the parking vehicle;
Pixel 3J representing the color degree of pixel points in the 3 rd row and the J th column of the license plate image of the parking vehicle;
Pixel I1 representing the color degree of pixel points in the I row and the 1 column of the license plate image of the parking vehicle; i=i Height ×I Resolution
Pixel I2 Representing the color degree of pixel points in the I row and the 2 column of the license plate image of the parking vehicle;
Pixel I3 representing the color degree of pixel points in the I row and the 3 column of the license plate image of the parking vehicle;
Pixel IJ representing the color degree of pixel points in the I row and the J column of a license plate image of a parked vehicle;
s31-3, calculating the color chroma, wherein the calculating method of the color chroma comprises the following steps:
Figure BDA0003250275490000061
wherein Red ij Representing the red chroma of a pixel point in the ith row and the jth column of the license plate image of the parked vehicle;
Figure BDA0003250275490000062
a scale parameter representing the chroma of the red color;
Figure BDA0003250275490000063
Green ij Representing green chroma of pixel points in the ith row and the jth column of the license plate image of the parked vehicle;
Figure BDA0003250275490000065
a scale parameter representing green chroma;
Blue ij Representing blue chroma of pixel points in an ith row and a jth column of a license plate image of a parked vehicle;
Figure BDA0003250275490000064
a scale parameter representing the chroma of the blue color;
Pixel ij representing the color degree of pixel points in the ith row and the jth column of the license plate image of the parked vehicle; i is a positive integer less than or equal to I, J is a positive integer less than or equal to J;
s31-4, forming a color chroma string by I.J color degrees, namely arranging the color degrees from left to right from top to bottom, wherein the color degrees are formed as follows:
Pixel 11 Pixel 12 Pixel 13 …Pixel 1J Pixel 21 Pixel 22 Pixel 23 …Pixel 2J Pixel 31 Pixel 32 Pixel 33 …Pixel 3J …Pixel I1 Pixel I2 Pixel I3 …Pixel IJ
s31-5, performing character string processing on the color degree character string obtained in the step S31-4 to obtain a filtering code of the color degree character string; the method for processing the color degree character string comprises the following steps:
Filter code=Hash algorithm(Chromaticity string),
wherein Filter code represents a Filter code;
hash algorithm () represents a Hash algorithm; specifically, an MD5 algorithm can be adopted;
chromaticity string the color degree string.
In a preferred embodiment of the present invention, the method for searching the license plate number of the parked vehicle corresponding to the filter code according to the filter code in step S33 includes the following steps:
s331, dividing the character length of the filtering code into N sections according to the filtering code, wherein N is a positive integer greater than or equal to 2, and the filtering code is 1 st from left to rightCode removal, 2 nd filter code, 3 rd filter code, … …, nth filter code; the character length of the nth filtering code is smaller than the length of the filtering code, N is a positive integer less than or equal to N, wherein the Filter code=filter code 1 -Filter code 2 -Filter code 3 -…-Filter code Q Filter code means Filter code 1 Representing the 1 st Filter code 2 Representing the 2 nd Filter code 3 Representing the 3 rd Filter code Q Representing the Q filtering code; -representing a string connector;
s332, let q=1,
s333, filtering the code Filter code according to the q-th filtering code q Filter code containing q-th filtering code is filtered out q Putting the character string of the (b) into a q-th filtering code set;
s334, q=q+1, and the relationship between Q and Q is determined:
if Q is more than Q, executing the next step;
if Q is less than or equal to Q, returning to the step S333;
s335, screening out characters with the same character string in the 1 st filtering code set, the 2 nd filtering code set, the 3 rd filtering code set, … … and the Q-th filtering code set to form a screening character set, screening out a filtering code Filter code from the screening character set, and obtaining a parking vehicle license plate number corresponding to the filtering code Filter code according to the filtering code Filter code.
In a preferred embodiment of the present invention, the method of extracting the license plate number of the parked vehicle from the license plate image of the parked vehicle in step S34 includes the steps of:
s341, judging whether the license plate image of the parked vehicle is a gray image:
if the license plate image of the parked vehicle is a gray image, executing the next step;
If the license plate image of the parked vehicle is not a gray image, converting the license plate image of the parked vehicle into the gray image, wherein the method for converting the license plate image of the parked vehicle into the gray image comprises the following steps:
Gray=(R+G+B)/3,
wherein Gray represents a Gray value;
r represents the red chroma in RGB color mode;
g represents green chroma in RGB color mode;
b represents the blue chroma in RGB color mode;
s342, calculating the proportionality coefficient of the total number of license plate character pixel points and the license plate image of the parked vehicle, wherein the calculation method of the proportionality coefficient of the total number of license plate character pixel points and the license plate image of the parked vehicle comprises the following steps:
Figure BDA0003250275490000081
wherein w is 0 The ratio coefficient of the total number of license plate character pixel points to the license plate image of the parked vehicle is represented;
N 1 representing the total number of the gray values in the license plate images of the preset parking vehicles, which are smaller than the license plate image segmentation threshold value P;
I Width an image width value representing a license plate image of a parked vehicle;
I Height an image height value representing a license plate image of a parked vehicle;
I Resolution image resolution representing a license plate image of a parked vehicle;
s343, calculating the proportionality coefficient of the total number of other pixels and the license plate image of the parked vehicle, wherein the calculation method of the proportionality coefficient of the total number of other pixels and the license plate image of the parked vehicle is as follows:
w 1 =1-w 0
w 1 The ratio coefficient of the total number of other pixel points to the license plate image of the parked vehicle is represented;
w 0 the ratio coefficient of the total number of license plate character pixel points to the license plate image of the parked vehicle is represented;
s344, calculating the gray average value of the license plate character image, wherein the method for calculating the gray average value of the license plate character image comprises the following steps:
Figure BDA0003250275490000082
wherein A represents the gray average value of license plate character images;
N 1 representing the total number of the gray values in the license plate images of the preset parking vehicles, which are smaller than the license plate image segmentation threshold value P;
n i representing the gray value of the ith pixel point in the license plate character image;
s344, calculating the gray average value of the background image formed by other pixels, wherein the gray average value of the image formed by other pixels is calculated by the following steps:
Figure BDA0003250275490000083
wherein B represents the gray average value of the background image formed by other pixel points;
N 1 ' indicates the total number of other pixels, N 1 +N 1 ′=I Width ×I Height ×I Resolution 2
n i ' represents the gray value of the ith pixel point in the background image;
s345, calculating the gray average value of the license plate image of the parked vehicle, wherein the method for calculating the gray average value of the license plate image of the parked vehicle comprises the following steps:
C=w 0 A+Bw 1
c represents the gray average value of the license plate image of the parked vehicle;
w 0 the ratio coefficient of the total number of license plate character pixel points to the license plate image of the parked vehicle is represented;
A represents the gray average value of license plate character images;
b represents the gray average value of the background image formed by other pixel points;
w 1 the ratio coefficient of the total number of other pixel points to the license plate image of the parked vehicle is represented;
s346, calculating the gray level difference value of the license plate image of the parked vehicle, wherein the method for calculating the gray level difference value of the license plate image of the parked vehicle comprises the following steps:
D=w 0 (A-C) 2 +(C-B) 2 w 1
wherein D represents the gray level difference value of the license plate image of the parked vehicle;
w 0 the ratio coefficient of the total number of license plate character pixel points to the license plate image of the parked vehicle is represented;
a represents the gray average value of license plate character images;
c represents the gray average value of the license plate image of the parked vehicle;
b represents the gray average value of the background image formed by other pixel points;
w 1 the ratio coefficient of the total number of other pixel points to the license plate image of the parked vehicle is represented;
when the gray level difference value of the license plate image of the parked vehicle is maximum by adopting a traversing method, an image segmentation threshold value P is obtained;
s347, calculating a substitute pixel value of the license plate image of the parked vehicle, wherein the method for calculating the substitute pixel value of the license plate image of the parked vehicle comprises the following steps:
Figure BDA0003250275490000091
wherein IF represents a logic conditional IF;
p represents an image segmentation threshold;
n i "the gray value of the ith pixel point in the license plate image of the parked vehicle, i is E [0, N ] 1 +N 1 ′]and i∈Z + And represents a logical condition and, Z + Representing a positive integer set;
s348, comparing the comparison character with the characters in the license plate image of the parked vehicle in the step S347 to obtain the license plate number of the parked vehicle.
In a preferred embodiment of the present invention, the method for binding the filter code and the extracted license plate number of the parked vehicle in step S34 includes the following steps:
s34-1, judging whether the extracted license plate number of the parked vehicle exists in a server license plate storage database:
if the extracted license plate number of the parked vehicle exists in the server license plate storage database, executing the step S34-2;
if the extracted license plate number of the parked vehicle does not exist in the server license plate storage database, the license plate number of the parked vehicle is stored in the server license plate storage database, and the step S34-1 is returned;
s34-2, judging whether the extracted license plate number of the parked vehicle is bound with other filtering codes or not:
if the extracted license plate number of the parking vehicle is bound with other filtering codes, a filtering code binding list is established, the other filtering codes and the filtering codes are placed in the filtering code binding list, and the filtering code binding list is bound with the license plate number of the parking vehicle;
If the extracted license plate number of the parked vehicle is not bound with other filtering codes, the filtering codes are bound with the license plate number of the parked vehicle. The filtering code binding list formed by a plurality of different filtering codes corresponding to the license plate number of the parked vehicle can be realized, and the storage capacity is reduced.
In a preferred embodiment of the present invention, in step S1, the method for acquiring the coupon comparison code according to the two-dimensional code printed on the parking lot coupon includes the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
s12, processing the coupon scanning code obtained in the step S11 to obtain a coupon comparison code, wherein the method for obtaining the coupon comparison code comprises the following steps:
Figure BDA0003250275490000101
wherein the Coupon scan code represents a Coupon scan code;
Figure BDA0003250275490000102
representing a public key decryption algorithm of the server;
coupon record code represents a coupon contrast code;
transmitting the obtained coupon contrast code Coupon record code to a server;
s13, the server determines whether the received coupon comparison code Coupon record code is used:
if the coupon contrast code Coupon record code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
If the coupon comparison code Coupon record code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon record code.
The method for acquiring the coupon number according to the two-dimensional code printed on the coupon of the parking lot can also comprise the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
s12, processing the coupon scanning code obtained in the step S11 to obtain a coupon record code, wherein the method for obtaining the coupon record code comprises the following steps:
Figure BDA0003250275490000103
wherein the Coupon scan code represents a Coupon scan code;
Figure BDA0003250275490000104
representing a public key decryption algorithm of the server;
coupon record code represents a coupon record code;
transmitting the obtained coupon record code Coupon record code to a server;
s13, the server processes the received coupon record code Coupon record code to obtain a coupon comparison code, wherein the coupon comparison code is obtained in the following way:
Coupon comparison code=Hash algorithm(Coupon record code)
wherein Coupon comparison code represents a coupon contrast code;
hash algorithm () represents a Hash algorithm;
coupon record code represents a coupon record code;
s14, judging whether the coupon contrast code Coupon comparison code is used or not:
If the coupon contrast code Coupon comparison code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon comparison code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon comparison code.
In a preferred embodiment of the present invention, in step S1, the method for generating the two-dimensional code by the server includes:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code, and the method for obtaining the coupon code comprises the following steps:
Figure BDA0003250275490000111
wherein the Coupon password represents a Coupon code;
Figure BDA0003250275490000112
representing a private key encryption algorithm of the server;
coupon Security Number the coupon number;
s1-2, binding the Coupon code coupler password obtained in the step S1-3 with the deduction amount, storing the bound Coupon code coupler password in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client;
s1-3, printing the two-dimensional code in the step S1-2 on the parking lot coupon.
The method for generating the two-dimensional code by the server can also be as follows:
S1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code, and the method for obtaining the coupon code comprises the following steps:
Coupon Security Number=Hash algorithm(Coupon password)
wherein Coupon Security Number represents a coupon code;
hash algorithm () represents a Hash algorithm;
the Coupon code is represented by the Coupon password;
s1-2, processing the coupon code Coupon Security Number obtained in the step S1-1 to obtain a coupon security number, wherein the method for obtaining the coupon security number comprises the following steps:
Figure BDA0003250275490000121
wherein, the Coupon password represents the security number of the Coupon;
Figure BDA0003250275490000122
representing a private key encryption algorithm of the server; the private key encryption algorithm of the server and the public key decryption algorithm of the server are asymmetric algorithms, namely, the coupon codes are encrypted through the private key of the server, and the encrypted data are decrypted through the public key of the server.
Coupon Security Number represents a coupon code;
s1-3, binding the Coupon security number coupler password obtained in the step S1-2 with the deduction amount correspondingly, storing the binding in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client by the Coupon security number coupler password;
S1-4, printing the two-dimensional code in the step S1-3 on the parking lot coupon.
In a preferred embodiment of the present invention, step S0 is further included before step S1, and the method for logging in the server by using the mobile phone client includes the following steps:
s01, a login user inputs a client use account number and a password login input box to input a client use password to an account login input box of the login user;
s02, extracting a client use account number input by a login user to an account number login input box and a client use password input by a password login input box in the step S01, and processing the client use account number or/and the client use password to obtain an uploading account number and an uploading password; uploading the uploading account number and the uploading password to a server;
s03, after processing the received uploading account and uploading password, the server obtains a comparison account and a comparison password, and judges whether the comparison account and the comparison password are consistent with a stored account and a stored password stored by the server:
in this embodiment, the method for obtaining the stored account number and the stored password includes the following steps:
s03a, during registration, a registered user inputs a client-side use account number in an account number registration input box, wherein the client-side use account number comprises one of numbers 0-9, lowercase letters a-Z and uppercase letters A-Z, and the number of digits of the client-side use account number is alpha, alpha epsilon [6,15] & alpha epsilon Z; the method comprises the steps that logic conditions are expressed, Z represents an integer set, a client-side used password is input in a password registration input box, the client-side used password comprises numbers 0-9, lower case letters a-Z and upper case letters A-Z which exist simultaneously, and the number of the client-side used password is beta, and beta is E [6,20];
S03b, the client judges the number of digits and the set alpha of the client usage account numbers input by the registered user to the account registration input box 0 Relationship between:
if alpha is 1 ∈α 0 Wherein alpha is 1 Representing the number of digits of client-side used account number, alpha, input by a registered user to an account number registration input box of the registered user 0 =[6,15]Executing the next step;
if it is
Figure BDA0003250275490000123
Displaying warning information beside the account registration input box, wherein the warning information indicates that the number of digits of the account used by the input client is not in accordance with the regulation:
if the number of the input client-side using account numbers is shorter than six, the warning information is that the number of the input client-side using account numbers is shorter than six;
if the number of the input client-side using account numbers is more than fifteen, the warning information is that the number of the input client-side using account numbers is more than fifteen;
s03c, the client judges the number of the password used by the client and input by the registered user to the password registration input box and the set beta 0 Relationship between:
if beta is 1 ∈β 0 Wherein beta is 1 Representing the number of password digits used by a client input by a registered user to his password registration input box, beta 0 =[6,20]Executing the next step;
if it is
Figure BDA0003250275490000131
Displaying warning information beside the password registration input box, wherein the warning information indicates that the number of password digits used by an input client is not in accordance with the regulations:
If the number of the password bits used by the input client is shorter than six, the warning information is that the number of the password bits used by the input client is shorter than six;
if the number of the password bits used by the input client is longer than twenty, the warning information is that the number of the password bits used by the input client is longer than twenty;
s03d, the client judges whether the client using the password characters input by the registered user to the password registration input box comprises numbers, lowercase letters and uppercase letters:
s03d1, let χ 1 =χ 2 =χ 3 =0, where χ 1 Representing a first intermediate parameter, χ 2 Represent the second intermediate parameter χ 3 Representing a third intermediate parameter; delta 1 =δ 2 =δ 3 =1;δ 1 Representing the first sequence number parameter, delta 2 Representing the second sequence number parameter, delta 3 Representing a third sequence number parameter;
s03d2, judging
Figure BDA0003250275490000132
Whether belonging to the digital set 0-9:
if it is
Figure BDA0003250275490000133
Belonging to the digital set 0-9->
Figure BDA0003250275490000134
Delta-th representing client-use password entered by a registered user into his password registration input box 1 A bit; delta then 1 =δ 1 +1; step S03d3 is performed;
if it is
Figure BDA0003250275490000135
If not belonging to the number set 0-9, delta 1 =δ 1 +1,χ 1 =χ 1 +1; judging delta thereof 1 And beta 1 Is the relation of:
if delta 1 ≥β 1 1, displaying warning information beside a password registration input box, wherein the warning information is that the password characters used by an input client are not in accordance with the regulations, and the input of characters comprising numbers, lowercase letters and uppercase letters is requested;
If delta 1 ≤β 1 -2, returning to step S03d2;
s03d3, judging
Figure BDA0003250275490000136
Whether belonging to the lower case letter set a-z:
if it is
Figure BDA0003250275490000137
Belongs to the lower case letter sets a-z, < +.>
Figure BDA0003250275490000138
Delta-th representing client-use password entered by a registered user into his password registration input box 2 A bit; delta then 2 =δ 2 +1; step S03d4 is performed;
if it is
Figure BDA0003250275490000139
If not belonging to the lower case letter set a-z, delta 2 =δ 2 +1,χ 2 =χ 2 +1; judging delta thereof 2 And beta 1 Is the relation of:
if delta 2 ≥β 1 Displaying warning information beside the password registration input box, wherein the warning information is that the input characters of the password used by the input client are not in accordance with the regulations, and please input the characters comprising numbers, lower case letters and upper case letters;
if delta 2 ≤β 1 -1, returning to step S03d3;
s03d4, judging
Figure BDA00032502754900001310
Whether belonging to the capital letter set A-Z:
if it is
Figure BDA00032502754900001311
Belongs to capital letter sets A-Z, < +.>
Figure BDA00032502754900001312
Delta-th representing client-use password entered by a registered user into his password registration input box 3 A bit; delta then 3 =δ 3 +1; executing step S03e;
if it is
Figure BDA00032502754900001313
If not belonging to the capital letter set A-Z, delta 3 =δ 3 +1,χ 3 =χ 3 +1; judging delta thereof 3 And beta 1 Is the relation of: />
If delta 3 ≥β 1 +1, displaying warning information beside the password registration input box,the warning information is that the input client uses password characters which do not meet the regulations, and please input characters comprising numbers, lowercase letters and uppercase letters;
If delta 3 ≤β 1 Returning to step S0344;
s03e, processing the client use account number input by the registration user to the account number registration input box or/and the client use password input by the password registration input box to obtain an uploading account number and an uploading password;
s03f, after the server processes the received uploading account and uploading password, a storage account and a storage password are obtained, and the storage account and the storage password are stored.
In a preferred embodiment of the present invention, in step S03e, after processing a client usage account input by a registered user to an account registration input box thereof, a method for obtaining an uploaded account thereof includes the following steps:
s03e1, carrying out numerical mapping on a client-side using account numbers according to a character-numerical mapping table to obtain mapped account numbers; the character-to-value mapping table is shown in table 1.
TABLE 1 character-to-value mapping table
Character(s) 0 1 2 3 4 5 6 7 8 9 a
Numerical value 0 1 2 3 4 5 6 7 8 9 10
Character(s) b c d e f g h i j k l
Numerical value 11 12 13 14 15 16 17 18 19 20 21
Character(s) m n o p q r s t u v w
Numerical value 22 23 24 25 26 27 28 29 30 31 32
Character(s) x y z A B C D E F G H
Numerical value 33 34 35 36 37 38 39 40 41 42 43
Character(s) I J K L M N O P Q R S
Numerical value 44 45 46 47 48 49 50 51 52 53 54
Character(s) T U V W X Y Z
Numerical value 55 56 57 58 59 60 61
S03e2, switching the mapping account number into a middle account number representation; the method for switching the mapping account number to the intermediate account number representation comprises the following steps:
Figure BDA0003250275490000141
wherein,,
Figure BDA0003250275490000142
delta-th representing client-use password entered by a registered user into his password registration input box 0 A bit;
Figure BDA0003250275490000143
delta-th representing client-use password entered by a registered user into his password registration input box 0 The value corresponding to the bit;
α 1 representing the number of digits of the account number used by the client input by the registration user to the account registration input box of the registration user;
phi represents a middle account number;
s03e3, switching the intermediate account number into a transmission account number representation; the method for switching the intermediate account number to the transmission account number representation comprises the following steps:
s03e31, let phi 0 =φ,δ 4 =0;
S03e32,
Figure BDA0003250275490000144
Wherein Rounding algorithm < > represents a rounding algorithm;
Figure BDA0003250275490000151
represents the delta 4 +1 times account rounding value;
Figure BDA0003250275490000152
represents the delta 4 The secondary account number takes the whole value;
judging it
Figure BDA0003250275490000153
Relationship with 35:
if it is
Figure BDA0003250275490000154
Delta then 4 =δ 4 +1, returning to step S03e32;
if it is
Figure BDA0003250275490000155
Delta then 4 =δ 4 +1, step S03e33 is performed;
s03e33, let delta 5 =0;
S03e34,
Figure BDA0003250275490000156
Wherein Remainder algorithm </SUB > represents a remainder algorithm;
Figure BDA0003250275490000157
represents the delta 5 Taking the remainder value of the +1 account;
Figure BDA0003250275490000158
represents the delta 5 The secondary account number takes the whole value;
judging delta thereof 5 And delta 4 Is the relation of:
if delta 5 ≥δ 4 Executing the next step;
if delta 5 <δ 4 Delta then 5 =δ 5 +1, step S03e34;
s03e35, extracting the residual value of the account number, and arranging the residual value as follows:
Figure BDA0003250275490000159
Figure BDA00032502754900001510
the account number is transmitted;
s03e4, performing numerical inverse mapping on the transmission account according to the character-numerical mapping table to obtain an uploading account.
In a preferred embodiment of the present invention, in step S03e, after processing the client input by the registered user to the password registration input box thereof using the password, the method for obtaining the uploaded password thereof includes the following steps:
S03eA, carrying out numerical mapping on the client-side using the password according to the character-numerical mapping table to obtain a mapping password;
s03eB, switching the mapping password into an intermediate password representation; the method for switching the mapping password to the intermediate password representation comprises the following steps:
Figure BDA00032502754900001511
wherein,,
Figure BDA00032502754900001512
a client-side user password input by a registered user to a password registration input box thereof is indicated by +.>
Figure BDA00032502754900001513
A bit;
Figure BDA00032502754900001514
client-side use password representing input of registered user to password registration input box thereofIs>
Figure BDA00032502754900001515
The value corresponding to the bit; />
β 1 Representing the number of password digits used by a client input by a registered user to a password registration input box thereof;
Figure BDA0003250275490000161
representing an intermediate password;
s03eC, switching the intermediate password into a transmission password representation; the method for switching the intermediate password to the delivery password representation comprises the following steps:
s03eC1, order
Figure BDA0003250275490000162
S03eC2,
Figure BDA0003250275490000163
Wherein Rounding algorithm < represents a rounding algorithm;
Figure BDA0003250275490000164
indicate->
Figure BDA0003250275490000165
Rounding the secondary password;
Figure BDA0003250275490000166
indicate->
Figure BDA0003250275490000167
Rounding the secondary password;
judging it
Figure BDA0003250275490000168
Relationship with 35:
if it is
Figure BDA0003250275490000169
Then->
Figure BDA00032502754900001610
Returning to the step S03eC2;
if it is
Figure BDA00032502754900001611
Then->
Figure BDA00032502754900001612
Executing step S03eC3;
s03eC3, order
Figure BDA00032502754900001613
S03eC4,
Figure BDA00032502754900001614
Wherein Remainder algorithm < is indicative of a remainder algorithm;
Figure BDA00032502754900001615
indicate->
Figure BDA00032502754900001616
Taking the remainder value of the secondary password;
Figure BDA00032502754900001617
indicate->
Figure BDA00032502754900001618
Rounding the secondary password;
judging it
Figure BDA00032502754900001619
And->
Figure BDA00032502754900001620
Is the relation of:
if it is
Figure BDA00032502754900001621
Then the next step is performed;
if it is
Figure BDA00032502754900001622
Then->
Figure BDA00032502754900001623
Step S03eC4;
s03eC5, extracting the password residual value and arranging the password residual value according to the following steps:
Figure BDA00032502754900001624
Figure BDA0003250275490000171
namely, the password is transmitted;
s03eD, performing numerical anti-mapping on the transmission password according to the character-numerical mapping table to obtain the uploading password.
For example, assume that the client input by the registered user to his password registration input box uses the password 123abcABC.
The first step, carrying out numerical mapping on a client-side using a password according to a character-numerical mapping table to obtain a mapping password; specifically, performing numerical mapping on the 1 according to a character-numerical mapping table to obtain 1; performing numerical mapping on the 2 according to the character-numerical mapping table to obtain 2; performing numerical mapping on the 3 according to the character-numerical mapping table to obtain 3; performing numerical mapping on the a according to the character-numerical mapping table to obtain 10; performing numerical mapping on b according to the character-numerical mapping table to obtain 11; performing numerical mapping on the c according to the character-numerical mapping table to obtain 12; performing numerical mapping on the A according to the character-numerical mapping table to obtain 36; performing numerical mapping on the B according to the character-numerical mapping table to obtain 37; performing numerical mapping on the C according to the character-numerical mapping table to obtain 38; namely, carrying out numerical mapping on 123abcABC according to a character-numerical mapping table to obtain 123 10 11 12 36 37 38; i.e. the client uses the mapping password corresponding to the password 123abcABC as 123 10 11 12 36 37 38.
The second step, the mapping password is switched to the intermediate password representation, specifically:
Figure BDA0003250275490000172
i.e., the mapped password 12 3 10 11 12 36 37 38 is switched to the intermediate password 225563062372732 representation.
Third step, order
Figure BDA0003250275490000173
Figure BDA0003250275490000174
Due to 6265640621464>35, and therefore,
Figure BDA0003250275490000181
in the fourth step, the third step is that,
Figure BDA0003250275490000182
due to 174045572818>35, and therefore,
Figure BDA0003250275490000183
a fifth step of, in a fifth step,
Figure BDA0003250275490000184
due to 4834599244>35, and therefore,
Figure BDA0003250275490000185
a sixth step of, in the sixth step,
Figure BDA0003250275490000186
due to 134294423>35, and therefore,
Figure BDA0003250275490000187
a seventh step of, in the seventh step,
Figure BDA0003250275490000188
due to 3730400>35, and therefore,
Figure BDA0003250275490000191
an eighth step of, in which the first step,
Figure BDA0003250275490000192
due to 103622>35, and therefore,
Figure BDA0003250275490000193
a ninth step of, in the ninth step,
Figure BDA0003250275490000194
due to 2878>35, and therefore,
Figure BDA0003250275490000195
a tenth step of, in a tenth step,
Figure BDA0003250275490000196
due to 79>35, and therefore,
Figure BDA0003250275490000197
an eleventh step of the method, in which the first step,
Figure BDA0003250275490000198
because 2 is less than or equal to 35, therefore,
Figure BDA0003250275490000201
at this time->
Figure BDA0003250275490000202
Twelfth step, order
Figure BDA0003250275490000203
In a thirteenth step, the first step is performed,
Figure BDA0003250275490000204
due to 0<9, thus
Figure BDA0003250275490000205
A fourteenth step of, in which a third step of,
Figure BDA0003250275490000206
due to 1<9, thus
Figure BDA0003250275490000207
In a fifteenth step, the method comprises,
Figure BDA0003250275490000208
due to 2<9, thus
Figure BDA0003250275490000209
Figure BDA0003250275490000211
In a sixteenth step, the first step,
Figure BDA0003250275490000212
due to 3<9, thus
Figure BDA0003250275490000213
In the seventeenth step, the first step,
Figure BDA0003250275490000214
due to 4<9, thus
Figure BDA0003250275490000215
An eighteenth step of, in which the first step,
Figure BDA0003250275490000216
due to 5<9, thus
Figure BDA0003250275490000217
A nineteenth step of, in the nineteenth step,
Figure BDA0003250275490000218
due to 6<9, thus
Figure BDA0003250275490000219
Figure BDA0003250275490000221
In a twenty-first step, a second step,
Figure BDA0003250275490000222
due to 7<9, thus
Figure BDA0003250275490000223
Figure BDA0003250275490000224
In a twenty-first step, a second step,
Figure BDA0003250275490000225
due to 8<9, thus
Figure BDA0003250275490000226
In a twenty-second step, a second step,
Figure BDA0003250275490000227
since 9.gtoreq.9, at this time
Figure BDA0003250275490000228
Twenty-third, extracting the password residual value according to the following arrangement:
Figure BDA0003250275490000229
27 34 14 8 23 16 34 16 28 is the transfer password;
A twenty-fourth step of performing numerical inverse mapping on the transmission password according to the character-numerical mapping table to obtain an uploading password thereof; specifically, performing numerical inverse mapping on the 2 according to a character-numerical mapping table to obtain 2; performing numerical inverse mapping on the 7 according to the character-numerical mapping table to obtain 7; performing numerical inverse mapping on the 34 according to the character-numerical mapping table to obtain y; performing numerical inverse mapping on the 14 according to the character-numerical mapping table to obtain e; performing numerical inverse mapping on the 8 according to the character-numerical mapping table to obtain 8; performing numerical inverse mapping on the 23 according to the character-numerical mapping table to obtain n; performing numerical inverse mapping on the 16 according to the character-numerical mapping table to obtain g; performing numerical inverse mapping on the 34 according to the character-numerical mapping table to obtain y; performing numerical inverse mapping on the 16 according to the character-numerical mapping table to obtain g; performing numerical inverse mapping on the 28 according to the character-numerical mapping table to obtain s; namely, the transfer password 27 34 14 8 23 16 34 16 28 is subjected to numerical inverse mapping according to the character-numerical mapping table, and the uploading password is 27ye8ngygs.
S031, judging whether the comparison account exists on the server:
if the comparison account exists on the server, executing the next step;
If the comparison account does not exist on the server, prompt information is sent, the prompt is that the input client-side use account number is wrong, and the client-side use account number is requested to be input again;
s032, judging whether the comparison password is consistent with the stored password corresponding to the stored account number:
if the comparison password is consistent with the stored password corresponding to the stored account, the login server is successful;
if the comparison password is inconsistent with the stored password corresponding to the stored account, a prompt message is sent, the prompt is that the input client-side use password is wrong, and the client-side use password is required to be input again.
In a preferred embodiment of the present invention, after processing the account number used by the client in step S02, the method for obtaining the uploading account number thereof includes the following steps:
s021, carrying out numerical mapping on the client-side using account numbers according to a character-numerical mapping table to obtain mapped account numbers;
s022, switching the mapping account number into a middle account number representation; the method for switching the mapping account number to the intermediate account number representation comprises the following steps:
Figure BDA0003250275490000231
wherein,,
Figure BDA0003250275490000232
delta-th representing client-side use password input by login user to password login input box 0 A bit;
Figure BDA0003250275490000233
delta-th representing client-side use password input by login user to password login input box 0 Number of bitsA value;
α 1 representing the number of digits of the account number used by the client input by the login user to the account number login input box;
phi represents a middle account number;
s023, switching the intermediate account number into a transmission account number representation; the method for switching the intermediate account number to the transmission account number representation comprises the following steps:
s0231, let phi 0 =φ,δ 4 =0;
S0232,
Figure BDA0003250275490000234
Wherein Rounding algorithm < represents a rounding algorithm;
Figure BDA0003250275490000235
represents the delta 4 +1 times account rounding value;
Figure BDA0003250275490000236
represents the delta 4 The secondary account number takes the whole value;
judging it
Figure BDA0003250275490000237
Relationship with 35:
if it is
Figure BDA0003250275490000238
Delta then 4 =δ 4 +1, returning to step S0232;
if it is
Figure BDA0003250275490000239
Delta then 4 =δ 4 +1, step S0233 is performed;
s0233, let delta 5 =0;
S0234,
Figure BDA0003250275490000241
Therein, remainder algorithm<>Representing a remainder taking algorithm;
Figure BDA0003250275490000242
represents the delta 5 Taking the remainder value of the +1 account;
Figure BDA0003250275490000243
represents the delta 5 The secondary account number takes the whole value;
judging delta thereof 5 And delta 4 Is the relation of:
if delta 5 ≥δ 4 Executing the next step;
if delta 5 <δ 4 Delta then 5 =δ 5 +1, step S0234;
s0235, extracting the remainder value of the account number and arranging the remainder value according to the following steps:
Figure BDA0003250275490000244
Figure BDA0003250275490000245
the account number is transmitted;
s024, performing numerical inverse mapping on the transmission account according to the character-numerical mapping table to obtain an uploading account;
or/and processing the password used by the client to obtain the uploading password, wherein the method comprises the following steps:
S02A, carrying out numerical mapping on the client-side using a password according to a character-numerical mapping table to obtain a mapping password;
S02B, switching the mapping password into an intermediate password representation; the method for switching the mapping password to the intermediate password representation comprises the following steps:
Figure BDA0003250275490000246
wherein,,
Figure BDA0003250275490000247
a client-side user password input by a registered user to a password registration input box thereof is indicated by +.>
Figure BDA0003250275490000248
A bit;
Figure BDA0003250275490000249
a client-side user password input by a registered user to a password registration input box thereof is indicated by +.>
Figure BDA00032502754900002410
The value corresponding to the bit;
β 1 representing the number of password digits used by a client input by a registered user to a password registration input box thereof;
Figure BDA00032502754900002411
representing an intermediate password;
S02C, switching the intermediate password into a transmission password representation; the method for switching the intermediate password to the delivery password representation comprises the following steps:
S02C1, order
Figure BDA00032502754900002412
S02C2,
Figure BDA00032502754900002413
Wherein Rounding algorithm < represents a rounding algorithm;
Figure BDA00032502754900002414
indicate->
Figure BDA00032502754900002415
Rounding the secondary password;
Figure BDA0003250275490000251
indicate->
Figure BDA0003250275490000252
Rounding the secondary password;
judging it
Figure BDA0003250275490000253
Relationship with 35:
if it is
Figure BDA0003250275490000254
Then->
Figure BDA0003250275490000255
Returning to the step S02C2;
if it is
Figure BDA0003250275490000256
Then->
Figure BDA0003250275490000257
Executing step S02C3;
S02C3, order
Figure BDA0003250275490000258
S02C4,
Figure BDA0003250275490000259
Wherein Remainder algorithm </SUB > represents a remainder algorithm;
Figure BDA00032502754900002510
indicate->
Figure BDA00032502754900002511
Taking the remainder value of the secondary password;
Figure BDA00032502754900002512
indicate->
Figure BDA00032502754900002513
Rounding the secondary password;
judging it
Figure BDA00032502754900002514
And->
Figure BDA00032502754900002515
Is the relation of:
if it is
Figure BDA00032502754900002516
Then the next step is performed;
if it is
Figure BDA00032502754900002517
Then->
Figure BDA00032502754900002518
Step S02C4;
S02C5, extracting the password residual value and arranging the password residual value according to the following steps:
Figure BDA00032502754900002519
Figure BDA00032502754900002520
Namely, the password is transmitted; />
S02D, performing numerical anti-mapping on the transmission password according to the character-numerical mapping table to obtain the uploading password.
In a preferred embodiment of the present invention, after the server processes the received uploading account in step S03, the method for obtaining the comparison account includes:
Storage account′=Hash algorithm(Upload account),
storage account' represents a comparison account number;
the Upload account represents an uploading account;
hash algorithm () represents a Hash algorithm;
or/and after the server processes the received uploading password in the step S03, the method for obtaining the comparison password comprises the following steps:
Storage password′=Hash algorithm(Upload password),
storage password' represents a comparison password;
the Upload password represents an Upload password;
hash algorithm () represents a Hash algorithm; specifically, MD5 algorithm may be used.
The invention also discloses a real-time timing consumption deduction analysis system of the parking lot, which comprises a coupon comparison code acquisition module, a deduction amount acquisition module and a judgment release module, wherein the data output end of the coupon comparison code acquisition module is connected with the data input end of the deduction amount acquisition module, and the data output end of the deduction amount acquisition module is connected with the data input end of the judgment release module;
the coupon comparison code acquisition module is used for acquiring the coupon comparison code according to the two-dimensional code printed on the parking lot coupon;
The deduction amount acquisition module is used for acquiring the parking deduction amount according to the coupon comparison code acquired by the coupon comparison code acquisition module;
the judgment release module is used for judging whether the deduction amount in the deduction amount acquisition module is larger than or equal to the parking fee or not:
if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle;
if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps:
p 1 =p 2 -p 3
wherein p is 1 Representing a supplemental fee;
p 2 indicating parking fees;
p 3 indicating the deduction amount.
In a preferred embodiment of the present invention, in the coupon comparison code acquisition module, the method for acquiring the coupon comparison code according to the two-dimensional code printed on the coupon of the parking lot includes the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
s12, processing the coupon scanning code obtained in the step S11 to obtain a coupon comparison code, wherein the method for obtaining the coupon comparison code comprises the following steps:
Figure BDA0003250275490000261
wherein the Coupon scan code represents a Coupon scan code;
Figure BDA0003250275490000262
representing a public key decryption algorithm of the server; / >
Coupon record code represents a coupon contrast code;
transmitting the obtained coupon contrast code Coupon record code to a server;
s13, the server determines whether the received coupon comparison code Coupon record code is used:
if the coupon contrast code Coupon record code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon record code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon record code.
The method for acquiring the coupon number according to the two-dimensional code printed on the coupon of the parking lot can also comprise the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
s12, processing the coupon scanning code obtained in the step S11 to obtain a coupon record code, wherein the method for obtaining the coupon record code comprises the following steps:
Figure BDA0003250275490000271
wherein the Coupon scan code represents a Coupon scan code;
Figure BDA0003250275490000272
representing a public key decryption algorithm of the server;
coupon record code represents a coupon record code;
transmitting the obtained coupon record code Coupon record code to a server;
s13, the server processes the received coupon record code Coupon record code to obtain a coupon comparison code, wherein the coupon comparison code is obtained in the following way:
Coupon comparison code=Hash algorithm(Coupon record code)
Wherein Coupon comparison code represents a coupon contrast code;
hash algorithm () represents a Hash algorithm;
coupon record code represents a coupon record code;
s14, judging whether the coupon contrast code Coupon comparison code is used or not:
if the coupon contrast code Coupon comparison code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon comparison code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon comparison code.
In a preferred embodiment of the present invention, in the coupon comparison code acquisition module, the method for generating the two-dimensional code by the server includes:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code, and the method for obtaining the coupon code comprises the following steps:
Figure BDA0003250275490000273
wherein the Coupon password represents a Coupon code;
Figure BDA0003250275490000274
representing a private key encryption algorithm of the server;
coupon Security Number the coupon number;
s1-2, binding the Coupon code coupler password obtained in the step S1-3 with the deduction amount, storing the bound Coupon code coupler password in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client;
S1-3, printing the two-dimensional code in the step S1-2 on the parking lot coupon.
The method for generating the two-dimensional code by the server can also be as follows:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code, and the method for obtaining the coupon code comprises the following steps:
Coupon Security Number=Hash algorithm(Coupon password)
wherein Coupon Security Number represents a coupon code;
hash algorithm () represents a Hash algorithm;
the Coupon code is represented by the Coupon password;
s1-2, processing the coupon code Coupon Security Number obtained in the step S1-1 to obtain a coupon security number, wherein the method for obtaining the coupon security number comprises the following steps:
Figure BDA0003250275490000281
wherein, the Coupon password represents the security number of the Coupon;
Figure BDA0003250275490000282
representing a private key encryption algorithm of the server;
coupon Security Number represents a coupon code;
s1-3, binding the Coupon security number coupler password obtained in the step S1-2 with the deduction amount correspondingly, storing the binding in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client by the Coupon security number coupler password;
s1-4, printing the two-dimensional code in the step S1-3 on the parking lot coupon.
In a preferred embodiment of the present invention, the server further comprises a client login module, wherein the client login module is used for logging in the server by using the mobile phone client;
the data output end of the client login module is connected with the data input end of the coupon comparison code acquisition module, the data output end of the coupon comparison code acquisition module is connected with the data input end of the deduction amount acquisition module, and the data output end of the deduction amount acquisition module is connected with the data input end of the judgment release module.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: many changes, modifications, substitutions and variations may be made to the embodiments without departing from the spirit and principles of the invention, the scope of which is defined by the claims and their equivalents.

Claims (6)

1. The real-time timing consumption deduction analysis method for the parking lot is characterized by comprising the following steps of:
s0, logging in a server by using a mobile phone client, and logging in the server by using a mobile intelligent handheld terminal, wherein the method comprises the following steps:
s01, a login user inputs a client use account number and a password login input box to input a client use password to an account login input box of the login user;
S02, extracting a client use account number input by a login user to an account number login input box and a client use password input by a password login input box in the step S01, and processing the client use account number or/and the client use password to obtain an uploading account number and an uploading password; uploading the uploading account number and the uploading password to a server;
s03, after processing the received uploading account and uploading password, the server obtains a comparison account and a comparison password, and judges whether the comparison account and the comparison password are consistent with a stored account and a stored password stored by the server:
the method for obtaining the stored account number and the stored password comprises the following steps:
s03a, during registration, a registered user inputs a client-side use account in an account registration input box;
s03b, the client judges the number of digits and the set alpha of the client usage account numbers input by the registered user to the account registration input box 0 Relationship between:
if alpha is 1 ∈α 0 Wherein alpha is 1 Representing the number of digits of client-side used account number, alpha, input by a registered user to an account number registration input box of the registered user 0 =[6,15]Executing the next step;
if it is
Figure FDA0004213113860000011
Displaying warning information beside the account registration input box, wherein the warning information indicates that the number of digits of the account used by the input client is not in accordance with the regulation:
If the number of the input client-side using account numbers is shorter than six, the warning information is that the number of the input client-side using account numbers is shorter than six;
if the number of the input client-side using account numbers is more than fifteen, the warning information is that the number of the input client-side using account numbers is more than fifteen;
s03c, the client judges that the registered user annotates the passwordClient input by volume input box uses cipher digit and set beta 0 Relationship between:
if beta is 1 ∈β 0 Wherein beta is 1 Representing the number of password digits used by a client input by a registered user to his password registration input box, beta 0 =[6,20]Executing the next step;
if it is
Figure FDA0004213113860000021
Displaying warning information beside the password registration input box, wherein the warning information indicates that the number of password digits used by an input client is not in accordance with the regulations:
if the number of the password bits used by the input client is shorter than six, the warning information is that the number of the password bits used by the input client is shorter than six;
if the number of the password bits used by the input client is longer than twenty, the warning information is that the number of the password bits used by the input client is longer than twenty;
s03d, the client judges whether the client using the password characters input by the registered user to the password registration input box comprises numbers, lowercase letters and uppercase letters:
S03d1, let χ 1 =χ 2 =χ 3 =0, where χ 1 Representing a first intermediate parameter, χ 2 Represent the second intermediate parameter χ 3 Representing a third intermediate parameter; delta 1 =δ 2 =δ 3 =1;δ 1 Representing the first sequence number parameter, delta 2 Representing the second sequence number parameter, delta 3 Representing a third sequence number parameter;
s03d2, judging
Figure FDA0004213113860000022
Whether belonging to the digital set 0-9:
if it is
Figure FDA0004213113860000023
Belonging to the digital set 0-9->
Figure FDA0004213113860000024
Delta-th representing client-use password entered by a registered user into his password registration input box 1 A bit; delta then 1 =δ 1 +1; step S03d3 is performed;
if it is
Figure FDA0004213113860000025
If not belonging to the number set 0-9, delta 1 =δ 1 +1,χ 1 =χ 1 +1; judging delta thereof 1 And beta 1 Is the relation of:
if delta 1 ≥β 1 1, displaying warning information beside a password registration input box, wherein the warning information is that the password characters used by an input client are not in accordance with the regulations, and the input of characters comprising numbers, lowercase letters and uppercase letters is requested;
if delta 1 ≤β 1 -2, returning to step S03d2;
s03d3, judging
Figure FDA0004213113860000026
Whether belonging to the lower case letter set a-z:
if it is
Figure FDA0004213113860000027
Belongs to the lower case letter sets a-z, < +.>
Figure FDA0004213113860000028
Delta-th representing client-use password entered by a registered user into his password registration input box 2 A bit; delta then 2 =δ 2 +1; step S03d4 is performed;
if it is
Figure FDA0004213113860000038
If not belonging to the lower case letter set a-z, delta 2 =δ 2 +1,χ 2 =χ 2 +1; judging delta thereof 2 And beta 1 Is the relation of:
if delta 2 ≥β 1 Displaying warning information beside the password registration input box, wherein the warning information is that the input characters of the password used by the input client are not in accordance with the regulations, and please input the characters comprising numbers, lower case letters and upper case letters;
If delta 2 ≤β 1 -1, returning to step S03d3;
s03d4, judging
Figure FDA0004213113860000031
Whether belonging to the capital letter set A-Z:
if it is
Figure FDA0004213113860000032
Belongs to capital letter sets A-Z, < +.>
Figure FDA0004213113860000033
Delta-th representing client-use password entered by a registered user into his password registration input box 3 A bit; delta then 3 =δ 3 +1; executing step S03e;
if it is
Figure FDA0004213113860000034
If not belonging to the capital letter set A-Z, delta 3 =δ 3 +1,χ 3 =χ 3 +1; judging delta thereof 3 And beta 1 Is the relation of:
if delta 3 ≥β 1 +1, displaying warning information beside the password registration input box, wherein the warning information is that the password characters used by the input client are not in accordance with the regulations, and please input characters comprising numbers, lowercase letters and uppercase letters;
if delta 3 ≤β 1 Returning to step S0344;
s03e, processing the client use account number input by the registration user to the account number registration input box or/and the client use password input by the password registration input box to obtain an uploading account number and an uploading password; the method for obtaining the uploading account after processing the client using account input by the registration user to the account registration input box comprises the following steps:
s03e1, carrying out numerical mapping on a client-side using account numbers according to a character-numerical mapping table to obtain mapped account numbers;
s03e2, switching the mapping account number into a middle account number representation; the method for switching the mapping account number to the intermediate account number representation comprises the following steps:
Figure FDA0004213113860000035
Wherein,,
Figure FDA0004213113860000036
delta-th representing client-use password entered by a registered user into his password registration input box 0 A bit;
Figure FDA0004213113860000037
delta-th representing client-use password entered by a registered user into his password registration input box 0 The value corresponding to the bit;
α 1 representing the number of digits of the account number used by the client input by the registration user to the account registration input box of the registration user;
phi represents a middle account number;
s03e3, switching the intermediate account number into a transmission account number representation; the method for switching the intermediate account number to the transmission account number representation comprises the following steps:
s03e31, let phi 0 =φ,δ 4 =0;
S03e32,
Figure FDA0004213113860000041
Wherein Rounding algorithm < > represents a rounding algorithm;
Figure FDA0004213113860000042
represents the delta 4 +1 times account rounding value;
Figure FDA0004213113860000043
represents the delta 4 The secondary account number takes the whole value;
judging it
Figure FDA0004213113860000044
Relationship with 35:
if it is
Figure FDA0004213113860000045
Delta then 4 =δ 4 +1, returning to step S03e32;
if it is
Figure FDA0004213113860000046
Delta then 4 =δ 4 +1, step S03e33 is performed;
s03e33, let delta 5 =0;
S03e34,
Figure FDA0004213113860000047
Wherein Remainder algorithm </SUB > represents a remainder algorithm;
Figure FDA0004213113860000048
represents the delta 5 Taking the remainder value of the +1 account;
Figure FDA0004213113860000049
represents the delta 5 The secondary account number takes the whole value;
judging delta thereof 5 And delta 4 Is the relation of:
if delta 5 ≥δ 4 Executing the next step;
if delta 5 <δ 4 Delta then 5 =δ 5 +1, step S03e34;
s03e35, extracting the residual value of the account number, and arranging the residual value as follows:
Figure FDA00042131138600000410
Figure FDA00042131138600000411
the account number is transmitted;
s03e4, performing numerical inverse mapping on the transmission account according to the character-numerical mapping table to obtain an uploading account;
S03f, after processing the received uploading account and uploading password, the server obtains a storage account and a storage password, and stores the storage account and the storage password;
s1, acquiring a coupon comparison code according to a two-dimensional code printed on a parking lot coupon;
s2, acquiring the parking deduction amount according to the coupon comparison code acquired in the step S1;
s3, judging whether the deduction amount in the step S2 is larger than or equal to the parking cost:
if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle; the identification method for the license plate number of the parked vehicle comprises the following steps:
s31, acquiring a license plate image of a parked vehicle, and acquiring a filtering code of the license plate image of the parked vehicle according to the acquired license plate image of the parked vehicle; the obtained filtering codes and the license plate images of the parked vehicles are sent to a data filtering terminal;
s32, after the data filtering terminal receives the filtering codes sent by the mobile intelligent handheld terminal and the license plate image of the parked vehicle, judging whether the filtering codes exist in a license plate image filtering database or not:
if the filtering codes exist in the license plate image filtering database, the received filtering codes are sent to a server; step S33 is performed;
If the filtering codes are not in the license plate image filtering database, the received filtering codes and the license plate image of the parked vehicle are sent to a server; step S34 is performed;
s33, after the server receives the filtering codes sent by the data filtering terminal, the server searches the license plate number of the parking vehicle corresponding to the filtering codes according to the filtering codes;
s34, after receiving the filter codes and the license plate images of the parked vehicles sent by the data filter terminal, the server extracts the license plate numbers of the parked vehicles from the license plate images of the parked vehicles; binding the filtering code with the extracted license plate number of the parking vehicle;
if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps:
p 1 =p 2 -p 3
wherein p is 1 Representing a supplemental fee;
p 2 indicating parking fees;
p 3 indicating the deduction amount.
2. The method for analyzing real-time counting consumption deduction of a parking lot according to claim 1, wherein in step S1, the method for acquiring coupon comparison codes according to two-dimensional codes printed on coupons of the parking lot comprises the steps of:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
S12, processing the coupon scanning code obtained in the step S11 to obtain a coupon comparison code, and sending the obtained coupon comparison code Coupon record code to a server;
s13, the server determines whether the received coupon comparison code Coupon record code is used:
if the coupon contrast code Coupon record code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon record code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon record code.
3. The method for analyzing real-time counting consumption deduction of a parking lot according to claim 1, wherein in step S1, the method for generating the two-dimensional code by the server is as follows:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code;
s1-2, binding the Coupon code coupler password obtained in the step S1-3 with the deduction amount, storing the bound Coupon code coupler password in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client;
S1-3, printing the two-dimensional code in the step S1-2 on the parking lot coupon.
4. The real-time timing consumption deduction analysis system for the parking lot is characterized by comprising a client login module, a coupon comparison code acquisition module, a deduction amount acquisition module and a judgment release module, wherein the data output end of the client login module is connected with the data input end of the coupon comparison code acquisition module;
the client login module is used for logging in the server by utilizing the mobile phone client; the method for logging in the server by using the mobile intelligent handheld terminal comprises the following steps:
s01, a login user inputs a client use account number and a password login input box to input a client use password to an account login input box of the login user;
s02, extracting a client use account number input by a login user to an account number login input box and a client use password input by a password login input box in the step S01, and processing the client use account number or/and the client use password to obtain an uploading account number and an uploading password; uploading the uploading account number and the uploading password to a server;
S03, after processing the received uploading account and uploading password, the server obtains a comparison account and a comparison password, and judges whether the comparison account and the comparison password are consistent with a stored account and a stored password stored by the server:
the method for obtaining the stored account number and the stored password comprises the following steps:
s03a, during registration, a registered user inputs a client-side use account in an account registration input box;
s03b, the client judges the number of digits and the set alpha of the client usage account numbers input by the registered user to the account registration input box 0 Relationship between:
if alpha is 1 ∈α 0 Wherein alpha is 1 Representing the number of digits of client-side used account number, alpha, input by a registered user to an account number registration input box of the registered user 0 =[6,15]Executing the next step;
if it is
Figure FDA0004213113860000071
Displaying warning information beside the account registration input box, wherein the warning information indicates that the number of digits of the account used by the input client is not in accordance with the regulation:
if the number of the input client-side using account numbers is shorter than six, the warning information is that the number of the input client-side using account numbers is shorter than six;
if the number of the input client-side using account numbers is more than fifteen, the warning information is that the number of the input client-side using account numbers is more than fifteen;
s03c, the client judges the number of the password used by the client and input by the registered user to the password registration input box and the set beta 0 Relationship between:
if beta is 1 ∈β 0 Wherein beta is 1 Representing the number of password digits used by a client input by a registered user to his password registration input box, beta 0 =[6,20]Executing the next step;
if it is
Figure FDA0004213113860000081
Displaying warning information beside the password registration input box, wherein the warning information indicates that the number of password digits used by an input client is not in accordance with the regulations:
if the number of the password bits used by the input client is shorter than six, the warning information is that the number of the password bits used by the input client is shorter than six;
if the number of the password bits used by the input client is longer than twenty, the warning information is that the number of the password bits used by the input client is longer than twenty;
s03d, the client judges whether the client using the password characters input by the registered user to the password registration input box comprises numbers, lowercase letters and uppercase letters:
s03d1, let χ 1 =χ 2 =χ 3 =0, where χ 1 Representing a first intermediate parameter, χ 2 Represent the second intermediate parameter χ 3 Representing a third intermediate parameter; delta 1 =δ 2 =δ 3 =1;δ 1 Representing the first sequence number parameter, delta 2 Representing the second sequence number parameter, delta 3 Representing a third sequence number parameter;
s03d2, judging
Figure FDA0004213113860000082
Whether belonging to the digital set 0-9:
if it is
Figure FDA0004213113860000083
Belonging to the digital set 0-9->
Figure FDA0004213113860000084
Delta-th representing client-use password entered by a registered user into his password registration input box 1 A bit; delta then 1 =δ 1 +1; step S03d3 is performed;
if it is
Figure FDA0004213113860000085
Not belonging to the numberWord set 0-9, delta 1 =δ 1 +1,χ 1 =χ 1 +1; judging delta thereof 1 And beta 1 Is the relation of:
if delta 1 ≥β 1 1, displaying warning information beside a password registration input box, wherein the warning information is that the password characters used by an input client are not in accordance with the regulations, and the input of characters comprising numbers, lowercase letters and uppercase letters is requested;
if delta 1 ≤β 1 -2, returning to step S03d2;
s03d3, judging
Figure FDA0004213113860000086
Whether belonging to the lower case letter set a-z:
if it is
Figure FDA0004213113860000087
Belongs to the lower case letter sets a-z, < +.>
Figure FDA0004213113860000088
Delta-th representing client-use password entered by a registered user into his password registration input box 2 A bit; delta then 2 =δ 2 +1; step S03d4 is performed;
if it is
Figure FDA0004213113860000091
If not belonging to the lower case letter set a-z, delta 2 =δ 2 +1,χ 2 =χ 2 +1; judging delta thereof 2 And beta 1 Is the relation of:
if delta 2 ≥β 1 Displaying warning information beside the password registration input box, wherein the warning information is that the input characters of the password used by the input client are not in accordance with the regulations, and please input the characters comprising numbers, lower case letters and upper case letters;
if delta 2 ≤β 1 -1, returning to step S03d3;
s03d4, judging
Figure FDA0004213113860000092
Whether belonging to the capital letter set A-Z:
if it is
Figure FDA0004213113860000093
Belongs to capital letter sets A-Z, < +.>
Figure FDA0004213113860000094
Delta-th representing client-use password entered by a registered user into his password registration input box 3 A bit; delta then 3 =δ 3 +1; executing step S03e;
if it is
Figure FDA0004213113860000095
If not belonging to the capital letter set A-Z, delta 3 =δ 3 +1,χ 3 =χ 3 +1; judging delta thereof 3 And beta 1 Is the relation of:
if delta 3 ≥β 1 +1, displaying warning information beside the password registration input box, wherein the warning information is that the password characters used by the input client are not in accordance with the regulations, and please input characters comprising numbers, lowercase letters and uppercase letters;
if delta 3 ≤β 1 Returning to step S0344;
s03e, processing the client use account number input by the registration user to the account number registration input box or/and the client use password input by the password registration input box to obtain an uploading account number and an uploading password; the method for obtaining the uploading account after processing the client using account input by the registration user to the account registration input box comprises the following steps:
s03e1, carrying out numerical mapping on a client-side using account numbers according to a character-numerical mapping table to obtain mapped account numbers;
s03e2, switching the mapping account number into a middle account number representation; the method for switching the mapping account number to the intermediate account number representation comprises the following steps:
Figure FDA0004213113860000096
wherein,,
Figure FDA0004213113860000097
delta-th representing client-use password entered by a registered user into his password registration input box 0 A bit;
Figure FDA0004213113860000098
delta-th representing client-use password entered by a registered user into his password registration input box 0 The value corresponding to the bit;
α 1 representing the number of digits of the account number used by the client input by the registration user to the account registration input box of the registration user;
phi represents a middle account number;
s03e3, switching the intermediate account number into a transmission account number representation; the method for switching the intermediate account number to the transmission account number representation comprises the following steps:
s03e31, let phi 0 =φ,δ 4 =0;
S03e32,
Figure FDA0004213113860000101
Wherein Rounding algorithm < > represents a rounding algorithm;
Figure FDA0004213113860000102
represents the delta 4 +1 times account rounding value;
Figure FDA0004213113860000103
represents the delta 4 The secondary account number takes the whole value;
judging it
Figure FDA0004213113860000104
Relationship with 35:
if it is
Figure FDA0004213113860000105
Delta then 4 =δ 4 +1, returning to step S03e32;
if it is
Figure FDA0004213113860000106
Delta then 4 =δ 4 +1, step S03e33 is performed;
s03e33, let delta 5 =0;
S03e34,
Figure FDA0004213113860000107
Wherein Remainder algorithm </SUB > represents a remainder algorithm;
Figure FDA0004213113860000108
represents the delta 5 Taking the remainder value of the +1 account;
Figure FDA0004213113860000109
represents the delta 5 The secondary account number takes the whole value;
judging delta thereof 5 And delta 4 Is the relation of:
if delta 5 ≥δ 4 Executing the next step;
if delta 5 <δ 4 Delta then 5 =δ 5 +1, step S03e34;
s03e35, extracting the residual value of the account number, and arranging the residual value as follows:
Figure FDA00042131138600001010
Figure FDA00042131138600001011
the account number is transmitted;
s03e4, performing numerical inverse mapping on the transmission account according to the character-numerical mapping table to obtain an uploading account;
s03f, after processing the received uploading account and uploading password, the server obtains a storage account and a storage password, and stores the storage account and the storage password;
The coupon comparison code acquisition module is used for acquiring the coupon comparison code according to the two-dimensional code printed on the parking lot coupon;
the deduction amount acquisition module is used for acquiring the parking deduction amount according to the coupon comparison code acquired by the coupon comparison code acquisition module;
the judgment release module is used for judging whether the deduction amount in the deduction amount acquisition module is larger than or equal to the parking fee or not:
if the deduction amount is greater than or equal to the parking fee, releasing the license plate number of the parked vehicle; the identification method for the license plate number of the parked vehicle comprises the following steps:
s31, acquiring a license plate image of a parked vehicle, and acquiring a filtering code of the license plate image of the parked vehicle according to the acquired license plate image of the parked vehicle; the obtained filtering codes and the license plate images of the parked vehicles are sent to a data filtering terminal;
s32, after the data filtering terminal receives the filtering codes sent by the mobile intelligent handheld terminal and the license plate image of the parked vehicle, judging whether the filtering codes exist in a license plate image filtering database or not:
if the filtering codes exist in the license plate image filtering database, the received filtering codes are sent to a server; step S33 is performed;
if the filtering codes are not in the license plate image filtering database, the received filtering codes and the license plate image of the parked vehicle are sent to a server; step S34 is performed;
S33, after the server receives the filtering codes sent by the data filtering terminal, the server searches the license plate number of the parking vehicle corresponding to the filtering codes according to the filtering codes;
s34, after receiving the filter codes and the license plate images of the parked vehicles sent by the data filter terminal, the server extracts the license plate numbers of the parked vehicles from the license plate images of the parked vehicles; binding the filtering code with the extracted license plate number of the parking vehicle;
if the deduction amount is smaller than the parking fee, the charging fee is paid and released, and the charging fee calculating method comprises the following steps:
p 1 =p 2 -p 3
wherein p is 1 Representing a supplemental fee;
p 2 indicating parking fees;
p 3 indicating the deduction amount.
5. The system for analyzing real-time counting consumption deduction of a parking lot according to claim 4, wherein in the coupon comparison code acquisition module, a method for acquiring the coupon comparison code according to the two-dimensional code printed on the coupon of the parking lot comprises the following steps:
s11, scanning a two-dimensional code printed on the coupon of the parking lot by using a mobile phone client to obtain a coupon scanning code;
s12, processing the coupon scanning code obtained in the step S11 to obtain a coupon comparison code, and sending the obtained coupon comparison code Coupon record code to a server;
S13, the server determines whether the received coupon comparison code Coupon record code is used:
if the coupon contrast code Coupon record code is used, sending out prompt information, wherein the prompt information is that the coupon is used;
if the coupon comparison code Coupon record code is first used, the corresponding deduction amount is found according to the coupon comparison code Coupon record code.
6. The system for analyzing real-time counting consumption deduction of a parking lot according to claim 4, wherein in the coupon comparison code acquisition module, the method for generating the two-dimensional code by the server comprises the following steps:
s1-1, acquiring a coupon number from a coupon number list, wherein the coupon number list is reduced by one coupon number, and the acquired coupon number is processed to obtain a coupon code;
s1-2, binding the Coupon code coupler password obtained in the step S1-3 with the deduction amount, storing the bound Coupon code coupler password in a deduction cost database, and generating a two-dimensional code which can be used for scanning of a mobile phone client;
s1-3, printing the two-dimensional code in the step S1-2 on the parking lot coupon.
CN202111043328.8A 2021-09-07 2021-09-07 Real-time timing consumption deduction analysis method and system for parking lot Active CN113808288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111043328.8A CN113808288B (en) 2021-09-07 2021-09-07 Real-time timing consumption deduction analysis method and system for parking lot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111043328.8A CN113808288B (en) 2021-09-07 2021-09-07 Real-time timing consumption deduction analysis method and system for parking lot

Publications (2)

Publication Number Publication Date
CN113808288A CN113808288A (en) 2021-12-17
CN113808288B true CN113808288B (en) 2023-06-27

Family

ID=78940648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111043328.8A Active CN113808288B (en) 2021-09-07 2021-09-07 Real-time timing consumption deduction analysis method and system for parking lot

Country Status (1)

Country Link
CN (1) CN113808288B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225281A (en) * 2015-08-27 2016-01-06 广西交通科学研究院 A kind of vehicle checking method
CN107451589A (en) * 2017-07-07 2017-12-08 南京邮电大学 A kind of method of the night license plate binary based on improved OSTU algorithms
WO2018182067A1 (en) * 2017-03-30 2018-10-04 파킹클라우드 주식회사 Mobile parking ticket issuing system and method, mobile parking management system and method using same
CN109697762A (en) * 2019-01-25 2019-04-30 深圳市小猫信息技术有限公司 Parking Fee settlement method, device, system, computer installation and storage medium
KR102119716B1 (en) * 2019-12-17 2020-06-05 여범수 Method of distributing electric coupons revenue based on block chain and system performing the same

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401679B (en) * 2013-07-18 2015-02-04 湖北荆楚网络科技股份有限公司 Method for encrypting and decoding two-dimensional codes
CN104463612A (en) * 2013-09-13 2015-03-25 北京富基融通科技有限公司 Method of using mobile terminal to provide parking fee preference credentials and system thereof
KR101556947B1 (en) * 2015-03-31 2015-10-06 파킹클라우드 주식회사 Parking lot management method, parking lot managing server and parking lot managing system
CN108573535A (en) * 2017-03-14 2018-09-25 全球泊(深圳)技术有限责任公司 A kind of method and system for realizing parking fee deduction and exemption
CN108335142A (en) * 2018-02-12 2018-07-27 王韧 Parking lot electronic coupon system and its implementation
CN108510327A (en) * 2018-03-29 2018-09-07 广东顺德云证物联网科技有限公司 Discount coupon generation method and system
JP7519755B2 (en) * 2018-07-19 2024-07-22 株式会社メルカリ PROGRAM, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING APPARATUS
US11164397B2 (en) * 2018-12-17 2021-11-02 Eps Company Method for providing parking service using image grouping-based vehicle identification
JP6882743B1 (en) * 2020-09-30 2021-06-02 パラカ株式会社 Program, server, system and parking fee discount method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225281A (en) * 2015-08-27 2016-01-06 广西交通科学研究院 A kind of vehicle checking method
WO2018182067A1 (en) * 2017-03-30 2018-10-04 파킹클라우드 주식회사 Mobile parking ticket issuing system and method, mobile parking management system and method using same
CN107451589A (en) * 2017-07-07 2017-12-08 南京邮电大学 A kind of method of the night license plate binary based on improved OSTU algorithms
CN109697762A (en) * 2019-01-25 2019-04-30 深圳市小猫信息技术有限公司 Parking Fee settlement method, device, system, computer installation and storage medium
KR102119716B1 (en) * 2019-12-17 2020-06-05 여범수 Method of distributing electric coupons revenue based on block chain and system performing the same

Also Published As

Publication number Publication date
CN113808288A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN101582117B (en) Image processing apparatus, image forming apparatus, image processing system, and image processing method
USRE44416E1 (en) Method and system for controlling access to a mobile communication terminal
CN110147710B (en) Method and device for processing human face features and storage medium
CN105184537B (en) A kind of the cloud commodity distribution control method and system of real time monitoring cargo state
KR102388698B1 (en) Method for enrolling data in a base to protect said data
CN101163188B (en) Image processing apparatus, image reading apparatus, image forming apparatus, image processing method
CN101431582B (en) Image processing apparatus, image forming apparatus, image processing system, and image processing method
JP2007299210A (en) Image processing apparatus, image forming apparatus, image reading apparatus, and image processing method
US8831357B2 (en) System and method for image and video search, indexing and object classification
CN101360160B (en) Image processing apparatus, image processing system, image processing method, and image forming apparatus
Ayub et al. An improved image steganography technique using edge based data hiding in DCT domain
CN101364268B (en) Image processing apparatus and image processing method
CN101277368B (en) Image processing apparatus, image forming apparatus, image processing system, and image processing method
CN113808288B (en) Real-time timing consumption deduction analysis method and system for parking lot
CN113763577B (en) Real-time timing consumption deduction analysis method and system for road side parking spaces
CN109068021B (en) Encryption and decryption method and system
CN113240913A (en) Unidentified vehicle management method and device and parking management system
CN101520846B (en) Image processing method, image processing apparatus and image forming apparatus
EP2656321A1 (en) Method for enabling authentication or identification, and related verification system
CN106604032B (en) Method and device for compressing Chinese character blocks in image and method and device for compressing image
CN113762254B (en) License plate recognition method and system
Rana et al. Dual-branch convolutional neural network for robust camera model identification
CN110598704B (en) License plate recognition non-inductive payment system based on deep learning
EP1289271A2 (en) Predominant color identification in digital images
CN114120457B (en) Parking self-service payment method and vehicle inquiring method based on mobile phone end

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 202, Building 4, No. 106, West Section of Jinkai Avenue, Dazhulin Street, Liangjiang New Area, Yubei District, Chongqing, 401120

Applicant after: Chongqing Yilian Information Technology Co.,Ltd.

Address before: 401121 22-7-6, Honghu West Road, Yubei District, Chongqing

Applicant before: Chongqing Changting Intelligent Parking Service Co.,Ltd.

GR01 Patent grant
GR01 Patent grant