CN114638603A - Rail transit ticket business charging method and system - Google Patents

Rail transit ticket business charging method and system Download PDF

Info

Publication number
CN114638603A
CN114638603A CN202210140489.7A CN202210140489A CN114638603A CN 114638603 A CN114638603 A CN 114638603A CN 202210140489 A CN202210140489 A CN 202210140489A CN 114638603 A CN114638603 A CN 114638603A
Authority
CN
China
Prior art keywords
station
commuting
line
identification
calculating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210140489.7A
Other languages
Chinese (zh)
Inventor
田沃
孙嵘
魏宏伟
董伟峻
许庆
苏斌
宋扬
姜志威
汪吉健
程潮刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Railway Engineering Consulting Group Co Ltd
Original Assignee
China Railway Engineering Consulting Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway Engineering Consulting Group Co Ltd filed Critical China Railway Engineering Consulting Group Co Ltd
Priority to CN202210140489.7A priority Critical patent/CN114638603A/en
Publication of CN114638603A publication Critical patent/CN114638603A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/352Contactless payments by cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)

Abstract

The invention relates to the technical field of ticket business charging, in particular to a rail transit ticket business charging method and a rail transit ticket business charging system, wherein the method comprises the following steps: the method comprises the steps of obtaining passenger data, wherein the passenger data comprises a user number and line data, the line data is information reflecting an intercity commuting path and an urban commuting path of a passenger, the user balance is balance on a user terminal, calculating to obtain current balance according to the line data and the user balance, and sending the current balance to the user terminal corresponding to the user number.

Description

Rail transit ticket business charging method and system
Technical Field
The invention relates to the technical field of ticket business charging, in particular to a rail transit ticket business charging method and a rail transit ticket business charging system.
Background
At present, most of transfer schemes between intercity railways and urban rail transit have barrier transfer, namely, the passenger transfer lines are identified and fare calculation is realized by swiping tickets for multiple times through a gate in transfer areas with different charging standards. The obstacle transfer scheme increases the inconvenience of passengers, increases the difficulty of station building layout and has the hidden trouble of jam in rush hours.
Disclosure of Invention
The invention aims to provide a rail transit ticket business charging method, a device, equipment and a readable storage medium, so as to improve the problems.
In order to achieve the above object, the embodiments of the present application provide the following technical solutions:
in one aspect, an embodiment of the present application provides a method for charging a rail transit ticket service, where the method includes: acquiring passenger data, wherein the passenger data comprises a user number and line data, the line data is information reflecting an intercity commuting path and an urban commuting path of a passenger, and the balance of the user is the balance on a user terminal; and calculating to obtain the current cost according to the line data.
Preferably, the calculating the current cost according to the line data includes:
calling the line data, wherein the line data comprises a first station serial number, a second station serial number and a third station serial number, the first station serial number is a passenger inbound station serial number, the second station serial number is a passenger transfer station serial number, and the third serial number is a passenger outbound station serial number;
calculating to obtain a first commuting expense according to the first station number and the second station number;
calculating to obtain a second attendance fee according to the second station number and the third station number;
and calculating to obtain the current cost according to the first commuting cost and the second commuting cost.
Preferably, the calculating a first commute fee according to the first station number and the second station number includes:
calling a first station number and a second station number, and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one intercity commuting line;
and identifying the station type corresponding to the first station number, if the station type corresponding to the first station number is the intercity station type, calculating to obtain the first commuting expense according to the first line price comparison table, and if the station type corresponding to the first station number is the city station type, calculating to obtain the first commuting expense according to the second line price comparison table.
Preferably, the calculating the second attendance fee according to the second site number and the third site number includes:
calling a second station number and a third station number, and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one intercity commuting line;
and identifying the station type corresponding to the third station number, if the station type corresponding to the third station number is an intercity station type, calculating to obtain the second commuting expense according to the first line price comparison table, and if the station type corresponding to the third station number is an urban station type, calculating to obtain the second commuting expense according to the second line price comparison table.
Preferably, after the line data is called, the method further includes:
extracting three station identification data in the line data, wherein the station identification data comprises a station number and identification time;
and sequencing the site numbers according to the morning and evening of the identification time, recording the site number corresponding to the first sequence number as a first site number, recording the site number corresponding to the second sequence number as a second site number, and recording the site number corresponding to the third sequence number as a third site number.
Preferably, after the calculating the current cost according to the line data, the method further includes:
calling the line data, wherein the line data comprises at least two station identification data, and the station identification data comprises a station number and identification time;
finding a first identification time and a second identification time in the plurality of identification times, wherein the first identification time is the earliest one of the identification times, and the second identification time is the latest one of the identification times;
calculating the commute time according to the first identification time and the second identification time;
and sending the commute time to a user terminal corresponding to the user number.
In a second aspect, an embodiment of the present application provides a rail transit ticketing charging system, where the system includes: the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring passenger data, the passenger data comprises a user number and line data, and the line data is information reflecting an intercity commuting path and an urban commuting path of a passenger;
and the calculation module is used for calculating to obtain the current cost according to the line data.
Preferably, the calculation module includes:
the first calling unit is used for calling the line data and the user balance, the line data comprises a first station serial number, a second station serial number and a third station serial number, the first station serial number is a passenger inbound station serial number, the second station serial number is a passenger transfer station serial number, and the third serial number is a passenger outbound station serial number;
the first calculating unit is used for calculating to obtain a first commute expense according to the first station number and the second station number;
the second calculating unit is used for calculating to obtain a second attendance charge according to the second station number and the third station number;
and the third calculating unit is used for calculating the current cost according to the first commuting cost and the second commuting cost.
Preferably, the first calculation unit includes:
the second calling unit is used for calling the first station number and the second station number and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one urban commuting line;
the first identification unit is used for identifying the station type corresponding to the first station number, if the station type corresponding to the first station number is the intercity station type, the first commuting expense is obtained through calculation according to the first line price comparison table, and if the station type corresponding to the first station number is the city station type, the first commuting expense is obtained through calculation according to the second line price comparison table.
Preferably, the second calculation unit includes:
the third calling unit is used for calling the second site number and the third site number and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one urban commuting line;
and the second identification unit is used for identifying the station type corresponding to the third station number, calculating the second commuting expense according to the first line price comparison table if the station type corresponding to the third station number is the intercity station type, and calculating the second commuting expense according to the second line price comparison table if the station type corresponding to the third station number is the city station type.
Preferably, the first retrieving unit further includes:
a fourth retrieving unit, configured to extract three site identification data in the line data, where the site identification data includes a site number and an identification time;
and the fourth calculating unit is used for sequencing the station numbers according to the morning and evening of the identification time, recording the station number corresponding to the first sequence number as a first station number, recording the station number corresponding to the second sequence number as a second station number, and recording the station number corresponding to the third sequence number as a third station number.
Preferably, the calculation module further includes:
a fifth retrieving unit, configured to retrieve the line data, where the line data includes at least two station identification data, and the station identification data includes a station number and an identification time;
a fifth calculating unit, configured to find a first identification time and a second identification time from the plurality of identification times, where the first identification time is the earliest one of the identification times, and the second identification time is the latest one of the identification times;
the sixth calculating unit is used for calculating the commute time according to the first identification time and the second identification time;
and the first sending unit is used for sending the commuting time to the user terminal corresponding to the user number.
In a second aspect, an embodiment of the present application provides a rail transit ticketing service charging system, where the system includes:
in a third aspect, an embodiment of the present application provides a rail transit ticketing apparatus, which includes a memory and a processor. The memory is used for storing a computer program; the processor is used for realizing the steps of the rail transit ticket business charging method when executing the computer program.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above rail transit ticket service charging method.
The invention has the beneficial effects that:
the invention accurately divides the charging standard of the passenger route section and accurately calculates the fare by receiving the passenger data sent by the passenger terminal when the passenger terminal is out of the station, thereby effectively solving the problem that the fare cannot be cleared due to the non-uniformity of subway fare charging and intercity fare charging.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic flow chart of a method for charging a ticket service for rail transit according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a rail transit ticket service charging system according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a rail transit ticket service charging device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers or letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
As shown in fig. 1, the present embodiment provides a method for charging a ticket service for rail transit, which includes step S1 and step S2.
S1, acquiring passenger data, wherein the passenger data comprises a user number and line data, and the line data is information reflecting an intercity commuting path and an urban commuting path of a passenger;
and S2, calculating to obtain the current cost according to the line data.
In this embodiment, the passenger data is data obtained by identifying a passenger bill when the passenger leaves the station and passes through a gate arranged at the exit, and preferably, a reader/writer of the existing ticketing system only has the capability of reading and writing a conventional 13.56MHz IC card. In order to read and write data in an ultrahigh frequency chip in a dual-frequency ticket card, an antenna, a radio frequency circuit and the like are added in the conventional card reader, and ticket card processing logic is upgraded, wherein the processing logic can be a charging method disclosed in the embodiment;
the bill can be a traditional ticket card, a two-dimensional code bar code on a mobile phone and the like;
preferably, the traditional ticket card is a dual-frequency ticket card, and an ultrahigh frequency RFID function is supplemented on a non-contact IC card of the existing ticketing system. The method is realized by packaging an ultrahigh frequency chip, an ultrahigh frequency antenna and the like when the conventional card is manufactured. The ultrahigh frequency RFID has the working frequency of 900MHz, the card reading distance can reach 10m, and non-inductive information can be realized. In addition, the mobile phone terminal using the mobile phone NFC payment function can be regarded as one of the dual-frequency ticket cards because of having the communication capabilities of two frequency bands of NFC near field communication and civil communication (4G/5G).
The two-dimensional code bar code on the mobile phone can be understood as a virtual ticket card, along with the internet ticket buying, the two-dimensional code of the mobile phone enters and exits the station and is popularized in urban rails, and the proportion of passengers who use the mobile phone APP to scan the code and enter and exit the station continuously rises. The virtual ticket card of the mobile phone is mainly realized through a special APP. The passenger sweeps the sign indicating number through the cell-phone of installing special APP and gets into the station, and during the passenger took a bus, gathers the position data of its cell-phone, can realize tracing the transfer route of this type of passenger. The position data acquisition approach comprises the steps that the APP reads a mobile phone positioning information bit, acquires mobile phone signaling, sniffs a specific mobile phone WIFI/Bluetooth MAC address at a specific position and the like. The special APP should have a mobile phone position automatic acquisition function and a mobile phone WIFI/Bluetooth MAC address reading and uploading function, and when the Bluetooth MAC address is read, the mobile phone Bluetooth should be set to a simulated BLE Peripheral (Peripheral) mode and broadcast is started.
Secondly, in order to realize the barrier-free marking of the transfer station information on the passenger ticket card, a special data acquisition device is required to be installed at a proper position on a transfer path, and the device mainly has two functions. Firstly, the information of the double-frequency card carried by the passenger can be effectively read and the remote information can be written, and the written content is the related mark information of the transfer station. Second, can sniff the WIFI bluetooth signal that corresponds with specific identity and discern, realize the trail of the specific passenger who passes through in its coverage.
Secondly, when the passenger takes the dual-frequency ticket card out of the station and swipes the card, the reader-writer of the gate machine at the out of the station can combine the label information of the transfer station in the ultrahigh frequency RFID card to accurately calculate the deduction amount. On the other hand, the data acquisition device can upload data to the central clearing system for accurately counting the transfer passenger flow among lines and providing a basis for accurately charging the virtual ticket fare price of the mobile phone.
After the gate acquires the passenger data, the gate sends the passenger data to a system, the system decompresses the passenger data to obtain a user number and line data, and the line data reflects an intercity commuting path and an urban commuting path of a passenger;
the line data may be a first site number, a second site number, and a third site number, where the first site number is a passenger inbound site number, the second site number is a passenger transfer site number, and the third site number is a passenger outbound site number, and it should be noted that: the serial number of the passenger transfer site can be obtained in a non-barrier mode, namely, the serial number is acquired when the commute of the passenger is not influenced at all, namely, the passenger does not need to show a corresponding ticket card at the passenger transfer site, but directly passes through the station without barriers, and the intercity commuting expense and the city commuting expense are deducted together when the station is out;
after the system acquires the first station number, the second station number and the third station number in the line data, firstly calling the first station number, identifying the station type corresponding to the first station number, judging whether the station type is a subway station (an urban station) or a railway station (an intercity station), if the station type corresponding to the first station number is the subway station, charging according to the commuting price of an urban commuting line, and if the station type corresponding to the first station number is the railway station, charging according to the commuting expense of the intercity commuting line, so as to obtain a first commuting expense, wherein the first commuting expense is the expense of a passenger from an entry point to a transfer point; similarly, a second commuting expense is calculated by detecting the type of the serial number of the third station, wherein the second commuting expense is the commuting expense of the passengers from the transfer point to the station of leaving the station;
and summing the first commute expense and the second commute expense to obtain the current expense.
The invention accurately divides the charging standard of the passenger route section and accurately calculates the fare by receiving the passenger data sent by the passenger terminal when the passenger terminal is out of the station, thereby effectively solving the problem that the fare cannot be cleared due to the non-uniformity of subway fare charging and intercity fare charging.
In a specific embodiment of the present disclosure, the calculating, according to the line data, a current balance includes:
calling the line data, wherein the line data comprises a first station serial number, a second station serial number and a third station serial number, the first station serial number is a passenger inbound station serial number, the second station serial number is a passenger transfer station serial number, and the third serial number is a passenger outbound station serial number;
calculating to obtain a first commuting expense according to the first station number and the second station number;
calculating to obtain a second attendance charge according to the second station number and the third station number;
and calculating to obtain the current cost according to the first commuting cost and the second commuting cost.
The first station serial number is a passenger inbound station serial number, the second station serial number is a passenger transfer station serial number, and the third serial number is a passenger outbound station serial number, and it should be noted that: the serial number of the passenger transfer station can be obtained in a non-barrier manner, namely the serial number is collected when the commute of the passenger is not influenced at all, namely the passenger does not need to show a corresponding ticket card at the passenger transfer station but directly passes through the station without a barrier, and the intercity commute expense and the city commute expense are deducted together when the station is out;
after the system acquires the first station number, the second station number and the third station number in the line data, firstly calling the first station number, identifying the station type corresponding to the first station number, judging whether the station type is a subway station (an urban station) or a railway station (an intercity station), if the station type corresponding to the first station number is the subway station, charging according to the commuting price of an urban commuting line, and if the station type corresponding to the first station number is the railway station, charging according to the commuting expense of the intercity commuting line, so as to obtain a first commuting expense, wherein the first commuting expense is the expense of a passenger from an entry point to a transfer point; and similarly, calculating to obtain second commuting cost by detecting the type of the serial number of the third station, wherein the second commuting cost is the commuting cost of the passenger from the transfer point to the station of the passenger.
It is understood that, in some other embodiments, there may be more second sites, that is, transfer points, and the calculation method is the same as above, which is not described in this application.
In a specific embodiment of the present disclosure, the calculating a first commute cost according to the first site number and the second site number includes:
calling a first station number and a second station number, and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one intercity commuting line;
and identifying the station type corresponding to the first station number, if the station type corresponding to the first station number is the intercity station type, calculating to obtain the first commuting expense according to the first line price comparison table, and if the station type corresponding to the first station number is the city station type, calculating to obtain the first commuting expense according to the second line price comparison table.
The system firstly calls a first station number after acquiring the first station number, the second station number and the third station number in the line data, identifies the station type corresponding to the first station number, judges whether the station type is a subway station (an urban station) or a railway station (an intercity station), if the station type corresponding to the first station number is the subway station, charges according to the commuting price of the urban commuting line, and if the station type corresponding to the first station number is the railway station, charges according to the commuting expense of the intercity commuting line, and then reaches a first commuting expense, wherein the first commuting expense is the expense of passengers from an entry point to a transfer point.
In a specific embodiment of the present disclosure, the calculating, according to the second site number and the third site number, a second attendance fee includes:
calling a second station number and a third station number, and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one intercity commuting line;
and identifying the station type corresponding to the third station number, if the station type corresponding to the third station number is an intercity station type, calculating to obtain the second commuting expense according to the first line price comparison table, and if the station type corresponding to the third station number is an urban station type, calculating to obtain the second commuting expense according to the second line price comparison table.
As with the above principle of obtaining the first commute charge, in this embodiment, different charging criteria are obtained by detecting the type of the third site, and the second commute charge is calculated according to the charging criteria.
In a specific embodiment of the present disclosure, after the retrieving the line data, the method further includes:
extracting three station identification data in the line data, wherein the station identification data comprises a station number and identification time;
and sequencing the site numbers according to the morning and evening of the identification time, recording the site number corresponding to the first sequence number as a first site number, recording the site number corresponding to the second sequence number as a second site number, and recording the site number corresponding to the third sequence number as a third site number.
In this embodiment, by comparing the identification time of each station number, the serial number of each station number is determined according to the morning and evening of the identification time, and then the station where the passenger enters, transfers, and leaves is determined.
In a specific embodiment of the present disclosure, after calculating the current cost according to the line data, the method further includes:
calling the line data, wherein the line data comprises at least two station identification data, and the station identification data comprises a station number and identification time;
finding a first identification time and a second identification time in the plurality of identification times, wherein the first identification time is the earliest one of the identification times, and the second identification time is the latest one of the identification times;
calculating the commuting time according to the first identification time and the second identification time;
and sending the commute time to a user terminal corresponding to the user number.
Example 2
As shown in fig. 2, the present embodiment provides a rail transit ticket service billing system, which includes:
an obtaining module 71, configured to obtain passenger data, where the passenger data includes a user number and line data, and the line data is information reflecting an inter-city commuting path and an intra-city commuting path of a passenger;
and the calculating module 72 is configured to calculate the current cost according to the line data.
And summing the first commute expense and the second commute expense to obtain the current expense.
In a specific embodiment of the present disclosure, the calculating module 72 includes:
a first invoking unit 721, configured to invoke the line data, where the line data includes a first site number, a second site number, and a third site number, the first site number is a passenger inbound site number, the second site number is a passenger transfer site number, and the third site number is a passenger outbound site number;
the first calculating unit 722 is configured to calculate a first commute cost according to the first site number and the second site number;
the second calculating unit 723 is configured to calculate a second commute charge according to the second station number and the third station number;
a third calculating unit 724, configured to calculate the current cost according to the first commute cost and the second commute cost.
In a specific embodiment of the present disclosure, the first calculating unit 722 includes:
a second retrieving unit 7221, configured to retrieve a first site number and a second site number, and obtain a first line price comparison table and a second line price comparison table, where the first line price comparison table includes the commuting cost of at least one intercity commuting line, and the second line price comparison table includes the commuting price of at least one urban commuting line;
a first identification unit 7222, configured to identify the station type corresponding to the first site number, if the station type corresponding to the first site number is an intercity site type, calculate the first commute fee according to the first line price comparison table, and if the station type corresponding to the first site number is an urban site type, calculate the first commute fee according to the second line price comparison table.
In a specific embodiment of the present disclosure, the second calculating unit 723 includes:
a third retrieving unit 7231, configured to retrieve the second site number and the third site number, and obtain a first line price comparison table and a second line price comparison table, where the first line price comparison table includes the commuting cost of at least one inter-city commuting line, and the second line price comparison table includes the commuting price of at least one intra-city commuting line;
a second identifying unit 7232, configured to identify the station type corresponding to the third station number, if the station type corresponding to the third station number is an intercity station type, calculate the second commute fee according to the first line price comparison table, and if the station type corresponding to the third station number is an urban station type, calculate the second commute fee according to the second line price comparison table.
In a specific embodiment of the present disclosure, the first retrieving unit 721 further includes:
a fourth retrieving unit 7211, configured to extract three station identification data in the line data, where the station identification data includes a station number and an identification time;
a fourth calculating unit 7212, configured to sort the station numbers according to the morning and evening of the identification time, record the station number corresponding to the first sequence number as the first station number, record the station number corresponding to the second sequence number as the second station number, and record the station number corresponding to the third sequence number as the third station number.
In a specific embodiment of the present disclosure, the calculating module 72 further includes:
a fifth retrieving unit 725, configured to retrieve the line data, where the line data includes at least two station identification data, and the station identification data includes a station number and an identification time;
a fifth calculating unit 726, configured to find a first identification time and a second identification time among the plurality of identification times, where the first identification time is the earliest one of the identification times, and the second identification time is the latest one of the identification times;
a sixth calculating unit 727, configured to calculate a commute time according to the first identification time and the second identification time;
a first sending unit 728, configured to send the commute time to the user terminal corresponding to the user number.
Example 3
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides a rail transit ticket service charging device, and a rail transit ticket service charging device described below and a rail transit ticket service charging method described above may be referred to in a corresponding manner.
Fig. 3 is a block diagram illustrating a rail transit ticketing apparatus 800 according to an exemplary embodiment. As shown in fig. 3, the electronic device 800 may include: a processor 801, a memory 802. The electronic device 800 may also include one or more of a multimedia component 803, an input/output (I/O) interface 804, and a communications component 805.
The processor 801 is configured to control the overall operation of the electronic device 800, so as to complete all or part of the steps in the rail transit ticket charging method. The memory 802 is used to store various types of data to support operation at the electronic device 800, such as instructions for any application or method operating on the electronic device 800 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and so forth. The Memory 802 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk. The multimedia components 803 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 802 or transmitted through the communication component 805. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 804 provides an interface between the processor 801 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 805 is used for wired or wireless communication between the electronic device 800 and other devices. Wireless communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, or 4G, or a combination of one or more of them, so that the corresponding communication component 805 may include: Wi-Fi module, bluetooth module, NFC module.
In an exemplary embodiment, the electronic Device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described rail transit ticket billing method.
In another exemplary embodiment, a computer readable storage medium including program instructions which, when executed by a processor, implement the steps of the rail transit ticket billing method described above is also provided. For example, the computer readable storage medium may be the memory 802 described above that includes program instructions executable by the processor 801 of the electronic device 800 to perform the rail transit ticket billing method described above.
Example 4
Corresponding to the above method embodiment, the disclosed embodiment also provides a readable storage medium, and a readable storage medium described below and a rail transit ticket service charging method described above may be referred to correspondingly.
A readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the rail transit ticket charging method of the above-mentioned method embodiment.
The readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various other readable storage media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A rail transit ticket business charging method is characterized by comprising the following steps:
acquiring passenger data, wherein the passenger data comprises a user number and line data, and the line data is information reflecting an intercity commuting path and an urban commuting path of a passenger;
and calculating to obtain the current cost according to the line data.
2. The rail transit ticketing method of claim 1, wherein said calculating a current fee from said route data comprises:
calling the line data, wherein the line data comprises a first station serial number, a second station serial number and a third station serial number, the first station serial number is a passenger inbound station serial number, the second station serial number is a passenger transfer station serial number, and the third serial number is a passenger outbound station serial number;
calculating to obtain a first commuting expense according to the first station number and the second station number;
calculating to obtain a second attendance charge according to the second station number and the third station number;
and calculating to obtain the current cost according to the first commuting cost and the second commuting cost.
3. The rail transit ticketing method of claim 2, wherein said calculating a first commute fee from said first and second site numbers comprises:
calling a first station number and a second station number, and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one intercity commuting line;
and identifying the station type corresponding to the first station number, if the station type corresponding to the first station number is the intercity station type, calculating to obtain the first commuting expense according to the first line price comparison table, and if the station type corresponding to the first station number is the city station type, calculating to obtain the first commuting expense according to the second line price comparison table.
4. The rail transit ticketing method of claim 2, after said retrieving said line data, further comprising:
extracting three station identification data in the line data, wherein the station identification data comprises a station number and identification time;
and sequencing the site numbers according to the morning and evening of the identification time, recording the site number corresponding to the first sequence number as a first site number, recording the site number corresponding to the second sequence number as a second site number, and recording the site number corresponding to the third sequence number as a third site number.
5. The method for billing a ticket to a rail transit service according to claim 1, wherein the calculating the current fee according to the line data further comprises:
calling the line data, wherein the line data comprises at least two station identification data, and the station identification data comprises a station number and identification time;
finding a first identification time and a second identification time in the plurality of identification times, wherein the first identification time is the earliest one of the identification times, and the second identification time is the latest one of the identification times;
calculating the commute time according to the first identification time and the second identification time;
and sending the commute time to a user terminal corresponding to the user number.
6. A rail transit ticketing system, comprising:
the system comprises an acquisition module, a display module and a management module, wherein the acquisition module is used for acquiring passenger data, the passenger data comprises a user number and line data, and the line data is information reflecting an intercity commuting path and an urban commuting path of a passenger;
and the calculation module is used for calculating to obtain the current cost according to the line data.
7. The system for billing a ticket service for a rail transit vehicle as claimed in claim 6, wherein the calculation module comprises:
the first calling unit is used for calling the line data, the line data comprises a first station serial number, a second station serial number and a third station serial number, the first station serial number is a passenger inbound station serial number, the second station serial number is a passenger transfer station serial number, and the third serial number is a passenger outbound station serial number;
the first calculating unit is used for calculating to obtain first commuting cost according to the first station number and the second station number;
the second calculating unit is used for calculating to obtain a second attendance charge according to the second station number and the third station number;
and the third calculating unit is used for calculating the current cost according to the first commuting cost and the second commuting cost.
8. The rail transit ticket service charging system of claim 7, wherein the first computing unit comprises:
the second calling unit is used for calling the first station number and the second station number and acquiring a first line price comparison table and a second line price comparison table, wherein the first line price comparison table comprises the commuting cost of at least one intercity commuting line, and the second line price comparison table comprises the commuting price of at least one urban commuting line;
the first identification unit is used for identifying the station type corresponding to the first station number, if the station type corresponding to the first station number is the intercity station type, the first commuting expense is obtained through calculation according to the first line price comparison table, and if the station type corresponding to the first station number is the city station type, the first commuting expense is obtained through calculation according to the second line price comparison table.
9. A rail transit ticketing system as claimed in claim 7, wherein said first retrieving unit further comprises:
a fourth retrieving unit, configured to extract three site identification data in the line data, where the site identification data includes a site number and an identification time;
and the fourth calculating unit is used for sequencing the station numbers according to the morning and evening of the identification time, recording the station number corresponding to the first sequence number as a first station number, recording the station number corresponding to the second sequence number as a second station number, and recording the station number corresponding to the third sequence number as a third station number.
10. The system according to claim 6, wherein the computing module further comprises:
a fifth calling unit, configured to call the line data, where the line data includes at least two station identification data, and the station identification data includes a station number and identification time;
a fifth calculating unit, configured to find a first identification time and a second identification time from the plurality of identification times, where the first identification time is the earliest one of the identification times, and the second identification time is the latest one of the identification times;
the sixth calculating unit is used for calculating the commute time according to the first identification time and the second identification time;
and the first sending unit is used for sending the commute time to the user terminal corresponding to the user number.
CN202210140489.7A 2022-02-16 2022-02-16 Rail transit ticket business charging method and system Pending CN114638603A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210140489.7A CN114638603A (en) 2022-02-16 2022-02-16 Rail transit ticket business charging method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210140489.7A CN114638603A (en) 2022-02-16 2022-02-16 Rail transit ticket business charging method and system

Publications (1)

Publication Number Publication Date
CN114638603A true CN114638603A (en) 2022-06-17

Family

ID=81945649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210140489.7A Pending CN114638603A (en) 2022-02-16 2022-02-16 Rail transit ticket business charging method and system

Country Status (1)

Country Link
CN (1) CN114638603A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116167787A (en) * 2023-04-25 2023-05-26 深圳市深圳通有限公司 Rail transit sorting system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201590099U (en) * 2010-02-25 2010-09-22 张星 Double-frequency non-contact IC card for passenger flow investigation of rail transportation
CN103186926A (en) * 2011-12-27 2013-07-03 王筱雨 Method and system for automatic segmented charging for taking bus
CN104331964A (en) * 2014-10-29 2015-02-04 深圳先进技术研究院 Method and system for calculating entry time and transfer time of subway based on data of smart card
CN106203785A (en) * 2016-06-29 2016-12-07 中铁第四勘察设计院集团有限公司 A kind of Rail Transit AFC System that city value machine system is set and method
CN106203783A (en) * 2016-06-29 2016-12-07 中铁第四勘察设计院集团有限公司 A kind of airport value machine system and method for track traffic station
CN106408058A (en) * 2016-11-22 2017-02-15 深圳大学 Rail transit network passenger flow tracking system
CN213638225U (en) * 2020-11-30 2021-07-06 南京信息工程大学 Low-power consumption WIFI sniffer
CN113470195A (en) * 2021-06-29 2021-10-01 唐堃 Electronic passenger ticket checking system and method based on station-car interaction network
CN113870443A (en) * 2021-09-03 2021-12-31 南京熊猫电子股份有限公司 Charging method for realizing barrier-free transfer of AFC system between cities

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201590099U (en) * 2010-02-25 2010-09-22 张星 Double-frequency non-contact IC card for passenger flow investigation of rail transportation
CN103186926A (en) * 2011-12-27 2013-07-03 王筱雨 Method and system for automatic segmented charging for taking bus
CN104331964A (en) * 2014-10-29 2015-02-04 深圳先进技术研究院 Method and system for calculating entry time and transfer time of subway based on data of smart card
CN106203785A (en) * 2016-06-29 2016-12-07 中铁第四勘察设计院集团有限公司 A kind of Rail Transit AFC System that city value machine system is set and method
CN106203783A (en) * 2016-06-29 2016-12-07 中铁第四勘察设计院集团有限公司 A kind of airport value machine system and method for track traffic station
CN106408058A (en) * 2016-11-22 2017-02-15 深圳大学 Rail transit network passenger flow tracking system
CN213638225U (en) * 2020-11-30 2021-07-06 南京信息工程大学 Low-power consumption WIFI sniffer
CN113470195A (en) * 2021-06-29 2021-10-01 唐堃 Electronic passenger ticket checking system and method based on station-car interaction network
CN113870443A (en) * 2021-09-03 2021-12-31 南京熊猫电子股份有限公司 Charging method for realizing barrier-free transfer of AFC system between cities

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙嵘: "深惠城际铁路公交化运营客票票制研究", 《铁道标准设计》, vol. 67, no. 3, 18 May 2022 (2022-05-18) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116167787A (en) * 2023-04-25 2023-05-26 深圳市深圳通有限公司 Rail transit sorting system and method

Similar Documents

Publication Publication Date Title
US8477034B2 (en) Information providing system and information providing method
CN102750746A (en) Parking lot management method and system based on subscriber identity module (SIM)-radio frequency identification (RFID) card in mobile phone
KR101078776B1 (en) Intelligent Taxi Information System
EP1517255A1 (en) Settlement information notification service server and settlement information notification method
CN109242471A (en) Page jump, bar code method of payment, device and equipment in
CN104680647A (en) Card swiping management device, system and method
CN105472551A (en) Multimedia information providing method, device and system
CN114638603A (en) Rail transit ticket business charging method and system
JPH1116011A (en) Method for reporting entrance/exit gate passage information with respect to ic card entrance/exit ticket
JP5522875B1 (en) Information processing method, portable device, and information processing program
KR100756046B1 (en) Apparatus for confirming a real-time location using transportation card and method therefor
US10121038B2 (en) Dynamic barcode ticketing carrying encrypted validation transactions
JP2020161137A (en) Public transportation system
TW202013279A (en) Device which may pay transportation fee, and combination device, system and method
CN112906409A (en) NFC card switching method and device, storage medium and electronic equipment
KR100999525B1 (en) Parking-control Method and System by employing mobile
KR20090055541A (en) Intelligent taxi platform system
JP2010157063A (en) Program, device and method for displaying information
EP3910925A1 (en) Movement management system, and movement management method
CN115668989A (en) Scene recognition method and electronic equipment
JP2006264535A (en) Cell phone unit with non-contact integrated circuit having traffic system fare settlement function
JP5359157B2 (en) Automatic ticket gate system, automatic ticket gate method, portable terminal, and computer program therefor
JP4468098B2 (en) Billing system, parking fee calculation device, mobile device, in-vehicle device and program
KR20070075763A (en) System for billing of public transportation using mobile
JP4534628B2 (en) Communication apparatus and program

Legal Events

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