Low-power CPC card screening method and device, computer equipment and storage medium

Obtain the power information by obtaining the EF02 file and communication link of the CPC card, screen and reject low-power cards, solve the problem of path identification failure caused by low power of the card on the highway, and ensure the accuracy of charging and save user time.

CN118733848AActive Publication Date: 2024-10-01SHENZHEN GENVICT TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410915812.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-01
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

CPC cards may have low battery problems at highway entrances, resulting in route identification failure, affecting the accuracy of highway tolls and user time, and it is difficult for existing technology to effectively screen and reject low-battery cards.

Method used

By obtaining the EF02 file of the CPC card to be screened, using a 13.56MHz or 5.8G communication link to obtain power information, determine whether the card is a low-power card, and refuse to issue invalid power cards to ensure that only cards with power and sufficient power are issued.

Benefits of technology

It realizes card power screening, avoids route marking failures due to low power, ensures the accuracy of highway toll collection, improves toll collection efficiency, and saves users time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733848A_ABST
    Figure CN118733848A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a low-power CPC card screening method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring an EF02 file corresponding to a CPC card to be screened; rewriting is carried out, and a 13.56 MHz communication link is adopted to acquire the electric quantity bytes again so as to obtain a rewriting result; judging whether the electric quantity information corresponding to the CPC card to be screened is valid or not according to a rewriting result; if yes, a 13.56 MHz communication link is adopted to determine whether the CPC card to be screened is a low-power CPC card; when the determination result is that the to-be-screened CPC card is the low-power CPC card, refusing to issue the to-be-screened CPC card; and if not, determining whether the CPC card to be screened is a low-power CPC card or not through the 5.8 G communication link. By implementing the method provided by the embodiment of the invention, the electric quantity screening of the cards can be realized, and only the cards with electricity and sufficient electric quantity are issued to the user; therefore, the path identification failure caused by no-power or low-power cards is avoided, the accuracy of highway toll collection is ensured, the toll collection efficiency is improved, and the time of the user is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a CPC card screening method, and more specifically to a low-power CPC card screening method, device, computer equipment and storage medium. Background Art

[0002] CPC cards (Compound Pass Cards) play an important role in highway toll collection. CPC cards have 5.8GHz and 13.56MHz communication functions and can read and write entrance information and path information. This card is issued to vehicles at the entrance of toll stations on closed toll roads and is recovered at the exit lane. It can be reused, so it is also called an ambiguous path identification card. CPC cards can not only record the information of vehicles entering and exiting toll stations, but also accurately record the actual driving path of vehicles through the path identification system set up at the interchange location of the highway network. This provides an important basis for the billing and settlement of inter-provincial tolls.

[0003] However, the CPC cards issued to vehicle users at the entrance of the expressway sometimes run out of power, making it impossible to mark the route. This situation will affect the toll settlement of the actual driving route when the vehicle exits, which may lead to economic losses and is not conducive to maintaining order on the expressway.

[0004] Therefore, it is necessary to design a new method to realize the power screening of cards to ensure that only cards with sufficient power are issued to users; avoid path identification failures caused by dead or low-power cards, ensure the accuracy of highway tolls, improve toll collection efficiency, and save user time. Summary of the invention

[0005] The purpose of the present invention is to overcome the defects of the prior art and provide a low-power CPC card screening method, device, computer equipment and storage medium.

[0006] To achieve the above object, the present invention adopts the following technical solution: a low-power CPC card screening method, comprising:

[0007] Obtain the EF02 file corresponding to the CPC card to be screened;

[0008] Rewrite the EF02 file, and use the 13.56MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result;

[0009] Determine whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result;

[0010] If the power information is valid, the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56MHz communication link is determined as the first power information;

[0011] Determine whether the CPC card to be screened is a low-power CPC card according to the first power information to obtain a determination result;

[0012] When the determination result is that the CPC card to be screened is a low-power CPC card, refusing to issue the CPC card to be screened;

[0013] If the power information is invalid, obtaining information responded by the VST through the 5.8G communication link to obtain second power information;

[0014] Determine whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information to obtain a determination result, and execute the method of refusing to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card.

[0015] A further technical solution is: judging whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result includes:

[0016] Determine whether the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting;

[0017] If the rewriting result is not equal to the value corresponding to the power byte in the EF02 file before rewriting, it is determined that the power information is invalid;

[0018] If the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting, it is determined that the power information is valid.

[0019] Its further technical solution is:

[0020] The EF02 file is rewritten, and the 13.56MHz communication link is used to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result, including:

[0021] Change the power byte in the EF02 file to a preset value that is not read for the first time. After modifying the power byte, close the CPC card to be screened, open the CPC card to be screened again, and use the 13.56MHz communication link again to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that the rewrite result is equal to the value corresponding to the power byte in the EF02 file before the rewrite. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is not the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that it is not equal to the value corresponding to the power byte in the EF02 file before the rewrite.

[0022] The further technical solution is: the 13.56MHz communication link is used to obtain the power bytes corresponding to the EF02 file corresponding to the CPC card to be screened, including:

[0023] Open the CPC card to be screened at the entrance of the CPC card through the lane card reader, send a specific TimeCos instruction to read the power byte stored in the CPC basic information file, obtain the EF02 file, and determine that the content corresponding to the first byte in the EF02 file is the power byte corresponding to the EF02 file.

[0024] A further technical solution is: the step of obtaining the information responded by the VST through the 5.8G communication link to obtain the second power information includes:

[0025] An ETC communication link is established between the 5.8G device and the CPC card to be screened, information is exchanged through BST and VST protocol frames, and the second power information is determined based on the information responded by VST.

[0026] A further technical solution is: determining whether the CPC card to be screened is a low-power CPC card according to the bytes in the power information to obtain a determination result includes:

[0027] Whether the CPC card to be screened is a low-power CPC card is determined according to the highest bit of the byte of the power information to obtain a determination result.

[0028] A further technical solution is: determining whether the CPC card to be screened is a low-power CPC card according to the highest bit of the byte of the power information to obtain a determination result, including:

[0029] When the highest bit of the byte of the power information is 1, it is determined that the CPC card to be screened is a low-power CPC card to obtain a determination result.

[0030] The present invention also provides a low-power CPC card screening device, comprising:

[0031] An information acquisition unit, used to acquire the EF02 file corresponding to the CPC card to be screened;

[0032] A rewriting unit, used to rewrite the EF02 file, and use a 13.56MHz communication link to obtain again the power byte corresponding to the EF02 file corresponding to the CPC card to be screened, so as to obtain a rewriting result;

[0033] A judging unit, used for judging whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result;

[0034] A first acquisition unit is used to determine the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56 MHz communication link as the first power information if the power information is valid;

[0035] A first determination unit, configured to determine whether the CPC card to be screened is a low-power CPC card according to the first power information, so as to obtain a determination result;

[0036] A processing unit, configured to refuse to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card;

[0037] A second acquiring unit, configured to acquire information responded by the VST through a 5.8G communication link to obtain second power information if the power information is invalid;

[0038] The second determination unit is used to determine whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information to obtain a determination result, and execute the step of refusing to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card.

[0039] The present invention further provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor implements the above method when executing the computer program.

[0040] The present invention also provides a storage medium, wherein the storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0041] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention determines whether the power information of the CPC card to be screened is valid by obtaining the EF02 file of the CPC card to be screened, and then obtains the power information through a 13.56MHz or 5.8G communication link, and determines whether it is a low-power CPC card. If so, the card is refused to be issued, thereby realizing the power screening of the card and ensuring that only cards with power and sufficient power are issued to users; avoiding the failure of path identification due to no-power or low-power cards, ensuring the accuracy of highway tolls, improving toll collection efficiency, and saving user time.

[0042] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.

[0044] Figure 1 A schematic diagram of an application scenario of a low-power CPC card screening method provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of a process for screening low-power CPC cards provided by an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of a sub-process of a low-power CPC card screening method provided by an embodiment of the present invention;

[0047] Figure 4 A schematic block diagram of a low-power CPC card screening device provided by an embodiment of the present invention;

[0048] Figure 5 A schematic block diagram of a judgment unit of a low-power CPC card screening device provided by an embodiment of the present invention;

[0049] Figure 6 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

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

[0051] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0052] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0053] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0054] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of an application scenario of the low-battery CPC card screening method provided in an embodiment of the present invention. Figure 2 A schematic flow chart of a low-power CPC card screening method provided in an embodiment of the present invention. The low-power CPC card screening method is applied to a system with a lane card reader and a 5.8G device, wherein the lane card reader is an electronic device that reads and writes the card chip module in the CPC card on the toll lane of the highway, and the lane card reader uses a radio frequency of 13.56MHz to wake up the card chip module to read the relevant information of the CPC card, and the CPC card includes a card chip module, an MCU and 5.8G; wherein the card chip module is used to read and write path information, which is equivalent to a CPU card and can be operated through a 13.56M interface or a 7816 interface, but not at the same time; the MCU coordinates and controls the work between the modules that make up the CPC card; 5.8G is a communication frequency used for data interaction with the antenna on the highway, and is used for path identification. The module starts working after passing the toll station entrance, and the EF02 file is a CPC card basic information file that stores CPC power information.

[0055] Figure 2 FIG. 1 is a flow chart of a method for screening low-power CPC cards provided by an embodiment of the present invention. Figure 2 As shown, the method includes the following steps S110 to S180.

[0056] S110, obtaining the EF02 file corresponding to the CPC card to be screened.

[0057] In this embodiment, the lane card reader first selects the CPC card that needs to be checked for power information, that is, the CPC card to be screened, and establishes a connection with the CPC card to be screened through a 13.56MHz communication link for subsequent modification of the EF02 file to ensure the validity of the power information corresponding to the CPC card to be screened.

[0058] S120, rewrite the EF02 file, and use the 13.56 MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result.

[0059] In this embodiment, the power byte in the EF02 file is changed to a preset value that is not read for the first time. After the power byte is modified, the CPC card to be screened is closed, and the CPC card to be screened is opened again. The 13.56MHz communication link is used again to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened is read again, it is determined that the rewrite result is equal to the value corresponding to the power byte in the EF02 file before the rewrite. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened is read again, it is not equal to the value corresponding to the power byte in the EF02 file before the rewrite.

[0060] In addition, the CPC card to be screened is opened at the entrance of the CPC card through the lane card reader, and a specific TimeCos instruction is sent to read the power byte stored in the CPC basic information file to obtain the EF02 file, and determine that the content corresponding to the first byte in the EF02 file is the power byte corresponding to the EF02 file.

[0061] Before reading the power information of CPC cards, it is necessary to confirm whether the power information in the EF02 file is actively maintained by the MCU main control software of the CPC card. External devices can only be used for query and cannot be rewritten. If you try to rewrite the power information bytes of the EF02 file with an external device and successfully change it to a fixed value, it means that the MCU of the CPC card has not actively maintained the power, that is, it is invalid information and needs to be screened using a 5.8G communication link. On the contrary, if the read power information is inconsistent with the rewritten fixed value, it means that the MCU of the CPC card has effectively maintained the power information, and low-power CPC cards can be screened out based on this.

[0062] Specifically, the power information is actually obtained twice. First, the power information is obtained for the first time before it is rewritten, and then the power information is obtained for the second time after it is rewritten. When the power information obtained for the second time is not equal to the rewritten value, the power information is valid, and the power information obtained for the second time can be used as the first power information; if the power information obtained for the second time is equal to the rewritten value, the power information is invalid and can only be obtained by using the 5.8G communication link.

[0063] Specifically, the lane card reader first uses the 13.56MHz frequency to open the CPC card to be screened, and sends a TimeCos instruction (a specific instruction to read file information from the EF02 file) to request the power information. After reading the power information byte in the EF02 file as shown in Table 1, in order to avoid misjudgment caused by the failure of the main control software inside the CPC card to be screened to update the power byte, the lane card reader sends the TimeCos instruction to write the EF02 file information again, and rewrites the power byte to a preset value, and the value cannot be the same as the power byte read for the first time. Subsequently, the CPC card is closed using 13.56MHz, and the card is opened again after waiting for at least 2 seconds to prevent abnormal file operations that may be caused by frequent operations. Resend the TimeCos instruction to read the EF02 file information. If it is found that the power byte has been rewritten, it means that the main control software inside the CPC has not maintained the power information in the file, and the power information of the power byte is invalid at this time. On the contrary, if the power byte has not been rewritten, it means that the power information in the EF02 file of the CPC is true and valid. Based on the remaining power percentage obtained, it can be determined whether the CPC has a low power risk.

[0064] Table 1. Power byte composition of EF02 file

[0065]

[0066] S130, judging whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result;

[0067] In one embodiment, see Figure 3 , the above-mentioned step S120 may include steps S121 to S124.

[0068] S121, determining whether the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting;

[0069] S122, if the rewriting result is not equal to the value corresponding to the power byte in the EF02 file before rewriting, it is determined that the power information is invalid;

[0070] S123. If the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting, it is determined that the power information is valid.

[0071] S140. If the power information is valid, the power byte corresponding to the EF02 file corresponding to the CPC card to be screened, which is obtained again using the 13.56 MHz communication link, is determined as the first power information.

[0072] The CPC card to be screened is opened at the CPC card entrance through the lane card reader, and a specific TimeCos instruction is sent to read the power bytes stored in the CPC basic information file. This step ensures that the accurate power information in the CPC card is read, providing basic data for subsequent judgment.

[0073] Specifically, a 13.56MHz communication connection is established between the lane card reader and the CPC card; a specific TimeCos instruction is sent; the power byte in the CPC card basic information file (EF02) is read; and abnormal conditions during the reading process are checked to ensure data integrity.

[0074] This ensures that the power information read is accurate and provides reliable data for subsequent judgments; it identifies and handles abnormal situations in advance and improves system robustness.

[0075] Analyze the read power byte data; parse the first byte into power information to ensure the correctness and validity of the power information and avoid parsing errors; provide a standardized data processing flow to facilitate subsequent steps.

[0076] S150. Determine whether the CPC card to be screened is a low-power CPC card according to the first power information to obtain a determination result.

[0077] In this embodiment, a low power threshold (eg, 20%) is set; the remaining power percentage of the first power information is compared with the set threshold to determine whether it is a low power state; and the determination result is recorded for subsequent operations.

[0078] This step provides a clear standard for judging the power level, improves the accuracy of judgment, automates the judgment of power status, reduces manual intervention, and improves efficiency.

[0079] S160. When the determination result is that the CPC card to be screened is a low-battery CPC card, refusing to issue the CPC card to be screened.

[0080] In this embodiment, when the result is determined to be low battery, the issuance refusal mechanism is triggered; the relevant personnel or system is notified to take further measures (for example, replace the CPC card); and a log of the issuance refusal operation is recorded for traceability.

[0081] This ensures that the CPC cards issued have sufficient power to guarantee normal use by users; prevents service interruptions due to low power and improves user satisfaction; and provides operation records for easy management and troubleshooting.

[0082] S170, if the power information is invalid, obtaining information responded by the VST through the 5.8G communication link to obtain second power information;

[0083] S180. Determine whether the CPC card to be screened is a low-power CPC card according to the bytes in the power information to obtain a determination result, and execute step S160.

[0084] In this embodiment, the MCU of the CPC card to be screened can directly obtain the battery voltage information, and by setting a low power threshold, the collected battery voltage is compared and judged in the MCU main control software to determine the power status (normal or low power) of the CPC card to be screened. When performing the ETC process with the 5.8G device, the CPC card to be screened will establish a communication link with the device through the 5.8G signal. The ETC device sends a BST request, and the CPC card to be screened replies with a VST data frame to provide power status information.

[0085] Specifically, the MCU of the CPC card to be screened directly collects battery voltage information and sets a low power threshold. The main control software will compare the collected voltage with the preset threshold to determine whether the current CPC power status is normal or low power. In the ETC system, the CPC card to be screened exchanges data with the 5.8G device through the 5.8G communication link. The 5.8G device sends a BST (Broadcast Service Table) request to the CPC card to be screened to wake up the CPC card to be screened. After receiving the BST request, the CPC card to be screened will reply with a VST (Vehicle Service Table) data frame. The VST data frame contains the CPC power status flag, in which the highest bit of the power byte indicates the power status: 0 indicates normal power and 1 indicates low power. After the 5.8G device receives the VST reply from the CPC card to be screened as shown in Table 2, it will extract the highest bit data of the power byte from it. If the highest bit is "1", the 5.8G device determines that the CPC card to be screened is a low power card; if it is "0", it is normal power. According to the value of the power byte, the 5.8G device can directly feedback the power status to the operator or system user. This power detection and feedback mechanism based on the 5.8G communication link ensures that low-power cards are screened and processed in the ETC process.

[0086] Table 2. VST protocol frame power byte description

[0087]

[0088] Through the above process, the ETC system can monitor and determine the power status of the CPC card in real time, ensuring that only cards with sufficient power can be used normally, thereby improving the system's reliability and user experience.

[0089] For example: Assuming that the CPC card to be screened is at the entrance of the lane reader, the lane reader sends a specific TimeCos instruction to the CPC card through the 13.56MHz communication link to read the power byte stored in the CPC basic information file. After receiving the TimeCos instruction, the CPC card executes according to the instruction and transmits the power information stored in the EF02 file to the lane reader through the 13.56MHz communication link. The lane reader extracts the power byte from the received data. For example, assuming that the power information is stored in the first byte of the EF02 file, if the value of the byte is 0x3C (decimal 60), it means that the power information is 60%. According to the business rules, it may be set that when the power is lower than a certain threshold (for example, 20%), it is identified as a low-power CPC card. Specifically, the TimeCos instruction is sent: 80 31 00 00 0A; the content of the received EF02 file: 3C (assuming that 3C here means that the power is 60%); the power is judged: 60%>20%, so the CPC card to be screened is not a low-power CPC card.

[0090] When the above power information is invalid, the CPC card to be screened establishes an ETC communication link with the 5.8G device, and exchanges BST and VST protocol frames. Specifically, a communication link is established between the 5.8G device and the CPC card to start exchanging information. The 5.8G device sends BST and VST frames to request the CPC card to respond and provide the power information in the EF02 file. After receiving the request, the CPC card responds according to the VST protocol frame, including the power information in the EF02 file. The power byte is extracted from the VST protocol frame. Similarly, it is assumed that the power information is in the first byte of the response. According to the business rules, the corresponding power threshold is set to determine whether it is a low-power CPC card. Specifically, BST and VST frames are sent, and a VST response is received: EF 02 01 3C (assuming that 3C here means that the power is 60%); it is judged that the power: 60%>20%, so the CPC card to be screened is not a low-power CPC card.

[0091] In this embodiment, the CPC card power acquisition operation is completed before the card is issued at the entrance; the CPC card power information is obtained by using the 13.56MHz card reader interface, and it is technically feasible to determine whether the power is low. This solution is simple and easy, the detection process is fast, and the results are true, effective and reliable. In addition, detailed and accurate information on the remaining percentage of power can be provided without interfering with or disrupting the existing CPC card maintenance and use procedures. This can be achieved by upgrading the software of the existing card reader, but the CPC card manufacturer needs to write the real power information in the EF02 file. Based on the 5.8G communication link, the CPC card power is tested to see whether it can support the application requirements, and the verification results are highly convincing.

[0092] The above method can avoid economic losses caused by the failure of vehicles to settle normally when leaving the station by screening out CPC cards with no power or low power at the entrance. This approach can ensure accurate billing according to the actual driving path, reduce the operating costs of the highway, and increase economic benefits; the instant screening of the cards with no power and centralized processing and maintenance will not only not interfere with the existing card issuance and card collection process, but also save maintenance costs. This operation is completed independently, providing higher efficiency and economy for highway management; it effectively avoids the problem of fee calculation errors caused by the inability of CPC cards to accurately record the actual path. In this way, users can trust and rely more on the accuracy of the high-speed toll collection system and improve the overall service quality; by timely screening out CPC cards with no power, the inconvenience and time waste caused by the need for users to settle manually when leaving the station is avoided. This convenient, simple and efficient high-speed service significantly improves the happiness and satisfaction of users during high-speed travel.

[0093] In summary, early screening of CPC cards with no power or low power is not only beneficial to highway management and operating costs, but also can significantly improve service quality and enhance user experience. It is an important measure to optimize modern highway toll collection systems.

[0094] The above-mentioned low-power CPC card screening method determines whether its power information is valid by obtaining the EF02 file of the CPC card to be screened, and then obtains the power information through the 13.56MHz or 5.8G communication link, and determines whether it is a low-power CPC card. If so, it will be refused to be issued, thereby realizing card power screening and ensuring that only powered and fully charged cards are issued to users; avoiding path identification failures caused by no-power or low-power cards, ensuring the accuracy of highway tolls, improving toll collection efficiency, and saving user time.

[0095] Figure 4 is a schematic block diagram of a low-power CPC card screening device 300 provided in an embodiment of the present invention. Figure 4As shown, corresponding to the above low-power CPC card screening method, the present invention also provides a low-power CPC card screening device 300. The low-power CPC card screening device 300 includes a unit for executing the above low-power CPC card screening method, and the device can be configured in a lane card reader and a 5.8G device. Figure 4 The low-power CPC card screening device 300 includes an information acquisition unit 301, a rewriting unit 302, a judgment unit 303, a first acquisition unit 304, a first determination unit 305, a processing unit 306, a second acquisition unit 307 and a second determination unit 308.

[0096] The information acquisition unit 301 is used to acquire the EF02 file corresponding to the CPC card to be screened; the rewriting unit 302 is used to rewrite the EF02 file and use the 13.56MHz communication link to reacquire the power byte corresponding to the EF02 file corresponding to the CPC card to be screened to obtain the rewriting result; the judgment unit 303 is used to judge whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result; the first acquisition unit 304 is used to determine the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56MHz communication link as the first power information if the power information is valid; the first determination unit 305 is used to determine the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56MHz communication link according to the first power information The second determining unit 308 is used to determine whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information, so as to obtain a determination result, and execute the step of refusing to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card.

[0097] In one embodiment, if Figure 5 As shown, the judgment unit 303 includes a result judgment subunit 3031 , an invalid determination subunit 3033 , and a valid determination subunit 3034 .

[0098] The result judgment subunit 3032 is used to judge whether the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting; the invalid determination subunit 3033 is used to determine that the power information is invalid if the rewriting result is not equal to the value corresponding to the power byte in the EF02 file before rewriting; the valid determination subunit 3034 is used to determine that the power information is valid if the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting.

[0099] In one embodiment, the above-mentioned rewrite unit 302 is used to change the power byte in the EF02 file to a preset value that is not read for the first time. After modifying the power byte, the CPC card to be screened is closed, and the CPC card to be screened is opened again. The 13.56MHz communication link is used again to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened is read again, it is determined that the rewrite result is equal to the value corresponding to the power byte in the EF02 file before the rewrite. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened is read again, it is not equal to the value corresponding to the power byte in the EF02 file before the rewrite. Specifically, the CPC card to be screened is opened at the entrance of the CPC card through the lane card reader, and a specific TimeCos instruction is sent to read the power byte stored in the CPC basic information file to obtain the EF02 file, and determine that the content corresponding to the first byte in the EF02 file is the power byte corresponding to the EF02 file.

[0100] In one embodiment, the second acquisition unit 307 is used to establish an ETC communication link between the 5.8G device and the CPC card to be screened, exchange information through BST and VST protocol frames, and determine the second power information according to the information responded by VST.

[0101] In one embodiment, the second determination unit 308 is used to determine whether the CPC card to be screened is a low-power CPC card according to the highest bit of a byte of the second power information to obtain a determination result.

[0102] In one embodiment, the second determination unit 308 is used to determine that the CPC card to be screened is a low-power CPC card when the highest bit of the byte of the second power information is 1, so as to obtain a determination result.

[0103] It should be noted that technicians in the relevant field can clearly understand that the specific implementation process of the above-mentioned low-power CPC card screening device 300 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.

[0104] The low-power CPC card screening device 300 can be implemented in the form of a computer program. The computer program can be used in Figure 6 Runs on the computer device shown.

[0105] See also Figure 6 , Figure 6 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a device with a card reader and 5.8G functions.

[0106] See also Figure 6 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0107] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a low-power CPC card screening method.

[0108] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0109] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a low-power CPC card screening method.

[0110] The network interface 505 is used to communicate with other devices over the network. Figure 6 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0111] The processor 502 is used to run the computer program 5032 stored in the memory to implement the following steps:

[0112] Obtain the EF02 file corresponding to the CPC card to be screened; rewrite the EF02 file, and use the 13.56MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result; determine whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result; if the power information is valid, determine the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56MHz communication link as the first power information; determine the CPC card to be screened according to the first power information Whether the PC card to be screened is a low-power CPC card to obtain a determination result; when the determination result is that the CPC card to be screened is a low-power CPC card, the CPC card to be screened is refused to be issued; if the power information is invalid, the information responded by VST is obtained through the 5.8G communication link to obtain the second power information; according to the bytes in the second power information, whether the CPC card to be screened is a low-power CPC card to obtain a determination result, and execute the when the determination result is that the CPC card to be screened is a low-power CPC card, the CPC card to be screened is refused to be issued.

[0113] In one embodiment, when the processor 502 implements the step of determining whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result, the processor 502 specifically implements the following steps:

[0114] Determine whether the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting; if the rewriting result is not equal to the value corresponding to the power byte in the EF02 file before rewriting, determine that the power information is invalid; if the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting, determine that the power information is valid.

[0115] In one embodiment, when the processor 502 implements the step of rewriting the EF02 file and reacquiring the power byte corresponding to the EF02 file corresponding to the CPC card to be screened by using the 13.56 MHz communication link to obtain the rewriting result, the processor 502 specifically implements the following steps:

[0116] Change the power byte in the EF02 file to a preset value that is not read for the first time. After modifying the power byte, close the CPC card to be screened, open the CPC card to be screened again, and use the 13.56MHz communication link again to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that the rewrite result is equal to the value corresponding to the power byte in the EF02 file before the rewrite. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is not the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that it is not equal to the value corresponding to the power byte in the EF02 file before the rewrite.

[0117] In one embodiment, when the processor 502 implements the step of using the 13.56 MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened, the processor 502 specifically implements the following steps:

[0118] Open the CPC card to be screened at the entrance of the CPC card through the lane card reader, send a specific TimeCos instruction to read the power byte stored in the CPC basic information file, obtain the EF02 file, and determine that the content corresponding to the first byte in the EF02 file is the power byte corresponding to the EF02 file.

[0119] In one embodiment, when the processor 502 implements the step of acquiring the information responded by the VST through the 5.8G communication link to obtain the second power information, the processor 502 specifically implements the following steps:

[0120] An ETC communication link is established between the 5.8G device and the CPC card to be screened, information is exchanged through BST and VST protocol frames, and the second power information is determined based on the information responded by VST.

[0121] In one embodiment, when the processor 502 implements the step of determining whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information to obtain a determination result, the processor 502 specifically implements the following steps:

[0122] Determine whether the CPC card to be screened is a low-power CPC card according to the highest bit of the byte of the second power information to obtain a determination result.

[0123] In one embodiment, when the processor 502 implements the step of determining whether the CPC card to be screened is a low-power CPC card according to the highest bit of the byte of the second power information to obtain a determination result, the processor 502 specifically implements the following steps:

[0124] When the highest bit of the byte of the second power information is 1, it is determined that the CPC card to be screened is a low-power CPC card to obtain a determination result.

[0125] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit 305 (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0126] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0127] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein when the computer program is executed by a processor, the processor executes the following steps:

[0128] Obtain the EF02 file corresponding to the CPC card to be screened; rewrite the EF02 file, and use the 13.56MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result; determine whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result; if the power information is valid, determine the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56MHz communication link as the first power information; determine the CPC card to be screened according to the first power information Whether the PC card to be screened is a low-power CPC card to obtain a determination result; when the determination result is that the CPC card to be screened is a low-power CPC card, the CPC card to be screened is refused to be issued; if the power information is invalid, the information responded by VST is obtained through the 5.8G communication link to obtain the second power information; according to the bytes in the second power information, whether the CPC card to be screened is a low-power CPC card to obtain a determination result, and execute the when the determination result is that the CPC card to be screened is a low-power CPC card, the CPC card to be screened is refused to be issued.

[0129] In one embodiment, when the processor executes the computer program to implement the step of determining whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result, the processor specifically implements the following steps:

[0130] Determine whether the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting; if the rewriting result is not equal to the value corresponding to the power byte in the EF02 file before rewriting, determine that the power information is invalid; if the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting, determine that the power information is valid.

[0131] In one embodiment, when the processor executes the computer program to implement the step of rewriting the EF02 file and reacquiring the power byte corresponding to the EF02 file corresponding to the CPC card to be screened using the 13.56 MHz communication link to obtain the rewriting result, the processor specifically implements the following steps:

[0132] Change the power byte in the EF02 file to a preset value that is not read for the first time. After modifying the power byte, close the CPC card to be screened, open the CPC card to be screened again, and use the 13.56MHz communication link again to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that the rewrite result is equal to the value corresponding to the power byte in the EF02 file before the rewrite. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is not the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that it is not equal to the value corresponding to the power byte in the EF02 file before the rewrite.

[0133] In one embodiment, when the processor executes the computer program to implement the step of using a 13.56 MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened, the processor specifically implements the following steps:

[0134] Open the CPC card to be screened at the entrance of the CPC card through the lane card reader, send a specific TimeCos instruction to read the power byte stored in the CPC basic information file, obtain the EF02 file, and determine that the content corresponding to the first byte in the EF02 file is the power byte corresponding to the EF02 file.

[0135] In one embodiment, when the processor executes the computer program to implement the step of acquiring the information responded by the VST through the 5.8G communication link to obtain the second power information, the processor specifically implements the following steps:

[0136] An ETC communication link is established between the 5.8G device and the CPC card to be screened, information is exchanged through BST and VST protocol frames, and the second power information is determined based on the information responded by VST.

[0137] In one embodiment, when the processor executes the computer program to implement the step of determining whether the CPC card to be screened is a low-power CPC card according to the bytes in the power information to obtain a determination result, the processor specifically implements the following steps:

[0138] Determine whether the CPC card to be screened is a low-power CPC card according to the highest bit of the byte of the second power information to obtain a determination result.

[0139] In one embodiment, when the processor executes the computer program to implement the step of determining whether the CPC card to be screened is a low-power CPC card according to the highest bit of the byte of the second power information to obtain a determination result, the processor specifically implements the following steps:

[0140] When the highest bit of the byte of the second power information is 1, it is determined that the CPC card to be screened is a low-power CPC card to obtain a determination result.

[0141] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0142] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0143] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0144] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in various embodiments of the present invention can be integrated into a processing unit 305, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0145] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0146] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A low-power CPC card screening method, characterized in that: include: Obtain the EF02 file corresponding to the CPC card to be screened; Rewrite the EF02 file, and use the 13.56MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result; Determine whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result; If the power information is valid, the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56MHz communication link is determined as the first power information; Determine whether the CPC card to be screened is a low-power CPC card according to the first power information to obtain a determination result; When the determination result is that the CPC card to be screened is a low-power CPC card, refusing to issue the CPC card to be screened; If the power information is invalid, obtaining information responded by the VST through the 5.8G communication link to obtain second power information; Determine whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information to obtain a determination result, and execute the method of refusing to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card.

2. The low-power CPC card screening method according to claim 1, characterized in that: The step of judging whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result includes: Determine whether the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting; If the rewriting result is not equal to the value corresponding to the power byte in the EF02 file before rewriting, it is determined that the power information is invalid; If the rewriting result is equal to the value corresponding to the power byte in the EF02 file before rewriting, it is determined that the power information is valid.

3. The low-power CPC card screening method according to claim 2, characterized in that: The EF02 file is rewritten, and the 13.56MHz communication link is used to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened again to obtain the rewriting result, including: Change the power byte in the EF02 file to a preset value that is not read for the first time. After modifying the power byte, close the CPC card to be screened, open the CPC card to be screened again, and use the 13.56MHz communication link again to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that the rewrite result is equal to the value corresponding to the power byte in the EF02 file before the rewrite. When the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened read again is not the value of the power byte corresponding to the EF02 file corresponding to the CPC card to be screened before the rewrite, it is determined that it is not equal to the value corresponding to the power byte in the EF02 file before the rewrite.

4. The low-power CPC card screening method according to claim 1, characterized in that: The method of using a 13.56MHz communication link to obtain the power byte corresponding to the EF02 file corresponding to the CPC card to be screened includes: Open the CPC card to be screened at the entrance of the CPC card through the lane card reader, send a specific TimeCos instruction to read the power byte stored in the CPC basic information file, obtain the EF02 file, and determine that the content corresponding to the first byte in the EF02 file is the power byte corresponding to the EF02 file.

5. The low-power CPC card screening method according to claim 1, characterized in that: The obtaining the information responded by the VST through the 5.8G communication link to obtain the second power information includes: An ETC communication link is established between the 5.8G device and the CPC card to be screened, information is exchanged through BST and VST protocol frames, and the second power information is determined based on the information responded by VST.

6. The low-power CPC card screening method according to claim 1, characterized in that: The determining whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information to obtain a determination result includes: Whether the CPC card to be screened is a low-power CPC card is determined according to the highest bit of the byte of the power information to obtain a determination result.

7. The low-power CPC card screening method according to claim 6, characterized in that: The determining whether the CPC card to be screened is a low-power CPC card according to the highest bit of the byte of the second power information to obtain a determination result includes: When the highest bit of the byte of the second power information is 1, it is determined that the CPC card to be screened is a low-power CPC card to obtain a determination result.

8. Low power CPC card screening device, characterized in that: include: An information acquisition unit, used to acquire the EF02 file corresponding to the CPC card to be screened; A rewriting unit, used to rewrite the EF02 file, and use a 13.56MHz communication link to obtain again the power byte corresponding to the EF02 file corresponding to the CPC card to be screened, so as to obtain a rewriting result; A judging unit, used for judging whether the power information corresponding to the CPC card to be screened is valid according to the rewriting result; A first acquisition unit is used to determine the power byte corresponding to the EF02 file corresponding to the CPC card to be screened obtained again using the 13.56 MHz communication link as the first power information if the power information is valid; A first determination unit, configured to determine whether the CPC card to be screened is a low-power CPC card according to the first power information, so as to obtain a determination result; A processing unit, configured to refuse to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card; A second acquiring unit, configured to acquire information responded by the VST through a 5.8G communication link to obtain second power information if the power information is invalid; The second determination unit is used to determine whether the CPC card to be screened is a low-power CPC card according to the bytes in the second power information to obtain a determination result, and execute the step of refusing to issue the CPC card to be screened when the determination result is that the CPC card to be screened is a low-power CPC card.

9. A computer device, characterized in that: The computer device comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • ETC card top-up method

    CN106548575A

  • Low-electric-quantity highway CPC card detection method, device, equipment and medium

    CN116933829A

  • High-speed handheld cloud charging system

    CN118097807A

  • Method of reducing power consumption of terminal, and terminal

    WO2017133253A1