CN113284268B - Parking lot charging method, device, equipment and storage medium - Google Patents

Parking lot charging method, device, equipment and storage medium Download PDF

Info

Publication number
CN113284268B
CN113284268B CN202110587692.4A CN202110587692A CN113284268B CN 113284268 B CN113284268 B CN 113284268B CN 202110587692 A CN202110587692 A CN 202110587692A CN 113284268 B CN113284268 B CN 113284268B
Authority
CN
China
Prior art keywords
parking
sub
library
charging rule
charging
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
CN202110587692.4A
Other languages
Chinese (zh)
Other versions
CN113284268A (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.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management 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 Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN202110587692.4A priority Critical patent/CN113284268B/en
Publication of CN113284268A publication Critical patent/CN113284268A/en
Application granted granted Critical
Publication of CN113284268B publication Critical patent/CN113284268B/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/06Arrangements for road pricing or congestion charging of vehicles or vehicle users, e.g. automatic toll systems
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/017Detecting movement of traffic to be counted or controlled identifying vehicles
    • G08G1/0175Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the technical field of artificial intelligence, and discloses a parking lot charging method, a device, equipment and a storage medium, wherein the method comprises the following steps: determining a parking judgment result of the sub-field library for each piece of parking information in the target parking data; determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking according to the sub-field library parking judgment result, and determining first charging rule data corresponding to each non-sub-field library parking information in a charging rule library and the non-sub-field library parking information set respectively; determining a sub-field library parking information set for the parking information of the sub-field library parking according to the sub-field library parking judgment result, and determining second charging rule data corresponding to the parking information of each sub-field library respectively according to the charging rule library and the sub-field library parking information set; and determining the target parking fee according to the first charging rule data, the second charging rule data and the target parking data. The system is not required to be customized and developed in the system development and deployment process.

Description

Parking lot charging method, device, equipment and storage medium
Technical Field
The present application relates to the field of artificial intelligence technologies, and in particular, to a parking lot charging method, apparatus, device, and storage medium.
Background
The current parking charging system has different charging standards due to different provinces, different regions and different parking lot types, and some parking lots have the condition of a library-in-library, which further increases the complexity of the charge calculation of the parking lots, so that the customized development process exists in the system development and deployment process, the development and deployment cost of the system is greatly improved, and the online time of the system is delayed.
Disclosure of Invention
The application mainly aims to provide a parking lot charging method, a parking lot charging device, parking lot charging equipment and a parking lot charging storage medium, and aims to solve the technical problem that in the system development and deployment process, due to the fact that charging standards of different parking lots are different and the complexity of cost calculation of the parking lots is further increased by a warehouse-in-warehouse system, the customized development process exists.
In order to achieve the above object, the present application provides a parking lot charging method, including:
acquiring a parking charging request, wherein the parking charging request carries target parking data;
respectively judging whether each piece of parking information in the target parking data is parked in a sub-field library or not to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data;
when the parking information of the non-sub-field library is judged to be parking according to the parking judgment result of the sub-field library, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking according to the parking judgment result of the sub-field library parking, obtaining a charging rule library, and respectively determining charging rule data according to the charging rule library and a target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set;
when the parking judgment result of the sub-field library is that the sub-field library parks, determining a sub-field library parking information set according to the parking information of the sub-field library parking judgment result, acquiring the charging rule library, and determining charging rule data according to the charging rule library and a target sub-field library identifier of the parking information of each sub-field library in the sub-field library parking information set to obtain second charging rule data corresponding to the parking information of each sub-field library in the sub-field library parking information set;
and calculating parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain target parking fee.
This application has still provided a parking area charging device, the device includes:
the system comprises a request acquisition module, a parking charging module and a parking charging module, wherein the request acquisition module is used for acquiring a parking charging request which carries target parking data;
a sub-field library parking judgment result determining module, configured to respectively perform sub-field library parking judgment on each piece of parking information in the target parking data to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data;
a first charging rule data determining module, configured to determine a non-sub-field library parking information set according to the parking information that the sub-field library parking determination result is that the non-sub-field library is parked when the sub-field library parking determination result indicates that the non-sub-field library is parked, acquire a charging rule library, and perform charging rule data determination according to the charging rule library and a target parking lot identifier of parking information of each non-sub-field library in the non-sub-field library parking information set, respectively, to obtain first charging rule data corresponding to each non-sub-field library parking information in the non-sub-field library parking information set;
a second charging rule data determining module, configured to determine a sub-field library parking information set according to the parking information of the sub-field library parking determined by the sub-field library parking determination result when there is the sub-field library parking determined by the sub-field library parking determination result, acquire the charging rule library, and determine charging rule data according to the charging rule library and a target sub-field library identifier of each sub-field library parking information in the sub-field library parking information set, so as to obtain second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set;
and the target parking fee determining module is used for calculating the parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain the target parking fee.
The present application further proposes a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the steps of any of the above methods when executing the computer program.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any of the above.
The parking lot charging method, the device, the equipment and the storage medium of the application firstly respectively judge whether each piece of parking information in target parking data is parked in a sub-field library or not to obtain the parking judgment result of the sub-field library corresponding to each piece of parking information in the target parking data, secondly when the parking judgment result of the sub-field library is that the non-sub-field library is parked, the non-sub-field library parking information set is determined according to the parking judgment result of the sub-field library parking to obtain the charging rule library, and secondly, when the parking judgment result of the sub-field library is that the non-sub-field library is parked, the charging rule data is determined according to the parking information of the sub-field library parking information set and the target parking lot identification of each non-sub-field library parking information in the charging rule library and the non-sub-field library parking information set to obtain the first charging rule data corresponding to each non-sub-field library parking information in the non-sub-field library parking information set, and then when the parking judgment result of the sub-field library parking exists, determining a subfield base parking information set according to the parking information of the subfield base parking according to the parking judgment result of the subfield base, obtaining a charging rule base, respectively determining charging rule data according to the charging rule base and a target subfield base identifier of the parking information of each subfield base in the subfield base parking information set, obtaining second charging rule data corresponding to the parking information of each subfield base in the subfield base parking information set, finally calculating parking fees according to the first charging rule data, the second charging rule data and the target parking data, obtaining the target parking fees, realizing accurate calculation of the parking fees of the parking lots with and without the parking bases in the base, writing all algorithms into a program file through the charging rule base, thereby not needing to carry out customized development of a system in the process of system development and deployment, the development and deployment cost of the system is reduced, and the online time of the system is accelerated.
Drawings
Fig. 1 is a schematic flowchart of a parking lot charging method according to an embodiment of the present application;
fig. 2 is a schematic block diagram of a parking lot charging device according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In order to solve the technical problems that in the prior art, due to the fact that charging standards of different parking lots are different and cost calculation complexity of the parking lots is further increased by a warehouse-in-warehouse system, and customized development processes exist in the system development and deployment processes, the parking lot charging method is provided and applied to the technical field of artificial intelligence. The parking lot charging method comprises the steps of judging whether each piece of parking information in parking data parks in a sub-field library or not, determining charging rule data according to the charging rule library to determine whether each piece of parking information in the sub-field library parks and judges that the sub-field library parks is not parked to obtain first charging rule data, determining charging rule data according to the charging rule library to determine whether each piece of parking information in the sub-field library parks and judges that the sub-field library parks is parked to obtain second charging rule data, and finally accurately calculating the parking lot fees of the library in the library and the library in the library according to the parking data, the first charging rule data and the second charging rule data.
Referring to fig. 1, an embodiment of the present application provides a parking lot charging method, where the method includes:
s1: acquiring a parking charging request, wherein the parking charging request carries target parking data;
s2: judging whether each piece of parking information in the target parking data is parked in a sub-field library or not respectively to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data;
s3: when the parking information of the non-sub-field library is judged to be parking according to the parking judgment result of the sub-field library, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking according to the parking judgment result of the sub-field library parking, obtaining a charging rule library, and respectively determining charging rule data according to the charging rule library and a target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set;
s4: when the parking judgment result of the sub-field library is that the sub-field library parks, determining a sub-field library parking information set according to the parking information of the sub-field library parking judgment result, acquiring the charging rule library, and determining charging rule data according to the charging rule library and a target sub-field library identifier of the parking information of each sub-field library in the sub-field library parking information set to obtain second charging rule data corresponding to the parking information of each sub-field library in the sub-field library parking information set;
s5: and calculating parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain target parking fee.
The embodiment firstly respectively judges whether each piece of parking information in the target parking data is parked in a sub-field library or not to obtain the parking judgment result of the sub-field library corresponding to each piece of parking information in the target parking data, secondly, when the parking judgment result of the sub-field library is that the non-sub-field library parks, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking judged result, acquiring a charging rule library, respectively determining charging rule data according to the charging rule library and the target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set, then when the parking judgment result of the sub-field library exists is the sub-field library parking, according to the parking information of the sub-field library parking, determining a sub-field library parking information set, obtaining a charging rule library, respectively determining charging rule data according to the charging rule library and a target sub-field library mark of each sub-field library parking information in the sub-field library parking information set, obtaining second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set, finally, according to the first charging rule data, the second charging rule data and the target parking data, calculating parking fee, obtaining target parking fee, realizing accurate calculation of the parking lot fee of the library in the library and the parking lot without the library in the storage, and writing all algorithms into a program file through the charging rule library, therefore, customized development of the system is not required in the system development and deployment process, the development and deployment cost of the system is reduced, and the online time of the system is accelerated.
For S1, the parking charging request may be sent by a user, or may be a parking charging request triggered by an application program implementing the present application, or may be a parking charging request sent by a third-party application system. For example, the user of parking may send a parking charging request through the client, or the user of parking may send a parking charging request through a parking charging manager, which is not limited in this example. For another example, the application program of the present application implements a parking charging request triggered according to a shooting result of the barrier gate image capturing device, and the example is not limited specifically here.
The parking charge request is a request for charging the vehicle.
Target parking data, i.e., parking data. The target parking data includes: target license plate number, target parking information. The target parking information includes: target parking lot identification, target sub-field library identification, entry time and departure time.
The parking data includes: license plate number, parking information. The parking information includes: the parking lot identification, the sub-field library identification, the entrance time and the departure time, wherein each piece of parking information comprises the entrance time and the departure time. It is understood that the sub-field library identification in the parking information may be null.
The target parking lot identification, that is, the parking lot identification, is provided. And the identification of the target sub-field library is also the identification of the sub-field library.
The parking lot identification may be a parking lot name, a parking lot ID, or the like that uniquely identifies a parking lot. The sub-field library identification can be a sub-field library name, a sub-field library ID and the like which uniquely identify one sub-field library of one parking lot.
Each parking lot identification corresponds to one piece of parking lot basic information. Each subfield bank identification corresponds to a parking lot identification.
The basic information of the parking lot includes but is not limited to: the system comprises a parking lot name, a parking lot identifier, whether a library-in-library exists or not, an individual charging sub-field library identifier set, a sub-field library identifier and sub-field library name set, a sub-field library name, whether external vehicles are allowed to enter the system or not and whether charging is overlapped or not.
And S2, judging whether the sub-field parking is performed according to the target parking lot identification and the target sub-field library identification of each piece of parking information in the target parking data, and taking data obtained by judging whether the sub-field parking is performed as the parking judgment result of the sub-field library corresponding to each piece of parking information in the target parking data. That is, each piece of parking information corresponds to a parking judgment result of the sub-garage.
It can be understood that, when the sub-field library identifier is started to be charged separately in the basic information of the parking lot, the parking judgment result of the sub-field library corresponding to the parking information corresponding to the sub-field library identifier is determined as the parking of the sub-field library, that is, when the parking information includes the target sub-field library identifier, it does not mean that the parking judgment result of the sub-field library corresponding to the parking information including the target sub-field library identifier is determined as the parking of the sub-field library.
For S3, when the parking information that the parking judgment result of the subfield library is that the non-subfield library parks is existed, the parking information that the parking judgment result of the subfield library is that the non-subfield library parks adopts the charging rule of the whole parking lot, so that each parking information that the parking judgment result of the subfield library is that the non-subfield library parks is taken as the parking information of the non-subfield library; and taking all the non-sub-field library parking information as the non-sub-field library parking information set.
The charging rule base can be obtained from a database, the charging rule base input by a user can also be obtained, and the charging rule base can also be obtained from a third-party application system.
The charging rule base comprises: a charging rule configuration table and a charging rule database. The charging rule configuration table comprises: the system comprises a parking lot identifier, a sub-field library identifier, a charging category, a standard charging rule data identifier and a non-standard charging rule data identifier. The charging rules database includes: a standard charging rule database and a non-standard charging rule database. The charging categories include: standard, non-standard.
The standard charging rule database comprises: standard charging rule data identification and standard charging rule data, wherein each standard charging rule data identification corresponds to one standard charging rule data. The standard charging rule data identifier may be an identifier uniquely identifying one standard charging rule data, such as a standard charging rule data name and a standard charging rule data ID.
The non-standard charging rule database comprises: the system comprises non-standard charging rule data identifications and non-standard charging rule data, wherein each non-standard charging rule data identification corresponds to one piece of non-standard charging rule data. The non-standard charging rule data identifier may be an identifier that uniquely identifies one non-standard charging rule data, such as a non-standard charging rule data name, a non-standard charging rule data ID, and the like.
The non-standard charging rule data is the charging rule data customized and developed according to the personalized requirements of the operator of the parking lot and is a script file. Therefore, the individualized parking fee calculation requirement of the operation party of the parking lot can be met only by writing the script according to the requirement and then updating the script into the non-standard charging rule data, and the whole parking charging system does not need to be changed.
The standard charging rule data includes: presetting charging rule data and supplementing the charging rule data. The preset charging rule data is the charging rule data for realizing the basic configuration in the parking charging system. The supplementary charging rule data is charging rule data obtained by analyzing the JSON file, and is supplementary to the preset charging rule data, that is, the preset charging rule data and the supplementary charging rule data are combined together to be standard charging rule data.
It is to be understood that the data in the supplementary charging rules data may be null.
And determining charging types according to the target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set, and determining charging rule data according to each target parking lot identification, the corresponding charging type and the charging rule library to obtain first charging rule data corresponding to each non-sub-field library parking information in the non-sub-field library parking information set. That is, the first charging rule data are all the charging rule data of the parking lots in the non-sub-field parking lot, so that a basis is provided for simultaneously carrying out combined charging on a plurality of parking lots.
For S4, when the subfield library parking judgment result indicates that the subfield library parks, the parking information which means that the subfield library parking judgment result indicates that the subfield library parks is the non-subfield library parking adopts the charging rule of the subfield library, so that each piece of parking information of which the subfield library parking judgment result indicates that the subfield library parks is used as the subfield library parking information; and taking all the sub-field library parking information as the sub-field library parking information set.
And determining the charging type according to the target sub-field library identification of each sub-field library parking information in the sub-field library parking information set, and determining the charging rule data according to each target sub-field library identification, the charging type corresponding to each target sub-field library identification and the charging rule data corresponding to the charging rule library to obtain second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set. That is, the second billing rule data are the billing rule data for sub-field bank parking,
it is to be understood that step S3 and step S4 may be executed synchronously or asynchronously, and are not limited herein.
And S5, according to the first charging rule data and the second charging rule data, respectively calculating the parking fee of each piece of parking information in the target parking data, summing all the calculated data, and taking the summed result as the target parking fee.
In an embodiment, the step of determining whether to perform sub-field parking determination on each piece of parking information in the target parking data to obtain a sub-field parking determination result corresponding to each piece of parking information in the target parking data includes:
s21: acquiring one piece of parking information from the target parking data as parking information to be analyzed;
s22: acquiring basic information of a target parking lot corresponding to the target parking lot identification in the parking information to be analyzed;
s23: acquiring a library value in a preset library;
s24: when the value of whether a library-in-library exists in the basic information of the target parking lot is the same as the preset library-in-library value, searching a target sub-field library identifier in the parking information to be analyzed in an individual charging sub-field library identifier set in the basic information of the target parking lot, and when the search is successful in the individual charging sub-field library identifier set, determining that the parking judgment result of the sub-field library corresponding to the parking information to be analyzed is sub-field library parking, otherwise, determining that the parking judgment result of the sub-field library corresponding to the parking information to be analyzed is non-sub-field library parking;
s25: when the value of whether the in-library exists in the basic information of the target parking lot is different from the preset in-library value, determining that the sub-field library parking judgment result corresponding to the parking information to be analyzed is non-sub-field library parking;
s26: and repeatedly executing the step of acquiring one piece of parking information from the target parking data as the parking information to be analyzed until the parking judgment result of the sub-yard library corresponding to each piece of parking information in the target parking data is determined.
The method and the device determine the basic information of the target parking lot according to the identification of the target parking lot and determine whether the parking lot parks in the sub-garage or not according to the basic information of the target parking lot, thereby providing a basis for accurately calculating the cost of the parking lot which is stored in the in-garage and does not exist in the in-garage in the follow-up process.
And S21, sequentially acquiring a piece of parking information from the target parking data, and taking the acquired parking information as the parking information to be analyzed.
For S22, the basic information of the target parking lot corresponding to the target parking lot identifier in the parking information to be analyzed may be obtained from a database, the basic information of the target parking lot corresponding to the target parking lot identifier in the parking information to be analyzed may also be obtained from a third-party application system, and the basic information of the target parking lot corresponding to the target parking lot identifier in the parking information to be analyzed, which is input by the user, may also be obtained.
For S23, the preset library-in-library value may be obtained from the database, may also be obtained from the third-party application system, and may also be obtained from the preset library-in-library value input by the user.
Presetting the library-in-library values comprises: y is any one of the above groups. It is understood that the library values in the preset library may also adopt other symbols, which are not limited herein.
For S24, when the value of whether there is an in-library in the basic information of the target parking lot is the same as the preset in-library value, it means that the basic information of the target parking lot allows the sub-field library to adopt an individual charging rule. Searching a target sub-field library identifier in the parking information to be analyzed in an individual charging sub-field library identifier set in the basic information of the target parking field; when the sub-field library corresponding to the target sub-field library identifier in the parking information to be analyzed is searched successfully in the individual charging sub-field library identifier set, the sub-field library corresponding to the target sub-field library identifier in the parking information to be analyzed is allowed to adopt an individual charging rule, and at the moment, the parking judgment result of the sub-field library corresponding to the parking information to be analyzed can be determined as the parking of the sub-field library; when the search in the individual charging sub-field library identification set fails, it means that the target sub-field library identification in the parking information to be analyzed is set up as a sub-field library individually, but is not allowed to adopt an individual charging rule in the current target parking lot basic information, and at this time, it may be determined that the sub-field library parking determination result corresponding to the parking information to be analyzed is non-sub-field library parking.
For S25, when the value of whether the library-in-library exists in the basic information of the target parking lot is different from the preset library-in-library value, it means that the basic information of the target parking lot does not allow any sub-library to adopt an individual charging rule, and at this time, it may be determined that the parking determination result of the sub-library corresponding to the parking information to be analyzed is non-sub-library parking.
And for S26, repeatedly executing the step S21 to the step S26 until the parking judgment result of the sub-yard garage corresponding to each piece of parking information in the target parking data is determined.
In an embodiment, the step of determining charging rule data according to the charging rule base and the target parking lot identifier of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set respectively includes:
s31: respectively carrying out charging category search on the target parking lot identification of each non-sub-field library parking information in the non-sub-field library parking information set in a charging rule configuration table of a charging rule library to obtain a first charging category corresponding to each non-sub-field library parking information in the non-sub-field library parking information set;
s32: when the first charging type is a standard, searching in a charging rule configuration table of a charging rule base according to each target parking lot identification of the non-sub-field base parking information with the first charging type as the standard, and determining as a first charging rule data identification set according to a standard charging rule data identification corresponding to the parking lot identification searched in the charging rule configuration table of the charging rule base;
s33: when the first charging type is nonstandard, searching in the charging rule configuration table of the charging rule base according to each target parking lot identification of the nonstandard sub-field base parking information of which the first charging type is nonstandard, and determining a second charging rule data identification set according to the nonstandard charging rule data identification corresponding to the parking lot identification searched in the charging rule configuration table of the charging rule base;
s34: and determining charging rule data according to a charging rule database of the charging rule database, the first charging rule data identifier set and the second charging rule data identifier set to obtain the first charging rule data corresponding to each non-sub-field-base parking information in the non-sub-field-base parking information set.
The embodiment respectively determines the charging rule data according to the charging rule base and the target parking lot identification of the parking information of each non-sub-field base in the non-sub-field base parking information set, and provides a basis for accurately calculating the parking lot cost of the parking lot with or without the in-base parking information set.
For S31, extracting one piece of non-sub-field library parking information from the non-sub-field library parking information set to serve as the non-sub-field library parking information to be calculated; searching the target parking lot identification of the non-sub-field library parking information to be calculated in a charging rule configuration table of the charging rule library for a charging category, and taking the charging category corresponding to the parking lot identification searched in the charging rule configuration table as a first charging category corresponding to the non-sub-field library parking information to be calculated; and repeatedly executing the step of extracting one non-sub-field library parking information from the non-sub-field library parking information set as the non-sub-field library parking information to be calculated until a first charging category corresponding to each non-sub-field library parking information in the non-sub-field library parking information set is determined.
For S32, when the first charging type is the standard, taking each non-sub-field library parking information with the first charging type as the standard as standard charging non-sub-field library parking information, and taking all standard charging non-sub-field library parking information as a standard charging non-sub-field library parking information set; acquiring any standard charging non-sub-field library parking information from the standard charging non-sub-field library parking information set as target standard charging non-sub-field library parking information; searching the target parking lot identification of the target standard charging non-sub-field library parking information in a charging rule configuration table of the charging rule library, and taking a standard charging rule data identification corresponding to the parking lot identification searched in the charging rule configuration table as a first charging rule data identification corresponding to the target standard charging non-sub-field library parking information; and taking all the first charging rule data identifications as a first charging rule data identification set.
For S33, when the first charging type is nonstandard, taking each non-sub-field library parking information with the first charging type as standard as a non-standard charging non-sub-field library parking information, and taking all the non-standard charging non-sub-field library parking information as a non-standard charging non-sub-field library parking information set; acquiring any non-standard charging non-sub-field library parking information from the non-standard charging non-sub-field library parking information set as target non-standard charging non-sub-field library parking information; searching the target parking lot identification of the parking information of the target non-standard charging non-sub-field library in a charging rule configuration table of the charging rule library, and taking a non-standard charging rule data identification corresponding to the parking lot identification searched in the charging rule configuration table as a second charging rule data identification corresponding to the parking information of the target non-standard charging non-sub-field library; and taking all the second charging rule data identifications as a second charging rule data identification set.
For step S34, each identifier in the first charging rule data identifier set and the second charging rule data identifier set is searched in the charging rule database of the charging rule database, and each searched charging rule data is used as the first charging rule data corresponding to the non-sub-field database parking information.
In an embodiment, before the step of obtaining the charging rule base, the method further includes:
s031: acquiring a charging rule data updating request;
s032: responding to the charging rule data updating request, and acquiring a charging rule script to be updated, wherein the charging rule script to be updated carries a script identifier to be updated and a charging category to be updated;
s033: when the charging type to be updated is standard, analyzing the charging rule script to be updated to obtain analyzed rule data, and updating a standard charging rule database of the charging rule database according to the analyzed rule data and the script identifier to be updated;
s034: when the charging type to be updated is nonstandard, updating a nonstandard charging rule database of the charging rule base according to the charging rule script to be updated and the script identifier to be updated;
s035: acquiring a nonstandard configuration request;
s036: responding to the nonstandard configuration request, and acquiring nonstandard configuration data to be configured;
s037: and updating the charging rule configuration table of the charging rule base according to the non-standard configuration data to be configured.
In the embodiment, when the charging type to be updated is nonstandard, the nonstandard charging rule database of the charging rule base is updated according to the charging rule script to be updated and the script identifier to be updated, so that all algorithms do not need to be written into a program file, customized development of a system does not need to be performed in the development and deployment processes of the system, the development and deployment cost of the system is reduced, and the online time of the system is accelerated; and when the charging type to be updated is a standard, analyzing the charging rule script to be updated to obtain analyzed rule data, and updating a standard charging rule database of the charging rule base according to the analyzed rule data and the script identifier to be updated, so that the supplement of the preset charging rule data of the standard charging rule data is realized, the whole system does not need to be upgraded when the default configuration is upgraded, only the supplement of the charging rule data needs to be added into the standard charging rule data, and the cost of configuration upgrading is reduced.
For S031, it may be a charging rule data update request sent by a user, or a charging rule data update request triggered by an application implementing the present application, or a charging rule data update request sent by a third-party application system.
The charging rule data updating request is a request for updating the charging rule database of the charging rule base.
For S032, in response to the charging rule data update request, the charging rule script to be updated may be obtained from a database, or the charging rule script to be updated may be obtained from a third party application system, or the charging rule script to be updated input by the user may be obtained.
And the script identifier to be updated, namely the script identifier of the charging rule script to be updated.
The charging type to be updated, that is, the charging type of the charging rule script to be updated.
For S033, when the charging category to be updated is the standard, it means that the preset charging rule data of the standard charging rule data is supplemented, at this time, the charging rule script to be updated may be analyzed, the rule data obtained by the analysis is used as the analyzed rule data, and the analyzed rule data is updated to the supplementary charging rule data corresponding to the standard charging rule data identifier corresponding to the script identifier to be updated in the standard charging rule database of the charging rule base.
And when the charging type to be updated is a standard, the charging rule script to be updated is a JSON file.
For S034, when the charging category to be updated is non-standard, meaning is charging rule data customized according to the personalized parking fee calculation requirement of the operator of the parking lot, the charging rule script to be updated is updated into a non-standard charging rule database of the charging rule database at this time.
When the charging type to be updated is nonstandard, the charging rule script to be updated is a script file developed by adopting a dynamic JAVA code or a dynamic C # language, the charging rule script to be updated is equivalent to a method at the moment, parameters are input into the charging rule script to be updated for calculation, and the charging rule script to be updated directly outputs the calculated parking fee.
For S035, the configuration request may be an obtaining non-standard configuration request sent by the user, or an obtaining non-standard configuration request triggered by the application program implementing the present application, or an obtaining non-standard configuration request sent by a third-party application system.
The obtaining of the non-standard configuration request is a request for performing non-standard charging rule data configuration on the charging rule of the system for realizing the application.
For S036, in response to the non-standard configuration request, the non-standard configuration data to be configured may be obtained from the database, the non-standard configuration data to be configured may also be obtained from the third-party application system, and the non-standard configuration data to be configured that is input by the user may also be obtained.
The non-standard configuration data to be configured includes: the parking lot identification, the charging category, the non-standard charging rule data identification, or the non-standard configuration data to be configured includes: sub-field library identification, charging category and non-standard charging rule data identification. When the non-standard configuration data to be configured includes: and when the parking lot identification, the charging category and the non-standard charging rule data identification are carried out, the non-standard charging rule data of the parking lot are configured. When the non-standard configuration data to be configured includes: when the sub-field library identification, the charging category and the non-standard charging rule data identification are identified, the non-standard charging rule data of the sub-field library are configured.
For S037, data addition or data overwriting is performed on the charging rule configuration table of the charging rule base by using the non-standard configuration data to be configured.
In an embodiment, the step of determining charging rule data according to the charging rule base and the target sub-field base identifier of the parking information of each sub-field base in the parking information set of the sub-field base to obtain second charging rule data corresponding to the parking information of each sub-field base in the parking information set of the sub-field base comprises:
s41: respectively searching the target sub-field library identification of each sub-field library parking information in the sub-field library parking information set in a charging rule configuration table of a charging rule library for charging types to obtain a second charging type corresponding to each sub-field library parking information in the sub-field library parking information set;
s42: when the second charging type is the standard, searching in the charging rule configuration table of the charging rule base according to each target sub-field base identification of the sub-field base parking information with the second charging type as the standard, and determining a third charging rule data identification set according to a standard charging rule data identification corresponding to the sub-field base identification searched in the charging rule configuration table of the charging rule base;
s43: when the second charging type is nonstandard, searching in the charging rule configuration table of the charging rule base according to each target subfield base identifier of the subfield base parking information of which the second charging type is nonstandard, and determining a fourth charging rule data identifier set according to the nonstandard charging rule data identifier corresponding to the subfield base identifier searched in the charging rule configuration table of the charging rule base;
s44: and determining charging rule data according to a charging rule database of the charging rule database, the third charging rule data identifier set and the fourth charging rule data identifier set to obtain second charging rule data corresponding to each sub-field parking information in the sub-field parking information set.
The embodiment respectively determines the charging rule data according to the charging rule base and the target sub-field base identification of the parking information of each sub-field base in the sub-field base parking information set, and provides a basis for accurately calculating the parking lot cost of the parking lot which exists in the base and does not exist in the base in the follow-up implementation.
For S41, extracting one piece of sub-field library parking information from the sub-field library parking information set to serve as the sub-field library parking information to be calculated; searching the charging category of the target sub-field library identification of the sub-field library parking information to be calculated in a charging rule configuration table of the charging rule library, and taking the charging category corresponding to the sub-field library identification searched in the charging rule configuration table as a second charging category corresponding to the sub-field library parking information to be calculated; and repeatedly executing the step of extracting one piece of sub-field library parking information from the sub-field library parking information set as the sub-field library parking information to be calculated until a second charging type corresponding to each piece of sub-field library parking information in the sub-field library parking information set is determined.
For S42, when the second charging type is the standard, the parking information of the sub-field library with the second charging type as the standard is used as the parking information of a standard charging sub-field library, and the parking information of all standard charging sub-field libraries is used as a standard charging sub-field library parking information set; acquiring any standard charging sub-field parking information from the standard charging sub-field parking information set as target standard charging sub-field parking information; searching the target sub-field library identification of the parking information of the target standard charging sub-field library in a charging rule configuration table of the charging rule library, and taking the standard charging rule data identification corresponding to the sub-field library identification searched in the charging rule configuration table as a third charging rule data identification corresponding to the parking information of the target standard charging sub-field library; all third charging rule data identifications are taken as a third charging rule data identification set.
For S43, when the second charging type is nonstandard, the parking information of the sub-field library with the nonstandard charging type is used as the parking information of a nonstandard charging sub-field library, and all the parking information of the nonstandard charging sub-field library is used as a parking information set of the nonstandard charging sub-field library; acquiring any non-standard charging sub-field parking information from the non-standard charging sub-field parking information set as target non-standard charging sub-field parking information; searching the target sub-field library identification of the target non-standard charging sub-field library parking information in a charging rule configuration table of the charging rule library, and taking a non-standard charging rule data identification corresponding to the sub-field library identification searched in the charging rule configuration table as a fourth charging rule data identification corresponding to the target non-standard charging sub-field library parking information; and taking all the fourth charging rule data identifications as a fourth charging rule data identification set.
For S44, each identifier in the third charging rule data identifier set and the fourth charging rule data identifier set is respectively searched in a charging rule database of the charging rule database, and taking each searched charging rule data as second charging rule data corresponding to the parking information of the sub-field library.
In an embodiment, the step of calculating the parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain the target parking fee includes:
s51: acquiring one piece of parking information from the target parking data as parking information to be calculated;
s52: when the parking judgment result of the sub-field library corresponding to the parking information to be calculated is that the parking of the non-sub-field library is carried out, acquiring charging rule data from the first charging rule data according to the parking information to be calculated to obtain target charging rule data corresponding to the parking information to be calculated;
s53: when the sub-field library parking judgment result corresponding to the parking information to be calculated is sub-field library parking, acquiring charging rule data from the second charging rule data according to the parking information to be calculated to obtain target charging rule data corresponding to the parking information to be calculated;
s54: calculating parking fees according to the target charging rule data and the entrance time and the exit time of the parking information to be calculated to obtain the parking fees to be summarized corresponding to the parking information to be calculated;
s55: repeatedly executing the step of acquiring one piece of parking information from the target parking data as the parking information to be calculated until the parking cost to be summarized corresponding to each piece of parking information in the target parking data is determined;
s56: and summing all the parking fees to be summarized to obtain the target parking fee.
According to the embodiment, the parking fee calculation is respectively carried out on each piece of parking information in the target parking data according to the first charging rule data and the second charging rule data, and the calculation results are summed to be used as the target parking fee, so that the parking lot fees of the parking lot with or without the library-in-library can be accurately calculated, the joint fee calculation can be carried out on a plurality of parking lots, the payment times of customers are reduced, and the customer experience is improved.
And S51, sequentially acquiring a piece of parking information from the target parking data, and taking the extracted parking information as the parking information to be calculated.
For S52, when the parking determination result of the sub-field library corresponding to the parking information to be calculated is that the parking of the non-sub-field library is performed, it means that the parking information to be calculated is not allowed to adopt an individual charging rule, at this time, charging rule data may be obtained from the first charging rule data according to the parking information to be calculated, and the obtained charging rule data is used as target charging rule data corresponding to the parking information to be calculated.
For S53, when the parking determination result of the sub-field library corresponding to the parking information to be calculated is sub-field library parking, it means that the parking information to be calculated is allowed to adopt an individual charging rule, at this time, charging rule data is obtained from the second charging rule data according to the parking information to be calculated, and the obtained charging rule data is used as the target charging rule data corresponding to the parking information to be calculated.
For S54, subtracting the entering time of the parking information to be calculated from the leaving time of the parking information to be calculated to obtain a target parking duration corresponding to the parking information to be calculated; and calculating parking fee according to the target parking duration corresponding to the parking information to be calculated and the target charging rule data, and taking the calculated data as the parking fee to be summarized corresponding to the parking information to be calculated.
And for S55, repeatedly executing the step S51 to the step S55 until the parking fee to be summarized corresponding to each piece of parking information in the target parking data is determined.
And S56, summing all the parking fees to be summarized, and taking the data obtained by summation as the target parking fee.
In an embodiment, the step of obtaining the parking charging request includes:
s11: acquiring an image to be analyzed sent by target barrier gate camera equipment;
s12: identifying the license plate number according to the image to be analyzed to obtain the license plate number to be updated;
s13: acquiring a configuration table of the camera device;
s14: searching a gateway gate camera shooting equipment identifier corresponding to the target gateway gate camera shooting equipment in a camera shooting equipment configuration table, taking a garage identifier corresponding to the gateway gate camera shooting equipment identifier searched in the camera shooting equipment configuration table as a garage identifier to be updated, and taking a shooting category corresponding to the gateway gate camera shooting equipment identifier searched in the camera shooting equipment configuration table as a shooting category to be updated;
s15: and determining parking data according to the garage identification to be updated, the license plate number to be updated, the shooting category to be updated and the shooting time of the image to be analyzed.
This embodiment binds banister camera equipment sign and garage sign of banister camera equipment to be favorable to obtaining parking data fast.
And S11, receiving the image to be analyzed sent by the target barrier gate camera device through the communication connection with the target barrier gate camera device.
The target barrier gate camera is a barrier gate camera at the exit or entrance of a parking lot and/or a sub-yard.
The barrier camera device may adopt a camera or a video camera, and is not limited herein.
And S12, carrying out image analysis on the image to be analyzed to identify the license plate number, and taking the identified license plate number as the license plate number to be updated.
For S13, the image capturing apparatus configuration table may be acquired from a database, may be acquired from a third-party application system, and may also be acquired from an image capturing apparatus configuration table input by a user.
The image pickup apparatus configuration table includes: the system comprises garage identifications, barrier gate camera equipment identifications and shooting categories, wherein each garage identification corresponds to one barrier gate camera equipment identification and one shooting category. Garage identification includes but is not limited to: at least one of a parking lot identification and a sub-field library identification. The barrier gate camera device identifier may be an identifier that uniquely identifies one barrier gate camera device, such as a barrier gate camera device name and a barrier gate camera device ID. The shooting categories include: entering and leaving.
For S15, the license plate number to be updated is used as the license plate number of the parking data; when the shooting category to be updated is entering, taking the shooting time of the image to be analyzed as the entering time of the parking information of the parking data corresponding to the license plate number to be updated; when the shooting category to be updated is off-field, taking the shooting time of the image to be analyzed as the off-field time of the parking information of the parking data corresponding to the license plate number to be updated; and taking the parking lot identification in the garage identification to be updated as the parking lot identification of the parking information of the parking data corresponding to the license plate number to be updated, and taking the sub-field library identification in the garage identification to be updated as the sub-field library identification of the parking information of the parking data corresponding to the license plate number to be updated.
Referring to fig. 2, the present application further provides a parking lot charging device, the device including:
a request obtaining module 100, configured to obtain a parking charging request, where the parking charging request carries target parking data;
a sub-field library parking judgment result determining module 200, configured to respectively perform sub-field library parking judgment on each piece of parking information in the target parking data to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data;
a first charging rule data determining module 300, configured to determine a non-sub-field library parking information set according to the parking information that the sub-field library parking judgment result is that the non-sub-field library parks when the sub-field library parking judgment result is that the non-sub-field library parks, acquire a charging rule library, and perform charging rule data determination according to the charging rule library and a target parking lot identifier of parking information of each non-sub-field library in the non-sub-field library parking information set, respectively, to obtain first charging rule data corresponding to each non-sub-field library parking information in the non-sub-field library parking information set;
a second charging rule data determining module 400, configured to determine a sub-field library parking information set according to the parking information of the sub-field library parking determined by the sub-field library parking determination result when there is the sub-field library parking determined by the sub-field library parking determination result, acquire the charging rule library, and perform charging rule data determination according to the charging rule library and a target sub-field library identifier of each sub-field library parking information in the sub-field library parking information set, to obtain second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set;
and the target parking fee determining module 500 is configured to calculate parking fees according to the first charging rule data, the second charging rule data, and the target parking data, so as to obtain target parking fees.
The embodiment first performs subfield parking judgment on each piece of parking information in the target parking data to obtain subfield parking judgment results corresponding to each piece of parking information in the target parking data, secondly, when the parking judgment result of the sub-field library is that the non-sub-field library parks, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking judged result, acquiring a charging rule library, respectively determining charging rule data according to the charging rule library and the target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set, then when the parking judgment result of the sub-field library exists is the sub-field library parking, according to the parking information of the sub-field library parking, determining a sub-field library parking information set, obtaining a charging rule library, respectively determining charging rule data according to the charging rule library and a target sub-field library mark of each sub-field library parking information in the sub-field library parking information set, obtaining second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set, finally, according to the first charging rule data, the second charging rule data and the target parking data, calculating parking fee, obtaining target parking fee, realizing accurate calculation of the parking lot fee of the library in the library and the parking lot without the library in the storage, and writing all algorithms into a program file through the charging rule library, therefore, customized development of the system is not required in the system development and deployment process, the development and deployment cost of the system is reduced, and the online time of the system is accelerated.
Referring to fig. 3, an embodiment of the present application further provides a computer device, where the computer device may be a server, and an internal structure of the computer device may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer equipment is used for storing data such as a parking lot charging method and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a parking lot charging method. The parking lot charging method comprises the following steps: acquiring a parking charging request, wherein the parking charging request carries target parking data; judging whether each piece of parking information in the target parking data is parked in a sub-field library or not respectively to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data; when the parking information of the non-sub-field library is judged to be parking according to the parking judgment result of the sub-field library, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking according to the parking judgment result of the sub-field library parking, obtaining a charging rule library, and respectively determining charging rule data according to the charging rule library and a target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set; when the parking judgment result of the sub-field library is that the sub-field library parks, determining a sub-field library parking information set according to the parking information of the sub-field library parking judgment result, acquiring the charging rule library, and determining charging rule data according to the charging rule library and a target sub-field library identifier of the parking information of each sub-field library in the sub-field library parking information set to obtain second charging rule data corresponding to the parking information of each sub-field library in the sub-field library parking information set; and calculating parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain the target parking fee.
The embodiment firstly respectively judges whether each piece of parking information in the target parking data is parked in a sub-field library or not to obtain the parking judgment result of the sub-field library corresponding to each piece of parking information in the target parking data, secondly, when the parking judgment result of the sub-field library is that the non-sub-field library parks, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking judged result, acquiring a charging rule library, respectively determining charging rule data according to the charging rule library and the target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set, then when the parking judgment result of the sub-field library exists is the sub-field library parking, according to the parking information of the sub-field library parking, determining a sub-field library parking information set, obtaining a charging rule library, respectively determining charging rule data according to the charging rule library and a target sub-field library mark of each sub-field library parking information in the sub-field library parking information set, obtaining second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set, finally, according to the first charging rule data, the second charging rule data and the target parking data, calculating parking fee, obtaining target parking fee, realizing accurate calculation of the parking lot fee of the library in the library and the parking lot without the library in the storage, and writing all algorithms into a program file through the charging rule library, therefore, customized development of the system is not required in the system development and deployment process, the development and deployment cost of the system is reduced, and the online time of the system is accelerated.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a parking lot charging method, including the steps of: acquiring a parking charging request, wherein the parking charging request carries target parking data; judging whether each piece of parking information in the target parking data is parked in a sub-field library or not respectively to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data; when the parking information of the non-sub-field library is judged to be parking according to the parking judgment result of the sub-field library, determining a non-sub-field library parking information set according to the parking information of the non-sub-field library parking according to the parking judgment result of the sub-field library parking, obtaining a charging rule library, and respectively determining charging rule data according to the charging rule library and a target parking lot identification of the parking information of each non-sub-field library in the non-sub-field library parking information set to obtain first charging rule data corresponding to the parking information of each non-sub-field library in the non-sub-field library parking information set; when the parking judgment result of the sub-field library is sub-field library parking, determining a sub-field library parking information set according to the parking information of the sub-field library parking according to the sub-field library parking judgment result, acquiring the charging rule library, and determining charging rule data according to the charging rule library and a target sub-field library identifier of each sub-field library parking information in the sub-field library parking information set to obtain second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set; and calculating parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain the target parking fee.
The executed parking lot charging method comprises the steps of firstly respectively judging whether each piece of parking information in target parking data is parked in a sub-field library or not to obtain the parking judgment result of the sub-field library corresponding to each piece of parking information in the target parking data, secondly, when the parking judgment result of the sub-field library is parking in a non-sub-field library, determining a non-sub-field library parking information set according to the parking judgment result of the sub-field library parking to obtain a charging rule library, respectively determining the charging rule data according to the charging rule library and the target parking lot identification of each non-sub-field library parking information in the non-sub-field library parking information set to obtain first charging rule data corresponding to each non-sub-field library parking information in the non-sub-field library parking information set, and secondly, when the parking judgment result of the sub-field library parking exists and is parking in the sub-field library, determining a parking information set of the sub-field library according to the parking information of the parking of the sub-field library according to the parking judgment result of the sub-field library, obtaining a charging rule library, respectively determining charging rule data according to the charging rule library and a target sub-field library identification of the parking information of each sub-field library in the parking information set of the sub-field library, obtaining second charging rule data corresponding to the parking information of each sub-field library in the parking information set of the sub-field library, and finally calculating parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain target parking fee, thereby realizing accurate calculation of the parking fee of the parking lot with and without the library, and writing all algorithms into a program file through the charging rule library, thereby not needing custom development of the system in the process of system development and deployment, and reducing the cost of system development and deployment, and the online time of the system is accelerated.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (SSRDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of another identical element in a process, apparatus, article, or method comprising the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (9)

1. A parking lot charging method, the method comprising:
acquiring a parking charging request, wherein the parking charging request carries target parking data;
judging whether each piece of parking information in the target parking data is parked in a sub-field library or not respectively to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data;
when the subfield base parking judgment result indicates that the non-subfield base is parked, determining a non-subfield base parking information set according to the parking information of the subfield base parking judgment result indicating that the non-subfield base is parked, acquiring a charging rule base, and determining charging rule data according to the charging rule base and a target parking lot identifier of the parking information of each non-subfield base in the non-subfield base parking information set to obtain first charging rule data corresponding to the parking information of each non-subfield base in the non-subfield base parking information set;
when the parking judgment result of the sub-field library is that the sub-field library parks, determining a sub-field library parking information set according to the parking information of the sub-field library parking judgment result, acquiring the charging rule library, and determining charging rule data according to the charging rule library and a target sub-field library identifier of the parking information of each sub-field library in the sub-field library parking information set to obtain second charging rule data corresponding to the parking information of each sub-field library in the sub-field library parking information set;
calculating parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain target parking fee;
the step of respectively judging whether each piece of parking information in the target parking data is parked in a sub-field library to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data comprises the following steps:
acquiring one piece of parking information from the target parking data as parking information to be analyzed;
acquiring basic information of a target parking lot corresponding to the target parking lot identification in the parking information to be analyzed;
acquiring a library value in a preset library;
when the value of whether a library-in-library exists in the basic information of the target parking lot is the same as the preset library-in-library value, searching a target sub-field library identifier in the parking information to be analyzed in an individual charging sub-field library identifier set in the basic information of the target parking lot, and when the search is successful in the individual charging sub-field library identifier set, determining that the parking judgment result of the sub-field library corresponding to the parking information to be analyzed is sub-field library parking, otherwise, determining that the parking judgment result of the sub-field library corresponding to the parking information to be analyzed is non-sub-field library parking;
when the value of whether the in-library exists in the basic information of the target parking lot is different from the preset in-library value, determining that the sub-field library parking judgment result corresponding to the parking information to be analyzed is non-sub-field library parking;
and repeatedly executing the step of obtaining one piece of parking information from the target parking data as the parking information to be analyzed until determining the parking judgment result of the sub-field library corresponding to each piece of parking information in the target parking data.
2. The parking lot charging method according to claim 1, wherein the step of determining charging rule data according to the charging rule base and a target parking lot identifier of each non-sub-field base parking information in the non-sub-field base parking information set to obtain first charging rule data corresponding to each non-sub-field base parking information in the non-sub-field base parking information set comprises:
respectively carrying out charging category search on the target parking lot identification of each non-sub-field library parking information in the non-sub-field library parking information set in a charging rule configuration table of a charging rule library to obtain a first charging category corresponding to each non-sub-field library parking information in the non-sub-field library parking information set;
when the first charging type is a standard, searching in a charging rule configuration table of a charging rule base according to each target parking lot identification of the non-sub-field base parking information with the first charging type as the standard, and determining as a first charging rule data identification set according to a standard charging rule data identification corresponding to the parking lot identification searched in the charging rule configuration table of the charging rule base;
when the first charging type is nonstandard, searching in the charging rule configuration table of the charging rule base according to each target parking lot identifier of the nonstandard sub-field base parking information of which the first charging type is nonstandard, and determining a second charging rule data identifier set according to the nonstandard charging rule data identifier corresponding to the parking lot identifier searched in the charging rule configuration table of the charging rule base;
and determining charging rule data according to the charging rule data of the charging rule base, the first charging rule data identification set and the second charging rule data identification set to obtain the first charging rule data corresponding to each non-sub-field base parking information in the non-sub-field base parking information set.
3. The parking lot charging method according to claim 2, wherein the step of obtaining the charging rule base is preceded by:
acquiring a charging rule data updating request;
responding to the charging rule data updating request, and acquiring a charging rule script to be updated, wherein the charging rule script to be updated carries a script identifier to be updated and a charging category to be updated;
when the charging type to be updated is standard, analyzing the charging rule script to be updated to obtain analyzed rule data, and updating a standard charging rule database of the charging rule database according to the analyzed rule data and the script identifier to be updated;
when the charging type to be updated is nonstandard, updating a nonstandard charging rule database of the charging rule base according to the charging rule script to be updated and the script identifier to be updated;
acquiring a nonstandard configuration request;
responding to the nonstandard configuration request, and acquiring nonstandard configuration data to be configured;
and updating the charging rule configuration table of the charging rule base according to the nonstandard configuration data to be configured.
4. The parking lot charging method according to claim 1, wherein the step of determining charging rule data according to the charging rule base and the target sub-field base identifier of each sub-field base parking information in the sub-field base parking information set to obtain second charging rule data corresponding to each sub-field base parking information in the sub-field base parking information set comprises:
respectively searching the target sub-field library identification of each sub-field library parking information in the sub-field library parking information set in a charging rule configuration table of a charging rule library for charging types to obtain a second charging type corresponding to each sub-field library parking information in the sub-field library parking information set;
when the second charging type is the standard, searching in the charging rule configuration table of the charging rule base according to each target sub-field base identification of the sub-field base parking information with the second charging type as the standard, and determining a third charging rule data identification set according to a standard charging rule data identification corresponding to the sub-field base identification searched in the charging rule configuration table of the charging rule base;
when the second charging type is nonstandard, searching in the charging rule configuration table of the charging rule base according to each target sub-field base identification of the sub-field base parking information of which the second charging type is nonstandard, and determining a fourth charging rule data identification set according to the nonstandard charging rule data identification corresponding to the sub-field base identification searched in the charging rule configuration table of the charging rule base;
and determining charging rule data according to the charging rule data of the charging rule base, the third charging rule data identification set and the fourth charging rule data identification set to obtain second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set.
5. The parking lot charging method according to claim 1, wherein the step of calculating the parking fee according to the first charging rule data, the second charging rule data and the target parking data to obtain the target parking fee comprises:
acquiring one piece of parking information from the target parking data as parking information to be calculated;
when the sub-field library parking judgment result corresponding to the parking information to be calculated is non-sub-field library parking, acquiring charging rule data from the first charging rule data according to the parking information to be calculated to obtain target charging rule data corresponding to the parking information to be calculated;
when the sub-field library parking judgment result corresponding to the parking information to be calculated is sub-field library parking, acquiring charging rule data from the second charging rule data according to the parking information to be calculated to obtain target charging rule data corresponding to the parking information to be calculated;
calculating parking fees according to the target charging rule data and the entrance time and the exit time of the parking information to be calculated to obtain the parking fees to be summarized corresponding to the parking information to be calculated;
repeatedly executing the step of acquiring one piece of parking information from the target parking data as the parking information to be calculated until the parking cost to be summarized corresponding to each piece of parking information in the target parking data is determined;
and summing all the parking fees to be summarized to obtain the target parking fee.
6. The parking lot charging method according to claim 1, wherein the step of obtaining the parking charging request is preceded by:
acquiring an image to be analyzed sent by target barrier gate camera equipment;
identifying the license plate number according to the image to be analyzed to obtain the license plate number to be updated;
acquiring a configuration table of the camera device;
searching for a gateway camera equipment identifier corresponding to the target gateway camera equipment in the camera equipment configuration table, taking the garage identifier corresponding to the gateway camera equipment identifier searched in the camera equipment configuration table as a garage identifier to be updated, and taking the shooting category corresponding to the gateway camera equipment identifier searched in the camera equipment configuration table as a shooting category to be updated;
and determining parking data according to the garage identification to be updated, the license plate number to be updated, the shooting category to be updated and the shooting time of the image to be analyzed.
7. A parking lot charging apparatus, comprising:
the system comprises a request acquisition module, a parking charging module and a parking charging module, wherein the request acquisition module is used for acquiring a parking charging request which carries target parking data;
a sub-field library parking judgment result determining module, configured to respectively perform sub-field library parking judgment on each piece of parking information in the target parking data to obtain a sub-field library parking judgment result corresponding to each piece of parking information in the target parking data;
a first charging rule data determining module, configured to determine a non-sub-field library parking information set according to the parking information that the sub-field library parking determination result is that the non-sub-field library is parked when the sub-field library parking determination result indicates that the non-sub-field library is parked, acquire a charging rule library, and perform charging rule data determination according to the charging rule library and a target parking lot identifier of parking information of each non-sub-field library in the non-sub-field library parking information set, respectively, to obtain first charging rule data corresponding to each non-sub-field library parking information in the non-sub-field library parking information set;
a second charging rule data determining module, configured to determine a sub-field library parking information set according to the parking information of the sub-field library parking determined by the sub-field library parking determination result when there is the sub-field library parking determined by the sub-field library parking determination result, acquire the charging rule library, and determine charging rule data according to the charging rule library and a target sub-field library identifier of each sub-field library parking information in the sub-field library parking information set, so as to obtain second charging rule data corresponding to each sub-field library parking information in the sub-field library parking information set;
the target parking fee determining module is used for calculating parking fees according to the first charging rule data, the second charging rule data and the target parking data to obtain target parking fees;
the sub-field library parking judgment result determining module is further used for acquiring one piece of parking information from the target parking data as the parking information to be analyzed; acquiring basic information of a target parking lot corresponding to the target parking lot identification in the parking information to be analyzed; acquiring a library value in a preset library;
when the value of whether a library-in-library exists in the basic information of the target parking lot is the same as the preset library-in-library value, searching a target sub-field library identifier in the parking information to be analyzed in an individual charging sub-field library identifier set in the basic information of the target parking lot, and when the search is successful in the individual charging sub-field library identifier set, determining that the parking judgment result of the sub-field library corresponding to the parking information to be analyzed is sub-field library parking, otherwise, determining that the parking judgment result of the sub-field library corresponding to the parking information to be analyzed is non-sub-field library parking; when the value of whether the in-library exists in the basic information of the target parking lot is different from the preset in-library value, determining that the sub-field library parking judgment result corresponding to the parking information to be analyzed is non-sub-field library parking; and repeatedly executing the step of acquiring one piece of parking information from the target parking data as the parking information to be analyzed until the parking judgment result of the sub-yard library corresponding to each piece of parking information in the target parking data is determined.
8. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method according to any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202110587692.4A 2021-05-27 2021-05-27 Parking lot charging method, device, equipment and storage medium Active CN113284268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110587692.4A CN113284268B (en) 2021-05-27 2021-05-27 Parking lot charging method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110587692.4A CN113284268B (en) 2021-05-27 2021-05-27 Parking lot charging method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113284268A CN113284268A (en) 2021-08-20
CN113284268B true CN113284268B (en) 2023-02-07

Family

ID=77282302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110587692.4A Active CN113284268B (en) 2021-05-27 2021-05-27 Parking lot charging method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113284268B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114022962A (en) * 2021-10-28 2022-02-08 深圳市科漫达智能管理科技有限公司 JSON format-based parking lot charging standard generation method and related device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006113894A (en) * 2004-10-15 2006-04-27 Mitsubishi Electric Corp Parking lot use charge payment system
CN106504348A (en) * 2016-09-30 2017-03-15 北京悦畅科技有限公司 A kind of method that Parking Fee clearing are provided, server and system
CN108038921A (en) * 2017-11-30 2018-05-15 深圳市小猫信息技术有限公司 A kind of vehicle in and out port management method, device and storage medium
CN109472875A (en) * 2018-10-24 2019-03-15 西安艾润物联网技术服务有限责任公司 Stop cost calculating method, device, system and readable storage medium storing program for executing
CN109472876A (en) * 2018-10-29 2019-03-15 松立控股集团股份有限公司 A kind of AI charge system
CN109584383A (en) * 2018-10-26 2019-04-05 阿里巴巴集团控股有限公司 Stopping charging system and method, apparatus, electronic equipment
CN109840958A (en) * 2019-02-01 2019-06-04 西安艾润物联网技术服务有限责任公司 A kind of charging method and device in nested type parking lot
CN110827418A (en) * 2019-10-22 2020-02-21 恒大智慧科技有限公司 Intelligent community parking automatic charging method, computer equipment and storage medium
CN111754643A (en) * 2018-03-16 2020-10-09 西安艾润物联网技术服务有限责任公司 Parking lot charging and account separating method and device and computer readable storage medium
CN111833468A (en) * 2019-03-29 2020-10-27 深圳市前海智慧交通运营科技有限公司 Parking management method and device applied to cloud platform and terminal
CN112598928A (en) * 2018-10-15 2021-04-02 西安艾润物联网技术服务有限责任公司 Parking lot management method and related device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006113894A (en) * 2004-10-15 2006-04-27 Mitsubishi Electric Corp Parking lot use charge payment system
CN106504348A (en) * 2016-09-30 2017-03-15 北京悦畅科技有限公司 A kind of method that Parking Fee clearing are provided, server and system
CN108038921A (en) * 2017-11-30 2018-05-15 深圳市小猫信息技术有限公司 A kind of vehicle in and out port management method, device and storage medium
CN111754643A (en) * 2018-03-16 2020-10-09 西安艾润物联网技术服务有限责任公司 Parking lot charging and account separating method and device and computer readable storage medium
CN112598928A (en) * 2018-10-15 2021-04-02 西安艾润物联网技术服务有限责任公司 Parking lot management method and related device
CN109472875A (en) * 2018-10-24 2019-03-15 西安艾润物联网技术服务有限责任公司 Stop cost calculating method, device, system and readable storage medium storing program for executing
CN109584383A (en) * 2018-10-26 2019-04-05 阿里巴巴集团控股有限公司 Stopping charging system and method, apparatus, electronic equipment
CN109472876A (en) * 2018-10-29 2019-03-15 松立控股集团股份有限公司 A kind of AI charge system
CN109840958A (en) * 2019-02-01 2019-06-04 西安艾润物联网技术服务有限责任公司 A kind of charging method and device in nested type parking lot
CN111833468A (en) * 2019-03-29 2020-10-27 深圳市前海智慧交通运营科技有限公司 Parking management method and device applied to cloud platform and terminal
CN110827418A (en) * 2019-10-22 2020-02-21 恒大智慧科技有限公司 Intelligent community parking automatic charging method, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113284268A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN107909661B (en) Parking lot control method, system and computer readable storage medium
CN111667011A (en) Damage detection model training method, damage detection model training device, damage detection method, damage detection device, damage detection equipment and damage detection medium
CN108845835B (en) Operation guide processing method and device based on application program and computer equipment
CN111723659A (en) Parking space determining method and device, computer equipment and storage medium
CN113284268B (en) Parking lot charging method, device, equipment and storage medium
CN111325122B (en) License plate correction method, ETC antenna device and computer readable storage medium
CN110597883B (en) Vehicle leasing data processing method and device based on blockchain and storage medium
CN112819976A (en) Parking lot control method and device
CN110633751A (en) Training method of car logo classification model, car logo identification method, device and equipment
CN112258191A (en) Data reconciliation method, device, equipment and storage medium
CN112241646A (en) Lane line recognition method and device, computer equipment and storage medium
CN108156053B (en) Service processing method, device, system and server
CN113920596A (en) License plate recognition data re-matching method and system for unattended parking lot
CN109829750B (en) Public transport transaction information processing method and device and computer equipment
CN113077372A (en) Service processing method and device and computer equipment
CN110599801B (en) Parking management method and device, computer equipment and storage medium
CN111063063B (en) Shared vehicle unlocking method and device, computer equipment and storage medium
CN110807630B (en) Payment method and device based on face recognition, computer equipment and storage medium
CN110907749A (en) Method and device for positioning fault underground cable
CN114926914B (en) Parking fee calculation method, device, equipment and computer readable storage medium
CN113313129B (en) Training method, device, equipment and storage medium for disaster damage recognition model
CN114882646B (en) Non-inductive payment method, system, equipment and storage medium for gas station
EP4325422A1 (en) Method and system for providing parking service
CN113641969A (en) Cloud computing information security improvement method based on interval training
CN113436353A (en) Vehicle charging method and device based on voice interaction

Legal Events

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