Parking fee determination method and device, computer equipment and storage medium
By obtaining and referring to the charging rules and benchmark charging rules of the target parking lot, the pre-order parking information of the vehicle and the receivable fees for the parking time period are calculated, which solves the problem of unreasonable parking fee calculation in the existing technology, and achieves accurate cost accounting and user satisfaction improvement.
Patent Information
- Application Number
- CN202510608684.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2025-07-11
AI Technical Summary
The additional parking fee incurred by the existing parking management system after the vehicle exceeds the pre-order parking time is unreasonable, resulting in the total cost that may exceed the charging limit stipulated by the Price Bureau, causing fee disputes between users and parking lot management parties and damaging users' rights and interests.
By obtaining the charging rules and benchmark charging rules of the target parking lot, determine the vehicle's pre-order parking information and parking time period, use the pre-designed fee rules to calculate the receivable fees to ensure that the fee calculation complies with the price regulations and avoid the total cost exceeding the limit.
Accurate cost accounting is achieved, ensuring that parking fee calculation complies with price regulations, reducing cost disputes, and improving the intelligence and user satisfaction of the parking management system.
Smart Images

Figure CN120299103A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of parking lot management, and particularly to a method, device, computer device and storage medium for determining parking fees. Background Art
[0002] In the context of the continuous growth of current intelligent transportation and convenient travel needs, the intelligent level of parking management systems has been continuously improved. The parking management systems on the market already widely have the function of "pre-purchasing parking time for vehicles". For example, vehicle users can, according to their travel plans, prepay to purchase parking services for a certain period of time in advance, or when participating in activities, the parking lot will give users parking services as a gift, such as charging with free parking, or giving free parking for shopping in the mall, etc. The gifted parking duration also belongs to the pre-purchased parking time. This function provides convenience for users. Within the pre-purchased parking time, the vehicle parks according to the established pre-purchase rules, which can effectively reduce the parking costs of users.
[0003] However, there are still obvious deficiencies in the existing parking management systems in terms of parking fee calculation. When a vehicle continues to park outside the pre-purchased parking time and incurs additional parking fees, the existing parking management systems do not distinguish between temporary parking fees and the fees for the pre-purchased parking duration. Once a vehicle parks for a long time outside the pre-purchased parking time, the additional parking fees will continue to accumulate. In this case, when adding the parking fees to the fees for the pre-purchased parking time, it often happens that the total fees paid by users exceed the charging limit stipulated by the local price control department. Such non-compliant phenomena violate the price supervision regulations, may also lead to fee disputes between users and the parking lot management party, damage the rights and interests of users, and disrupt the normal order of the parking fee market, and there is an urgent need to optimize and improve the charging rules of the parking management system. Summary of the Invention
[0004] Based on this, it is necessary to provide a method, device, computer device and storage medium for determining parking fees for the above technical problems, so as to solve at least one of the problems existing in the above prior art.
[0005] In a first aspect, a method for determining parking fees is provided, including:
[0006] Obtain the charging rules of the target parking lot and the benchmark charging rules, where the charging rules include the parking charging rules of the target parking lot within the billing cycle, and the benchmark charging rules include the maximum charging limit of the target parking lot within the billing cycle;
[0007] When a parking fee processing request for a target vehicle is obtained, determine the billing cycle corresponding to the current parking time period of the target vehicle, and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle;
[0008] According to the maximum charging limit, the parking charging rule, and the pre-purchased parking time period, a pre-set charging rule is used to determine the payable fee corresponding to the current parking time period of the target vehicle.
[0009] In a possible implementation manner, the using the pre-set charging rule to determine the payable fee corresponding to the current parking time period of the target vehicle includes:
[0010] Allocate the pre-purchased parking time period to the corresponding charging cycles, and determine the allocated amount of the corresponding charging cycle according to the pre-set allocation rule;
[0011] The maximum charging limit corresponding to the allocated charging cycle needs to subtract the corresponding allocated amount to obtain the overlapping maximum charging limit.
[0012] In a possible implementation manner, the pre-set allocation rule includes any one of an average allocation rule or a proportional allocation rule.
[0013] In a possible implementation manner, when the allocated amount in the charging cycle is the same as the parking fee within the entire charging cycle, the overlapping maximum charging limit corresponding to the charging cycle is zero.
[0014] In a possible implementation manner, the using the pre-set charging rule to determine the payable fee corresponding to the current parking time period of the target vehicle includes:
[0015] Calculate the parking fees for the sub-time periods of each charging cycle according to the parking charging rule;
[0016] Compare the parking fees for the sub-time periods with the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle;
[0017] If the parking fee for the sub-time period is greater than the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle, then charge according to the maximum charging limit or the overlapping maximum charging limit;
[0018] If the parking fee for the sub-time period is less than or equal to the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle, then sum up the parking fees for the sub-time periods of each charging cycle to obtain the payable fee corresponding to the current parking time period of the target vehicle.
[0019] In a possible implementation manner, after obtaining the parking fee processing request for the target vehicle, it further includes:
[0020] Determine whether the target vehicle is a vehicle with repeated entry charging in the current charging cycle. If so, the parking amounts of the target vehicle in the current charging cycle are combined for charging. When the combined charging amount is greater than the highest charging limit or the overlapping highest charging limit, the parking fee for this time is determined according to the highest charging limit or the overlapping highest charging limit.
[0021] In a possible implementation, the method further includes:
[0022] After the target vehicle exits the parking lot, when a refund request for the pre-purchased parking order of the target vehicle is received, determine whether the pre-purchased parking order is valid. If not, reject the refund. If so, determine whether there is parking charging information for the target vehicle in the charging cycle corresponding to the start time of the pre-purchased parking order. If the charging amount of the parking charging information is greater than the overlapping highest charging limit and less than or equal to the highest charging limit, then deduct the excess amount from the amount of the pre-purchased parking order.
[0023] In a second aspect, a parking fee determination device is provided, including:
[0024] A charging rule acquisition unit, configured to acquire the charging rules of the target parking lot and the reference charging rules, where the charging rules include the parking charging rules of the target parking lot within the charging cycle, and the reference charging rules include the highest charging limit of the target parking lot within the charging cycle;
[0025] An information acquisition unit, configured to, when a parking fee processing request for a target vehicle is acquired, determine the charging cycle corresponding to the current parking time period of the target vehicle, and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle;
[0026] A receivable fee determination unit, configured to determine the receivable fee corresponding to the current parking time period of the target vehicle according to the highest charging limit, the parking charging rules, and the pre-purchased parking time period, by using a pre-designed charging rule.
[0027] In a third aspect, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the parking fee determination method as described above are implemented.
[0028] In a fourth aspect, a readable storage medium is provided, where the readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the parking fee determination method as described above are implemented.
[0029] The above parking fee determination method, device, computer equipment, and storage medium, the implementation of the method includes: obtaining the charging rules of the target parking lot and the benchmark charging rules, where the charging rules include the parking charging rules of the target parking lot within the billing cycle, and the benchmark charging rules include the maximum charging limit of the target parking lot within the billing cycle; when a parking fee processing request for a target vehicle is obtained, determining the billing cycle corresponding to the parking time period of the target vehicle this time, and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle; according to the maximum charging limit, the parking charging rules, and the pre-purchased parking time period, using the pre-set charging rules to determine the receivable fee corresponding to the parking time period of the target vehicle this time. On the one hand, by obtaining and referring to the charging rules and benchmark charging rules of the target parking lot, which include the maximum target charging limit and the maximum benchmark charging limit, it can effectively ensure that the calculation of parking fees fully complies with price regulations, avoid violations of exceeding the total fee limit, and effectively maintain market order and user rights and interests. On the other hand, when calculating the receivable fee, comprehensively considering the complex overlapping relationship between the pre-purchased parking time and the billing cycle, and including the maximum charging limit and the pre-purchased fee for the overlapping part in the calculation, extremely accurate fee accounting is achieved, flexibly coping with diverse parking scenarios in reality, greatly improving the intelligence and refinement level of the parking management system, not only improving the operation efficiency of the parking lot, but also significantly improving the user parking experience, reducing fee disputes, and enhancing user satisfaction and trust. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0031] Figure 1 is a flowchart of a parking fee determination method in an embodiment of the present application Figure 1 ;
[0032] Figure 2 is a flowchart of a parking fee determination method in an embodiment of the present application Figure 2 ;
[0033] Figure 3 is a schematic diagram of an application environment of a parking fee determination method in an embodiment of the present application;
[0034] Figure 4 is a flowchart of a parking fee determination method in an embodiment of the present application Figure 3 ;
[0035] Figure 5 It is a schematic structural diagram of a parking fee determination device in an embodiment of the present application;
[0036] Figure 6 It is a schematic diagram of a computer device in an embodiment of the present application. Detailed implementation manners
[0037] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0038] In one embodiment, as Figure 1 、 Figure 3 shown, a parking fee determination method is provided, including the following steps:
[0039] In step S110, obtain the charging rules of the target parking lot and the benchmark charging rules. The charging rules include the parking charging rules of the target parking lot within the charging cycle, and the benchmark charging rules include the maximum charging limit of the target parking lot within the charging cycle;
[0040] It should be noted that the charging rules of the target parking lot refer to the parking fees corresponding to different parking times and different charging times in the target parking lot. For example, the first 2 hours cost 5 yuan, and then 2 yuan per hour, with a maximum charge of 30 yuan per 24 hours, and 24 hours is a charging cycle. Different parking lots may have different charging rules. The benchmark charging rules may include the actual charging limit and the benchmark charging limit of the parking lot. The actual charging limit is the maximum charging limit set according to the situation of the parking lot itself, and the benchmark charging limit is the unified maximum benchmark charging limit formulated according to the local price situation. For example, the maximum charge per 24 hours is 30 yuan. The maximum charging limit of each parking lot should be less than or equal to the benchmark high charging limit. If the maximum charging limit of the parking lot is greater than the benchmark maximum charging limit, the fee calculation is carried out according to the benchmark maximum charging limit. If the maximum charging limit of the parking lot is less than the maximum charging limit, the fee calculation is carried out according to the maximum charging limit of the parking lot.
[0041] In step S120, when a parking fee processing request for the target vehicle is obtained, determine the charging cycle corresponding to the current parking time period of the target vehicle, and the pre-purchased parking information of the target vehicle. The pre-purchased parking information includes the pre-purchased parking time period of the target vehicle;
[0042] Optionally, when the target vehicle exits or pays the parking fee, a parking fee processing request for the target vehicle can be initiated. The parking fee processing request can include vehicle information such as the license plate number and vehicle ID. Based on this vehicle information, the current parking time and pre-purchase information of the target vehicle can be queried. The pre-purchase information can include the pre-purchased parking time and / or pre-purchase fee.
[0043] It should be noted that the pre-purchased parking time includes the pre-purchased parking time in advance. For example, if the vehicle needs to travel on business in City A tomorrow, it can pre-purchase the parking time of a certain parking lot in City A in advance to avoid the situation of no available parking space or finding a parking lot temporarily. It also includes the complimentary parking time obtained from participating in activities, such as the complimentary parking time given for a charging activity or the complimentary parking time given for a marketing activity in a shopping mall. In these activities, the user does not directly pay the parking fee, but the parking lot management system will continue to count the parking fee for this time period, and the parking fee will be preferentially charged after the parking ends.
[0044] It should be noted that for the parking lot management system, if it receives the information sent by the client containing "vehicle unique identifier, parking time period", and the information carries "parking time period value" or it can calculate the "parking time period value" based on the above information and preset rules, it is regarded as the parking management system receiving the "pre-purchase information".
[0045] It should be noted that the pre-purchased parking time does not limit "the need for an actual purchase behavior", does not limit "the way and source of generating or transmitting the pre-purchase information", does not limit the calculation process and information source of "pre-purchase time fee", and does not limit "the sequence of the actual parking time period of the vehicle and'receiving the pre-purchased parking time information by the parking management system' and 'pre-purchased time period'".
[0046] Exemplarily, if the parking time sales system receives the purchase information of "purchasing a 2-month parking period for Vehicle A for 300 yuan and giving a 1-month parking period as a gift", it can inform the parking management system of the pre-purchased parking time information of "Vehicle A, 3-month parking period, 300 yuan". It can also be informed in the form of "Vehicle A, 100 yuan from January 1st to January 31st, 100 yuan from February 1st to February 29th, 100 yuan from March 1st to March 31st". In this example, the calculation process of "parking time period value" is not limited, and the sequence of various time periods is not limited. This informing process is regarded as the parking management system receiving the "pre-purchased parking time information".
[0047] If Vehicle B uses a certain charging service, and the charging service system informs the parking management system of "Vehicle B, parking period from 9:00 on January 2nd to 10:00 on January 2nd, value 10 yuan", this information can also be regarded as "pre-purchased parking time information". In this example, there is no need for a purchase behavior, and there is no need to generate the "pre-purchased parking time" information from using the parking service.
[0048] The merchant provides the service of picking up the parking period at the store to the consumer through the merchant service system. After the consumer picks it up, the merchant service system notifies the parking management system "Vehicle C, 2 hours". The parking management system can obtain the "pre-purchase fee" corresponding to the "pre-purchase time" according to the preset rules. In this example, the parking management system does not need to receive the "pre-purchase fee".
[0049] The parking behavior or fee of Vehicle D within a period of time conforms to the preset rules of the parking management system, and the parking management system issues a parking time of "Vehicle D, 2 hours" to Vehicle D. In this example, the parking management system can transmit the "pre-purchased parking time" information to itself.
[0050] It should be noted that if the target vehicle has left the field, the parking time of this time can be determined based on the difference between the entry time and the exit time of the target vehicle. If the vehicle has not left the field, the time when the parking fee processing request is sent is used as the exit time, and the difference between it and the entry time is calculated to obtain the parking time of this time.
[0051] It should be noted that as Figure 2 shown, the billing cycle can divide the parking time of this time according to the billing cycle of the parking lot. For example, taking 24 hours as a "billing cycle", the vehicle enters at 9:00 on January 2nd. Then the parking time of the vehicle this time can be obtained as the following "billing cycles": 9:00 on January 2nd - 8:59 on January 3rd, 9:00 on January 3rd - 8:59 on January 4th...
[0052] In step S130, according to the highest charge limit, the parking billing rule, and the pre-purchased parking time period, the receivable fee corresponding to the parking time period of the target vehicle this time is determined by using a pre-set billing rule.
[0053] It should be noted that it is possible to first determine whether there is an overlap between the pre-purchased parking time and the billing cycle. An overlap means that there is partial overlap or complete overlap between the pre-purchased parking time and the billing cycle. Exemplarily, a scenario of complete overlap can be that the billing cycle is 24 hours, and the pre-purchased parking time is from 8:00 to 14:00 in the afternoon, a total of 6 hours. Then the pre-purchased parking time from 8:00 to 14:00 and the billing cycle do not overlap with the other 18 hours. Or, a scenario of partial overlap can be, for example, the 24 hours of the 1st, the 24 hours of the 2nd, and the 24 hours of the 3rd, and the pre-purchased parking time is from 8:00 on the 1st to 14:00 on the 2nd, which means that the pre-purchased parking time overlaps with two billing cycles, but does not overlap with the third billing cycle.
[0054] It should be noted that complete overlap also includes the case where the billing cycle is included in the pre-purchased parking time. For example, the billing cycle is from 6:00 on the 2nd to 6:00 on the 3rd, and the pre-purchased parking time is from 3:00 on the 2nd to 8:00 on the 3rd. It can be seen that the billing cycle is completely included in the pre-purchased parking time. At this time, the billing cycle can be charged according to the pre-purchased parking fee or the maximum limit of the billing cycle as the receivable fee. For the other time of the pre-purchased parking time that exceeds this billing cycle, it can be respectively included in other billing cycles for calculating the receivable fee.
[0055] In an implementation scenario of this application, the parking lot charging standard is: 3 yuan per hour, and the maximum charge for every 24 hours of parking is 27 yuan. The price regulation stipulates that the maximum charge for every 24 hours of parking in this parking lot is 30 yuan. Suppose a vehicle is parked from 9:00 on January 2nd to 9:00 on January 3rd. According to the price regulation, the maximum charge for this vehicle's 24-hour parking does not exceed 30 yuan. However, after the pre-purchased parking time information of "this vehicle parked from 10:00 on January 2nd to 18:00 on January 2nd, with a pre-purchased fee of 10 yuan", the parking management system calculates based on the actual parking time and the pre-purchased time that the vehicle parked for a total of 16 hours during the "non-pre-purchased time" (from 9:00 on January 2nd to 10:00 on January 2nd, from 18:00 on January 2nd to 9:00 on January 3rd). The "parking fee for parking during non-pre-purchased time" (hereinafter referred to as "parking fee") to be charged is the minimum of "16 hours * 3 yuan / hour", "27 yuan", and "30 yuan", which is 27 yuan. In fact, this vehicle was parked from 9:00 on January 2nd to 9:00 on January 3rd, with a total pre-purchased fee of 10 yuan + a parking fee of 27 yuan, totaling 37 yuan. It has exceeded the "maximum benchmark charging limit of 30 yuan stipulated by the price regulation".
[0056] To solve the above problems, the pre-purchased parking time can be matched with the time range of the billing cycle to determine whether there is an overlap between the pre-purchased parking time and the billing cycle. If there is an overlap, then based on the maximum target charging limit, the maximum benchmark charging limit, and the pre-purchased fee corresponding to the pre-purchased parking time that overlaps with the billing cycle, the receivable fee within this billing cycle can be calculated. If there is only one billing cycle, the receivable fee within this billing cycle can be used as the receivable fee corresponding to the current parking time.
[0057] If there are multiple billing cycles, that is, there is an overlap between multiple billing cycles and the pre-purchased parking time, then the receivable fee corresponding to each overlapping billing cycle can be calculated respectively according to the above method and added together to obtain the receivable fee corresponding to the current parking time.
[0058] If there are multiple billing cycles and there are billing cycles that do not overlap with the pre-purchased parking time, the receivable fee for this cycle can be calculated according to the charging rules of the target parking lot. For example, it is 5 yuan for the first 2 hours and 2 yuan for each subsequent hour. Then, add up the receivable fees corresponding to each calculated billing cycle to obtain the receivable fee corresponding to the current parking time.
[0059] In an embodiment of the present application, a method for determining parking fees is provided, including: obtaining the charging rules of the target parking lot and the benchmark charging rules, where the charging rules include the parking charging rules of the target parking lot within the billing cycle, and the benchmark charging rules include the maximum charging limit of the target parking lot within the billing cycle; when a parking fee processing request for the target vehicle is obtained, determining the billing cycle corresponding to the current parking time period of the target vehicle, and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle; according to the maximum charging limit, the parking charging rules, and the pre-purchased parking time period, using a pre-set charging rule to determine the receivable fee corresponding to the current parking time period of the target vehicle. On the one hand, by obtaining and referring to the charging rules and benchmark charging rules of the target parking lot, which include the maximum target charging limit and the maximum benchmark charging limit, it can effectively ensure that the calculation of parking fees fully complies with price regulations, avoid violations of the total fee exceeding the limit, and effectively maintain the market order and user rights and interests. On the other hand, when calculating the receivable fee, comprehensively consider the complex overlapping relationship between the pre-purchased parking time and the billing cycle, incorporate the maximum charging limit and the pre-purchased fee for the overlapping part into the calculation, achieve extremely accurate fee accounting, flexibly respond to diverse parking scenarios in reality, greatly improve the intelligence and refinement level of the parking management system, not only improve the operation efficiency of the parking lot, but also significantly improve the user parking experience, reduce fee disputes, and enhance user satisfaction and trust.
[0060] As Figure 2 shown, in an embodiment of the present application, the step of using a pre-set charging rule to determine the receivable fee corresponding to the current parking time period of the target vehicle includes:
[0061] In step S210, allocate the pre-purchased parking time period to the corresponding billing cycle, and determine the allocated amount and / or allocated time of the corresponding billing cycle according to the pre-set allocation rule
[0062] In step S220, subtract the corresponding allocated amount from the maximum charging limit of the allocated billing cycle to obtain the overlapping maximum charging limit.
[0063] Optionally, the pre-purchased parking time period can be a continuous period, such as from 8:00 on the 1st to 20:00 on the 2nd, or it can be multiple periods, such as from 8:00 to 12:00 on the 1st, from 8:00 to 14:00 on the 2nd, from 16:00 to 20:00 on the 3rd, etc. If there are multiple billing cycles, there may be an overlap between the pre-purchased parking time and multiple billing cycles. Specifically, the pre-purchased parking time can be matched with the time ranges of multiple billing cycles. If there is an intersection between the pre-purchased parking time and the time range of the billing cycle, it means there is an overlap situation.
[0064] As Figure 3 shown, before calculating the receivable fees, it can be first determined whether the pre-purchased information includes pre-purchased fees. If the pre-purchased fees are included, it is determined whether the pre-purchased fees correspond to each billing cycle. For example, the pre-purchased time is from 10:00 on January 2nd to 10:00 on January 3rd, and the pre-purchased fee is 10 yuan. This pre-purchased fee is the total amount and does not correspond to the billing cycle on January 2nd and the billing cycle on January 3rd. At this time, the pre-purchased fees corresponding to the pre-purchased parking time that overlaps with the billing cycle need to be allocated to the corresponding overlapping billing cycles according to the preset allocation rules. For example, split 10 yuan into 5 yuan + 5 yuan. After allocation, the pre-purchased fee for January 2nd is 5 yuan, and the pre-purchased fee for January 3rd is 5 yuan.
[0065] After obtaining the pre-purchased fees corresponding to the pre-purchased parking time, if there is an overlap between the pre-purchased parking time and multiple billing cycles, the pre-purchased fees can be allocated to the corresponding overlapping billing cycles according to the preset allocation rules, and based on the highest target charging limit, the highest benchmark charging limit, and the pre-purchased fees allocated to each overlapping billing cycle respectively, calculate the receivable fees within each overlapping billing cycle, and add up the receivable fees within each overlapping billing cycle, then the receivable fees corresponding to the parking time of the target vehicle this time can be obtained.
[0066] Among them, the preset sharing rules include either the average sharing rule or the proportional sharing rule. The average sharing rule means that the pre-purchase fee can be evenly shared into each billing cycle that overlaps with the pre-purchase time. For example, if the pre-purchase fee is 10 yuan and there are 3 billing cycles, and the pre-purchase time overlaps with the first and the second billing cycles, then 10 yuan is split into 5 yuan + 5 yuan and respectively shared into the first billing cycle and the second billing cycle. The proportional sharing rule means that the sharing ratio is determined according to the overlapping ratio between the pre-purchase time and the billing cycle. For example, if the pre-purchase time overlaps with the first billing cycle for 3 hours and with the second billing cycle for 7 hours, then 10 yuan is split into 3 yuan + 7 yuan and respectively shared into the first billing cycle and the second billing cycle. If the fee calculated for the first billing cycle is 20 yuan and the fee calculated for the second billing cycle is 18 yuan, then after sharing according to the average sharing rule, the maximum overlapping charging limit for the first billing cycle is 20 - 5 = 15 yuan, and the maximum overlapping charging limit for the second billing cycle is 18 - 5 = 13 yuan. If sharing is done according to the proportional sharing rule, the maximum overlapping charging limit for the first billing cycle is 20 - 7 = 13 yuan, and the maximum overlapping charging limit for the second billing cycle is 18 - 3 = 15 yuan.
[0067] In addition, if there are billing cycles that do not overlap with the pre-purchased parking time and billing cycles that overlap in the billing cycle, for the overlapping billing cycles, the receivable fees corresponding to each overlapping billing cycle can be determined based on the maximum target charging limit, the maximum benchmark charging limit, and the pre-purchase fees shared by each overlapping billing cycle. For the non-overlapping billing cycles, the receivable fees for this cycle can be calculated according to the charging rules of the target parking lot. For example, it is 5 yuan for the first 2 hours and 2 yuan for each subsequent hour. Then, by adding up the receivable fees corresponding to each calculated billing cycle, the receivable fees corresponding to this parking time can be obtained.
[0068] If the shared amount allocated to a billing cycle is the same as the parking fee within the entire billing cycle, then the maximum overlapping charging limit corresponding to the billing cycle is zero; and / or when the shared time allocated to a billing cycle is the same as that within the entire billing cycle, then the maximum overlapping charging limit corresponding to the billing cycle is zero. For example, the parking fee corresponding to billing cycle A is 10 yuan, and the shared amount allocated to this billing cycle is also 10 yuan, that is, the user has already paid a pre-purchase fee of 10 yuan. At this time, there is no need to pay again. Therefore, the maximum overlapping charging limit corresponding to the billing cycle is zero. For example, billing cycle A lasts from 12:00 on the first day to 12:00 on the third day, and the time allocated to the second day is exactly the same as that of the second billing cycle. Since the parking fee for the second day has already been charged in the pre-purchased parking information, the maximum overlapping charging limit corresponding to the second day is zero.
[0069] SeeFigure 4 , in an embodiment of the present application, the step of determining the receivable fee corresponding to the parking time period of the target vehicle by using the pre-designed fee rule includes:
[0070] In step S310, calculate the parking fees for sub-time periods of each charging cycle according to the parking charging rule;
[0071] In step S320, compare the parking fees for the sub-time periods with the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle;
[0072] In step S330, if the parking fee for the sub-time period is greater than the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle, then bill according to the maximum charging limit or the overlapping maximum charging limit;
[0073] In step S340, if it is less, then sum up the parking fees for the sub-time periods of each charging cycle to obtain the receivable fee corresponding to the parking time period of the target vehicle.
[0074] It should be noted that the charging cycle is a pre-set charging time period. However, when the vehicle is parked, the time is relatively random. Usually, the vehicle does not enter the parking lot at the start time of the charging cycle for parking, but parks at any time within the charging cycle. Therefore, the sub-time period refers to the actual parking time of the vehicle within each charging cycle. For example, if the charging cycle is from 6 am to 6 pm and the parking time of the target vehicle is from 10 am to 3 pm, then only the parking fee between 10 am and 3 pm needs to be calculated as the parking fee for the sub-time period of the target vehicle.
[0075] If the calculated parking fee for the sub-time period of the target vehicle within the charging cycle is greater than the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle, then it can be billed according to the maximum charging limit or the overlapping maximum charging limit, and then sum up the fees calculated for each charging cycle as the receivable fee corresponding to the parking time period of the target vehicle. If not, then the parking fees for the sub-time periods can be summed up as the receivable fee corresponding to the parking time period of the target vehicle.
[0076] In an embodiment of the present application, after obtaining the parking fee processing request for the target vehicle, it further includes:
[0077] Determine whether the target vehicle is a vehicle with repeated entry and charging in the current charging cycle. If so, merge and bill the parking amount of the target vehicle in the current charging cycle. When the merged billing amount is greater than the maximum charging limit or the overlapping maximum charging limit, determine the current parking fee according to the maximum charging limit or the overlapping maximum charging limit.
[0078] When it is detected that the vehicle enters the parking lot multiple times during the billing cycle, the parking fees corresponding to each parking time period can be calculated separately according to the parking billing rules, and then the parking fees corresponding to all parking time periods within each billing cycle are added up to obtain the receivable fees corresponding to each billing cycle. Then, the receivable fees can be compared with the maximum charge limit or the overlapping maximum charge limit. If the receivable fees are greater than the maximum charge limit or the overlapping maximum charge limit, the minimum limit of the maximum charge limit or the overlapping maximum charge limit is used for billing; otherwise, the receivable fees are used for billing. After obtaining the fees for each billing cycle, they can be summed up to obtain the total parking fees.
[0079] In an embodiment of the present application, after the target vehicle exits the parking lot, it further includes:
[0080] When receiving a refund request for a pre-purchased parking order of the target vehicle, determine whether the pre-purchased parking order is valid. If not, reject the refund. If so, determine whether there is parking billing information for the target vehicle in the billing cycle corresponding to the start time of the pre-purchased parking order. If the billing amount of the parking billing information is greater than the overlapping maximum charge limit and less than or equal to the maximum charge limit, deduct the excess amount from the amount of the pre-purchased parking order.
[0081] When receiving a refund request for a pre-purchased parking order of the target vehicle, it can be determined whether the pre-purchased parking order is valid, that is, whether the pre-purchased time has been used, whether it has expired, etc. If it is valid, determine whether there is parking billing information for the target vehicle in the billing cycle corresponding to the start time of the pre-purchased parking order. If there is, compare the billing amount with the overlapping maximum charge limit and the maximum charge limit. If it is greater than the overlapping maximum charge limit and less than or equal to the maximum charge limit, deduct the excess amount from the amount of the pre-purchased parking order and return the deducted pre-purchased fees to the user. If the pre-purchased order is invalid, that is, it has been used or expired, no refund can be made at this time.
[0082] In the embodiment of the present application, by obtaining and referring to the charging rules of the target parking lot and the benchmark charging rules, which include the maximum target charge limit and the maximum benchmark charge limit, it can effectively ensure that the calculation of parking fees fully complies with price regulations, avoid violations of exceeding the total fee limit, and effectively maintain the market order and the rights and interests of users. When calculating the receivable fees, comprehensively consider the complex overlapping relationship between the pre-purchased parking time and the billing cycle, incorporate the maximum charge limit and the pre-purchased fees for the overlapping part into the calculation, achieve extremely accurate fee accounting, flexibly respond to diverse parking scenarios in reality, greatly improve the intelligence and refinement level of the parking management system, not only improve the operation efficiency of the parking lot, but also significantly improve the user parking experience, reduce fee disputes, and enhance user satisfaction and trust.
[0083] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the sequence of execution. The execution sequence of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0084] In one embodiment, a parking fee determination device is provided, and the parking fee determination device corresponds one-to-one with the parking fee determination method in the above embodiment. As Figure 5 shown, the parking fee determination device includes a charging rule acquisition unit 10, an information acquisition unit 20, and a receivable fee determination unit 30. The detailed description of each functional module is as follows:
[0085] The charging rule acquisition unit 10 is configured to acquire the charging rules of the target parking lot and the benchmark charging rules, where the charging rules include the parking charging rules of the target parking lot within the billing cycle, and the benchmark charging rules include the maximum charging limit of the target parking lot within the billing cycle;
[0086] The information acquisition unit 20 is configured to, when a parking fee processing request for the target vehicle is acquired, determine the billing cycle corresponding to the current parking time period of the target vehicle, and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle;
[0087] The receivable fee determination unit 30 is configured to determine the receivable fee corresponding to the current parking time period of the target vehicle according to the maximum charging limit, the parking charging rules, and the pre-purchased parking time period by using a pre-set charging rule.
[0088] In one embodiment of the present application, the receivable fee determination unit 30 is further configured to:
[0089] Allocate the pre-purchased parking time period to the corresponding billing cycle, and determine the allocated amount of the corresponding billing cycle according to a pre-set allocation rule;
[0090] The maximum charging limit corresponding to the allocated billing cycle needs to subtract the corresponding allocated amount to obtain the overlapping maximum charging limit.
[0091] In one embodiment of the present application, the pre-set allocation rule includes any one of an average allocation rule or a proportional allocation rule.
[0092] In one embodiment of the present application, when the allocated amount in the billing cycle is the same as the parking fee within the entire billing cycle, the overlapping maximum charging limit corresponding to the billing cycle is zero
[0093] In one embodiment of the present application, the receivable fee determination unit 30 is further configured to:
[0094] Calculate the parking fees for sub - time periods of each charging cycle according to the described parking charging rules;
[0095] Compare the parking fees for the sub - time periods with the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle;
[0096] If the parking fees for the sub - time periods are greater than the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle, then charge according to the maximum charging limit or the overlapping maximum charging limit;
[0097] If the parking fees for the sub - time periods are less than or equal to the maximum charging limit or the overlapping maximum charging limit of the corresponding charging cycle, then sum up the parking fees for the sub - time periods of each charging cycle to obtain the receivable fees corresponding to the parking time period of the target vehicle this time.
[0098] In an embodiment of the present application, the receivable fees determination unit 30 is further configured to:
[0099] Determine whether the target vehicle is a vehicle with repeated entry charging in the current charging cycle. If so, combine and charge the parking amount of the target vehicle in the current charging cycle. When the combined charging amount is greater than the maximum charging limit or the overlapping maximum charging limit, determine the parking fees this time according to the maximum charging limit or the overlapping maximum charging limit.
[0100] In an embodiment of the present application, the device further includes a pre - purchased fee refund unit, which is configured to:
[0101] When, after the target vehicle exits and a pre - purchased parking order refund request of the target vehicle is received, determine whether the pre - purchased parking order is valid. If not, reject the refund. If so, determine whether there is parking charging information for the target vehicle in the charging cycle corresponding to the start time of the pre - purchased parking order. If the charging amount of the parking charging information is greater than the overlapping maximum charging limit and less than or equal to the maximum charging limit, then deduct the excess amount from the amount of the pre - purchased parking order.
[0102] In the embodiments of the present application, by obtaining and referring to the charging rules of the target parking lot and the benchmark charging rules, which include the highest target charging limit and the highest benchmark charging limit, it can effectively ensure that the calculation of parking fees fully complies with price regulations, avoid violations of exceeding the total fee limit, and effectively maintain the market order and the rights and interests of users. When calculating the receivable fees, the complex overlapping relationship between the pre-purchased parking time and the billing cycle is comprehensively considered, and the highest charging limit and the pre-purchased fees for the overlapping part are included in the calculation, achieving extremely accurate fee accounting, flexibly coping with various parking scenarios in reality, greatly improving the intelligence and refinement level of the parking management system, not only improving the operation efficiency of the parking lot, but also significantly improving the user parking experience, reducing fee disputes, and enhancing user satisfaction and trust.
[0103] For the specific limitations of the parking fee determination device, reference can be made to the limitations of the parking fee determination method in the above text, which will not be elaborated here. Each module in the above parking fee determination device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0104] In one embodiment, a computer device is provided. This computer device can be a terminal device, and its internal structure diagram can be as Figure 6 shown. This computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the processor of this computer device is used to provide computing and control capabilities. The memory of this computer device includes a readable storage medium. This readable storage medium stores computer-readable instructions. The network interface of this computer device is used to communicate with external terminals through a network connection. When the computer-readable instructions are executed by the processor, a parking fee determination method is implemented. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.
[0105] In the embodiments of the present application, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the parking fee determination method as described above are implemented.
[0106] In the embodiments of the application, a readable storage medium is provided. The readable storage medium stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps of the parking fee determination method as described above are implemented.
[0107] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0108] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0109] The above embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for determining parking fees, characterized in that, The method includes: Obtaining the charging rules of the target parking lot and the benchmark charging rules, where the charging rules include the parking charging rules of the target parking lot within the billing cycle, and the benchmark charging rules include the maximum charging limit of the target parking lot within the billing cycle; When a parking fee processing request for a target vehicle is obtained, determining the billing cycle corresponding to the current parking time period of the target vehicle, and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle; According to the maximum charging limit, the parking charging rules, and the pre-purchased parking time period, using a pre-set charging rule to determine the receivable fee corresponding to the current parking time period of the target vehicle.
2. The parking fee determination method according to claim 1, wherein, The using the pre-set charging rule to determine the receivable fee corresponding to the current parking time period of the target vehicle includes: Allocating the pre-purchased parking time period to the corresponding billing cycle, and determining the allocated amount and / or allocated time of the corresponding billing cycle according to a pre-set allocation rule; The maximum charging limit corresponding to the allocated billing cycle needs to subtract the corresponding allocated amount to obtain the overlapping maximum charging limit.
3. The parking fee determination method according to claim 2, characterized in that, The pre-set allocation rule includes either an average allocation rule or a proportional allocation rule.
4. The parking fee determination method according to claim 2, wherein, When the allocated amount in the billing cycle is the same as the parking fee within the entire billing cycle, the overlapping maximum charging limit corresponding to the billing cycle is zero; And / or, when the allocated time in the billing cycle is the same as that within the entire billing cycle, the overlapping maximum charging limit corresponding to the billing cycle is zero.
5. The parking fee determination method according to any one of claims 2-4, characterized in that, The using the pre-set charging rule to determine the receivable fee corresponding to the current parking time period of the target vehicle includes: Calculating the parking fees for the sub-time periods of each billing cycle according to the parking charging rules; Comparing the parking fees for the sub-time periods with the maximum charging limit or the overlapping maximum charging limit of the corresponding billing cycle; If the parking fee for the sub-time period is greater than the maximum charging limit or the overlapping maximum charging limit of the corresponding billing cycle, then charging according to the maximum charging limit or the overlapping maximum charging limit; If the parking fee for the sub-time period is less than or equal to the maximum charging limit or the overlapping maximum charging limit of the corresponding billing cycle, then summing up the parking fees for the sub-time periods of each billing cycle to obtain the receivable fee corresponding to the current parking time period of the target vehicle.
6. The parking fee determination method according to any one of claims 2-4, characterized in that, After obtaining the parking fee processing request for the target vehicle, it further includes: Determining whether the target vehicle is a vehicle with repeated entry and charging in the current billing cycle. If so, the parking amounts of the target vehicle in the current billing cycle are combined for charging. When the combined charging amount is greater than the maximum charging limit or the overlapping maximum charging limit, the current parking fee is determined according to the maximum charging limit or the overlapping maximum charging limit.
7. The parking fee determination method according to any one of claims 2-4, characterized in that, The method further includes: After the target vehicle exits the lot and a refund request for a pre-purchased parking order of the target vehicle is received, determine whether the pre-purchased parking order is valid. If not, reject the refund. If so, determine whether there is parking charging information for the target vehicle during the billing cycle corresponding to the start time of the pre-purchased parking order. If the charging amount of the parking charging information is greater than the overlapping maximum charge limit and less than or equal to the maximum charge limit, deduct the excess amount from the amount of the pre-purchased parking order.
8. A parking fee determination device, characterized in that, The device includes: A charging rule acquisition unit for acquiring the charging rules of a target parking lot and the reference charging rules, where the charging rules include the parking charging rules of the target parking lot during the billing cycle, and the reference charging rules include the maximum charge limit of the target parking lot during the billing cycle; An information acquisition unit for, when a parking fee processing request for a target vehicle is acquired, determining the billing cycle corresponding to the current parking time period of the target vehicle and the pre-purchased parking information of the target vehicle, where the pre-purchased parking information includes the pre-purchased parking time period of the target vehicle; A receivable fee determination unit for determining the receivable fee corresponding to the current parking time period of the target vehicle by using a preset charging rule according to the maximum charge limit, the parking charging rule, and the pre-purchased parking time period.
9. A computer device, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, characterized in that, When the processor executes the computer-readable instructions, the steps of the parking fee determination method according to any one of claims 1 to 7 are implemented.
10. A readable storage medium storing computer-readable instructions, characterized in that, When the computer-readable instructions are executed by the processor, the steps of the parking fee determination method according to any one of claims 1 to 7 are implemented.