Parking lot accumulative charging method and system based on dynamic time segmentation

Through the dynamic time segmented parking lot cumulative billing method, the billing error and excess charge in the existing technology are solved, accurate and fair parking fee calculation is achieved, and the accuracy and user experience of the billing system are improved.

CN120564281APending Publication Date: 2025-08-29INTELLIGENT INTER CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510560524.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

The existing parking lot billing system has problems such as time segment splitting error, lack of accumulation logic and excessive charges, resulting in inaccurate billing and poor user experience.

Method used

The parking lot cumulative billing method based on dynamic time segmentation is adopted. By obtaining the parking record data set, the parking records are split according to the reset time point, the time period is refined, the accumulated billing time is triggered, the ladder rate rules are deducted, and the final billing result is generated in combination with the historical billed amount, and the maximum charging limit for a single-day is generated.

Benefits of technology

Accurate billing in multiple periods, across reset points, and multiple parking records scenarios is realized, ensuring that the billing results are accurate and reasonable, avoiding repeated deductions and excessive charges, and improving the accuracy and user experience of the billing system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120564281A_ABST
    Figure CN120564281A_ABST
Patent Text Reader

Abstract

The invention discloses a parking lot accumulative charging method and system based on dynamic time segmentation, and relates to the technical field of intelligent parking charging, and the method comprises the steps: obtaining a parking record data set of a target vehicle; carrying out cross-reset-point judgment on each parking record; dividing each time period into sub time periods corresponding to time period attributes according to the rate time period configuration; accumulating the charging durations of all the parking records in the same charging period, and calculating a graded charging value of the current parking record; performing deduction operation on the current grading charging value to generate an actual receivable fee; and carrying out integrated calculation on the receivable fees in different rate periods to generate a final charging result. According to the invention, the technical problems of time period splitting errors, accumulated logic missing and excessive charging in a traditional charging method in the prior art are solved, and the technical effect of continuous and accurate charging in a complex scene with multiple time periods, cross reset points and multiple parking records is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent parking billing, and in particular to a parking lot cumulative billing method and system based on dynamic time segmentation. Background Art

[0002] Current parking lot billing systems generally use fixed-time segmented billing or single-trip independent billing models, which have significant technical flaws: Traditional segmented billing divides the day into static time periods (such as daytime and nighttime), without considering the dynamic splitting of parking duration across time periods, resulting in high billing errors; the single-trip billing model cannot handle the cumulative duration of multiple parking records triggering tiered rates, resulting in unfair fee calculations in short-term, high-frequency parking scenarios. In addition, the lack of continuous billing logic across reset points (such as daily billing cycle reset) leads to frequent problems such as repeated deductions during free periods and overcharging, which seriously restricts the service accuracy and user experience of smart parking systems.

[0003] The existing technology has technical problems such as time period splitting errors, lack of accumulation logic and overcharging that exist in traditional billing methods. Summary of the Invention

[0004] The present application provides a parking lot cumulative billing method and system based on dynamic time segmentation, which is used to solve the technical problems of time period splitting errors, cumulative logic deficiency and overcharging existing in traditional billing methods in the prior art.

[0005] In view of the above problems, the present application provides a parking lot cumulative billing method and system based on dynamic time segmentation.

[0006] In a first aspect of the present application, a parking lot cumulative billing method based on dynamic time segmentation is provided, the method comprising:

[0007] A parking record dataset of a target vehicle is obtained, wherein the parking record dataset includes an entry time, an exit time, and billing period configuration parameters of at least one parking record; a cross-reset point judgment is performed on each parking record according to a preset reset time point, and when a cross-reset point exists, the parking record is split into a pre-reset period and a post-reset period; a cross-period splitting operation is performed on each of the split time periods, and each time period is divided into sub-periods with corresponding time period attributes according to the rate period configuration; the billing duration of all parking records in the same billing cycle is accumulated, and a tiered rate rule is triggered based on the accumulated duration to calculate the tiered billing value of the current parking record; a deduction operation is performed on the current tiered billing value based on the historical billed amount to generate the actual receivables; the receivables of different rate periods are integrated and calculated, and the final billing result is generated in combination with the preset maximum daily charging limit.

[0008] A second aspect of the present application provides a parking lot cumulative billing system based on dynamic time segmentation, the system comprising:

[0009] A data set acquisition module is used to obtain a parking record data set of a target vehicle, wherein the parking record data set includes the entry time, exit time, and billing period configuration parameters of at least one parking record; a parking record splitting module is used to perform a cross-reset point judgment on each parking record based on a preset reset time point, and split the parking record into a pre-reset period and a post-reset period when a cross-reset point exists; a time period division module is used to perform a cross-period splitting operation on each split time period, and divide each time period into sub-time periods with corresponding time period attributes based on the rate period configuration; a tiered billing value calculation module is used to accumulate the billing time of all parking records in the same billing cycle, trigger the tiered rate rules based on the accumulated time, and calculate the tiered billing value of the current parking record; an actual receivable fee generation module is used to perform a deduction operation on the current tiered billing value based on the historical billed amount to generate the actual receivable fee; a final billing result generation module is used to integrate and calculate the receivable fees of different rate periods, and generate the final billing result in combination with the preset single-day maximum charging limit.

[0010] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0011] The system obtains a parking record dataset for the target vehicle, including the entry and exit times and billing period configuration parameters for at least one parking record. A cross-reset point determination is performed for each parking record based on a preset reset time point. If a cross-reset point exists, the parking record is split into a pre-reset period and a post-reset period. A cross-period splitting operation is performed on each split period, dividing each period into sub-periods with corresponding period attributes based on the rate period configuration. The billing duration of all parking records within the same billing cycle is accumulated, and the tiered rate rules are triggered based on the accumulated duration to calculate the tiered billing value for the current parking record. The current tiered billing value is deducted based on the historical billed amount to generate the actual receivables. The receivables for different rate periods are integrated and calculated, and the final billing result is generated based on the preset maximum daily charge limit. This achieves the technical effect of continuous and accurate billing in complex scenarios involving multiple periods, cross-reset points, and multiple parking records. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 A flowchart of a parking lot cumulative billing method based on dynamic time segmentation provided in an embodiment of the present application;

[0014] Figure 2 A schematic diagram of the structure of a parking lot cumulative billing system based on dynamic time segmentation provided in an embodiment of the present application.

[0015] Explanation of the reference numerals: data set acquisition module 10 , parking record splitting module 20 , time period division module 30 , tiered billing value calculation module 40 , actual chargeable fee generation module 50 , final billing result generation module 60 . DETAILED DESCRIPTION

[0016] This application provides a parking lot cumulative billing method and system based on dynamic time segmentation, which is used to solve the technical problems of time period splitting errors, cumulative logic deficiency and overcharging in traditional billing methods in the existing technology.

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

[0018] Example 1, as Figure 1 As shown, the present application provides a parking lot cumulative billing method based on dynamic time segmentation, the method comprising:

[0019] Step S100: Acquire a parking record dataset of a target vehicle, wherein the parking record dataset includes entry time, exit time, and billing period configuration parameters of at least one parking record.

[0020] Specifically, the parking record data set of the target vehicle is obtained by working in collaboration with vehicle identification equipment, data storage modules, etc. Vehicle identification equipment (such as high-definition cameras, geomagnetic sensors, etc.) accurately captures and records the vehicle's entry and exit time when the vehicle enters and exits the parking lot. At the same time, the parking lot operator will pre-set the billing period configuration parameters in the system. These parameters cover important information such as rate settings for different time periods (such as daytime, nighttime, weekdays, holidays, etc.), free time rules, and billing cycle definitions. These entry time, exit time, and billing period configuration parameters corresponding to each parking record are integrated to form a parking record data set. This data set serves as the basic data source for subsequent billing operations, providing indispensable original information for the accurate calculation of parking fees, ensuring that subsequent billing processes can be carried out based on accurate data.

[0021] Step S200: determining whether each parking record crosses the reset point according to the preset reset time point, and dividing the parking record into a pre-reset time period and a post-reset time period when a cross-reset point exists.

[0022] Specifically, the system first reads the preconfigured daily reset time parameters from the parking management system. For example, the reset time is set to 12:00 PM daily. For each acquired parking record, a judgment is made based on this reset time. Specifically, a time interval judgment model is established. If a parking record's exit time is greater than the set reset time, and its entry time is less than the reset time, the parking record is considered to cross the reset point. For example, if a vehicle enters the parking lot at 10:00 AM and exits at 2:00 PM, since 2:00 PM is greater than 12:00 PM and 10:00 AM is less than 12:00 PM, the parking record meets the cross-reset point judgment criteria. Once a record is determined to cross the reset point, the parking record is split into a pre-reset period and a post-reset period, using the reset time as the demarcation point. In the above example, the pre-reset period is from 10:00 AM to 12:00 PM, and the post-reset period is from 12:00 PM to 2:00 PM. This completes the splitting of parking records based on reset time points, providing a more reliable data foundation for subsequent accurate billing.

[0023] Step S300: performing a cross-period splitting operation on each split time period, and dividing each time period into sub-time periods corresponding to the time period attributes according to the rate period configuration.

[0024] Specifically, after completing the splitting of parking records based on the reset time point, the split time periods are further refined across time periods to meet complex billing requirements. First, the rate period configuration parameters are parsed to obtain the specific definitions of daytime and nighttime periods. For example, 9:00-21:00 is defined as the daytime period, and 21:00-9:00 is defined as the nighttime period. Next, a time period coverage analysis is performed for each of the split time periods. When a time period covers both daytime and nighttime periods, corresponding daytime and nighttime sub-segments are generated according to the rules. For example, if a parking record has a time period of 18:00-22:00, its daytime sub-segment is determined to be 18:00-21:00, and its nighttime sub-segment is determined to be 21:00-22:00. After the sub-segments are generated, the actual duration of each sub-segment is accurately calculated to the minute level. For example, the daytime sub-segment of 18:00-21:00 lasts for 180 minutes. Through this series of operations, each time period is refined into sub-time periods with corresponding time period attributes, providing an accurate data basis for subsequent precise billing based on the rate standards of different time periods, ensuring that the billing results can be more in line with the actual parking situation and improving the accuracy and rationality of billing.

[0025] Step S400: Accumulate the billing duration of all parking records in the same billing period, trigger the tiered rate rule based on the accumulated duration, and calculate the tiered billing value of the current parking record.

[0026] Specifically, a cumulative time window is established based on the reset period, and the billing sub-time periods of all parking records within the same billing period are aggregated together. For example, if the reset period is set to one day, then the parking record sub-time periods of all vehicles on that day will be included in the window. After the aggregation is completed, these time data are deduplicated to eliminate repeated calculations caused by multiple vehicle entries and exits and overlapping parking periods, ensuring that the statistical billing time is accurate. After accurately accumulating the billing time, the tiered billing value of the current parking record is calculated based on the pre-configured tiered rate rules. This requires first configuring the multi-level billing tier parameters, clarifying the time threshold and corresponding rate coefficient of each tier, such as 1 yuan per 15 minutes from 0 to 60 minutes, 3 yuan per 15 minutes from 61 to 120 minutes, etc. Next, a tiered mapping function is established to accurately map the accumulated parking time to the corresponding billing tier interval. Finally, using an excess progressive algorithm, the segmented fees for each tier are calculated based on the rate coefficients of each tier, resulting in the total fees for the current parking record at each tier, which is the tiered billing value. Based on the actual accumulated parking time of the vehicle, accurate billing is performed according to reasonable tiered rates, improving the fairness and accuracy of billing.

[0027] Step S500: deduct the current tiered billing value based on the historical billed amount to generate the actual receivables.

[0028] Specifically, in the parking lot billing process, after the tiered billing value for the current parking record is calculated through the previous steps, the vehicle's historical billed amounts for the same billing cycle are retrieved from the database. For example, if a vehicle enters and exits the parking lot multiple times in a single day, the previous parking fees have already been calculated and recorded in the system. The current tiered billing value is compared with the historical billed amount, and the historical billed amount is subtracted from the current tiered billing value. This deduction is intended to prevent duplicate billing for a vehicle's parking time within the same billing cycle, ensuring that each parking fee calculation is based on actual, unbilled time. For example, if the current tiered billing value is 20 yuan and the historical billed amount is 10 yuan, the difference of 10 yuan after the deduction is the actual charge due for that parking session. The actual charge due generated in this way not only reflects the vehicle's actual parking consumption but also ensures fairness and impartiality in parking lot billing, effectively improving the rationality and accuracy of the billing system.

[0029] Step S600: The receivables for different rate periods are integrated and calculated, and the final billing result is generated in combination with the preset maximum daily charge limit.

[0030] Specifically, after completing the segmented billing and actual receivables calculation for each parking record, the receivables generated by different rate periods are first aggregated. For example, the fees calculated for the daytime and nighttime periods are combined. For example, suppose a vehicle's receivables from 9:00 AM to 9:00 PM (daytime period) are 80 yuan, and from 9:00 PM to 9:00 AM (nighttime period) are 10 yuan. The fees for these two periods are added together: 80 + 10 = 90 yuan, yielding a preliminary total fee. This preliminary total fee is then compared with the preset daily maximum fee limit. The parking lot management will set the maximum daily fee based on actual operating conditions, for example, 70 yuan. If the preliminary total fee of 90 yuan exceeds the preset daily maximum fee threshold of 70 yuan, the fee is adjusted, and the final billing result is 70 yuan. If the preliminary total fee does not exceed the daily maximum fee limit, for example, if the preliminary total fee is 50 yuan, the final billing result will directly use the preliminary total fee of 50 yuan. Through this series of operations, we can not only ensure the reasonable integration of fees in different rate periods, but also effectively control fees based on the maximum daily charge limit, ensuring that the billing results can reflect the actual parking situation of the vehicle and comply with the parking lot's charging rules, thus protecting the interests of both parking lot operators and users.

[0031] In one possible implementation, step S200 further includes:

[0032] Step S210: Read the daily reset time parameters configured in the parking lot management system.

[0033] Step S220: Establish a time interval judgment model. When the exit time of a parking record is greater than the reset time point and the entry time is less than the reset time point, it is determined to be a cross-reset point record.

[0034] Step S230: generating a dividing boundary between the pre-reset time period and the post-reset time period, wherein the dividing boundary is based on the reset time point.

[0035] Specifically, the parking lot management system will first read the pre-configured daily reset time parameter, which is the basis for subsequent operations. It may be set to a specific time such as 0:00 am or 12:00 noon every day. The specific time depends on the parking lot's operating strategy.

[0036] A time interval judgment model is established based on the reset time point. For each parking record, its entry and exit times are strictly compared with the reset time point. If the exit time of a parking record is greater than the reset time point, and the entry time is less than the reset time point, the model determines that the parking record crosses the reset point. For example, if the reset time point is 12:00 noon, and a vehicle enters the parking lot at 10:00 am and exits at 2:00 pm, it meets the criteria for a cross-reset point record.

[0037] For parking records determined to span a reset point, the reset time is used as the demarcation point to generate the pre-reset and post-reset time periods. For example, if the reset time is 12:00 PM and a vehicle enters the parking lot at 10:00 AM and exits at 2:00 PM, the pre-reset time period would be from 10:00 AM to 12:00 PM, and the post-reset time period would be from 12:00 PM to 2:00 PM. This orderly process accurately delineates the different time periods in parking records, providing crucial data support for subsequent accurate billing.

[0038] In one possible implementation, step S300 further includes:

[0039] Step S310: Parse the daytime period definition and nighttime period definition in the rate period configuration parameters.

[0040] Step S320: performing time period coverage analysis on each time period to be split, and generating daytime sub-segments and nighttime sub-segments when the time period to be split covers both daytime and nighttime periods.

[0041] Step S330: Calculate the actual duration of each sub-segment, where the actual duration is accurate to the minute level.

[0042] Specifically, the rate period configuration parameters are extracted and parsed from the parking management system to clarify the specific definitions of daytime and nighttime periods. For example, 9:00-21:00 is set as the daytime period, and 21:00-9:00 is set as the nighttime period. These definitions are important basis for subsequent operations.

[0043] For each time period to be split, a time segment coverage analysis is performed to determine whether each time segment covers both daytime and nighttime periods. If a time segment covers both daytime and nighttime periods, such as 18:00-22:00, corresponding daytime and nighttime sub-segments are generated according to the rules. In this example, the daytime sub-segment is 18:00-21:00, and the nighttime sub-segment is 21:00-22:00.

[0044] For each generated sub-segment, the actual duration is precisely calculated, accurate to the minute. For example, the daytime sub-segment from 6:00 PM to 9:00 PM actually lasts 180 minutes, while the nighttime sub-segment from 9:00 PM to 10:00 PM actually lasts 60 minutes. This meticulous analysis and calculation lays a solid foundation for subsequent accurate billing based on different time-of-day rates, ensuring that billing results accurately reflect the parking duration of vehicles during different rate periods.

[0045] In one possible implementation, step S400 further includes:

[0046] Step S410: Establishing a cumulative time window with a reset period as a unit.

[0047] Step S420: Aggregate the billing sub-time periods of all parking records within the accumulation time window.

[0048] Step S430: Deduplication processing is performed on the aggregated time data to eliminate repeated calculations of overlapping time periods.

[0049] Specifically, in the parking lot billing system, a cumulative time window is established with the reset cycle as the unit. The reset cycle is an important time benchmark set by the parking lot management according to the operation strategy. When this step is executed, the cumulative time window will be constructed based on the set reset cycle. For example, if the parking lot sets the reset cycle to daily, with 00:00 of the day as the starting boundary and 23:59:59 as the ending boundary, a time window covering the entire day is created. The parking record billing sub-time periods of all vehicles in the same reset cycle will be collected into it, providing a unified time frame basis for the subsequent accurate aggregation and deduplication of parking duration data, thereby achieving accurate billing.

[0050] Aggregate all billing sub-periods for parking records within the established time window. These billing sub-periods are derived from the previously splitting by reset time and rate period. Aggregate the billing sub-periods generated by different vehicles and parking periods within the same time window. For example, if multiple vehicles enter and exit the parking lot on a given day, each vehicle will have multiple parking sub-periods. Aggregate all of these sub-periods within the cumulative time window for that day.

[0051] Due to the diversity of times vehicles enter and exit parking lots, the aggregated time data may overlap, leading to duplicate calculations of billing time. To ensure accurate billing, deduplication is performed on the aggregated time data. Each sub-time period is carefully examined to identify and remove duplicate portions. For example, if a vehicle's parking time in the morning partially overlaps with another vehicle's parking time in the afternoon, the overlapping time is determined and removed, retaining only the actual valid parking time. This ensures that the billing time statistics are accurate and provides reliable data support for the subsequent calculation of tiered rates based on accumulated time.

[0052] In one possible implementation, step S400 further includes:

[0053] Step S440: Configure multi-level billing tier parameters, including the duration threshold and corresponding rate coefficient of each tier.

[0054] Step S450: Establish a step mapping function to map the accumulated duration to the corresponding billing step interval.

[0055] Step S460: Calculate the segmented fees for each level using an excess progressive algorithm.

[0056] Specifically, parking lot managers configure multi-tiered billing parameters in the system based on their own operational strategies and cost considerations. These parameters include the duration thresholds and corresponding rate coefficients for each tier. For example, the first tier duration threshold is set between 0 and 60 minutes, with a rate coefficient of 1 yuan per 15 minutes; the second tier duration threshold is set between 61 and 120 minutes, with a rate coefficient of 3 yuan per 15 minutes. These parameter settings provide the basic rules for subsequent billing.

[0057] Establish a step-by-step mapping function. This function accurately maps previously accumulated parking time to the corresponding billing tier. For example, if a vehicle's accumulated parking time is 80 minutes, the step-by-step mapping function can determine that this time falls within the second billing tier. This clearly indicates which tier's rate standard should be used to calculate the vehicle's parking time.

[0058] A progressive excess algorithm is used to calculate the segmented fees for each tier, using the following formula: Segmented Fee = ceil (tiered excess duration / billing unit) × tiered rate. Taking an 80-minute parking period as an example, the fee for the first tier, 60 minutes, is ceil(60 / 15) × 1 = 4 yuan; the second tier, 80-60 = 20 minutes of excess, is ceil(20 / 15) × 3 = 6 yuan. This calculation method accurately calculates the segmented fees for each tier based on the rates of different tiers and the actual parking duration of the vehicle, and thus accurately determines the parking fee for the vehicle, ensuring a fair and reasonable billing process.

[0059] In one possible implementation, step S600 further includes:

[0060] Step S610: Obtain independent billing results for each rate period.

[0061] Step S620: Execute cross-time period cost accumulation calculation to generate a preliminary total cost.

[0062] Step S630: Compare the preliminary total cost with the preset daily maximum charge threshold, and output the revised maximum charge value when the threshold is exceeded.

[0063] Specifically, the independent billing results for each rate period are obtained from the previous billing calculation step. For example, in a billing model that distinguishes different rate periods for daytime and nighttime, the parking fee data for the vehicle during the daytime and nighttime periods are extracted separately. This data is calculated based on the rate standards for each period and the actual parking time of the vehicle during the corresponding period.

[0064] A cross-period fee accumulation calculation is performed. The individual billing results for each rate period are added together to generate a preliminary total fee. For example, if a vehicle's parking fee during the daytime is 30 yuan and the nighttime fee is 10 yuan, the preliminary total fee is 30 + 10 = 40 yuan. This step integrates the vehicle's fees across different rate periods, providing the baseline data for determining whether the fee limit has been exceeded.

[0065] The preliminary total fee is compared with the preset daily maximum charge threshold. The parking lot will set a maximum daily charge based on its own operating strategy, such as 50 yuan. If the preliminary total fee of 40 yuan does not exceed this threshold, the final billing result will be the preliminary total fee of 40 yuan. However, if the preliminary total fee exceeds the preset daily maximum charge threshold, for example, if the preliminary total fee is 60 yuan, which exceeds the 50 yuan threshold, the revised maximum charge value of 50 yuan will be output. This series of operations not only ensures the integrity of vehicle parking fee calculations, but also protects the interests of users through maximum charge limits, avoids excessive charges, and maintains reasonable profits for the parking lot.

[0066] In one possible implementation, step S600 further includes:

[0067] Step S640: Real-time monitoring of abnormal data patterns in the billing process, including negative duration records and time logic conflicts.

[0068] Step S650: triggering an abnormal alarm signal and generating an abnormality handling log, wherein the abnormality handling log includes the abnormal time point, error type code and associated vehicle information.

[0069] Step S660: calling the backup billing strategy module and using a conservative billing algorithm to generate a temporary billing result.

[0070] Specifically, data from the billing process is monitored in real time, with a focus on unusual data patterns. Negative duration records refer to instances where parking duration is unreasonably negative, potentially due to data collection equipment failure or data transmission errors. Time logic conflicts can manifest as entry times later than exit times, violating normal parking time sequences. All parking record data is continuously scanned to identify these anomalies promptly.

[0071] Once an anomaly is detected, an abnormal alarm signal is triggered to alert parking lot managers of the abnormal situation, allowing them to intervene promptly. At the same time, a detailed abnormality handling log is generated, which clearly records the time when the abnormality occurred, accurate to the specific moment, making it easier to trace the time clues of the problem. The log also includes an error type code to clearly identify the type of error the abnormal data belongs to, such as a specific code corresponding to a negative duration record or a unique code for a time logic conflict. In addition, related vehicle information is also recorded in the log, such as license plate number and vehicle type, so that the abnormal vehicle can be quickly identified and facilitate targeted problem solving.

[0072] To ensure the continuity of billing services, the backup billing strategy module is invoked and a conservative billing algorithm is activated to generate a temporary billing result. This conservative billing algorithm is a relatively robust billing method that typically bills according to more conventional standards to avoid billing errors or confusion caused by abnormal data. For example, by calculating fees based on a fixed base rate and preset parking duration estimation rules, even in the presence of abnormal data, a temporary, relatively reasonable billing result can be generated for the vehicle, thereby ensuring the continuous operation of parking lot billing services and minimizing the impact on parking lot operations and user experience.

[0073] The second embodiment is based on the same inventive concept as the parking lot cumulative billing method based on dynamic time segmentation in the above embodiment. Figure 2 As shown, the present application provides a parking lot cumulative billing system based on dynamic time segmentation. The system and method embodiments in the present application are based on the same inventive concept. The system includes:

[0074] The data set acquisition module 10 is used to acquire a parking record data set of a target vehicle, wherein the parking record data set includes an entry time, an exit time, and a billing period configuration parameter of at least one parking record.

[0075] The parking record splitting module 20 is used to determine whether each parking record crosses the reset point according to the preset reset time point, and split the parking record into a pre-reset time period and a post-reset time period when a cross-reset point exists.

[0076] The time period division module 30 is configured to perform a cross-time period division operation on each divided time period, and divide each time period into sub-time periods corresponding to time period attributes according to the rate period configuration.

[0077] The tiered billing value calculation module 40 is used to accumulate the billing duration of all parking records in the same billing period, trigger the tiered rate rule based on the accumulated duration, and calculate the tiered billing value of the current parking record.

[0078] The actual receivable fee generating module 50 is used to perform a deduction operation on the current tiered billing value according to the historical billed amount to generate the actual receivable fee.

[0079] The final billing result generating module 60 is used to integrate and calculate the receivable fees of different rate periods and generate the final billing result in combination with the preset maximum daily charging limit.

[0080] Furthermore, the system is also used to implement the following functions:

[0081] Read the daily reset time parameters configured in the parking lot management system; establish a time interval judgment model, and when the exit time of the parking record is greater than the reset time point and the entry time is less than the reset time point, determine it as a cross-reset point record; generate the dividing boundary between the pre-reset time period and the post-reset time period, and the dividing boundary uses the reset time point as the separation basis.

[0082] Furthermore, the system is also used to implement the following functions:

[0083] Parse the daytime and nighttime definitions in the rate period configuration parameters; perform period coverage analysis on each time period to be split. When the time period to be split covers both the daytime and nighttime periods, generate daytime and nighttime sub-segments; calculate the actual duration of each sub-segment, and the actual duration is accurate to the minute level.

[0084] Furthermore, the system is also used to implement the following functions:

[0085] Establishing a cumulative time window with a reset period as a unit; aggregating the billing sub-time periods of all parking records within the cumulative time window; and performing deduplication processing on the aggregated time data to eliminate repeated calculations of overlapping time periods.

[0086] Furthermore, the system is also used to implement the following functions:

[0087] Configure multi-level billing tier parameters, including the duration threshold and corresponding rate coefficient for each tier; establish a tier mapping function to map the accumulated duration to the corresponding billing tier interval; and calculate the segmented fees for each tier using an excess progressive algorithm.

[0088] Furthermore, the system is also used to implement the following functions:

[0089] Obtain independent billing results for each rate period; perform cross-period fee accumulation calculation to generate a preliminary total fee; compare the preliminary total fee with the preset daily maximum fee threshold, and output the revised maximum fee value when the threshold is exceeded.

[0090] Furthermore, the system is also used to implement the following functions:

[0091] Real-time monitoring of abnormal data patterns in the billing process, including negative duration records and time logic conflicts; triggering abnormal alarm signals and generating abnormal processing logs, which contain abnormal time points, error type codes and associated vehicle information; calling the backup billing strategy module and using a conservative billing algorithm to generate temporary billing results.

[0092] It should be noted that the order in which the embodiments of the present application are presented is for illustrative purposes only and does not necessarily represent the superiority or inferiority of the embodiments. Furthermore, the foregoing descriptions of specific embodiments of this specification are provided. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential sequence shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0093] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

[0094] This specification and drawings are merely illustrative of the present application and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of this application. Thus, this application is intended to include such modifications and variations as fall within the scope of this application and its equivalents.

Claims

1. A parking lot cumulative billing method based on dynamic time segmentation, characterized in that: The method comprises: Obtaining a parking record dataset of a target vehicle, wherein the parking record dataset includes entry time, exit time, and billing period configuration parameters of at least one parking record; According to the preset reset time point, each parking record is judged to cross the reset point. When there is a cross reset point, the parking record is divided into a pre-reset time period and a post-reset time period; Perform cross-period splitting on each time period after splitting, and divide each time period into sub-time periods with corresponding time period attributes according to the rate period configuration; Accumulate the billing time of all parking records in the same billing cycle, trigger the tiered rate rules based on the accumulated time, and calculate the tiered billing value of the current parking record; Deduct the current tiered billing value based on the historical billed amount to generate the actual receivables; The receivables for different rate periods are integrated and calculated, and the final billing result is generated based on the preset maximum daily charge limit.

2. The parking lot cumulative billing method based on dynamic time segmentation as claimed in claim 1, characterized in that: The method of performing cross-reset point determination on each parking record according to a preset reset time point includes: Read the daily reset time parameters configured in the parking management system; Establish a time interval judgment model. When the exit time of a parking record is greater than the reset time point and the entry time is less than the reset time point, it is determined to be a cross-reset point record. A dividing boundary between the pre-reset time period and the post-reset time period is generated, wherein the dividing boundary is based on the reset time point.

3. The parking lot cumulative billing method based on dynamic time segmentation as claimed in claim 1, characterized in that: The cross-period splitting operation, the method includes: Parse the daytime and nighttime definitions in the rate period configuration parameters; Performing a time period coverage analysis on each time period to be split, and generating a daytime sub-segment and a nighttime sub-segment when the time period to be split covers both daytime and nighttime periods; The actual duration of each sub-segment is calculated, where the actual duration is accurate to the minute level.

4. The parking lot cumulative billing method based on dynamic time segmentation as claimed in claim 1, characterized in that: The method for accumulating the billing duration of all parking records in the same billing period includes: Establish a cumulative time window with reset period as the unit; aggregating billing sub-periods of all parking records within the accumulation time window; Deduplication is performed on the aggregated time data to eliminate repeated calculations of overlapping time periods.

5. The parking lot cumulative billing method based on dynamic time segmentation as claimed in claim 1, characterized in that: The method of triggering the tiered rate rule based on the accumulated time and calculating the tiered billing value of the current parking record includes: Configure multi-level billing parameters, including the duration threshold and corresponding rate coefficient for each level; Establish a step mapping function to map the accumulated duration to the corresponding billing step interval; The segmented fees for each level are calculated using the excess progressive algorithm.

6. The parking lot cumulative billing method based on dynamic time segmentation as claimed in claim 1, characterized in that: The method of generating a final billing result in combination with a preset daily maximum charge limit includes: Get independent billing results for each rate period; Perform cross-period cost accumulation calculation to generate preliminary total costs; Compare the preliminary total cost with the preset daily maximum charge threshold, and output the revised maximum charge value when the threshold is exceeded.

7. The parking lot cumulative billing method based on dynamic time segmentation as claimed in claim 1, characterized in that: The method further comprises: Real-time monitoring of abnormal data patterns in the billing process, including negative duration records and time logic conflicts; Trigger an abnormality alarm signal and generate an abnormality handling log, which includes the abnormality time point, error type code and related vehicle information; The backup billing strategy module is called and a conservative billing algorithm is used to generate a temporary billing result.

8. The parking lot cumulative billing system based on dynamic time segmentation is characterized by: The system is used to implement the parking lot cumulative billing method based on dynamic time segmentation according to any one of claims 1 to 7, and the system includes: A data set acquisition module is used to acquire a parking record data set of a target vehicle, wherein the parking record data set includes an entry time, an exit time, and a billing period configuration parameter of at least one parking record; A parking record splitting module is used to determine whether each parking record crosses the reset point according to a preset reset time point, and split the parking record into a pre-reset time period and a post-reset time period when a cross-reset point exists; The time period division module is used to perform cross-time period division operations on the split time periods, and divide each time period into sub-time periods with corresponding time period attributes according to the rate period configuration; The tiered billing value calculation module is used to accumulate the billing time of all parking records in the same billing period, trigger the tiered rate rule based on the accumulated time, and calculate the tiered billing value of the current parking record; The actual receivables generation module is used to deduct the current tiered billing value based on the historical billed amount to generate the actual receivables; The final billing result generation module is used to integrate and calculate the receivables for different rate periods and generate the final billing result based on the preset daily maximum charge limit.