Search

CN-121982785-A - Full-function low-coupling ticket card read-write device, control method and system

CN121982785ACN 121982785 ACN121982785 ACN 121982785ACN-121982785-A

Abstract

A full-function low-coupling ticket card read-write device, control method and system are disclosed. The device comprises a network communication interface, a storage module, an upgrade module, a ticket card verification module, a ticket card charging module and a subway network platform, wherein the network communication interface and the subway network platform directly establish a network connection channel, the storage module is used for storing service parameter files, ticket card adaptation rule files and charging rule files, the upgrade module receives an update instruction issued by the subway network platform through the network communication interface, updates the service parameter files or the ticket card adaptation rule files in the storage module according to the update instruction, the ticket card verification module responds to interaction signals of ticket card media, performs validity verification and service processing on the ticket card media in the storage module in a local mode based on the ticket card adaptation rule files in the storage module, and the ticket card charging module performs local charging calculation on traffic transactions of the ticket card media based on the charging rule files in the storage module, generates transaction data and encrypts and transmits the transaction data to the subway network platform. The application has the technical effects of reducing the dependence of ticket card reading and writing on an upper computer and improving ticket business processing flexibility.

Inventors

  • WU MIN
  • JIN GUANGYU

Assignees

  • 上海华虹计通智能系统股份有限公司

Dates

Publication Date
20260505
Application Date
20251224

Claims (10)

  1. 1. A full-function low-coupling ticket card read-write device, comprising: the network communication interface is configured to directly establish a network connection channel with the subway line network platform; The storage module is used for storing the business parameter file, the ticket card adaptation rule file and the charging rule file; The upgrading module is connected with the network communication interface and the storage module and is configured to receive an updating instruction issued by the subway line network platform through the network communication interface and update the service parameter file or the ticket card adaptation rule file in the storage module according to the updating instruction; The ticket card checking module is connected with the network communication interface and the storage module and is configured to respond to the interaction signal of the ticket card medium, and the validity check and service processing of the ticket card medium is finished locally based on the ticket card adaptation rule file in the storage module; the ticket card charging module is connected with the network communication interface and the storage module and is configured to perform local charging calculation on the passing transaction of the ticket card medium based on the charging rule file in the storage module, generate transaction data and transmit the transaction data to the subway line network platform in an encrypted mode through the network communication interface.
  2. 2. The full function low coupling ticket read-write device of claim 1 wherein said network communication interface is configured as an RJ45 network interface employing TCP/IP communication protocol; the ticket card charging module is configured to encrypt the transaction data using an AES encryption algorithm when transmitting the transaction data.
  3. 3. The full-function low-coupling ticket card read-write device according to claim 2, wherein the ticket card charging module is further configured to buffer the transaction data to the storage module and monitor whether the buffer capacity of the storage module reaches a preset threshold value when the transaction data transmission through the network communication interface fails, and configured to monitor the connection state of the network communication interface in real time, and automatically supplement the buffered transaction data to the subway line network platform based on the transaction time sequence generated by the transaction data when the network resumes connection.
  4. 4. The full-function low-coupling ticket card read-write device according to claim 3, wherein the upgrade module is further configured to verify a digital signature of an upgrade package after receiving the upgrade instruction including the upgrade package, execute local upgrade when the verification passes, and restore the service parameter file or the ticket adaptation rule file to a pre-upgrade version when an abnormal interruption occurs in the upgrade process.
  5. 5. The full-function low-coupling ticket card read-write device according to claim 4, wherein the ticket card adaptation rule file comprises a medium parsing protocol, a validity check standard and a service execution rule; The ticket card verification module is configured to sequentially perform medium timeliness verification, anti-counterfeiting code validity verification and blacklist information screening based on the validity verification standard when the ticket card medium is subjected to validity verification; The ticket checking module is further configured to, when the ticket adaptation rule file in the storage module is updated to contain a rule of a new added ticket medium, invoke the updated ticket adaptation rule file to execute the validity check on the new added ticket medium.
  6. 6. The full function low coupling ticket card read-write device according to claim 5, wherein the charging rule file includes basic rate data, a coupling preference rule, and a transfer time window decision criterion; The ticket card charging module is configured to match travel data according to the in-out information of the ticket card medium and judge whether a transfer rule between different preset vehicles is met or not when carrying out local charging calculation, wherein the transfer rule comprises one or more of a coupling condition and an out-of-station transfer condition; When the cross condition is met, calculating a deduction amount based on the cross preferential rule; and merging charging based on the transfer time window judging standard when the outbound transfer condition is met.
  7. 7. The full function low coupling ticket card reader/writer according to any one of claims 1 to 6 further comprising: the radio frequency communication module is configured to perform inductive interaction with the ticket card medium and generate the interaction signal; the hardware self-checking module is connected with the radio frequency communication module and the network communication interface, and is configured to monitor the running states of the radio frequency communication module and the network communication interface in real time, generate a log when detecting a fault and report the log through the network communication interface; The security authentication module is connected with the ticket card verification module and is configured to execute key verification and encryption and decryption processing on the interaction data of the ticket card medium so as to judge the identity validity of the ticket card medium.
  8. 8. A control method of a full-function low-coupling ticket card read-write device, characterized by being applied to the full-function low-coupling ticket card read-write device according to any one of claims 1 to 7, comprising: Directly establishing a network connection channel with a subway line network platform through the network communication interface; Responding to an updating instruction issued by the subway line network platform, and updating a locally stored service parameter file or a ticket card adaptation rule file by using the updating module; responding to an interaction signal of a ticket medium, and completing validity check and business processing of the ticket medium by utilizing the ticket check module based on the locally stored ticket adaptation rule file; And carrying out local charging calculation on the traffic transaction of the ticket card medium based on the locally stored charging rule file by utilizing the ticket card charging module, generating transaction data, and directly transmitting the encrypted transaction data to the subway line network platform.
  9. 9. The method for controlling a full-function low-coupling ticket read-write device according to claim 8, wherein said directly transmitting the encrypted transaction data to the subway line network platform comprises: Judging the current network connection state, and uploading the transaction data through the network communication interface when the network connection state is normal; And when the network connection state is abnormal, caching the transaction data to the storage module, and after monitoring network recovery, supplementing the transaction data to the subway line network platform according to the transaction time sequence.
  10. 10. A full-function low-coupling ticket card reading and writing system, characterized by comprising the full-function low-coupling ticket card reading and writing device according to any one of claims 1 to 7.

Description

Full-function low-coupling ticket card read-write device, control method and system Technical Field The embodiment of the disclosure relates to the technical field of track traffic ticket card reading, in particular to a full-function low-coupling ticket card reading and writing device, a control method and a system. Background With the rapid development of urban rail transit construction, an Automatic Fare Collection (AFC) system is widely applied to public transportation operation, and has the core function of rapidly checking and passing logic processing on ticket card media through a reader-writer. However, in the actual service circulation process, the existing reader-writer often relies heavily on an upper control computer (such as an upper computer) to perform data transfer and instruction issuing, and for the scenes of high-frequency transaction in a peak period of passenger flow, adaptation of a newly added ticket card medium and the like, the strongly coupled architecture mechanism often lacks independent processing capability to cause response delay and even service interruption. In addition, in order to cope with the requirements of updating operation rules or accessing new media, complex customized modification and joint debugging are often required to be carried out on an upper computer program, and system compatibility faults and single-point failure risks are easy to cause. Therefore, the problem of how to reduce the dependency of the reader/writer on the upper layer system and to increase the autonomy and flexibility of the service processing is of great concern. Disclosure of Invention In view of this, the embodiments of the present disclosure provide a full-function low-coupling ticket card read-write device, control method and system, so as to reduce the dependence of the ticket card reader-writer on the upper system and improve the flexibility of ticket processing. The first aspect provides a full-function low-coupling ticket card read-write device, which comprises a network communication interface, a storage module, an upgrading module, a ticket card checking module and a ticket card charging module, wherein the network communication interface is configured to directly establish a network connection channel with a subway line network platform, the storage module is used for storing a service parameter file, a ticket card adaptation rule file and a charging rule file, the upgrading module is connected with the network communication interface and the storage module and is configured to receive an updating instruction issued by the subway line network platform through the network communication interface and update the service parameter file or the ticket card adaptation rule file in the storage module according to the updating instruction, the ticket card checking module is connected with the network communication interface and the storage module and is configured to respond to an interactive signal of a ticket card medium, the validity check and service processing of the ticket card medium are completed locally based on the ticket card adaptation rule file in the storage module, and the ticket card charging module is connected with the network communication interface and the storage module and is configured to perform local charging calculation on traffic of the ticket card medium based on the charging rule file in the storage module, generate transaction data and transmit the transaction data to the subway line network platform through the network communication interface in an encrypting mode. The full-function low-coupling ticket card read-write device realizes direct interaction with the subway line network platform by configuring a network communication interface, and changes the subordinate dependency architecture of the traditional reader-writer on the upper computer by relying on a local storage and autonomous processing mechanism, thereby not only eliminating communication delay and single-point fault risks brought by data transfer in the upper computer, improving the response speed of peak-period transaction and the stability of system operation, but also independently completing upgrading, quick adaptation of new ticket card media and independent charging under the instruction of the upper computer and enhancing the service expansion flexibility of a public transportation ticket system. Optionally, the network communication interface is configured as an RJ45 network interface adopting a TCP/IP communication protocol, and the ticket card charging module is configured to encrypt transaction data by adopting an AES encryption algorithm when transmitting the transaction data. Optionally, the ticket card charging module is further configured to buffer the transaction data to the storage module and monitor whether the buffer capacity of the storage module reaches a preset threshold value when the transaction data transmission through the network communication interface fails, and con