A one-card clearing method and related device

By introducing a clearing interface device, the problem of unified card clearing in cross-city scenarios was solved, and data communication between multiple data centers and clearing centers was realized, meeting the travel needs of the city cluster.

CN118229278BActive Publication Date: 2025-10-17BYD CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410133692.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2025-10-17
Estimated Expiration
2044-01-30

AI Technical Summary

Technical Problem

In cross-city scenarios, existing smart card clearing solutions cannot achieve cross-city data communication, resulting in users being unable to clear their smart cards when traveling between different cities.

Method used

By introducing a clearing interface device, communication between multiple data centers and the clearing center is realized. The clearing interface device acts as an intermediate layer, responsible for data transmission and interaction, and supports cross-regional card clearing.

Benefits of technology

It realizes one-card settlement in cross-city scenarios, simplifies the data transmission process, and meets the travel needs of urban agglomerations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118229278B_ABST
    Figure CN118229278B_ABST
Patent Text Reader

Abstract

The application provides a one-card clearing method and related device, and relates to the technical field of transportation. The method comprises the following steps: a clearing interface device receives first card swiping information uploaded by a first data center and second card swiping information uploaded by a second data center; the first card swiping information and the second card swiping information are reported to a first clearing center and a second clearing center; the first clearing center counts reconciliation information of the first data center, and the second clearing center counts reconciliation information of the second data center; the clearing interface device obtains the reconciliation information of the first data center from the first clearing center and obtains the reconciliation information of the second data center from the second clearing center; and the reconciliation information of the first data center is sent to the first data center, and the reconciliation information of the second data center is sent to the second data center. According to the method provided by the application, the demand of urban agglomeration can be met, and data communication across cities can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of transportation, in particular to a one-card clearing method and related device. BACKGROUND

[0002] With the continuous development of Internet technology, the pace of urban construction in various places is accelerating, and the phenomenon of urban agglomeration is becoming more and more common. For example, Beijing-Tianjin-Hebei integration, Greater Bay Area, Yangtze River Delta integration, etc. The formation of these urban agglomerations makes people's living radius larger and larger, and people's travel demand also increases accordingly. Therefore, in order to adapt to the current development, the demand for cross-city rail transit is becoming more and more urgent.

[0003] At present, the point-to-point mode is adopted between the data center and the clearing center in the one-card clearing scheme. The so-called point-to-point mode means that each city has its own data center and clearing center. In a city, the data center of the city transmits the card swiping information of the city to the clearing center of the city, and the clearing center transmits the account information back to the data center of the city. That is, each one-card can only be used in one city.

[0004] However, in the cross-city scenario, the user may enter a station in city A and exit a station in city B. The point-to-point connection and communication mode cannot meet the needs of urban agglomeration. SUMMARY

[0005] The present application provides a one-card clearing method and related device, which can overcome the defects of the prior art, realize data communication under cross-city, and meet the needs of urban agglomeration.

[0006] In a first aspect, the embodiments of the present application provide a one-card clearing method, comprising:

[0007] The clearing interface device receives first card swiping information uploaded by a first data center, wherein the first card swiping information includes the identification of m1 one-cards and the entry station of the m1 one-cards;

[0008] The clearing interface device receives second card swiping information uploaded by a second data center, wherein the second card swiping information includes the identification of m2 one-cards and the exit station of the m2 one-cards; the identification of the m2 one-cards and the identification of the m1 one-cards have k1 same one-card identifications;

[0009] The clearing interface device reports the first card swiping information and the second card swiping information to a first clearing center respectively, so that the first clearing center counts the reconciliation information of the first data center according to the first card swiping information and the second card swiping information; wherein the first clearing center, the m1 one-card-through in-station sites and the first data center are located in a first region, and the region refers to any one of a district, a city and a province;

[0010] The clearing interface device reports the first card swiping information and the second card swiping information to a second clearing center respectively, so that the second clearing center counts the reconciliation information of the second data center according to the first card swiping information and the second card swiping information; wherein the second clearing center, the m2 one-card-through out-station sites and the second data center are located in a second region.

[0011] The clearing interface device acquires the reconciliation information of the first data center from the first clearing center and acquires the reconciliation information of the second data center from the second clearing center.

[0012] The reconciliation information of the first data center is sent to the first data center, and the reconciliation information of the second data center is sent to the second data center.

[0013] It can be seen that in the traditional method, when a user enters a station in one city (such as city A) and exits a station in another city (such as city B), the one-card-through clearing cannot be realized. In the embodiment of the present application, when crossing regions, for example, entering a station in city A and exiting a station in city B, the communication between multiple clearing centers and multiple data centers is realized through the clearing interface device, for example, the first clearing center (the clearing center in region A) communicates with the first data center (the data center in region A) and the second data center (the clearing center in region B), so as to realize the one-card-through clearing in the cross-region scenario. The clearing interface device plays a role of an intermediate layer, realizes the data transmission with multiple data centers and the data transmission with multiple clearing centers, and further realizes the data transmission and data interaction between multiple data centers and multiple clearing centers, so as to realize the one-card-through clearing in the cross-region scenario.

[0014] Based on the first aspect, in possible implementation manners, the reconciliation information of the first data center includes the consumption amount of each one-card-through in the k1 same one-card-throughs on the first regional route or the total consumption amount of the k1 one-card-throughs on the first regional route.

[0015] The reconciliation information of the second data center includes the consumption amount of each one-card-through in the k1 same one-card-throughs on the second regional route or the total consumption amount of the k1 one-card-throughs on the second regional route.

[0016] According to the first aspect, in a possible implementation, the clearing interface device receives a connection request sent by the first data center, and allocates a first data transmission channel for the first data center;

[0017] The clearing interface device receives a connection request sent by the second data center, and allocates a second data transmission channel for the second data center;

[0018] The clearing interface device establishes a connection with the first clearing center;

[0019] The clearing interface device establishes a connection with the second clearing center.

[0020] According to the first aspect, in a possible implementation, the clearing interface device is deployed on a cloud server.

[0021] According to a second aspect, an application embodiment provides a one-card payment clearing method, which comprises the following steps:

[0022] The first clearing center receives first card swiping information reported by a first data center and sent by a clearing interface device, wherein the first card swiping information comprises identifiers of m1 one-cards and entry stations of the m1 one-cards; the entry stations of the m1 one-cards, the first data center and the first clearing center are located in a first region, and the region refers to any one of a district, a city or a province;

[0023] The first clearing center receives second card swiping information reported by a second data center and sent by the clearing interface device, wherein the second card swiping information comprises identifiers of m2 one-cards and exit stations of the m2 one-cards; the exit stations of the m2 one-cards and the second data center are located in a second region; the identifiers of the m2 one-cards and the identifiers of the m1 one-cards have k1 same one-card identifiers;

[0024] The first clearing center counts reconciliation information of the first data center according to the first card swiping information and the second card swiping information; the reconciliation information of the first data center comprises reconciliation information of the k1 same one-card identifiers;

[0025] The first clearing center sends the reconciliation information of the first data center to the clearing interface device, so that the first data center acquires the reconciliation information of the first data center from the clearing interface device.

[0026] In possible implementation modes based on the second aspect, the first clearing center receives third card swiping information reported by a third data center and sent by the clearing interface device, the third card swiping information including m3 identification of one-card passes and outbound stations of the m3 one-card passes; the outbound stations of the m3 one-card passes and the third data center are located in a third region; the m3 identification of one-card passes and the m1 identification of one-card passes include k2 same identification of one-card passes;

[0027] The first clearing center counts the reconciliation information of the first data center according to the first card swiping information and the third card swiping information; the reconciliation information of the first data center further includes reconciliation information of the k2 same identification of one-card passes.

[0028] In possible implementation modes based on the second aspect, the reconciliation information of the k1 same identification of one-card passes in the first data center includes a consumption amount of each of the k1 one-card passes on the first regional route or a total consumption amount of the k1 one-card passes on the first regional route; or,

[0029] The reconciliation information of the k2 same identification of one-card passes in the first data center includes a consumption amount of each of the k2 one-card passes on the first regional route or a total consumption amount of the k2 one-card passes on the first regional route.

[0030] In possible implementation modes based on the second aspect, the method further includes:

[0031] The second clearing center receives the first card swiping information reported by the first data center and sent by the clearing interface device;

[0032] The second clearing center receives second card swiping information reported by a second data center and sent by the clearing interface device;

[0033] The second clearing center counts reconciliation information of the second data center according to the first card swiping information and the second card swiping information; the reconciliation information of the second data center includes a consumption amount of each of the k1 one-card passes on the second regional route or a total consumption amount of the k1 one-card passes on the second regional route;

[0034] The second clearing center sends the reconciliation information of the second data center to the clearing interface device, so that the second data center acquires the reconciliation information of the second data center from the clearing interface device.

[0035] It can be seen that, in the present application, the reconciliation of the first data center is completed through the interaction of the clearing interface device and the first clearing center, the reconciliation of the second data center is completed through the interaction of the clearing interface device and the second clearing center, and the one-card payment reconciliation in the cross-city scenario is realized, and the data transmission process is simplified.

[0036] In a third aspect, the embodiments of the present application provide a clearing interface device, comprising:

[0037] The receiving module is configured to receive first card swiping information uploaded by a first data center, wherein the first card swiping information comprises the identification of m1 one-cards and the entry station of the m1 one-cards;

[0038] The receiving module is further configured to receive second card swiping information uploaded by a second data center, wherein the second card swiping information comprises the identification of m2 one-cards and the exit station of the m2 one-cards; the identification of the m2 one-cards and the identification of the m1 one-cards have k1 same one-card identifications;

[0039] The sending module is configured to report the first card swiping information and the second card swiping information to a first clearing center respectively, so that the first clearing center calculates the reconciliation information of the first data center according to the first card swiping information and the second card swiping information; wherein the first clearing center, the entry station of the m1 one-cards and the first data center are located in a first region, and the region refers to any one of a district, a city or a province;

[0040] The sending module is further configured to report the first card swiping information and the second card swiping information to a second clearing center respectively, so that the second clearing center calculates the reconciliation information of the second data center according to the first card swiping information and the second card swiping information; wherein the second clearing center, the exit station of the m2 one-cards and the second data center are located in a second region;

[0041] The obtaining module is configured to obtain the reconciliation information of the first data center from the first clearing center and the reconciliation information of the second data center from the second clearing center;

[0042] The sending module is further configured to send the reconciliation information of the first data center to the first data center and the reconciliation information of the second data center to the second data center.

[0043] In a possible implementation manner based on the third aspect, the reconciliation information of the first data center comprises the consumption amount of each one-card of the k1 same one-cards on the first regional route or the total consumption amount of the k1 one-cards on the first regional route;

[0044] The reconciliation information of the second data center includes the consumption amount of each of the k1 same cards on the second regional section or the total consumption amount of the k1 cards on the second regional section.

[0045] In possible implementation manners of the third aspect,

[0046] The clearing interface device receives the connection request sent by the first data center and allocates a first data transmission channel for the first data center;

[0047] The clearing interface device receives the connection request sent by the second data center and allocates a second data transmission channel for the second data center;

[0048] The clearing interface device establishes a connection with the first clearing center;

[0049] The clearing interface device establishes a connection with the second clearing center.

[0050] In possible implementation manners of the third aspect, the clearing interface device is deployed on a cloud server.

[0051] Each functional module in the third aspect is configured to implement the method in the first aspect and any implementation manner of the first aspect.

[0052] In a fourth aspect, an embodiment of the present application provides a first clearing center device, comprising:

[0053] A receiving module is configured to receive first card swiping information reported by a first data center and sent by a clearing interface device, wherein the first card swiping information includes the identities of m1 cards and the entry stations of the m1 cards; the entry stations of the m1 cards, the first data center and the first clearing center are located in a first region, and the region refers to any one of a district, a city or a province;

[0054] The receiving module is further configured to receive second card swiping information reported by a second data center and sent by the clearing interface device, wherein the second card swiping information includes the identities of m2 cards and the exit stations of the m2 cards; the exit stations of the m2 cards and the second data center are located in a second region; and the identities of the m2 cards and the identities of the m1 cards have k1 same card identities;

[0055] A calculating module is configured to calculate reconciliation information of the first data center according to the first card swiping information and the second card swiping information; and the reconciliation information of the first data center includes reconciliation information of the k1 same card identities.

[0056] The sending module is configured to send, by the first clearing center, the reconciliation information of the first data center to the clearing interface device, so that the first data center acquires the reconciliation information of the first data center from the clearing interface device.

[0057] According to the fourth aspect, in possible implementation manners, the receiving module is configured to receive, by the first clearing center, third card swiping information reported by a third data center and sent by the clearing interface device, the third card swiping information including m3 identification of one-card-tongs and outbound stations of the m3 one-card-tongs; the outbound stations of the m3 one-card-tongs and the third data center are located in a third region; the m3 identification of one-card-tongs and the m1 identification of one-card-tongs include k2 same identification of one-card-tongs.

[0058] The calculating module is configured to calculate, by the first clearing center, the reconciliation information of the first data center according to the first card swiping information and the third card swiping information; the reconciliation information of the first data center further includes reconciliation information of the k2 same identification of one-card-tongs.

[0059] According to the fourth aspect, in possible implementation manners, the reconciliation information of the k1 same identification of one-card-tongs in the first data center includes a consumption amount of each of the k1 one-card-tongs on the first regional road segment or a total consumption amount of the k1 one-card-tongs on the first regional road segment; or,

[0060] The reconciliation information of the k2 same identification of one-card-tongs in the first data center includes a consumption amount of each of the k2 one-card-tongs on the first regional road segment or a total consumption amount of the k2 one-card-tongs on the first regional road segment.

[0061] The various functional modules in the fourth aspect are configured to implement the method described in the above second aspect and any implementation manner of the second aspect.

[0062] According to the fifth aspect, the embodiments of the present application provide a computing device, including a memory and a processor, the memory is configured to store instructions, and the processor is configured to execute the instructions stored in the memory to implement the method described in the above first aspect and any possible implementation manner of the first aspect, or to implement the method described in the above second aspect and any possible implementation manner of the second aspect.

[0063] In a sixth aspect, an embodiment of the present application provides a computer storage medium, including program instructions, when the program instructions are executed by a computing device, causing the computing device to perform the method described in the first aspect and any possible implementation manner of the first aspect, or causing the device to perform the method described in the first clearing center side of the second aspect and any possible implementation manner of the second aspect.

[0064] In a seventh aspect, the present application provides a computer program product, including program instructions, when the computer program product is executed by a computing device, the computing device is configured to perform the method described in the first aspect and any possible implementation manner of the first aspect, or configured to perform the method described in the first clearing center side of the second aspect and any possible implementation manner of the second aspect. The computer program product can be a software installation package, and when the method provided by the first aspect or the second aspect and any possible design is needed, the computer program product can be downloaded and executed on the computing device to implement the method described in the first aspect and any possible implementation manner of the first aspect, or to implement the method described in the first clearing center side of the second aspect and any possible implementation manner of the second aspect.

[0065] In an eighth aspect, the present application provides a system, including a first data center, a second data center, a clearing interface device and a first clearing center, wherein the clearing interface device can be the clearing interface device described in the third aspect or any possible implementation manner of the third aspect, and the first clearing center can be the first clearing center described in the fourth aspect or any possible implementation manner of the fourth aspect. BRIEF DESCRIPTION OF DRAWINGS

[0066] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the drawings needed to be used in the embodiments of the present application or the background art will be described below.

[0067] Figure 1 is a system architecture schematic diagram provided by the present application;

[0068] Figure 2 is a clearing interface device architecture diagram provided by the present application;

[0069] Figure 3 is a flowchart of a one-card clearing method provided by the present application;

[0070] Figure 4 is a flowchart of a method for establishing connection between a clearing interface device, ACC1 and a one-card center 1 provided by the present application;

[0071] Figure 5is a structural schematic diagram of a clearing interface device provided in the present application;

[0072] Figure 6 is a structural schematic diagram of a first clearing center provided in the present application;

[0073] Figure 7 is a structural schematic diagram of a computing device provided in the present application. DETAILED DESCRIPTION

[0074] The embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of the present application.

[0075] It should be noted that the terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein means and includes any or all possible combinations of one or more associated listed items.

[0076] It should be noted that when used in the specification and the appended claims, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusion. For example, a system, product or device including a series of units / devices is not limited to the listed units / devices, but can optionally include units / devices not listed, or can optionally include other units / devices inherent to the product or device.

[0077] It should also be understood that the term "if" can be interpreted according to the context as "when" or "once" or "in response to determining" or "in response to detecting" or "in the event that".

[0078] Before introducing the embodiments of the present application, the technical terms related to the embodiments of the present application will be introduced.

[0079] Clearing: refers to sorting, classifying and other operations on card swiping information, so as to facilitate subsequent clearing processing.

[0080] Clearing: refers to counting the card swiping information after clearing, to ensure that the involved money and the corresponding account are correctly allocated and transferred.

[0081] Automatic fare collection (AFC): Through the use of smart cards (such as contact integrated circuit cards (IC), non-contact IC, etc.) or mobile devices (such as mobile phones, watches, etc.) as payment tools, the automatic processing of the whole process of rail transit ticketing, ticket checking, billing, charging, statistics, clearing, settlement, etc. is realized.

[0082] Automatic fare collection clearing center (ACC): responsible for receiving, processing and classifying the card swiping information collected from each line of the automatic fare collection system, so as to carry out subsequent settlement work.

[0083] One card center: responsible for the issuance and management of one card, the settlement of received card swiping information, and the work of ensuring that the involved funds are transferred and transferred according to the agreement of the contract, etc.

[0084] In this application, the data center is taken as an example to introduce the ACC, and the clearing center is taken as an example to introduce the one card center.

[0085] Before introducing the one card clearing method provided by the application, the system architecture involved in the method is introduced.

[0086] Referring to Figure 1 , Figure 1A system architecture schematic diagram is provided in the present application, and the system involves a plurality of one-card pass centers, a plurality of ACCs and a clearing interface device. The one-card pass center is responsible for the issuance and management of the one-card pass, the clearing of the received card swiping information, the ensuring of the transfer of the involved money according to the contract, and the like. The ACC is responsible for the receiving, processing and classifying of the card swiping information collected from each line of the automatic ticket checking and selling system. The clearing interface device serves as the bridge between the ACC and the one-card pass center, and is responsible for the data transmission and data exchange between the plurality of ACCs and the plurality of one-card pass centers. Specifically, ACC1 performs data transmission with the clearing interface device through ACC channel 1, ACC2 performs data transmission with the clearing interface device through ACC channel 2, and ACC3 performs data transmission with the clearing interface device through ACC channel 3. One-card pass center 1 performs data transmission with the clearing interface device through one-card pass channel 1, one-card pass center 2 performs data transmission with the clearing interface device through one-card pass channel 2, and one-card pass center 3 performs data transmission with the clearing interface device through one-card pass channel 3. The clearing interface device receives data from each ACC and sends the data to each one-card pass center. After receiving the data sent by the clearing interface device, the one-card pass center performs clearing and generates reconciliation information. The clearing interface device can obtain reconciliation data from each one-card pass center at regular intervals and save the data, and each ACC can also obtain the reconciliation information of the local region from the clearing interface device at regular intervals, so as to reconcile with the card swiping information in the ACC.

[0087] It should be noted that one-card pass center 1 and ACC1 are located in the first region, one-card pass center 2 and ACC2 are located in the second region, and one-card pass center 3 and ACC3 are located in the third region. Among them, the region can be any one of a district, a city, and a province. As for the region, the present application does not make specific limitation. In the present application, the city is taken as an example, one-card pass center 1 and ACC1 are located in city A, one-card pass center 2 and ACC2 are located in city B, the user enters the station from city A and exits the station from city B, the card swiping information of the user entering the station in city A is uploaded to the clearing interface device through ACC1, the card swiping information of the user exiting the station in city B is uploaded to the clearing interface device through ACC2, and the clearing interface device uploads the card swiping information uploaded by ACC1 and the card swiping information uploaded by ACC2 to one-card pass center 1 and one-card pass center 2 respectively. One-card pass center 1 and one-card pass center 2 perform clearing on the received card swiping information to generate reconciliation information, the clearing interface device obtains the reconciliation information from one-card pass center 1 and one-card pass center 2 respectively and saves the information, ACC1 can obtain the reconciliation information of one-card pass center 1 from the clearing interface device at regular intervals to complete the checking and comparison of the card swiping information, and ACC2 can also obtain the reconciliation information of one-card pass center 2 from the clearing interface device at regular intervals to complete the checking and comparison of the card swiping information.

[0088] Referring to Figure 2 , Figure 2The clearing interface device architecture provided by the application includes a client module, a processing module, and a server module. The client module is responsible for establishing a connection with each ACC center; the server module is responsible for allocating a transmission channel for each ACC to complete data transmission with each ACC; and the processing module is used to analyze the ACC transaction data sent from each ACC, convert the ACC transaction data according to the standard format requirements of each ACC center for the ACC transaction data, and then send the converted ACC transaction data to each ACC center.

[0089] It should be noted that the clearing interface device can simultaneously connect multiple ACCs and multiple ACC centers. For ease of description, the application is described by taking the connection of two ACCs and two ACC centers by the clearing interface device as an example.

[0090] Referring to Figure 3 , Figure 3 The flowchart of the ACC clearing method provided by the application is shown. The method includes, but is not limited to, the following description. Taking a first data center as ACC1 and a second data center as ACC2 as an example, and taking a first clearing center as ACC center 1 and a second clearing center as ACC center 2 as an example, the method embodiment of the application is described.

[0091] S101, ACC1 uploads first card swiping information to the clearing interface device.

[0092] ACC1 is responsible for receiving, processing, and classifying the card swiping information collected from each line of the local automatic ticket checking and selling system, so as to perform subsequent clearing work.

[0093] ACC1 packages the first card swiping information according to a unified standard format, and then uploads the first card swiping information to the clearing interface device through an independent channel of the ACC1 and the clearing interface channel, for example, Figure 1 ACC channel 1.

[0094] Before uploading the first card swiping information to the clearing interface device, ACC1 needs to establish a connection with the clearing interface device. The process of establishing the connection is described in the following embodiment.

[0095] The first card swiping information includes at least m1 ACC identifiers and m1 ACC entry stations. The first card swiping information can also include multiple ACC identifiers and multiple ACC exit stations. The ACC identifier can be a unique identification number of the ACC, such as a card number, an account number, etc. The specific form of the ACC identifier can be determined according to actual conditions, such as a digital code, a bar code, etc. The first card swiping information can also include more ACC information, such as card swiping time, card swiping type, etc. The content of the first card swiping information is not limited in the application.

[0096] For example, user 1 enters at station A on a line in the territory of ACC1 and exits at station B on a line in the territory of ACC2. In this case, the first card swiping information includes the identification of the card of user 1 and the entry station of the card of user 1.

[0097] For another example, user 2 enters at station A on a line in the territory of ACC1 and exits at station C on another line in the territory of ACC1. In this case, the first card swiping information includes the identification of the card of user 2, the entry station of the card of user 2 and the exit station of the card of user 2.

[0098] Packing refers to packaging the first card swiping information into a complete data packet according to a unified standard format. This process includes filling the first card swiping information into a message body, adding a message header, a check sum and a message tail, etc. to form a complete data packet conforming to a communication protocol. The purpose of packing is to ensure the consistency and integrity of the first card swiping information, so that the clearing interface device can accurately analyze and process the first card swiping information.

[0099] The message header is used to identify the basic information of the data packet, such as a starting identifier and a version number. The starting identifier is used to identify the starting position of the data packet so that the clearing interface device can correctly analyze the data. The version number is used to identify the version of the communication protocol used by the data packet, so as to ensure that the clearing interface device can correctly understand and process the data. The message body contains specific data information of the first card swiping information, which facilitates the clearing interface device to accurately analyze and process the received data packet. The check sum is used to verify the integrity and accuracy of the data. By calculating the message body, a check value is generated and added to the data packet. After receiving the data packet, the clearing interface device can recalculate the check sum and compare it with the received check sum to ensure that the data has not been error or tampered during transmission. The message tail is used to identify the end position of the data packet, so that the clearing interface device can correctly analyze the received data packet.

[0100] For example, the card swiping information of the user includes "card number information: 123456789, card swiping time: 2023-12-5 08:30:45, station information: A station of Beijing Line 1, card swiping type: entry, device information: 54321, and fee information: -0". The ACC packages the card swiping information of the user. The message header information is added, such as the start identifier of the message header is "STX" and the version number is "1.0". The card swiping information of the user is filled in the message body, the card number is filled as "123456789", the time is filled as "2023-12-5 08:30:45", the station is filled as "A station of Beijing Line 1", the card swiping type is filled as "entry", the device information is filled as "54321", and the fee information is filled as "-0". The cyclic redundancy check (CRC) check algorithm is used to calculate the checksum. The message tail information is added, such as the end identifier is "ETX".

[0101] The application only provides a unified standard format for packaging. In actual application, the unified standard format can also include other formats, which are not limited in the application.

[0102] In S102, the ACC2 uploads the second card swiping information to the clearing interface device.

[0103] The ACC2 packages the second card swiping information according to the unified standard format, and then uploads the second card swiping information to the clearing interface device through the independent channel of the ACC2 and the clearing interface device, for example, the ACC2 channel in the ACC2 and the clearing interface device. Figure 1

[0104] Before uploading the second card swiping information to the clearing interface device, the ACC2 needs to establish a connection with the clearing interface device. The process of establishing the connection is introduced in the following embodiments.

[0105] The second card swiping information at least includes m2 identification of the one-card pass and m2 outbound station of the one-card pass. The second card swiping information can also include multiple one-card pass identification and multiple entry station of the one-card pass.

[0106] For example, the user 1 enters the A station on a line in the region of the ACC1, but exits the B station on a line in the region of the ACC2. Therefore, the second card swiping information includes the one-card pass identification of the user 1 and the outbound station of the one-card pass of the user 1.

[0107] For another example, the user 2 enters the A station on a line in the region of the ACC2 and exits the D station on another line in the region of the ACC1. Therefore, the second card swiping information includes the one-card pass identification of the user 2 and the entry station and the outbound station of the one-card pass of the user 2.

[0108] ​The ACC2 packs the second card swiping information according to the unified standard format, which is consistent with the ACC1 packing the first card swiping information according to the unified standard format in S101. For the simplicity of the patent, the details are not described herein.

[0109] It should be noted that the m2 one-card pass identifiers are the same as k1 one-card pass identifiers in the m1 one-card pass identifiers.

[0110] For example, the first card swiping information uploaded by the ACC1 to the clearing interface device includes 10 one-card pass identifiers, of which 8 are inbound one-card pass identifiers and 2 are outbound one-card pass identifiers. The second card swiping information uploaded by the ACC2 to the clearing interface device includes 20 one-card pass identifiers, of which 7 are inbound one-card pass identifiers and 13 are outbound one-card pass identifiers. There are 6 same one-card pass identifiers in the one-card pass identifiers in the first card swiping information and the second card swiping information, that is, there are 6 users who enter from the region of the ACC1 and exit from the region of the ACC2. There are 2 users in the first card swiping information who enter from the region of the ACC1 and exit from the region of the ACC1. There are 7 users in the second card swiping information who enter from the region of the ACC2 and exit from the region of the ACC2.

[0111] It should be further noted that S101 and S102 have no sequence.

[0112] S103, the clearing interface device reports the first card swiping information and the second card swiping information to the one-card pass center 1 respectively.

[0113] After receiving the first card swiping information and the second card swiping information, the clearing interface device analyzes and processes the first card swiping information and the second card swiping information. First, the processing module in the clearing interface device analyzes the message body from the data packet of the first card swiping information and the second card swiping information, which includes one-card pass identifier, inbound station, outbound station, and boarding time. Then, the processing module in the clearing interface device packs the first card swiping information and the second card swiping information according to the requirements of the one-card pass center 1, and then sends the packed first card swiping information and the second card swiping information to the one-card pass center 1 through the independent channel of the clearing interface device and the one-card pass center 1, for example, Figure 1 the one-card pass channel 1 in the clearing interface device.

[0114] It should be noted that the clearing interface device needs to establish a connection with the one-card pass center 1 before reporting the first card swiping information and the second card swiping information to the one-card pass center 1. The process of establishing the connection is introduced in the subsequent embodiments.

[0115] It should be noted that different card center can have different data format and requirements, therefore, the processing module in the clearing interface device can pre-store the rules and requirements of each card center, and repackage the parsed data, which includes encoding the data according to a specific format to meet the requirements of each card center.

[0116] S104, the card center 1 counts the reconciliation information of ACC1 according to the first card swiping information and the second card swiping information.

[0117] The card center 1 receives the first card swiping information and the second card swiping information sent by the clearing interface device, and counts the reconciliation information of ACC1. The first card swiping information at least includes m1 card identifiers and m1 card entry stations, and the first card swiping information can also include multiple card identifiers and multiple card exit stations. The m1 card entry stations, ACC1 and the card center 1 are located in the first region; the second card swiping information includes m2 card identifiers and m2 card exit stations, and the second card swiping information can also include multiple card identifiers and multiple card entry stations. The m2 card exit stations, ACC2 and the card center 2 are located in the second region.

[0118] The reconciliation information of ACC1 includes reconciliation information of k1 same card identifiers. Here, the k1 same card identifiers refer to the case that the card identifier involves two regions, for example, the user enters from the first region and exits from the second region. Or, the user enters from the second region and exits from the first region.

[0119] The reconciliation information of k1 same card identifiers includes the consumption amount of each of the k1 cards on the first regional section or the total consumption amount of the k1 cards on the first regional section. The reconciliation information is not limited in the present application.

[0120] It should be noted that the reconciliation information of ACC1 can also include reconciliation information of multiple card identifiers that enter from the first region and exit from the first region.

[0121] S105, the clearing interface device reports the first card swiping information and the second card swiping information to the card center 2 respectively.

[0122] The clearing interface device parses and packages the first card swiping information and the second card swiping information according to S104, which will not be described here for the simplicity of the application. The packaged first card swiping information and the second card swiping information are sent to the card center 2 through the independent channel of the clearing interface device and the card center 2, for example, Figure 1 the card channel 2 in the clearing interface device.

[0123] It should be noted that the clearing interface device needs to establish a connection with the one-card center 2 before reporting the first and second card swiping information to the one-card center 2 respectively. The process of establishing the connection is introduced in subsequent embodiments.

[0124] It should also be noted that S103 and S105 have no sequence.

[0125] S106, the one-card center 2 counts the reconciliation information of ACC2 according to the first and second card swiping information.

[0126] The one-card center 2 receives the first and second card swiping information sent by the clearing interface device and counts the reconciliation information of ACC2. The reconciliation information of ACC1 includes reconciliation information of k1 same one-card identifications. Here, the k1 same one-card identifications refer to the case that the one-card identification involves two regions, for example, the user enters from the first region and exits from the second region. Or, the user enters from the second region and exits from the first region.

[0127] The reconciliation information of k1 same one-card identifications includes the consumption amount of each of the k1 one-cards on the second regional section or the total consumption amount of the k1 one-cards on the second regional section. As for the reconciliation information, the present application is not limited.

[0128] It should be noted that the reconciliation information of ACC2 can also include reconciliation information of multiple one-card identifications that enter from the second region and exit from the second region.

[0129] S107, the clearing interface device obtains the reconciliation information of ACC1 from the one-card center 1.

[0130] The clearing interface device obtains the reconciliation information of ACC1 through an independent channel between the clearing interface device and the one-card center 1, for example, Figure 1 one-card channel 1 and saves it.

[0131] S108, the clearing interface device obtains the reconciliation information of ACC2 from the one-card center 2.

[0132] The clearing interface device obtains the reconciliation information of ACC2 through an independent channel between the clearing interface device and the one-card center 2, for example, Figure 1 one-card channel 2 and saves it.

[0133] It should be noted that S107 and S108 have no sequence.

[0134] S109, ACC1 obtains the reconciliation information of ACC1 from the clearing interface device.

[0135] ACC1 obtains the reconciliation information of ACC1 from the clearing interface device through an independent channel of ACC1 and the clearing interface device, for example, Figure 1 the ACC channel 1 in ACC 1 obtains the reconciliation information of ACC1 from the clearing interface device. The reconciliation information of ACC1 obtained is reconciled with the first card swiping information in ACC1.

[0136] S110, ACC2 obtains the reconciliation information of ACC2 from the clearing interface device.

[0137] ACC2 obtains the reconciliation information of ACC2 from the clearing interface device through an independent channel of ACC2 and the clearing interface device, for example, Figure 1 the ACC channel 2 in ACC 2 obtains the reconciliation information of ACC2 from the clearing interface device. The reconciliation information of ACC2 obtained is reconciled with the second card swiping information in ACC2.

[0138] In an implementation manner, ACC1 can obtain the reconciliation information of ACC1 from the clearing interface device every day, reconcile the reconciliation information of ACC1 with the first card swiping information in ACC1; ACC2 can obtain the reconciliation information of ACC2 from the clearing interface device every day, reconcile the reconciliation information of ACC2 with the second card swiping information in ACC2.

[0139] For example, ACC1 can obtain the reconciliation information of ACC1 of the day from the clearing interface device at 11 p.m. every day. ACC2 can obtain the reconciliation information of ACC2 of the day from the clearing interface device at 11 p.m. every day.

[0140] It should be noted that S109 and S110 have no sequence. The present application is described by taking two clearing centers and two data centers as an example, and in actual application, a larger number of clearing centers and data centers can be included.

[0141] It can be seen that the present application provides a one-card clearing method. A clearing interface device is added to the one-card clearing system. The clearing interface device plays a role of a bridge, interacts with the one-card center upward, and can be connected with multiple ACCs downward, so that the defects of the prior art can be overcome, and information interaction in a cross-city scenario can be realized.

[0142] The process of establishing a connection between ACC and the clearing interface device and establishing a connection between the clearing interface device and the one-card center will be introduced below. For ease of description, the present application takes establishing a connection between ACC1 and the clearing interface device and establishing a connection between one clearing interface device and one-card center 1 as an example for introduction.

[0143] Referring to Figure 4 , Figure 4 a flowchart of a method provided by the present application for establishing a connection between the clearing interface device and ACC1 and one-card center 1. The method includes but is not limited to the following steps:

[0144] S201, the clearing interface device is initialized.

[0145] In an implementation mode, the clearing interface device uses an event-driven asynchronous network application (Netty) framework to simultaneously act as a client and a server, and establishes a communication connection with the plurality of ACCs and the plurality of card center. As a client, the clearing interface device uses the Netty framework to actively send a connection request to the plurality of card centers to establish a connection, and realizes transmission and exchange of data. As a server, the clearing interface device listens to and accepts a connection request from the plurality of ACCs to establish a connection, and completes transmission and exchange of data between the ACCs. In this way, the clearing interface device can realize interaction with the plurality of ACCs and the plurality of card centers.

[0146] Specifically, the clearing interface device calls an initialization interface provided by the Netty framework to complete configuration and initialization of the Netty. For example, a configuration file is loaded, which contains related configuration parameters of the Netty framework, such as a listening port number, a connection timeout time, a thread pool size, etc.; an event processor is registered to respond to different network events, such as connection establishment, data reception, data sending, etc. The clearing interface device creates a server socket channel, which is used to listen to a connection request of the ACC.

[0147] The clearing interface device can be deployed on a cloud server, and the location of the clearing interface device is not limited in the present application.

[0148] The clearing interface device uses the Netty framework to simultaneously act as a client and a server to establish a communication connection with the plurality of ACCs and the plurality of card center is only one implementation mode, and the clearing interface device can use other frameworks to realize the function, which is not limited in the present application.

[0149] S202, the ACC1 sends a connection request to the clearing interface device.

[0150] The ACC1 needs to establish a connection with the clearing interface device before sending data to the clearing interface device, and first sends a connection request to the clearing interface device and waits for a response of the clearing interface device.

[0151] S203, the clearing interface device allocates an independent connection channel for the ACC1.

[0152] When the service end socket channel captures the connection request of ACC1, the Netty framework triggers the corresponding event, allowing the clearing interface device to respond and process the connection. The clearing interface device allocates an independent connection channel for ACC1, ensuring that the data transmission between ACC1 and the clearing interface device can be transmitted on an independent channel, guaranteeing the independence of data transmission.

[0153] It should be noted that when multiple ACCs need to establish a connection with the clearing interface device, the steps S201 to S203 are performed, and the clearing interface device can simultaneously process the connection requests of multiple ACCs.

[0154] S204, the clearing interface device sends a connection request to the One Card Center 1.

[0155] The clearing interface device sends a connection request to the One Card Center 1, requesting to establish a connection with the One Card.

[0156] S205, the One Card Center 1 allocates an independent connection channel for the clearing interface device.

[0157] The One Card Center 1 allocates an independent channel for the clearing interface device after receiving the connection request of the clearing interface device, for example, Figure 1 One Card Channel 1. The clearing interface device and the One Card Center 1 complete data transmission through the One Card Channel 1.

[0158] It should be noted that S202 and S204 have no sequence.

[0159] The remaining ACCs or the remaining One Card Centers establish a connection with the clearing interface device according to the processes of S201 to S205.

[0160] It can be seen that the present application provides a method for the clearing interface device to establish a connection with ACC1 and the One Card Center 1. The clearing interface device can act as a client and connect to multiple One Card Centers through the Netty framework to complete data transmission and exchange. The clearing interface device can also act as a server and wait for connection requests from multiple ACCs to complete data transmission and exchange with the ACCs, thereby realizing the interaction between multiple ACCs and multiple One Card Centers, and improving the efficiency and throughput of the system.

[0161] The present application provides a clearing interface device, which is shown in Figure 5 , Figure 5 The present application provides a structure diagram of a clearing interface device 500, which includes:

[0162] The receiving module 510 is configured to receive first card swiping information uploaded by a first data center, and the first card swiping information includes the identities of m1 One Cards and the entry stations of the m1 One Cards.

[0163] The receiving module 510 is further configured to receive second card swiping information uploaded by the second data center, the second card swiping information including m2 identification of the one-card pass and m2 outbound stations of the one-card pass; the m2 identification of the one-card pass and the m1 identification of the one-card pass have k1 same identification of the one-card pass;

[0164] The sending module 520 is configured to report the first card swiping information and the second card swiping information to the first clearing center respectively, so that the first clearing center calculates the reconciliation information of the first data center according to the first card swiping information and the second card swiping information; wherein the first clearing center, the m1 inbound stations of the one-card pass and the first data center are located in the first region, and the region refers to any one of the district, city and province;

[0165] The sending module 520 is further configured to report the first card swiping information and the second card swiping information to the second clearing center respectively, so that the second clearing center calculates the reconciliation information of the second data center according to the first card swiping information and the second card swiping information; wherein the second clearing center, the m2 outbound stations of the one-card pass and the second data center are located in the second region;

[0166] The obtaining module 530 is configured to obtain the reconciliation information of the first data center from the first clearing center and the reconciliation information of the second data center from the second clearing center;

[0167] The sending module 520 is further configured to send the reconciliation information of the first data center to the first data center and the reconciliation information of the second data center to the second data center.

[0168] In a possible implementation, the reconciliation information of the first data center includes the consumption amount of each one-card pass of the k1 same one-card pass on the first regional section or the total consumption amount of the k1 one-card pass on the first regional section;

[0169] The reconciliation information of the second data center includes the consumption amount of each one-card pass of the k1 same one-card pass on the second regional section or the total consumption amount of the k1 one-card pass on the second regional section.

[0170] In a possible implementation, the clearing interface device 500 receives a connection request sent by the first data center and allocates a first data transmission channel for the first data center;

[0171] The clearing interface device receives a connection request sent by the second data center and allocates a second data transmission channel for the second data center;

[0172] The clearing interface device 500 establishes a connection with the first clearing center;

[0173] The clearing interface device 500 establishes a connection with the second clearing center.

[0174] In a possible implementation, the clearing interface device 500 is deployed on a cloud server.

[0175] Optionally, the clearing interface device 500 can further include Figure 2 a processing module (not shown in the figure) configured to parse the one-card transaction data sent by the first data center and the second data center. One or more of the receiving module 510, the sending module 520, and the obtaining module 530 can be included in a client module in the clearing interface device 500, or can be included in a server module in the clearing interface device 500. Figure 2 Figure 2

[0176] Figure 5 The various functional modules in the clearing interface device 500 are configured to implement the steps of the method embodiments, and specific details can be referred to the description of the method embodiments. For the sake of brevity of the description, they will not be repeated here. Figure 3 Figure 3

[0177] The present application provides a first clearing center, referring to Figure 6 , Figure 6 a structural schematic diagram of a first clearing center 600 provided by the present application, the first clearing center 600 comprising:

[0178] a receiving module 610 configured to receive first card swiping information reported by a first data center and sent by a clearing interface device, the first card swiping information comprising m1 one-card identifiers and m1 one-card entry stations; the m1 one-card entry stations, the first data center, and the first clearing center are located in a first region, and the region refers to any one of a district, a city, or a province;

[0179] The receiving module 610 is further configured to receive second card swiping information reported by a second data center and sent by the clearing interface device, the second card swiping information comprising m2 one-card identifiers and m2 one-card exit stations; the m2 one-card exit stations and the second data center are located in a second region; there are k1 same one-card identifiers in the m2 one-card identifiers and the m1 one-card identifiers;

[0180] a calculating module 620 configured to count reconciliation information of the first data center according to the first card swiping information and the second card swiping information; the reconciliation information of the first data center comprises reconciliation information of the k1 same one-card identifiers;

[0181] a sending module 630 configured to send the reconciliation information of the first data center to the clearing interface device, so that the first data center obtains the reconciliation information of the first data center from the clearing interface device.

[0182] ​​​​In a possible implementation, the receiving module 610 is configured to receive, at the first clearing center, third card swiping information reported by the third data center and sent by the clearing interface device, where the third card swiping information includes m3 card identifiers and m3 card exit locations; the m3 card exit locations and the third data center are located in a third region; and the m3 card identifiers and the m1 card identifiers have k2 identical card identifiers.

[0183] The calculation module 620 is used to collect the reconciliation information of the first data center according to the first card swiping information and the third card swiping information; the reconciliation information of the first data center also includes the reconciliation information of k2 identical one-card identifications.

[0184] In a possible implementation, the reconciliation information of the identifiers of k1 identical one-card passes in the first data center includes the consumption amount of each of the k1 one-card passes on the first regional road segment or the total consumption amount of the k1 one-card passes on the first regional road segment; or

[0185] The reconciliation information of the identifiers of k2 identical one-card passes in the first data center includes the consumption amount of each of the k2 one-card passes on the first regional road section or the total consumption amount of the k2 one-card passes on the first regional road section.

[0186] Figure 6 The various functional modules in Figure 4 For details of the steps in the method embodiment, please refer to Figure 4 The description of the relevant contents in the method embodiment will not be repeated here for the sake of brevity.

[0187] This application also provides a computing device, see Figure 7 , Figure 7 This is a schematic diagram of the structure of a computing device 700 provided in this application. When the computing device is configured as an apparatus 500, the computing device is used to implement Figure 3 The method embodiment described; when the computing device is configured as the first clearing center 600, the computing device is used to implement Figure 4 The computing device 700 includes a processor 710, a communication interface 720, and a memory 730. The processor 710, the communication interface 720, and the memory 730 may be interconnected via an internal bus 740, or may communicate via other means such as wireless transmission.

[0188] For example, bus 740 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, or the like. Bus 740 can be composed of one or more buses and can be implemented using any suitable bus structure(s) based on bus architecture(es) such as, for example, a bus bridge circuit, an industry standard architecture (ISA) bus, a microchannel architecture (MCA) bus, a video electronics standards association (VESA) local bus, an improved video electronics standards association (IVSA) bus, an enhanced video electronics standards association (E VESA) bus, a peripheral component interconnect (PCI) bus, a universal serial bus (USB), or the like. Figure 7 For example, bus 740 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, or the like. Bus 740 can be composed of one or more buses and can be implemented using any suitable bus structure(s) based on bus architecture(es) such as, for example, a bus bridge circuit, an industry standard architecture (ISA) bus, a microchannel architecture (MCA) bus, a video electronics standards association (VESA) local bus, an improved video electronics standards association (IVSA) bus, an enhanced video electronics standards association (E VESA) bus, a peripheral component interconnect (PCI) bus, a universal serial bus (USB), or the like.

[0189] Processor 710 can be composed of at least one general processor, such as CPU, or a combination of CPU and hardware chip. The hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. Processor 710 executes various types of digital storage instructions, such as software or firmware programs stored in memory 730, which enables computing device 700 to provide a wide variety of services.

[0190] Memory 730 is used to store program codes and is controlled by processor 710 to execute the steps described in the embodiments above, which can be referred to the related descriptions of the embodiments shown above and will not be expanded here. Figure 3 Figure 4 The steps described in the embodiments above can be referred to the related descriptions of the embodiments shown above and will not be expanded here.

[0191] Memory 730 can include volatile memory, such as RAM, and can also include non-volatile memory, such as ROM, flash memory, or a combination thereof.

[0192] Communication interface 720 can be a wired interface (such as an Ethernet interface), an internal interface (such as a peripheral component interconnect express (PCIE) bus interface), a wired interface (such as an Ethernet interface), or a wireless interface (such as a cellular network interface or a wireless local area network interface), which is used to communicate with other devices or modules.​​

[0193] The processor 710, the communication interface 720, and the like in the computing device 700 can implement the functions and / or the implemented various steps and methods in the above-mentioned various method embodiments, and for brevity, will not be repeated here. When the computing device is configured in the apparatus 500, the receiving module 510, the sending module 520, and the obtaining module 530 in the apparatus 500 can be located in the processor 710 in the computing device 700. When the computing device is configured in the first clearing center 600, the receiving module 610, the calculating module 620, and the sending module 630 in the first clearing center 600 can be located in the processor 710 in the computing device 700.

[0194] It should be noted that, Figure 7 The computing device can further include more or less components in actual application, which is not limited here. For the content not shown or described in the embodiments of the present application, please refer to the related description in the above-mentioned method embodiments, which will not be repeated here.

[0195] The present application provides a system including at least a first data center, a second data center, a clearing interface apparatus, and a first clearing center, wherein the clearing interface apparatus can be the clearing interface apparatus 500, and the first clearing center can be the first clearing center 600, and the system is used to implement part or all steps described in the above-mentioned one-card clearing method embodiments.

[0196] The present application further provides a computer storage medium including program instructions, when the program instructions are run in the clearing interface apparatus, the clearing interface apparatus executes part or all steps described in the above-mentioned one-card clearing method embodiments.

[0197] The present application further provides a computer storage medium including program instructions, when the program instructions are run in the first clearing center, the first clearing center executes part or all steps described in the above-mentioned one-card clearing method embodiments.

[0198] The present application further provides a computer program product including program instructions, when the program instructions are run in the clearing interface apparatus, the clearing interface apparatus executes part or all steps described in the above-mentioned one-card clearing method embodiments.

[0199] The present application further provides a computer program product including program instructions, when the program instructions are run in the first clearing center, the first clearing center executes part or all steps described in the above-mentioned one-card clearing method embodiments.

[0200] In the above embodiments, the description of each embodiment is focused on, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0201] In the above embodiments, all or part of the embodiments can be realized by software, hardware or any combination thereof. When realized by software, all or part of the embodiments can be realized in the form of a computer program product. The computer program product can contain codes. When the computer program product is read and executed by a computer, part or all of the steps of the methods recorded in the above method embodiments can be realized. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another, for example, the computer instructions can be transferred from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media sets. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium, or a semiconductor medium, etc.

[0202] The steps in the method of the embodiments of the present application can be adjusted in sequence, combined or deleted according to actual needs; the units in the device of the embodiments of the present application can be divided, combined or deleted according to actual needs.

[0203] The embodiments of the present application are described in detail above, and the principles and implementation modes of the present application are described by applying specific examples; the above embodiment descriptions are only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, the specific implementation mode and application range will be changed; in view of the above, the content of the specification should not be understood as a limitation of the present application.

Claims

1. A card clearing method, characterized in that: The method comprises: The clearing interface device receives first card swiping information uploaded by the first data center, wherein the first card swiping information includes identifiers of m1 all-in-one cards and entry stations of the m1 all-in-one cards; The clearing interface device receives second card swiping information uploaded by the second data center, wherein the second card swiping information includes m2 card identifiers and the exit stations of the m2 card identifiers; the m2 card identifiers and the m1 card identifiers have k1 identical card identifiers; The clearing interface device reports the first card swipe information and the second card swipe information to the first clearing center, respectively, so that the first clearing center compiles reconciliation information of the first data center based on the first card swipe information and the second card swipe information; wherein the first clearing center, the entry points of the m1 one-card passes, and the first data center are located in a first region, where the region refers to any one of a district, a city, and a province; the reconciliation information of the first data center includes the consumption amount of each of the k1 identical one-card passes on the road section in the first region, or the total consumption amount of the k1 one-card passes on the road section in the first region; The clearing interface device reports the first card swipe information and the second card swipe information to a second clearing center, respectively, so that the second clearing center compiles reconciliation information of the second data center based on the first card swipe information and the second card swipe information; wherein the second clearing center, the exit sites of the m2 one-card passes, and the second data center are located in a second region; and the reconciliation information of the second data center includes the consumption amount of each of the k1 identical one-card passes on the road section in the second region, or the total consumption amount of the k1 one-card passes on the road section in the second region; The clearing interface device obtains the reconciliation information of the first data center from the first clearing center, and obtains the reconciliation information of the second data center from the second clearing center; The reconciliation information of the first data center is sent to the first data center, and the reconciliation information of the second data center is sent to the second data center.

2. The method according to claim 1, wherein Before the clearing interface device receives the first card swiping information uploaded by the first data center, the method further includes: The clearing interface device receives the connection request sent by the first data center and allocates a first data transmission channel to the first data center; The clearing interface device receives the connection request sent by the second data center and allocates a second data transmission channel to the second data center; The clearing interface device establishes a connection with the first clearing center; The clearing interface device establishes a connection with the second clearing center.

3. The method according to any one of claims 1 to 2, characterized in that The clearing interface device is deployed on a cloud server.

4. A card clearing method, characterized in that: include: The first clearing center receives first card swiping information reported by the first data center and sent by the clearing interface device, wherein the first card swiping information includes identifiers of m1 all-in-one cards and entry points of the m1 all-in-one cards; the entry points of the m1 all-in-one cards, the first data center, and the first clearing center are located in a first region, where the region is any one of a district, a city, and a province. The first clearing center receives second card swiping information reported by the second data center and sent by the clearing interface device, wherein the second card swiping information includes identifiers of m2 one-card passes and exit locations of the m2 one-card passes; the exit locations of the m2 one-card passes and the second data center are located in a second region; and the identifiers of the m2 one-card passes and the identifiers of the m1 one-card passes have k1 identical one-card passes. The first clearing center collects reconciliation information of the first data center based on the first card swiping information and the second card swiping information; the reconciliation information of the first data center includes reconciliation information of the identifiers of the k1 identical one-card passes; the reconciliation information of the identifiers of the k1 identical one-card passes in the first data center includes a consumption amount of each of the k1 one-card passes on the first regional road segment or a total consumption amount of the k1 one-card passes on the first regional road segment; The first clearing center sends the reconciliation information of the first data center to the clearing interface device, so that the first data center obtains the reconciliation information of the first data center from the clearing interface device.

5. The method according to claim 4, wherein The method further comprises: The first clearing center receives third card swiping information reported by the third data center and sent by the clearing interface device, wherein the third card swiping information includes identifiers of m3 one-card passes and exit locations of the m3 one-card passes; the exit locations of the m3 one-card passes and the third data center are located in a third region; and the identifiers of the m3 one-card passes and the identifiers of the m1 one-card passes have k2 identical identifiers. The first clearing center collects the reconciliation information of the first data center based on the first card swiping information and the third card swiping information; the reconciliation information of the first data center also includes the reconciliation information of the k2 identical one-card identifications.

6. The method according to claim 5, wherein The reconciliation information of the identifiers of the k2 identical one-card passes in the first data center includes the consumption amount of each of the k2 one-card passes on the first regional road section or the total consumption amount of the k2 one-card passes on the first regional road section.

7. A system, characterized in that: The system comprises at least a first data center, a second data center, a clearing interface device as claimed in any one of claims 1 to 3, and a first clearing center as claimed in any one of claims 4 to 6.

8. A clearing interface device, characterized in that: The clearing interface device includes: A receiving module, configured to receive first card swiping information uploaded by a first data center, wherein the first card swiping information includes identifiers of m1 all-in-one cards and entry points of the m1 all-in-one cards; The receiving module is further configured to receive second card swiping information uploaded by the second data center, wherein the second card swiping information includes identifiers of m2 cards and exit stations of the m2 cards; and the identifiers of the m2 cards and the identifiers of the m1 cards have k1 identical identifiers of the cards. a sending module, configured to report the first card swiping information and the second card swiping information to a first clearing center, respectively, so that the first clearing center compiles reconciliation information of the first data center based on the first card swiping information and the second card swiping information; wherein the first clearing center, the entry points of the m1 one-card passes, and the first data center are located in a first region, where the region refers to any one of a district, a city, and a province; and the reconciliation information of the first data center includes the consumption amount of each of the k1 identical one-card passes on the road section in the first region, or the total consumption amount of the k1 one-card passes on the road section in the first region; The sending module is further configured to report the first card swiping information and the second card swiping information to a second clearing center, respectively, so that the second clearing center compiles reconciliation information of the second data center based on the first card swiping information and the second card swiping information; wherein the second clearing center, the m2 all-in-one card exit sites, and the second data center are located in a second region; an acquisition module, configured to acquire reconciliation information of the first data center from the first clearing center, and acquire reconciliation information of the second data center from the second clearing center; the reconciliation information of the second data center includes the consumption amount of each of the k1 identical one-card passes on the second regional road segment, or the total consumption amount of the k1 one-card passes on the second regional road segment; The sending module is further configured to send the reconciliation information of the first data center to the first data center, and send the reconciliation information of the second data center to the second data center.

9. A first clearing center, characterized in that: The first clearing center includes: a receiving module, configured to receive first card swiping information reported by a first data center and sent by a clearing interface device, wherein the first card swiping information includes identifiers of m1 all-in-one cards and entry points of the m1 all-in-one cards; the entry points of the m1 all-in-one cards, the first data center, and the first clearing center are located in a first region, where the region is any one of a district, a city, and a province; The receiving module is further configured to receive second card swiping information reported by the second data center and sent by the clearing interface device, wherein the second card swiping information includes identifiers of m2 cards and exit locations of the m2 cards; the exit locations of the m2 cards and the second data center are located in a second region; and the identifiers of the m2 cards and the identifiers of the m1 cards have k1 identical identifiers. a calculation module, configured to calculate reconciliation information of the first data center based on the first card swiping information and the second card swiping information; the reconciliation information of the first data center includes reconciliation information of the identifiers of the k1 identical one-card passes; the reconciliation information of the identifiers of the k1 identical one-card passes in the first data center includes a consumption amount of each of the k1 one-card passes on the first regional road section or a total consumption amount of the k1 one-card passes on the first regional road section; The sending module is configured to send the reconciliation information of the first data center to the settlement interface device, so that the first data center obtains the reconciliation information of the first data center from the settlement interface device.

10. A computing device, characterized in that The method comprises a memory and a processor, wherein the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to implement the method according to any one of claims 1 to 3, or to implement the method according to any one of claims 4 to 6.

11. A computer storage medium, characterized in that The method comprises program instructions, which, when executed by a computing device, cause the computing device to execute the method according to any one of claims 1 to 3, or cause the computing device to execute the method according to any one of claims 4 to 6.

Citation Information

Patent Citations

  • Nationwide city smart-card interconnection and intercommunication system and method utilizing same

    CN102831499A