A bus ticket box collection method and system

Through data synchronization and model prediction between bus fare boxes, stations and company central nodes, the problem of incomplete bus transaction data is solved, and detailed data support and operation density optimization of bus operations are achieved.

CN118569993BActive Publication Date: 2024-10-22GUANGZHOU LUAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411054993.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-22
Estimated Expiration
2044-08-02

AI Technical Summary

Technical Problem

The existing bus fare box collection transaction data is incomplete, and multiple payment channels lead to messy transaction information, making it impossible to provide comprehensive data support for bus operations.

Method used

Through data synchronization and transmission between bus fare boxes, bus stations and bus company central nodes, build models to predict and compare transaction data, ensure the integrity and consistency of data, and conduct transaction volume in different time periods and stations. analyze.

Benefits of technology

It has achieved detailed data support for bus operations, optimized the density of bus line operations, improved the clarity and comprehensiveness of data, and ensured the stability of bus operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569993B_ABST
    Figure CN118569993B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of bus ticket box data processing, and relates to a bus ticket box collection method and system. The existing bus ticket boxes support multiple payment methods, which greatly increases the difficulty of collecting bus ticket boxes, and the transaction information collection is messy, and it is impossible to obtain intuitive data. The present invention optimizes the data transmission between the bus ticket box, the bus stop and the central node of the bus company by setting a first data transmission module and a second data transmission module. At the same time, the method provided by the present invention can obtain more comprehensive data, making the transaction data generated by the bus ticket box clearer, and providing data support for optimizing bus operation routes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of bus ticket box data processing and relates to a bus ticket box collection method and system. Background Art

[0002] The bus ticket box is used to collect funds, and can record and summarize the collected funds information. The bus company obtains the transaction records of the bus ticket box and can make timely adjustments to the operation of the bus based on the transaction data of the bus ticket box. In order to better serve passengers, the bus ticket box provides payment functions such as scanning codes, face recognition, and card swiping. In addition, for humanized services, bus stops also provide a more convenient payment system.

[0003] However, the collection method that relies solely on bus ticket boxes or bus stops is single and the transaction data obtained is incomplete. At the same time, multiple payment channels cause the collection of transaction information to be messy, which is not convenient for unified collection and integration, and cannot provide comprehensive data support for bus operations. Summary of the invention

[0004] In order to solve the problems existing in the background technology, the present invention proposes a bus ticket box collection method and system.

[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is as follows.

[0006] A bus ticket box collection method comprises the following steps:

[0007] S1, bus ticket box, first bus stop records the transaction records of passengers purchasing tickets through different payment methods;

[0008] S2, synchronizing transaction quantity information between the bus ticket box and the first bus stop;

[0009] S3, the bus ticket box packages the transaction information after synchronization, and sends it to the second bus station when the bus arrives at the second bus station, and the second bus station sends the packaged transaction information to the central node of the bus company;

[0010] S4. The central node of the bus company counts the transaction data set of any bus line, and generates a first model to predict the total transaction volume of a certain bus trip on a single bus line, compares the actual transaction information of a certain bus trip on a single bus line with the predicted transaction information, and completes the collection of bus ticket boxes.

[0011] Furthermore, in S1, the bus ticket box and the first bus stop record the transaction records of passengers purchasing tickets through different payment methods, and passengers can choose any location in the bus ticket box or the first bus stop to purchase tickets, wherein the different payment methods include:

[0012] Face recognition payment, QR code scanning payment, card payment and coin payment, the transaction records of passengers purchasing tickets through different payment methods will be collected by the bus ticket box or the first bus stop.

[0013] Furthermore, in S3, the data transmission method is:

[0014] The bus ticket box packages the transaction information after synchronization, converts the packaged transaction information file into a read-only state, and sends it to the second bus stop when the bus arrives at the second bus stop;

[0015] The second bus stop determines the file attributes. If the file is editable, it is the transaction information file of the bus at the second stop. Select synchronization operation. If the file is read-only, it is determined to be a packaged transaction information file. The packaged transaction information file is sent to the bus company central node.

[0016] Furthermore, in S4, the central node of the bus company collects statistics on any bus line transaction data set and generates a first model to predict the total transaction volume on a single bus line:

[0017] First, the first model is constructed based on the total transaction volume of a single trip on any bus route on the day, the transaction volume of a single bus stop, the transaction volume of a single bus stop at different time periods, and the transaction volume of a single bus stop at different time periods on historical dates as parameters;

[0018] The first model is used to predict the total transaction volume of buses of different trips on the same day, the transaction volume of a single bus stop, and the transaction volume of a single bus stop in different time periods, and the prediction deviation is obtained. According to the total transaction volume of a single bus trip in history, the prediction transaction volume range is set;

[0019] Compare the actual transaction volume of a bus on a single bus route with the predicted transaction volume range of the bus; if the actual transaction volume does not fall within the predicted transaction volume range, mark the current bus and send a prompt message to the relevant staff for recording; if the actual transaction volume falls within the predicted transaction volume range, record it directly;

[0020] This completes the collection of bus ticket boxes.

[0021] Furthermore, the first model is constructed as follows:

[0022] Classify dates according to different attributes and collect statistics on transaction data of different categories of dates;

[0023] The transaction data of the same category date are summarized, and the total transaction volume of a single trip on any bus line in the past, the transaction volume of a single bus stop, the transaction volume of a single bus stop at different time periods, and the transaction volume of a single bus stop at different time periods on historical dates are recorded as parameters, and compared with the transaction data information of the current bus at different stops sent by the bus of this bus, to determine the prediction deviation;

[0024] The change rate is obtained by comparing the change in bus transaction volume on a specific date in a category with the previous specific date in the same category on that specific date.

[0025] Compare the changes in bus transaction volume for a single trip on multiple dates in the same category to obtain the average change rate, and use a specific multiple of the average change rate as the deviation range.

[0026] This is used to calculate the prediction deviation of the predicted single bus transaction volume: ;

[0027] Where y is a specific multiple of the mean deviation range, α is the number of days for date calculation, is the single transaction volume of a bus at a bus stop in the nth time period on the i-th day, and N is the deviation range of the transaction volume.

[0028] Furthermore, the basis for classifying dates according to different attributes is:

[0029] The days stipulated in the urban public transportation preferential policies are one category, the weekdays other than the preferential days are one category, and the weekends and holidays other than the preferential days are one category.

[0030] On the other hand, the present invention also provides a bus ticket box collection system, comprising the following modules:

[0031] The transaction record module is used to record the transaction records of passengers purchasing tickets through different payment methods obtained from the bus ticket box and the first bus stop;

[0032] An information synchronization verification module is used to synchronize the transaction quantity information between the current bus ticket box and the first bus stop;

[0033] A first data processing module, used for processing data from a bus ticket box, receives data from a first bus stop and processes data from a current stop;

[0034] A second data processing module is used for receiving data sent by the bus ticket box at the second bus stop, and judging and processing the data;

[0035] The first data transmission module is used for data transmission between the bus ticket box and the bus station;

[0036] The second data transmission module is used for data transmission between the bus station and the central node of the bus company.

[0037] Compared with the prior art, the present invention has the following beneficial effects:

[0038] By collecting data from bus ticket boxes, the present invention can more intuitively obtain the transaction volume generated by buses at different times, different stops, and different routes. The acquired data is more comprehensive, making the transaction data generated by bus ticket boxes clearer, and providing data support for optimizing bus operation routes. The staff adjusts the density of bus operation trips according to the situation. At the same time, the present invention uses the first data transmission module and the second data transmission module to optimize the data transmission between the bus ticket box, the bus stop, and the central node of the bus company. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a schematic diagram of the overall method operation flow of the present invention;

[0040] Figure 2 It is a schematic diagram of data transmission during the driving of a single bus on a bus route according to the present invention;

[0041] Figure 3 It is a schematic diagram of the system structure of the present invention. DETAILED DESCRIPTION

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

[0043] like Figure 1 As shown, the technical solution adopted by the present invention is as follows: a bus ticket box collection method, comprising the following steps:

[0044] S1, bus ticket box, first bus stop records the transaction records of passengers purchasing tickets through different payment methods.

[0045] S2. Transaction quantity information is synchronized between the bus ticket box and the first bus stop.

[0046] S3. The bus ticket box packages the transaction information after synchronization, and sends it to the second bus stop when the bus arrives at the second bus stop. The second bus stop sends the packaged transaction information to the central node of the bus company.

[0047] S4. The central node of the bus company counts the transaction data set of any bus line, and generates a first model to predict the total transaction volume of a certain bus trip on a single bus line, compares the actual transaction information of a certain bus trip on a single bus line with the predicted transaction information, and records it when it is less than a certain threshold, thus completing the collection of bus ticket boxes.

[0048] In step S1, the bus ticket box and the first bus stop record the transaction records of passengers purchasing tickets through different payment methods. Passengers can choose any location in the bus ticket box or the first bus stop to purchase tickets, and the different payment methods include:

[0049] Different payment methods such as face recognition payment, code scanning payment, card payment, coin and palm print payment, and the transaction records of passengers purchasing tickets through different payment methods will be collected by the bus ticket box or the first bus stop. The transaction records formed by different payment methods are marked with different payment method marks, and the marked transaction records are stored in the bus ticket box or the first bus stop. In this way, the ticket purchase transaction records of multiple payment methods can be collected, making the data collected by the bus ticket box more comprehensive and ensuring the integrity of the data.

[0050] In the above S3 step, the data transmission method is:

[0051] The bus ticket box packages the transaction information after synchronization. The bus ticket box converts the packaged transaction information file into a read-only state, restricts writing, avoids malicious or erroneous modification of the file, and sends it to the second bus stop when the bus arrives at the second bus stop.

[0052] When the bus arrives at the second bus stop, the bus ticket box sends the packaged transaction information to the second bus stop. The second bus stop first determines the file attributes sent by the bus ticket box. If the file is editable and the editing authority is not managed, it is the bus transaction information file at the second stop. It chooses to synchronize. If the file is read-only, it is determined to be a packaged transaction information file and sent to the bus company's central node. This can reduce the processing of packaged transaction data and prevent data damage due to misoperation.

[0053] In the above step S4, the central node of the bus company collects statistics on any bus line transaction data set and generates a first model to predict the total transaction volume on a single bus line. The specific method of the prediction is:

[0054] Firstly, the first model is constructed based on the different buses on any bus route on the day, and the total transaction volume of a single trip on the bus route, the transaction volume of a single bus trip at a single bus stop, the transaction volume of a single bus trip at a single bus stop in different time periods, and the transaction volume of a single bus trip at a single bus stop in different time periods on historical dates are added as parameters.

[0055] The first model is used to predict the total transaction volume of buses of different trips on the same day, the transaction volume of a single bus stop, and the transaction volume of a single bus stop in different time periods. A prediction deviation is calculated, and a prediction transaction volume interval is set based on the total transaction volume of a single trip of the historical bus. The prediction transaction volume interval is used to limit the gap between the actual transaction volume and the predicted transaction volume.

[0056] Compare the actual transaction volume of a bus on a single bus line with the transaction volume predicted by the first model. If the actual transaction volume does not fall within the predicted transaction volume range, it means that the bus is operating abnormally, and the current bus is marked, and a prompt message is sent to the relevant staff. If the actual transaction volume falls within the predicted transaction volume range, the bus is operating normally, and it can be directly recorded to complete the collection of bus ticket boxes. The staff analyzes the records of the above data and adjusts the density of bus operation trips, providing detailed data support for bus operations.

[0057] When the actual transaction volume is greater than the predicted transaction volume and the actual transaction volume does not fall within the predicted transaction volume range, consideration should be given to increasing bus capacity and improving bus operation density.

[0058] When the actual transaction volume is less than the predicted transaction volume and the actual transaction volume does not fall within the predicted transaction volume range, consideration should be given to reducing bus capacity and reducing bus operation density.

[0059] This can complete the collection of bus ticket boxes and provide detailed data support for bus operations.

[0060] In the process of predicting the total transaction volume on a single bus route using the first model, the specific steps of constructing the first model are:

[0061] Firstly, the bus operation dates are divided into multiple categories according to different attributes, and the transaction data of different categories are statistically analyzed to avoid the accuracy and stability of the system operation being affected by specific dates.

[0062] The basis for classifying dates according to different attributes mentioned above is:

[0063] The days stipulated in the urban public transportation preferential policies are one category, the weekdays other than the preferential days are one category, and the weekends and holidays other than the preferential days are one category.

[0064] Because the number of passengers on weekdays and weekends during peak hours in the morning and evening is very different, we choose to calculate them separately. At the same time, because the public transportation policies of each city are different, the city bus preferential policy stipulated days are also calculated separately according to the bus preferential policies of each city, so as to avoid the system misjudgment caused by the gap between weekdays, weekends and preferential days, so that the system can operate accurately and stably. It also provides bus companies with multiple considerations for bus operation, so that bus operation data is separately counted for different categories of dates, ensuring the stability of bus operations.

[0065] For the same category of data, the total transaction volume of a single trip on any bus line, the transaction volume of a single bus stop, the transaction volume of a single bus stop in different time periods, and the transaction volume of a single bus stop in different time periods on historical dates are recorded as parameters, and compared with the transaction data information of the current trip at different stops sent by this bus to determine the prediction deviation;

[0066] By comparing the change in the single-trip bus transaction volume on a specific date in a certain category with the previous specific date in the same category, the change rate is obtained. By comparing the change in the single-trip bus transaction volume on multiple dates in the same category, the average change rate is obtained. The specific multiple of the average change rate of the single-trip bus is used as the deviation range to calculate the prediction deviation of the single-trip bus transaction volume: ;

[0067] Where y is a specific multiple of the average deviation range, which can be adjusted by the user. α is the number of days in the date calculation. The more days in the date calculation, the more valuable the prediction deviation obtained is. is the single transaction volume of a bus at a bus stop in the nth time period on the i-th day, and N is the calculated prediction deviation of the evaluation transaction volume.

[0068] In addition, the present invention also provides a bus ticket box collection system, including the following modules:

[0069] The transaction record module is used to record the transaction records of passengers purchasing tickets through different payment methods obtained from the bus ticket box and the first bus stop;

[0070] An information synchronization verification module is used to synchronize the transaction quantity information between the current bus ticket box and the first bus stop;

[0071] A first data processing module, used for processing data from a bus ticket box, receives data from a first bus stop and processes data from a current stop;

[0072] A second data processing module is used for receiving data sent by the bus ticket box at the second bus stop, and judging and processing the data;

[0073] The first data transmission module is used for data transmission between the bus ticket box and the bus station;

[0074] The second data transmission module is used for data transmission between the bus station and the central node of the bus company.

[0075] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A bus ticket box collection method, characterized in that: The following steps are involved: S1, bus ticket box, first bus stop records the transaction records of passengers purchasing tickets through different payment methods; S2, synchronizing transaction quantity information between the bus ticket box and the first bus stop; S3, the bus ticket box packages the transaction information after synchronization, and sends it to the second bus station when the bus arrives at the second bus station, and the second bus station sends the packaged transaction information to the central node of the bus company; S4. The central node of the bus company collects transaction data of any bus route, generates a first model to predict the total transaction volume of a certain bus trip on a single bus route, compares the actual transaction information of a certain bus trip on a single bus route with the predicted transaction information, and completes the collection of bus ticket boxes; In S3, the data transmission method is: The bus ticket box packages the transaction information after synchronization, converts the packaged transaction information file into a read-only state, and sends it to the second bus stop when the bus arrives at the second bus stop; The second bus stop determines the file attributes. If the file is editable, it is the transaction information file of the bus at the second stop. Select synchronization operation. If the file is read-only, it is determined to be a packaged transaction information file. The packaged transaction information file is sent to the bus company central node.

2. A bus ticket box collection method according to claim 1, characterized in that In S1, the bus ticket box and the first bus stop record the transaction records of passengers purchasing tickets through different payment methods. Passengers choose any location in the bus ticket box or the first bus stop to purchase tickets, and the different payment methods include: Face recognition payment, QR code scanning payment, card payment and coin payment, the transaction records of passengers purchasing tickets through different payment methods will be collected by the bus ticket box and the first bus stop.

3. A bus ticket box collection method according to claim 1, characterized in that In S4, the central node of the bus company collects statistics on any bus line transaction data set and generates a first model to predict the total transaction volume on a single bus line: First, the first model is constructed based on the total transaction volume of a single trip on any bus route on the day, the transaction volume of a single bus stop, the transaction volume of a single bus stop at different time periods, and the transaction volume of a single bus stop at different time periods on historical dates as parameters; The first model is used to predict the total transaction volume of buses of different trips on the same day, the transaction volume of a single bus stop, and the transaction volume of a single bus stop in different time periods, and the prediction deviation is obtained. According to the total transaction volume of a single bus trip in history, the prediction transaction volume range is set; Compare the actual transaction volume of a bus on a single bus route with the predicted transaction volume range of the bus; if the actual transaction volume does not fall within the predicted transaction volume range, mark the current bus and send a prompt message to the relevant staff for recording; if the actual transaction volume falls within the predicted transaction volume range, record it directly; This completes the collection of bus ticket boxes.

4. A bus ticket box collection method according to claim 3, characterized in that , the first model is constructed as follows: Classify dates according to different attributes and collect statistics on transaction data of different categories of dates; The transaction data of the same category date are summarized, and the total transaction volume of a single trip on any bus line in the past, the transaction volume of a single bus stop, the transaction volume of a single bus stop at different time periods, and the transaction volume of a single bus stop at different time periods on historical dates are recorded as parameters, and compared with the transaction data information of the current bus at different stops sent by the bus of this bus, to determine the prediction deviation; The change rate is obtained by comparing the change in bus transaction volume on a specific date in a category with the previous specific date in the same category on that specific date. Compare the changes in bus transaction volume for a single trip on multiple dates in the same category to obtain the average change rate, and use a specific multiple of the average change rate as the deviation range. This is used to calculate the prediction deviation of the predicted single bus transaction volume: ; Where y is a specific multiple of the mean deviation range, α is the number of days for date calculation, is the single transaction volume of a bus at a bus stop in the nth time period on the i-th day, and N is the deviation range of the transaction volume.

5. A bus ticket box collection method according to claim 4, characterized in that ,The basis for classifying dates according to different attributes is: The days stipulated in the urban public transportation preferential policies are one category, the weekdays other than the preferential days are one category, and the weekends and holidays other than the preferential days are one category.

6. A bus ticket box collection system, characterized in that , including the following modules: The transaction record module is used to record the transaction records of passengers purchasing tickets through different payment methods obtained from the bus ticket box and the first bus stop; An information synchronization verification module is used to synchronize the transaction quantity information between the current bus ticket box and the first bus stop; A first data processing module, used for processing data from a bus ticket box, receives data from a first bus stop and processes data from a current stop; A second data processing module is used for receiving data sent by the bus ticket box at the second bus stop, and judging and processing the data; The first data transmission module is used for data transmission between the bus ticket box and the bus station; The second data transmission module is used for data transmission between the bus station and the central node of the bus company; The first data processing module packages the transaction information after synchronization, converts the packaged transaction information file into a read-only state, and sends it to the second data processing module when the bus arrives at the second bus stop; The second data processing module determines the file attributes. If the file is editable, it is the transaction information file of the bus at the second station, and chooses to perform synchronization operation. If the file is read-only, it is determined to be a packaged transaction information file, and the packaged transaction information file is sent to the bus company's central node.