Rail transit virtual transfer method and device, electronic equipment and storage medium

By configuring virtual transfer stations and parameters in the rail transit system, we can determine whether the passenger itinerary meets the virtual transfer conditions and determine it as a virtual transfer itinerary, which solves the problem of inconvenience and increased cost of station transfers that cannot be connected within the station, and achieves a more reasonable fare discount and a convenient transfer experience.

CN119624558APending Publication Date: 2025-03-14PCI TECH & SERVICE CO LTD +4
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411818935.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

During the construction of rail transit lines, due to the design of the station hall, the order of line construction or geographical conditions, the two physical stations on different lines are close but cannot be connected within the station, resulting in passengers having to leave the station first and then enter the station to transfer. The system bills the two itineraries separately, which increases the ride cost.

Method used

By configuring the virtual transfer station and virtual transfer parameters, it is determined that the passenger's current entry station is a virtual transfer station, and it is determined whether the current itinerary meets the virtual transfer conditions through the passenger's previous itinerary record and the virtual transfer parameters of the current entry station. If it meets the virtual transfer, the current itinerary type is determined as a virtual transfer itinerary, and the fare price is calculated according to the virtual transfer method.

Benefits of technology

It is realized that the itinerary of adjacent stations that cannot be connected to the station is determined as a virtual transfer itinerary, and the ticket price is calculated as a joint trip with the previous itinerary during billing, which reduces the passenger's transfer fee and improves the convenience of transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119624558A_ABST
    Figure CN119624558A_ABST
Patent Text Reader

Abstract

The invention discloses a rail transit virtual transfer method and device, electronic equipment and a storage medium, and the method comprises the steps: judging whether a current arrival station of a passenger is a virtual transfer station, and if not, determining the type of a current travel as a non-virtual transfer travel; if yes, whether the current journey meets the virtual transfer condition or not is judged according to the journey record of the last journey of the passenger and the virtual transfer parameters of the current entering station; if yes, determining that the type of the current travel is a virtual transfer travel; if not, determining the type of the current journey of the passenger as a non-virtual transfer journey, and calculating the ticket price of the current journey according to the type, so that the journey of the passenger in the adjacent stations which cannot be communicated in the stations is determined as the virtual transfer journey, the virtual transfer journey is used as a connection to calculate the connection ticket price, the riding ticket price is more reasonable and preferential, and the transfer cost of the passenger is saved; and for the passenger who purchases the interline ticket price, the passenger can enter another station to transfer after leaving the station by holding the interline ticket without buying the ticket again, so that the transfer is more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit technology, and in particular to a rail transit virtual transfer method, device, electronic equipment and storage medium. Background Art

[0002] With the development of urban rail transit, multiple rail transit lines have appeared in a city. In some parts of the city, multiple lines intersect. In order to meet people's travel needs, intersecting lines are designed through station halls to enable transfers between different lines within the station.

[0003] However, during the construction of rail transit lines, due to reasons such as station hall design, the order of line construction or geographical conditions, two physical stations on different lines are close but cannot be connected within the station, resulting in the two stations being physically close but unable to transfer within the station. Currently, passengers exit the station first and then enter the station to transfer, but this transfer method is identified as two independent journeys. The system charges the two journeys separately, so passengers need to pay more fees. In addition, passengers who purchase one-way tickets need to purchase two one-way tickets, which makes it inconvenient for passengers to transfer. Summary of the invention

[0004] The present invention provides a rail transit virtual transfer method, device, electronic device and storage medium to solve the problems in the prior art that two adjacent stations on different rail transit lines cannot be connected, resulting in inconvenience in transfer and increased fare.

[0005] In a first aspect, the present invention provides a rail transit virtual transfer method, comprising:

[0006] When detecting that a passenger is entering a station, determining the current station of the passenger;

[0007] Determining whether the current entry station is a virtual transfer station;

[0008] If not, determining the type of the passenger's current trip as a non-virtual transfer trip;

[0009] If yes, obtain the passenger's previous trip record;

[0010] Obtaining virtual transfer parameters of the current incoming station;

[0011] Determining whether the passenger's current itinerary meets the virtual transfer condition according to the itinerary record and the virtual transfer parameter;

[0012] If yes, determining that the type of the current trip is a virtual transfer trip;

[0013] If not, executing the step of determining the type of the passenger's current trip as a non-virtual transfer trip;

[0014] A fare is calculated for the current itinerary according to the type of the current itinerary.

[0015] In a second aspect, the present invention provides a rail transit virtual transfer device, comprising:

[0016] A current station determination module, for determining the current station of the passenger when detecting the passenger entering the station;

[0017] The current entry station determination module is used to determine whether the current entry station is a virtual transfer station; if so, the travel record acquisition module is executed; if not, the non-virtual transfer determination module is executed;

[0018] A non-virtual transfer determination module, configured to determine the type of the passenger's current trip as a non-virtual transfer trip;

[0019] A trip record acquisition module, used to acquire the trip record of the passenger's previous trip;

[0020] A virtual transfer parameter acquisition module, used to acquire the virtual transfer parameters of the current incoming station;

[0021] A virtual transfer condition judgment module, used to judge whether the passenger's current itinerary meets the virtual transfer condition according to the itinerary record and the virtual transfer parameter, and if so, execute the virtual transfer determination module; if not, execute the non-virtual transfer determination module;

[0022] A virtual transfer determination module, used to determine that the type of the current trip is a virtual transfer trip;

[0023] The fare calculation module is used to calculate the fare for the current trip according to the type of the current trip.

[0024] In a third aspect, the present invention provides an electronic device, the electronic device comprising:

[0025] at least one processor; and

[0026] a memory communicatively connected to the at least one processor; wherein,

[0027] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the rail transit virtual transfer method described in the first aspect of the present invention.

[0028] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a processor to implement the rail transit virtual transfer method described in the first aspect of the present invention when executed.

[0029] The embodiment of the present invention configures virtual transfer stations and virtual transfer parameters. When a passenger enters a station and determines that the current station is a virtual transfer station, and determines that the current trip meets the virtual transfer conditions through the trip record of the passenger's previous trip and the virtual transfer parameters of the current station, the type of the current trip is determined as a virtual transfer trip, so that the fare of the current trip can be calculated according to the virtual transfer method, and the trip of the passenger at adjacent stations that cannot be connected within the station is determined as a virtual transfer trip, and the fare is calculated as a connecting trip with the previous trip during billing. On the one hand, two independent trips at adjacent stations that cannot be connected within the station are combined into one connecting trip for fare calculation through virtual transfer, which is more reasonable and preferential in terms of fare, saving costs for passengers to transfer. On the other hand, for passengers who have purchased connecting trip fares, passengers can purchase a connecting trip ticket once and then enter another station for transfer after exiting the station with the ticket, without having to purchase a new ticket, making transfers more convenient.

[0030] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] 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.

[0032] Figure 1 is a flow chart of a rail transit virtual transfer method provided by Embodiment 1 of the present invention;

[0033] Figure 2 This is a schematic diagram of a virtual transfer;

[0034] Figure 3 is a flow chart of a rail transit virtual transfer method provided by Embodiment 2 of the present invention;

[0035] Figure 4 It is a schematic diagram of the virtual transfer judgment process;

[0036] Figure 5 Flow chart for fare calculation in case of virtual transfer;

[0037] Figure 6 is a schematic diagram of the structure of a rail transit virtual transfer device provided by Embodiment 3 of the present invention;

[0038] Figure 7 It is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0039] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.

[0040] Embodiment 1

[0041] Figure 1 This is a flow chart of a rail transit virtual transfer method provided in the first embodiment of the present invention. This embodiment can be applied to the situation where two stations that cannot be connected to each other can realize virtual transfer. The method can be executed by a rail transit virtual transfer device, which can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the rail transit virtual transfer method includes:

[0042] S101. When a passenger is detected entering a station, determine the passenger's current station of entry.

[0043] This embodiment is applied to virtual transfer of urban rail transit, wherein the urban rail transit may be subway rail transit, light rail rail transit or a combination of subway rail transit and light rail rail transit. Virtual transfer may refer to a transfer method in which passengers need to swipe their cards to exit the station when transferring between two lines, and then swipe their cards again to enter the station after getting on the ground to a nearby station.

[0044] like Figure 2 As shown, stations A1-A3 belong to line 1, and stations B1-B3 belong to line 2, wherein stations A3 and B1 are geographically close but cannot be connected within the station. Passengers need to take line 1 from station A1 and then take line 2 to station B3. After swiping their cards to exit station A3, passengers go to station B1 on the ground on line 2 and swipe their cards to enter the station and take line 2 to station B3 and exit the station. In the prior art, entering station A1 and exiting station A3, and entering station B1 and exiting station B3 are regarded as two independent journeys A1-A3 and B1-B3, and the fares are calculated separately, and when passengers use one-way tickets to travel, they need to buy two one-way tickets. This embodiment proposes a virtual transfer method for transfers in the prior art, which combines the two independent journeys A1-A3 and B1-B3 into a connecting journey, that is, B1-B3 is used as a virtual transfer journey, so that the passenger's journey from A1 to B3 is calculated as a connecting journey.

[0045] Specifically, when a passenger is detected entering the station, the passenger's current entry station is determined. For example, passengers usually enter the station through gates in the station hall. The passenger's current entry station can be determined through the ticket card information uploaded by the gates, such as the station ID of the current entry station.

[0046] S102: Determine whether the current entry station is a virtual transfer station.

[0047] Specifically, a list of virtual transfer stations that support virtual transfers for all rail transit lines can be set in the system, and it can be determined whether the current entry station is a station in the virtual transfer station list. If so, execute S104; if not, it is determined that the current entry station does not support virtual transfers, and S103 can be executed.

[0048] S103: Determine the type of the passenger's current trip as a non-virtual transfer trip.

[0049] When the current entry station is not a virtual transfer station, the passenger's current trip can be marked as a non-virtual transfer trip, that is, the type of the current trip is a non-virtual transfer trip, wherein the current trip may refer to the passenger's trip starting from the current entry station.

[0050] S104: Obtain the passenger's previous trip record.

[0051] The previous trip may be the rail transit trip that is most recent in time to the current trip. In one example, the travel record of the passenger's previous trip may be searched through the passenger's rail transit card, ticket, graphic code, etc. The travel record may include: the last entry station (including entry time), the last exit station (including exit time), the previous trip fare, the previous trip route, and other information.

[0052] S105. Obtain virtual transfer parameters of the current incoming station.

[0053] In this embodiment, virtual transfer parameters may be pre-set for the stations in the virtual transfer station list, wherein the virtual transfer parameters may include parameters such as transfer stations supported by the virtual transfer station and transfer duration.

[0054] S106. Determine whether the passenger's current itinerary meets the virtual transfer conditions according to the itinerary record and the virtual transfer parameters.

[0055] In one embodiment, the virtual transfer condition may be that the exit station of the previous trip is a transfer station supported by the current arrival station, and the time interval from the exit station to the current arrival station of the passenger is less than the preset transfer time. The exit station and exit time of the previous trip can be first determined from the trip record of the previous trip. If the exit station of the previous trip is a transfer station supported by the current arrival station, the time interval between the exit time and the arrival time of the current arrival station is further calculated. If the time interval is less than the transfer time, it can be determined that the passenger's current trip meets the virtual transfer condition, and S107 is executed. If the exit station of the previous trip is not a transfer station supported by the current arrival station, or the time interval is greater than the transfer time, it is determined that the current trip does not meet the virtual transfer condition, and S103 can be executed.

[0056] S107: Determine whether the type of the current trip is a virtual transfer trip.

[0057] Specifically, a virtual transfer mark may be marked for the current trip.

[0058] S108. Calculate the fare for the current itinerary according to the type of the current itinerary.

[0059] In this embodiment, the fare calculation method for different types of trips is different. For non-virtual transfer trips, the fare is calculated according to the existing independent trip charging method. For virtual transfer trips, the fare can be calculated according to the pre-configured virtual transfer trip charging method. This embodiment does not limit the charging method for different types of trips.

[0060] The embodiment of the present invention configures virtual transfer stations and virtual transfer parameters. When a passenger enters a station and determines that the current station is a virtual transfer station, and determines that the current trip meets the virtual transfer conditions through the trip record of the passenger's previous trip and the virtual transfer parameters of the current station, the type of the current trip is determined as a virtual transfer trip, so that the fare of the current trip can be calculated according to the virtual transfer method, and the trip of the passenger at adjacent stations that cannot be connected within the station is determined as a virtual transfer trip, and the fare is calculated as a connecting trip with the previous trip during billing. On the one hand, two independent trips at adjacent stations that cannot be connected within the station are combined into one connecting trip for fare calculation through virtual transfer, which is more reasonable and preferential in terms of fare, saving costs for passengers to transfer. On the other hand, for passengers who have purchased connecting trip fares, passengers can purchase a connecting trip ticket once and then enter another station for transfer after exiting the station with the ticket, without having to purchase a new ticket, making transfers more convenient.

[0061] Embodiment 2

[0062] Figure 3 This is a flow chart of a rail transit virtual transfer method provided in the second embodiment of the present invention. The embodiment of the present invention is optimized on the basis of the above-mentioned first embodiment. Figure 3As shown, the rail transit virtual transfer method includes:

[0063] S301. When a passenger is detected entering a station, determine the passenger's current station of entry.

[0064] In one example, a passenger may exit a station from one line and enter a station from another line, or the passenger may enter a station directly from a line (without having entered any line before). When the passenger enters the station through a gate, the passenger's current entry station can be determined through the information uploaded by the gate. For example, the current entry station can be determined through the station ID in the information uploaded by the gate.

[0065] S302: Determine whether the current entry station is a station in the preset virtual transfer list.

[0066] In this embodiment, a list of virtual transfer stations that support virtual transfers for all rail transit lines can be pre-configured in the system, and it can be determined whether the current entry station is a station in the virtual transfer station list. If so, S304 is executed; if not, it is determined that the current entry station does not support virtual transfers, and S303 can be executed.

[0067] like Figure 3 As shown, station B1 is a station in the virtual transfer list. If the passenger's current arrival station is B2, it can be determined that the passenger's current trip from station B2 is not a virtual transfer trip. If the passenger's current arrival station B1 is a station in the virtual transfer list, S304 can be executed.

[0068] S303: Determine the type of the passenger's current trip as a non-virtual transfer trip.

[0069] When the current entry station is not a virtual transfer station, the passenger's current trip can be marked as a non-virtual transfer trip, that is, the type of the current trip is a non-virtual transfer trip, wherein the current trip may refer to the passenger's trip starting from the current entry station.

[0070] S304: Obtain the travel record of the passenger's previous trip, where the travel record includes the last exit station and the passenger's exit time at the last exit station.

[0071] The previous trip may be the rail transit trip that is most recent in time to the current trip. In one example, the travel record of the passenger's previous trip may be searched through the passenger's rail transit card, ticket, graphic code, etc. The travel record may include: the last entry station (including entry time), the last exit station (including exit time), the previous trip fare, the previous trip route, and other information.

[0072] S305. Obtain virtual transfer parameters of the current incoming station.

[0073] In this embodiment, the virtual transfer parameters may be parameters including virtual transfer conditions, and the virtual transfer parameters may be set in advance for the stations in the virtual transfer station list, wherein the virtual transfer parameters may include parameters such as transfer stations supported by the virtual transfer station and transfer duration.

[0074] Among them, the virtual transfer parameters can be stored in the database in the following table format:

[0075] Fields type length Notes Station ID(EXIT) Char 4 Transfer station (exit) code Station ID(ENTRY) Char 4 Transfer station (entry) code TimeCode Char 2 Time period code TransferTime Char 4 Transfer time (unit: minutes), default is 0000

[0076] In the above table, Station ID (EXIT) indicates the transfer station supported by Station ID (ENTRY) with virtual transfer function, TimeCode is the time period code, i.e. the code of transfer duration, and TransferTime indicates the transfer duration, i.e. the maximum time limit for transfer from Station ID (EXIT) to Station ID (ENTRY).

[0077] S306: Determine whether the last exit station is a transfer station supported by the current entry station.

[0078] Specifically, when the current incoming station is a virtual transfer station, it can be determined whether the previous exit station of the passenger's previous trip (the exit station of the previous trip) is a transfer station supported by the current incoming station, that is, whether the previous exit station is the incoming Station ID (EXIT) in the above table of the current incoming station. If so, execute S308; if not, execute S307.

[0079] by Figure 2 As an example, station B1 is the current entry station, and station B1 is a virtual transfer station. The virtual transfer station supported by station B1 is station A3. If a passenger enters station A1 and exits station A3, and then enters station B1, it is determined that station A3 is the transfer station supported by the current entry station B1, and S308 can be executed. If a passenger enters station A1 and exits station A2, and then enters station B1, it is determined that station A2 is not the transfer station supported by the current entry station B1, and S307 can be executed.

[0080] S307: Determine that the current trip does not meet the virtual transfer conditions.

[0081] If the exit station of the passenger's previous trip is not a transfer station supported by the current entry station, it is determined that the current trip generated by the passenger's current entry does not meet the virtual transfer conditions, and the process can return to S303 to determine the type of the passenger's current trip as a non-virtual transfer trip and mark the non-virtual transfer mark.

[0082] S308. Calculate the time difference between the current arrival time of the passenger at the current arrival station and the departure time of the passenger at the previous departure station.

[0083] The time difference between the passenger's current entry time at the current entry station and the passenger's exit time at the previous exit station indicates the time it takes for the passenger to enter the current entry station after exiting the station at the end of the previous trip.

[0084] S309: Determine whether the time difference is less than the transfer time.

[0085] Specifically, the time difference can be compared with the transfer time of the virtual transfer parameters in the current entry station. If the time difference is less than or equal to the transfer time, it means that the passenger has entered the station through the current entry station within the transfer time after the end of the previous trip, which may be a transfer, and S310 can be executed. If the time difference is greater than the transfer time, it means that the passenger has not entered the station through the current entry station within the transfer time after the end of the previous trip, which may not be a transfer and should be processed as an independent trip, and S307 can be executed.

[0086] S310: Determine whether the previous trip has been matched.

[0087] If the exit station of the previous trip is a transfer station supported by the current arrival station, and the passenger arrives at the current arrival station within the transfer time after the end of the previous trip, it can be determined whether the previous trip has been matched. Whether it has been matched can refer to whether the system has received the arrival station and exit station of the previous trip, and successfully matched the travel route of the previous trip through the arrival station and exit station. If not, it means that the data of the arrival station of the previous trip may not be received due to network failure or other reasons, or the data upload error may not match the correct previous trip. S313 can be executed. If the previous trip has been matched, S311 can be executed.

[0088] S311. Determine whether the current trip meets the virtual transfer conditions.

[0089] Specifically, if it is determined that the current trip meets the virtual transfer condition, S312 may be executed.

[0090] S312: Determine whether the type of the current trip is a virtual transfer trip.

[0091] Specifically, a virtual transfer mark may be marked for the current trip.

[0092] S313: Determine that the type of the current trip is a suspected virtual transfer trip.

[0093] Specifically, a suspected virtual transfer mark may be marked for the current trip.

[0094] In order to make those skilled in the art more clear about the process of virtual transfer judgment in the embodiment of the present invention, the following is combined with Figure 4 The following is an example of the judgment process of virtual transfer:

[0095] like Figure 4 As shown, after the transaction starts, the entry transaction is uploaded, and it is first determined whether the entry site A is a virtual transfer station. If not, directly mark the non-virtual transfer mark. If so, find the exit site B of the previous trip and determine whether the previous trip record is found. If not, directly mark the non-virtual transfer mark. If so, determine whether the exit site B is the transfer station of site A and the transfer is within the transfer time. If not, directly mark the non-virtual transfer mark. If so, determine whether the previous trip has been matched. If it has been matched, it is marked as a virtual transfer mark. If it has not matched, it is marked as a suspected virtual transfer mark. By marking different types of current trips, a basis can be provided for subsequent fare billing and settlement, so that the fare can be calculated using different billing methods.

[0096] S314: When a passenger is detected exiting the station, the current itinerary is matched based on the current exit station and the current entry station.

[0097] After determining the type of the current trip, when the passenger is detected exiting the station, the current trip is matched based on the current exit station and the current entry station to determine the entry (including entry time), exit (including exit time), route, ride duration, etc. of the current trip, so as to calculate the fare based on the matching results.

[0098] In one embodiment, if the type of the current trip is a virtual transfer trip and a non-virtual transfer trip, the current exit station and the current arrival station are used to match the current trip. If the type of the current trip is a suspected virtual transfer trip, it can be determined whether the previous trip has been matched. If so, the type of the current trip is modified to a virtual transfer trip, and the step of matching the current trip with the current exit station and the current arrival station is performed; if not, the passenger's transactions at the current arrival station and the current exit station are suspended, and the process returns to the step of determining whether the previous trip has been matched.

[0099] Specifically, itinerary matching can be carried out in real time or delayed matching. In real-time matching, if the current itinerary is marked as non-virtual transfer or virtual transfer, itinerary matching is performed according to the existing logic. If it is marked as suspected virtual transfer, the entry and exit transactions of the current itinerary are suspended and not matched temporarily. After the matching of the previous itinerary is completed, the current itinerary is finally matched.

[0100] Delayed matching is because it is necessary to determine whether the current trip is a virtual transfer based on the exit of the previous trip. Therefore, during delayed matching, it is necessary to match the transactions of the trip one by one in the order of the transaction time of the trip. During delayed matching, if it is a suspected virtual transfer, it is necessary to find the exit of the previous trip to determine whether the conditions for virtual transfer are met. If the conditions for virtual transfer are met, the virtual transfer mark will be changed to a virtual transfer mark, otherwise it will be changed to a non-virtual transfer mark.

[0101] S315. When the current itinerary is successfully matched, the fare of the current itinerary is calculated according to the type of the current itinerary.

[0102] Specifically, if the type of the current trip is a non-virtual transfer trip, the fare for the current trip is calculated with the current entry station as the starting point and the current exit station as the end point. For details, reference can be made to the fare calculation method for independent trips in the prior art, and the calculation method of the basic fare plus overtime fee between two stations.

[0103] If the current trip is a virtual transfer trip, it can be determined whether the passenger's payment method is prepaid. If so, determine that the fare of the current trip is 0. If not, calculate the connecting fare from the previous entry station in the itinerary record of the previous trip to the current exit station of the current trip, calculate the difference between the connecting fare and the fare of the previous trip in the itinerary record of the previous trip, and determine whether the difference is greater than 0. If so, when the current trip has not timed out or the overtime fee has been calculated for the previous trip, the fare of the current trip is equal to the difference. When the current trip has timed out and the overtime fee has not been calculated for the previous trip, the fare of the current trip is equal to the sum of the difference and the overtime fee. If not, when the current trip has not timed out or the overtime fee has been calculated for the previous trip, the fare of the current trip is 0. When the current trip has timed out and the overtime fee has not been calculated for the previous trip, the fare of the current trip is equal to the overtime fee.

[0104] In order to make those skilled in the art more clear about the calculation process of the virtual transfer fare in the embodiment of the present invention, the following is combined with Figure 5 The following is an example of the calculation process of the virtual transfer fare:

[0105] like Figure 5As shown, first determine the payment method. If it is prepaid, the fare of the current trip is 0 and no deduction is made. If it is postpaid, calculate the connecting fare from the starting station (the entry station of the previous trip) to the current exit station (the exit station of the current trip), and determine whether the difference between the connecting fare and the fare of the previous trip is greater than 0. When the difference is less than or equal to 0, determine whether the current trip has timed out and whether the previous trip has timed out. If not, the fare of the current trip is 0. If so, the fare of the current trip is 0 and an overtime fee is charged. When the difference is less than 0, determine whether the current trip has timed out and whether the previous trip has timed out. If not, the fare of the current trip is 0. If so, the fare of the current trip is 0 and an overtime fee is charged.

[0106] It should be noted that for prepaid methods, such as the number of times card, when the current trip is a virtual transfer, if the number of times has been deducted for the previous trip, the number of times will no longer be deducted when the current trip exits the station. For post-payment, when the current trip is a virtual transfer, the overtime fee is calculated on one of the current trip and the previous trip. If there is a cumulative amount discount, the amount of the two trips will be accumulated for the discount.

[0107] Through the virtual transfer solution of the embodiment of the present invention, Figure 2 , dedicated transfer channels can be set up at stations A3 and B1 respectively. After passengers purchase connecting tickets at station A1, their tickets will not be collected when they exit the station at the dedicated transfer channel of station A3. After exiting station A3, passengers can go to the dedicated transfer channel of station B1 with their tickets to enter the station for transfer without having to buy new tickets, which improves the convenience of transfers.

[0108] This embodiment configures virtual transfer stations and virtual transfer parameters. When a passenger enters the station and determines that the current entry station is a virtual transfer station, the supported transfer stations, transfer duration, and exit station and exit time of the previous trip in the virtual transfer parameters of the current entry station are used to determine whether the current trip meets the virtual transfer conditions, so as to mark the current trip as a virtual transfer, a non-virtual transfer, or a suspected virtual transfer type. When the type of the current trip is a virtual transfer, the fare of the current trip can be calculated according to the virtual transfer method, so that the trip of the passenger at adjacent stations that cannot be connected within the station is determined as a virtual transfer trip, and the fare is calculated as a connecting trip with the previous trip during billing. On the one hand, two independent trips at adjacent stations that cannot be connected within the station are combined into one connecting trip for virtual transfer calculation, which is more reasonable and preferential in terms of fare, saving costs for passengers to transfer. On the other hand, for passengers who have purchased connecting trip fares, passengers can purchase a connecting trip ticket once and then enter another station for transfer after exiting the station with the ticket, without having to purchase a new ticket, making transfers more convenient.

[0109] Furthermore, by setting virtual transfer parameters including supported transfer exit stations, transfer duration, etc. for stations that support virtual transfers, it is determined whether the current trip is a virtual transfer trip based on the data of stations and transfer duration. This enables accurate and reasonable identification of whether the passenger's trip entering a station that supports transfers is a virtual trip.

[0110] Furthermore, itineraries are marked with virtual transfers, non-virtual transfers, and suspected virtual transfers to distinguish between itinerary types, providing a reference basis for fare calculation and settlement, and facilitating fare calculation and settlement business processing.

[0111] Embodiment 3

[0112] Figure 6 This is a schematic diagram of the structure of a rail transit virtual transfer device provided by the third embodiment of the present invention. Figure 6 As shown, the rail transit virtual transfer device includes:

[0113] The current station determination module 601 is used to determine the current station of the passenger when detecting the passenger entering the station;

[0114] The current entry station determination module 602 is used to determine whether the current entry station is a virtual transfer station; if so, the travel record acquisition module 604 is executed; if not, the non-virtual transfer determination module 603 is executed;

[0115] A non-virtual transfer determination module 603, configured to determine the type of the passenger's current trip as a non-virtual transfer trip;

[0116] The trip record acquisition module 604 is used to acquire the trip record of the passenger's last trip;

[0117] A virtual transfer parameter acquisition module 605 is used to acquire the virtual transfer parameters of the current incoming station;

[0118] A virtual transfer condition determination module 606 is used to determine whether the passenger's current itinerary meets the virtual transfer condition according to the itinerary record and the virtual transfer parameter, and if so, execute the virtual transfer determination module 607; if not, execute the non-virtual transfer determination module 603;

[0119] A virtual transfer determination module 607, configured to determine whether the type of the current trip is a virtual transfer trip;

[0120] The fare calculation module 608 is used to calculate the fare for the current trip according to the type of the current trip.

[0121] Optionally, the current station entry determination module 602 includes:

[0122] A first station determination unit, configured to determine whether the current incoming station is a station in a preset virtual transfer list, and if so, execute a first determination unit, and if not, execute a second determination unit;

[0123] A first determining unit, configured to determine that the current entry station is a virtual transfer station;

[0124] The second determining unit is used to determine whether the current entry station is a non-virtual transfer station.

[0125] Optionally, the travel record of the previous trip includes the previous exit station and the exit time of the passenger at the previous exit station, and the virtual transfer parameters include the transfer stations supported by the current entry station, and the transfer time between each transfer station and the current entry station;

[0126] The virtual transfer condition determination module 606 includes:

[0127] The second station determination unit is used to determine whether the last exit station is a transfer station supported by the current entry station, and if not, to execute the condition failure determination unit, and if so, to execute the time difference calculation unit;

[0128] A condition non-compliance determination unit, used to determine that the current trip does not comply with the virtual transfer condition;

[0129] A time difference calculation unit, used to calculate the time difference between the current arrival time of the passenger at the current arrival station and the departure time of the passenger at the previous departure station;

[0130] A transfer time determination unit, used to determine whether the time difference is less than the transfer time; if so, the execution condition meets the determination unit, if not, the execution condition does not meet the determination unit;

[0131] The condition compliance determination unit is used to determine whether the current trip complies with the virtual transfer condition.

[0132] Optionally, the virtual transfer condition determination module 606 further includes:

[0133] A previous trip determination unit, for determining whether the previous trip has been matched if it is determined that the current trip meets the virtual transfer condition, and if so, executing the condition match determination unit, and if not, executing the condition suspected match determination unit;

[0134] The condition suspected compliance determination unit is used to determine that the type of the current trip is a suspected virtual transfer trip.

[0135] Optionally, the fare calculation module 608 includes:

[0136] a trip matching unit, configured to match the current trip based on the current exit station and the current entry station when detecting that the passenger is exiting the station;

[0137] The fare calculation unit is used to calculate the fare for the current itinerary according to the type of the current itinerary when the current itinerary is successfully matched.

[0138] Optionally, the travel matching unit includes:

[0139] a matching subunit, configured to match the current trip by using the current exit station and the current entry station if the type of the current trip is a virtual transfer trip or a non-virtual transfer trip;

[0140] A matching judgment subunit, configured to judge whether the previous trip has been matched if the type of the current trip is a suspected virtual transfer trip, and if so, execute a type modification subunit, and if not, execute a current trip suspension subunit;

[0141] A type modification subunit, used to modify the type of the current trip into a virtual transfer trip and execute a matching subunit;

[0142] The current trip suspension subunit is used to suspend the passenger's transaction at the current entry station and the current exit station, and return to the matching judgment subunit.

[0143] Optionally, the fare calculation unit includes:

[0144] A non-virtual transfer fare calculation subunit, for calculating the fare of the current trip with the current entry station as the starting point and the current exit station as the end point if the type of the current trip is a non-virtual transfer trip;

[0145] a payment method calculation subunit, configured to, if the current trip is a virtual transfer trip, determine whether the passenger's payment method is a prepaid method, and if so, execute the first virtual transfer fare calculation subunit; if not, execute the virtual connecting fare calculation subunit;

[0146] A first virtual transfer fare calculation subunit, used to determine that the fare of the current trip is 0;

[0147] A virtual connecting fare calculation subunit, used to calculate the connecting fare from the last entry station in the trip record of the previous trip to the current exit station of the current trip;

[0148] The price difference calculation subunit is used to calculate the difference between the connecting fare and the fare of the previous trip in the trip record of the previous trip;

[0149] The price difference determination subunit is used to determine whether the difference is greater than 0; if so, execute the second virtual transfer fare calculation subunit; if not, execute the third virtual transfer fare calculation subunit;

[0150] A second virtual transfer fare calculation subunit is used to calculate the fare of the current trip equal to the difference when the current trip has not timed out or the overtime fee has been calculated for the previous trip, and to calculate the fare of the current trip equal to the sum of the difference and the overtime fee when the current trip has timed out and the overtime fee has not been calculated for the previous trip;

[0151] The third virtual transfer fare calculation subunit is used to, when the current trip has not timed out or the overtime fee has been calculated for the previous trip, the fare of the current trip is 0; when the current trip has timed out and the overtime fee has not been calculated for the previous trip, the fare of the current trip is equal to the overtime fee.

[0152] The rail transit virtual transfer device provided in the embodiment of the present invention can execute the rail transit virtual transfer method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0153] Embodiment 4

[0154] Figure 7 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0155] like Figure 7As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0156] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0157] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the rail transit virtual transfer method.

[0158] In some embodiments, the rail transit virtual transfer method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the rail transit virtual transfer method described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to execute the rail transit virtual transfer method in any other appropriate manner (for example, by means of firmware).

[0159] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0160] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0161] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0162] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0163] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0164] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0165] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0166] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A rail transit virtual transfer method, characterized in that: include: When detecting that a passenger is entering a station, determining the current station of the passenger; Determine whether the current entry station is a virtual transfer station; If not, determining the type of the passenger's current trip as a non-virtual transfer trip; If yes, obtain the passenger's previous trip record; Obtaining virtual transfer parameters of the current incoming station; Determining whether the passenger's current itinerary meets the virtual transfer condition according to the itinerary record and the virtual transfer parameter; If yes, determining that the type of the current trip is a virtual transfer trip; If not, executing the step of determining the type of the passenger's current trip as a non-virtual transfer trip; A fare is calculated for the current itinerary according to the type of the current itinerary.

2. The rail transit virtual transfer method according to claim 1, characterized in that: Determining whether the current entry station is a virtual transfer station includes: Determine whether the current entry station is a station in a preset virtual transfer list; If so, determining that the current entry station is a virtual transfer station, and executing the step of obtaining the travel record of the passenger's previous trip; If not, it is determined that the current entry station is a non-virtual transfer station, and the step of determining the type of the passenger's current trip as a non-virtual transfer trip is performed.

3. The rail transit virtual transfer method according to claim 1, characterized in that: The travel record of the previous trip includes the previous exit station and the exit time of the passenger at the previous exit station, and the virtual transfer parameters include the transfer stations supported by the current entry station and the transfer time between each transfer station and the current entry station; The determining, according to the travel record and the virtual transfer parameter, whether the passenger's current travel meets the virtual transfer condition includes: Determine whether the previous exit station is a transfer station supported by the current entry station; If not, determining that the current trip does not meet the virtual transfer conditions; If yes, calculate the time difference between the current arrival time of the passenger at the current arrival station and the departure time of the passenger at the last departure station; Determining whether the time difference is less than the transfer time; If so, determining that the current trip meets the virtual transfer condition; If not, determine that the current trip does not meet the virtual transfer condition.

4. The rail transit virtual transfer method according to any one of claims 1 to 3, characterized in that: Before determining that the type of the current trip is a virtual transfer trip, the method further includes: If it is determined that the current trip meets the virtual transfer condition, determining whether the previous trip has been matched; If yes, executing the step of determining that the type of the current trip is a virtual transfer trip; If not, it is determined that the type of the current trip is a suspected virtual transfer trip.

5. The rail transit virtual transfer method according to claim 4, characterized in that: Calculating a fare for the current itinerary according to the type of the current itinerary, including: When the passenger is detected leaving the station, matching the current itinerary based on the current exit station and the current entry station; When the current itinerary is successfully matched, the fare for the current itinerary is calculated according to the type of the current itinerary.

6. The rail transit virtual transfer method according to claim 5, characterized in that: When the passenger is detected to be leaving the station, the current itinerary is matched based on the current exit station and the current entry station, including: If the type of the current trip is a virtual transfer trip or a non-virtual transfer trip, the current exit station and the current entry station are used to match the current trip; If the type of the current trip is a suspected virtual transfer trip, determining whether the previous trip has been matched; If yes, modify the type of the current trip to a virtual transfer trip, and perform the step of matching the current trip with the current exit station and the current entry station; If not, the passenger's transactions at the current entry station and the current exit station are suspended, and the process returns to the step of determining whether the previous trip has been matched.

7. The rail transit virtual transfer method according to claim 5, characterized in that: When the current itinerary is successfully matched, the fare of the current itinerary is calculated according to the type of the current itinerary, including: If the type of the current trip is a non-virtual transfer trip, the fare of the current trip is calculated with the current entry station as the starting point and the current exit station as the end point; If the current trip is a virtual transfer trip, determining whether the payment method of the passenger is a prepaid method; If yes, determine that the fare for the current trip is 0; If not, calculate the connecting fare from the last inbound station in the trip record of the previous trip to the current outbound station of the current trip; Calculate the difference between the connecting fare and the fare of the previous trip in the trip record of the previous trip; Determine whether the difference is greater than 0; If yes, when the current trip has not exceeded the time limit or the overtime fee has been calculated for the previous trip, the fare for the current trip is equal to the difference; when the current trip has exceeded the time limit and the overtime fee has not been calculated for the previous trip, the fare for the current trip is equal to the sum of the difference and the overtime fee; If not, when the current trip has not timed out or the overtime fee has been calculated for the previous trip, the fare for the current trip is 0; when the current trip has timed out and the overtime fee has not been calculated for the previous trip, the fare for the current trip is equal to the overtime fee.

8. A rail transit virtual transfer device, characterized in that: include: A current station determination module, for determining the current station of the passenger when detecting the passenger entering the station; A current entry station determination module is used to determine whether the current entry station is a virtual transfer station; If yes, the trip record acquisition module is executed; if no, the non-virtual transfer determination module is executed; A non-virtual transfer determination module, configured to determine the type of the passenger's current trip as a non-virtual transfer trip; A trip record acquisition module, used to acquire the trip record of the passenger's previous trip; A virtual transfer parameter acquisition module, used to acquire the virtual transfer parameters of the current incoming station; A virtual transfer condition judgment module, used to judge whether the passenger's current itinerary meets the virtual transfer condition according to the itinerary record and the virtual transfer parameter, and if so, execute the virtual transfer determination module; if not, execute the non-virtual transfer determination module; A virtual transfer determination module, used to determine that the type of the current trip is a virtual transfer trip; The fare calculation module is used to calculate the fare for the current trip according to the type of the current trip.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the rail transit virtual transfer method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the rail transit virtual transfer method according to any one of claims 1 to 7 when executed.

Citation Information

Cited By

  • Rail transit virtual transfer AFC data processing method and system

    CN122529405A

  • Rail transit virtual transfer AFC data processing method and system

    CN122529405B