CN112465512A - Recharge revocation control method and device for rechargeable card - Google Patents

Recharge revocation control method and device for rechargeable card Download PDF

Info

Publication number
CN112465512A
CN112465512A CN202011342209.8A CN202011342209A CN112465512A CN 112465512 A CN112465512 A CN 112465512A CN 202011342209 A CN202011342209 A CN 202011342209A CN 112465512 A CN112465512 A CN 112465512A
Authority
CN
China
Prior art keywords
rechargeable card
target
revocation
charge
recharging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011342209.8A
Other languages
Chinese (zh)
Inventor
邓志
伍卫中
杨育文
李孟杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Yang Cheng Tong Co ltd
Original Assignee
Guangzhou Yang Cheng Tong Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Yang Cheng Tong Co ltd filed Critical Guangzhou Yang Cheng Tong Co ltd
Priority to CN202011342209.8A priority Critical patent/CN112465512A/en
Publication of CN112465512A publication Critical patent/CN112465512A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/407Cancellation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/349Rechargeable cards

Abstract

The invention discloses a recharge revocation control method and a recharge revocation control device for a rechargeable card, wherein the method comprises the following steps: detecting a charge cancellation request triggered by a target rechargeable card, wherein the charge cancellation request comprises target information of the target rechargeable card, and the target information of the target rechargeable card at least comprises identification information of the target rechargeable card; judging whether the target rechargeable card meets the determined recharging revocation condition or not according to target information included in the recharging revocation request; and if so, determining a charge canceling instruction of the target rechargeable card, and executing charge canceling operation on the target rechargeable card according to the charge canceling instruction. Therefore, the implementation of the invention can automatically judge whether the rechargeable card meets the recharging revocation condition or not after receiving the recharging revocation request of the rechargeable card, and if so, automatically execute the recharging revocation operation on the rechargeable card according to the recharging revocation instruction without manual participation, thereby improving the accuracy and efficiency of successful recharging revocation of the rechargeable card.

Description

Recharge revocation control method and device for rechargeable card
Technical Field
The invention relates to the technical field of internet, in particular to a recharge revocation control method and device for a rechargeable card.
Background
With the development of science and technology and social economy, various rechargeable cards with basic functions of information storage, information inquiry, transaction payment and the like appear on the market, for example: bus cards, hydroelectric cards, bank cards, and the like. The advent of these rechargeable cards brings great convenience to people's lives, such as: when the user needs to consume, the user can directly use the rechargeable card for consumption without cash.
In real life, when a rechargeable card is recharged for some reason or the rechargeable card is touched by mistake, a user sometimes wants to withdraw the recharging. However, the existing rechargeable card cancels the recharging method: the method often needs to go to a business hall or a recharging point and adopts an artificial counter to cancel recharging, and the canceling recharging method of the rechargeable card has the problems of low canceling recharging efficiency and low accuracy of successful canceling recharging.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and a device for controlling the charge cancellation of a rechargeable card, which can improve the accuracy and efficiency of the successful cancellation of the charge of the rechargeable card.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a charge revocation control method for a rechargeable card, where the method includes:
detecting a charge cancellation request triggered by a target rechargeable card, wherein the charge cancellation request is used for requesting to execute charge cancellation operation on the target rechargeable card and comprises target information of the target rechargeable card, and the target information of the target rechargeable card at least comprises identification information of the target rechargeable card;
judging whether the target rechargeable card meets the determined recharging revocation condition or not according to the target information included in the recharging revocation request;
and when the target rechargeable card meets the recharging revocation condition, determining a revocation recharging instruction of the target rechargeable card, and executing a recharging revocation operation on the target rechargeable card according to the revocation recharging instruction.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the performing, according to the revocation instruction, a value-added revocation operation on the target rechargeable card includes:
sending the canceling and charging instruction aiming at the target rechargeable card to a card reader sending the charging canceling request so as to trigger the card reader to execute the load canceling operation of the target rechargeable card according to the canceling and charging instruction;
and judging whether successful load revocation feedback aiming at the target rechargeable card sent by the card reader is received or not, and determining that the target rechargeable card successfully revokes charging when the successful load revocation feedback is judged to be received.
As an optional implementation manner, in the first aspect of this embodiment of the present invention, the method further includes:
when judging that the successful load revocation feedback is not received, sending a rechargeable card information acquisition instruction to the card reader, wherein the rechargeable card information acquisition instruction is used for requesting to acquire the identification information of the rechargeable card corresponding to the last time of executing revocation and recharging on the card reader;
judging whether data feedback aiming at the rechargeable card information acquisition instruction sent by the card reader is received or not, and judging whether the corresponding identification information of the rechargeable card when the rechargeable card is cancelled for the last time in the data feedback is matched with the identification information of the target rechargeable card or not when the data feedback is judged to be received;
and when the identification information of the rechargeable card corresponding to the last time of executing the cancelling recharging, which is included in the data feedback, is judged to be matched with the identification information of the target rechargeable card, determining that the target rechargeable card cancels the recharging successfully.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the rechargeable card information obtaining instruction is further configured to request to obtain a revocation virtual resource corresponding to the last time of executing revocation and recharging on the card reader;
and after judging that the identification information of the rechargeable card corresponding to the last time of executing the revocation recharging included in the data feedback is matched with the identification information of the target rechargeable card and before the target rechargeable card is determined to be successfully revoked, the method further comprises:
reading a target virtual resource returned from an account corresponding to the target rechargeable card, and judging whether the target virtual resource is greater than or equal to the corresponding revocation virtual resource when the last time of executing revocation recharging included in the data feedback is carried out;
and when judging that the target virtual resource is more than or equal to the corresponding withdrawn virtual resource when the withdrawing recharging is executed for the last time, triggering and executing the operation of determining the successful withdrawing recharging of the target recharging card.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining the revocation instruction of the target rechargeable card and before performing a recharge revocation operation on the target rechargeable card according to the revocation instruction, the method further includes:
sending a revocation request message aiming at the target rechargeable card to a recharging server, wherein the revocation request message comprises identification information of the target rechargeable card;
and judging whether successful response feedback aiming at the revocation request message sent by the recharging server is received or not, and triggering and executing the step of executing the recharging revocation operation on the target rechargeable card according to the revocation instruction when the successful response feedback aiming at the revocation request message is judged to be received.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining, according to the target information included in the charge revocation request, whether the target rechargeable card meets the determined charge revocation condition includes:
judging whether the target rechargeable card has unfinished operations according to the target information included in the recharging revocation request, wherein the unfinished operations comprise unfinished recharging operations and/or unfinished consuming operations;
and when judging that the target rechargeable card has no unfinished operation, determining that the target rechargeable card meets the determined recharging revocation condition.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after determining that the target rechargeable card meets the recharge revocation condition, and before determining a revocation instruction of the target rechargeable card, the method further includes:
judging whether the target rechargeable card is successfully initialized or not, and when the target rechargeable card is judged to be successfully initialized, acquiring initialization data of the target rechargeable card and verifying the initialization data of the target rechargeable card;
and when the initialized data of the target rechargeable card passes the verification, triggering and executing the operation of determining the revocation recharging instruction of the target rechargeable card.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, after detecting a charge revocation request triggered by a target rechargeable card, and before determining whether the target rechargeable card meets a determined charge revocation condition according to the target information included in the charge revocation request, the method further includes:
judging whether the target rechargeable card is the determined rechargeable card capable of being recharged and cancelled or not according to the identification information of the target rechargeable card;
and when the target rechargeable card is judged to be the rechargeable card capable of being recharged and cancelled, triggering and executing the operation of judging whether the target rechargeable card meets the determined recharging and cancelling conditions or not according to the target information included in the recharging and cancelling request.
The second aspect of the embodiment of the invention discloses a charge revocation control device of a rechargeable card, which comprises:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting a charge cancellation request triggered by a target rechargeable card, the charge cancellation request is used for requesting to execute charge cancellation operation on the target rechargeable card, and the charge cancellation request comprises target information of the target rechargeable card, wherein the target information of the target rechargeable card at least comprises identification information of the target rechargeable card;
the judging module is used for judging whether the target rechargeable card meets the determined recharging revocation condition according to the target information included in the recharging revocation request;
the determining module is used for determining a charge canceling instruction of the target rechargeable card when the judging module judges that the target rechargeable card meets the charge canceling condition;
and the charge canceling module is used for executing charge canceling operation on the target rechargeable card according to the cancel charge instruction.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the recharge revocation module includes a sending sub-module, a judging sub-module, and a determining sub-module, where:
the sending sub-module is used for sending the charge canceling instruction aiming at the target rechargeable card to a card reader sending the charge canceling request so as to trigger the card reader to execute the load canceling operation of the target rechargeable card according to the charge canceling instruction;
the judging submodule is used for judging whether successful load revocation feedback aiming at the target rechargeable card sent by the card reader is received or not;
and the determining submodule is used for determining that the target rechargeable card successfully cancels the recharging when the judging submodule judges that the successful load cancellation feedback is received.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the sending sub-module is further configured to send a rechargeable card information obtaining instruction to the card reader when the judging sub-module judges that the successful load revocation feedback is not received, where the rechargeable card information obtaining instruction is used to request to obtain identification information of a rechargeable card corresponding to the last time that the card reader executes revocation and recharging;
the judging submodule is used for judging whether data feedback aiming at the rechargeable card information acquisition instruction sent by the card reader is received or not;
the judgment sub-module is further configured to judge whether the identification information of the rechargeable card corresponding to the last time of the cancellation of recharging included in the data feedback is matched with the identification information of the target rechargeable card when the data feedback is judged to be received;
the determining sub-module is further configured to determine that the target rechargeable card cancels recharging successfully when the judging sub-module judges that the identification information of the rechargeable card corresponding to the last time of canceling recharging included in the data feedback matches the identification information of the target rechargeable card.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the rechargeable card information obtaining instruction is further configured to request to obtain a revocation virtual resource corresponding to the last time of executing revocation and recharging on the card reader;
and the recharge revocation module further comprises a reading sub-module, wherein:
the reading sub-module is configured to read a target virtual resource returned from an account corresponding to the target rechargeable card after the judging sub-module judges that the identification information of the rechargeable card corresponding to the last time of executing the revocation of recharging included in the data feedback matches the identification information of the target rechargeable card and before the determining sub-module determines that the target rechargeable card succeeds in the revocation of recharging;
the judging submodule is further configured to judge whether the target virtual resource is greater than or equal to the revocation virtual resource corresponding to the last time of performing revocation and recharging included in the data feedback, and when the target virtual resource is judged to be greater than or equal to the revocation virtual resource corresponding to the last time of performing revocation and recharging, trigger the determining submodule to perform the operation of determining that the target rechargeable card successfully revokes recharging.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the apparatus further includes:
a sending module, configured to send a revocation request message for the target rechargeable card to a rechargeable server after the determining module determines the target rechargeable card revocation instruction and before the recharging revocation module performs a recharging revocation operation on the target rechargeable card according to the revocation instruction, where the revocation request message includes identification information of the target rechargeable card;
the judging module is further configured to judge whether a successful response feedback to the revocation request packet sent by the recharge server is received, and when the successful response feedback to the revocation request packet is judged to be received, trigger the recharge revocation module to execute the step of executing the recharge revocation operation on the target rechargeable card according to the revocation instruction.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, a manner that the determining module determines whether the target rechargeable card meets the determined recharging and canceling condition according to the target information included in the recharging and canceling request is specifically:
judging whether the target rechargeable card has unfinished operations according to the target information included in the recharging revocation request, wherein the unfinished operations comprise unfinished recharging operations and/or unfinished consuming operations;
and when judging that the target rechargeable card has no unfinished operation, determining that the target rechargeable card meets the determined recharging revocation condition.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining module is further configured to determine whether the target rechargeable card is initialized successfully after determining that the target rechargeable card meets the recharge revocation condition and before the determining module determines a revocation instruction of the target rechargeable card;
and, the apparatus further comprises:
the acquisition module is used for acquiring initialization data of the target rechargeable card when the judgment module judges that the target rechargeable card is successfully initialized;
and the verification module is used for verifying the initialization data of the target rechargeable card, and when the initialization data of the target rechargeable card passes the verification, the determination module is triggered to execute the operation of determining the revocation recharging instruction of the target rechargeable card.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining module is further configured to, after the detecting module detects a charge cancellation request triggered for a target rechargeable card and before determining whether the target rechargeable card meets the determined charge cancellation condition according to the target information included in the charge cancellation request, determine whether the target rechargeable card is the determined rechargeable card capable of charge cancellation according to the identification information of the target rechargeable card, and when determining that the target rechargeable card is the rechargeable card capable of charge cancellation, trigger execution of the operation of determining whether the target rechargeable card meets the determined charge cancellation condition according to the target information included in the charge cancellation request.
The third aspect of the present invention discloses another charge revocation control apparatus for a rechargeable card, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the charge revocation control method of the rechargeable card disclosed by the first aspect of the invention.
The fourth aspect of the present invention discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are called, the computer instructions are used for executing the charge revocation control method for the rechargeable card disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention discloses a recharge revocation control method and a recharge revocation control device for a rechargeable card, wherein the method comprises the following steps: detecting a charge cancellation request triggered by a target rechargeable card, wherein the charge cancellation request is used for requesting to execute charge cancellation operation on the target rechargeable card and comprises target information of the target rechargeable card, and the target information of the target rechargeable card at least comprises identification information of the target rechargeable card; judging whether the target rechargeable card meets the determined recharging revocation condition or not according to target information included in the recharging revocation request; and when the target rechargeable card meets the recharging and canceling condition, determining a canceling recharging instruction of the target rechargeable card, and executing the recharging and canceling operation on the target rechargeable card according to the canceling recharging instruction. Therefore, by implementing the embodiment of the invention, after receiving the charge cancellation request of the rechargeable card, whether the rechargeable card meets the charge cancellation condition is automatically judged, if so, the charge cancellation operation is automatically executed on the rechargeable card according to the charge cancellation instruction without manual participation, the accuracy and efficiency of successfully cancelling the charge of the rechargeable card can be improved, and the intelligent management of the rechargeable card is optimized.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a charge revocation control method for a rechargeable card according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another charge revocation control method for a rechargeable card according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a charge revocation control apparatus for a rechargeable card according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another charge revocation control apparatus for a rechargeable card according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another charge revocation control apparatus for a rechargeable card according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, apparatus, product, or apparatus that comprises a list of steps or elements is not limited to those listed but may alternatively include other steps or elements not listed or inherent to such process, method, product, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The invention discloses a recharge and revocation control method and a recharge and revocation control device for a rechargeable card, which can automatically judge whether the rechargeable card meets recharge and revocation conditions after receiving a recharge and revocation request of the rechargeable card, and automatically execute recharge and revocation operation on the rechargeable card according to a recharge and revocation instruction if the recharge and revocation request meets the recharge and revocation conditions, so that manual participation is not needed, the accuracy and efficiency of successful recharge and revocation of the rechargeable card can be improved, and the intelligent management of the rechargeable card is optimized. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a charge revocation control method for a rechargeable card according to an embodiment of the present invention. The charge revocation control method of the rechargeable card described in fig. 1 may be applied to a charge terminal. As shown in fig. 1, the charge revocation control method of the rechargeable card may include the following steps:
101. and detecting a charge cancellation request triggered aiming at the target rechargeable card, wherein the charge cancellation request comprises target information of the target rechargeable card.
In the embodiment of the invention, the charge revocation request is used for requesting to execute the charge revocation operation on the target rechargeable card. Further, the charge revocation request may be sent by a card reader, or may be sent by a user terminal of a holder of the target rechargeable card. The card reader is provided with a sensing area for sensing the target rechargeable card, and when the target rechargeable card is placed in the sensing area of the card reader, the card reader reads target information of the target rechargeable card and sends a recharging cancellation request for the target rechargeable card to the recharging terminal. The target information of the target rechargeable card at least comprises identification information of the target rechargeable card. Further, the target information of the target rechargeable card further includes a recharge revocation virtual resource of the target rechargeable card, for example: a virtual amount. Still further, the target information of the target rechargeable card further includes a virtual resource of the target rechargeable card. The identification information of the target rechargeable card comprises a number of the target rechargeable card and/or a user identification corresponding to the target rechargeable card, wherein the user identification comprises a user identification number and/or a name.
In the embodiment of the invention, the target rechargeable card is any rechargeable card which needs to execute the recharging revocation.
102. Judging whether the target rechargeable card meets the determined recharging revocation condition or not according to target information included in the recharging revocation request; when the target rechargeable card is judged to meet the recharging revocation condition, the step 103 can be triggered and executed; when the target rechargeable card is judged not to meet the recharging revocation condition, the process can be ended.
In the embodiment of the present invention, as an optional implementation manner, determining whether the target rechargeable card meets the determined recharging and canceling condition according to target information included in the recharging and canceling request includes:
judging whether the target rechargeable card has unfinished operations according to target information included in the recharging revocation request, wherein the unfinished operations comprise unfinished recharging operations and/or unfinished consuming operations;
and when the target rechargeable card is judged to have no unfinished operation, determining that the target rechargeable card meets the determined recharging revocation condition.
In this alternative embodiment, the incomplete charging operation is an operation indicating that there is a charging interruption for the target rechargeable card. The incomplete consuming operation is used for a payment operation indicating that the target rechargeable card has a fee to be paid.
In this optional embodiment, optionally, when it is determined that the target prepaid card has an incomplete operation, the process is ended, or an operation determination prompt is sent to a user terminal corresponding to the target prepaid card, a corresponding operation is executed according to the operation determination prompt of a user corresponding to the user terminal, and a following recharge revocation instruction for determining the target prepaid card is triggered to be executed, for example: the rechargeable card A has 10 yuan to be paid, and when the payment is finished by 10 yuan, the subsequent operation of determining the target rechargeable card to cancel the recharging instruction is continuously executed.
Therefore, in the optional implementation mode, by judging that the rechargeable card does not have unfinished transaction operation and/or unfinished recharging operation, the rechargeable card can meet the recharging revocation condition, the determination mode that the rechargeable card meets the recharging revocation condition is enriched, and the determination accuracy and efficiency that the rechargeable card meets the recharging revocation condition are improved.
103. And determining a revocation recharging instruction of the target recharging card.
In the embodiment of the present invention, optionally, the charge cancellation command of the target rechargeable card may be automatically generated by the charge cancellation control device of the rechargeable card after determining that the target rechargeable card meets the charge cancellation condition, or may be fed back to the charge server and received by the charge server after determining that the target rechargeable card meets the charge cancellation condition.
104. And executing charge cancellation operation on the target rechargeable card according to the cancel charge instruction.
It can be seen that, by implementing the charge revocation control method of the rechargeable card described in fig. 1, after receiving the charge revocation request of the rechargeable card, it is possible to automatically determine whether the rechargeable card meets the charge revocation condition, and if so, automatically perform the charge revocation operation on the rechargeable card according to the charge revocation instruction, without manual participation, so that the accuracy and efficiency of successfully revoking the charge of the rechargeable card can be improved, and the intelligent management of the rechargeable card can be optimized.
In an optional embodiment, the performing, according to the revocation instruction, a charge revocation operation on the target rechargeable card includes:
sending a cancellation recharging instruction aiming at the target rechargeable card to the card reader sending the recharging cancellation request so as to trigger the card reader to execute the earmark cancellation operation of the target rechargeable card according to the cancellation recharging instruction;
and judging whether successful load revocation feedback aiming at the target rechargeable card sent by the card reader is received or not, and determining that the target rechargeable card successfully revokes the recharging when judging that the successful load revocation feedback is received.
In this optional embodiment, optionally, when the target rechargeable card successfully cancels the recharging, revocation information of the target rechargeable card is stored, where the revocation information of the target rechargeable card includes revoked virtual resources. Further, the revocation information of the target rechargeable card further includes revocation time and/or identification information of a card reader performing a load revocation operation, for example: the number of the card reader, etc. Still further, when the target rechargeable card is successfully recharged, printing revocation success information of the target rechargeable card, for example: and canceling the success document, wherein the canceling success information of the target rechargeable card comprises canceling information of the target rechargeable card.
Therefore, in the optional embodiment, the revocation recharging instruction is automatically sent to the card reader of the rechargeable card to trigger the card reader to automatically stop the corresponding virtual resources from being circled in the account to the rechargeable card, so that the determination of revocation and recharging of the rechargeable card can be realized.
In another optional embodiment, the method for controlling the charge revocation of the rechargeable card may further include the steps of:
when judging that the successful load revocation feedback is not received, sending a rechargeable card information acquisition instruction to the card reader, wherein the rechargeable card information acquisition instruction is used for requesting to acquire the identification information of the corresponding rechargeable card when the card reader executes revocation recharging for the last time;
judging whether data feedback aiming at a rechargeable card information acquisition instruction sent by a card reader is received or not, and judging whether the corresponding identification information of the rechargeable card when the rechargeable card is cancelled for the last time in the data feedback is matched with the identification information of a target rechargeable card or not when the data feedback is judged to be received;
and when the identification information of the rechargeable card corresponding to the last time of executing the cancelling recharging, which is included in the data feedback, is judged to be matched with the identification information of the target rechargeable card, determining that the target rechargeable card cancels the recharging successfully.
In this optional embodiment, optionally, when the feedback of the card reader is not received or the received feedback is used to indicate that the load revocation is not successful, it indicates that the load revocation feedback is not received.
In this optional embodiment, optionally, when data feedback for the rechargeable card information acquisition instruction sent by the card reader is not received, it is determined that the card reader has a fault, for example: and (4) halting or data line failure, and submitting a load revocation failure prompt to the recharge server.
It can be seen that, after determining that the successful credit-earning revocation feedback of the rechargeable card is not received, the optional embodiment further automatically compares the identification information of the rechargeable card corresponding to the last time of executing revocation of the rechargeable card fed back by the card reader according to the rechargeable card information acquisition instruction with the identification information of the rechargeable card corresponding to the request of revocation of the rechargeable card, and if the identification information of the rechargeable card is matched with the identification information of the rechargeable card corresponding to the request of revocation of the rechargeable card, the rechargeable card can be determined to be successfully revoked, so that the accuracy and reliability of the rechargeable card to be revoked are improved, the possibility of determining the rechargeable card to be revoked is improved, and the intelligent functions of the rechargeable terminal are enriched.
In yet another optional embodiment, the rechargeable card information obtaining instruction is further configured to request to obtain a corresponding revoked virtual resource when the card reader performs the revoked recharging last time. And after judging that the identification information of the corresponding rechargeable card, which is included in the data feedback and is obtained when the rechargeable card is cancelled for the last time, is matched with the identification information of the target rechargeable card and before determining that the target rechargeable card cancels the recharging successfully, the recharging cancellation control method of the rechargeable card can further comprise the following steps:
reading a target virtual resource returned from an account corresponding to the target rechargeable card, and judging whether the target virtual resource is greater than or equal to a corresponding revocation virtual resource when the last time of executing revocation recharging included in data feedback is carried out;
and when the target virtual resource is judged to be more than or equal to the corresponding withdrawn virtual resource when the withdrawing recharging is executed for the last time, triggering and executing the operation of determining the successful withdrawing recharging of the target recharging card.
It can be seen that, in the optional embodiment, when it is determined that the identification information of the prepaid card corresponding to the last time of performing the revocation of the prepaid card matches the identification information of the prepaid card corresponding to the request for the revocation of the prepaid card, it is further automatically determined whether the virtual resource returned in the account corresponding to the prepaid card is greater than or equal to the revocation virtual resource corresponding to the last time of performing the revocation of the prepaid card, and if so, it can be determined that the prepaid card has successfully revoked the prepaid card, thereby further improving the accuracy and reliability of the revocation of the prepaid card, further improving the determination possibility of the revocation of the prepaid card, and further enriching the intelligent functions of the prepaid terminal.
In yet another optional embodiment, after determining the revocation instruction of the target rechargeable card and before performing the charge revocation operation on the target rechargeable card according to the revocation instruction, the charge revocation control method of the rechargeable card may further include the following steps:
sending a revocation request message aiming at the target rechargeable card to a recharging server, wherein the revocation request message comprises identification information of the target rechargeable card;
and judging whether successful response feedback aiming at the revocation request message sent by the recharging server is received or not, and triggering and executing the step of executing the recharging revocation operation on the target rechargeable card according to the revocation instruction when the successful response feedback aiming at the revocation request message is judged to be received.
In this optional embodiment, the revocation request message may further include the revocation virtual resource of the target prepaid card and/or the identification information of the target prepaid card.
In this optional embodiment, optionally, when it is determined that a successful response feedback for the revocation request message is not received, generating revocation and recharging failure information of the target rechargeable card, and displaying the revocation and recharging failure information, where the revocation and recharging failure information includes that the type of the target rechargeable card is an unrevoable recharging type or the number of times of the target rechargeable card that is revoked and recharged within a preset time period (e.g., within one natural month) is greater than or equal to a determined revocation and recharging number threshold (e.g., 10 times).
It can be seen that, in the optional embodiment, after determining the charge card revocation instruction, the method further automatically sends the charge card revocation request message to the charge server, and only after the charge server successfully responds, the subsequent charge card revocation operation is executed on the charge card, so that the execution accuracy and reliability of the charge revocation operation can be improved, and the success probability of the charge card revocation is improved.
In yet another optional embodiment, after the charge cancellation operation is performed on the target rechargeable card according to the cancellation charge instruction, the charge cancellation control method for the rechargeable card may further include the following steps:
sending a revocation submission message aiming at the target rechargeable card to a recharging server, wherein the revocation submission message comprises at least one of identification information of the target rechargeable card, revocation virtual resources of the target rechargeable card, revocation time of the target rechargeable card and identification information of a card reader executing the earmark revocation operation;
and judging whether successful response feedback aiming at the cancelled submission message sent by the recharging server is received or not, and controlling the printing equipment to print the cancelled submission message when the successful response feedback aiming at the cancelled submission message is judged to be received.
In this optional embodiment, optionally, when the revocation submission message of the target rechargeable card is not successfully sent or a successful response feedback for the revocation submission message sent by the recharging server is not received, the revocation submission message is sent to the recharging server for at most a preset number of times (for example, 3 times), and if the successful response feedback for the revocation submission message sent by the recharging server is not received yet, a resubmission prompt is generated, where the resubmission prompt is used to prompt the recharging terminal to execute a recharging operation or a power-on operation of any rechargeable card next time or resend the revocation submission message for the target rechargeable card to the recharging server when the recharging operation is cancelled. Therefore, the possibility of recording the revocation and submission message of the rechargeable card can be improved, and the intelligent processing of the rechargeable card is improved. Further optionally, before sending the revocation submission message of at most the preset times to the recharge server, if the recharge server feeds back a status code indicating a network fault and/or a busy system, the operation of sending the revocation submission message of at most the preset times by the recharge server is triggered and executed, so that the successful sending probability of the revocation submission message is favorably improved; if the state code used for showing that the sending of the revocation submission message is definitely failed is fed back by the recharging server, the sending of the revocation submission message is stopped, and the revocation submission message and the sending failure mark (for example, 0) are recorded, so that the verification of the revocation submission message of the rechargeable card by a worker is facilitated, and a reference basis is provided for the improvement of the recharging device and/or the recharging server.
In yet another optional embodiment, after determining that the target rechargeable card meets the charge cancellation condition and before determining the cancellation charge instruction of the target rechargeable card, the charge cancellation control method for the rechargeable card may further include the following steps:
judging whether the target rechargeable card is successfully initialized, and when the target rechargeable card is successfully initialized, acquiring initialization data of the target rechargeable card and verifying the initialization data of the target rechargeable card;
and when the initialized data of the target rechargeable card passes the verification, triggering and executing the operation of determining the charge cancellation instruction of the target rechargeable card.
In this optional embodiment, the initialization data of the target rechargeable card includes at least one of a card issuing authority identifier, an interworking card type identifier, an intra-provincial interworking identifier, a validity period of a region card type, a key index, a wallet balance, an online transaction serial number, a card random number, and a Media Access Control Address (MAC) of the target rechargeable card.
Therefore, after the rechargeable card is judged to meet the recharging and canceling conditions, the subsequent operation of determining the command for canceling the rechargeable card is executed after the rechargeable card is initialized successfully and the initialized data of the rechargeable card is verified successfully, so that the accuracy and the reliability of determining the command for canceling the rechargeable card can be improved, and the accuracy and the reliability of executing the command for canceling the rechargeable card are further improved.
In yet another optional embodiment, after detecting a charge revocation request triggered for a target rechargeable card and before determining whether the target rechargeable card meets the determined charge revocation condition according to target information included in the charge revocation request, the charge revocation control method for the rechargeable card may further include the following steps:
judging whether the interval duration between the current time and the end time of the day is less than or equal to a determined interval duration threshold (for example, 60 minutes), detecting whether the target rechargeable card has successfully cancelled recharging when the interval duration is less than or equal to the interval duration threshold, and sending a recharging cancellation prompt to the terminal equipment corresponding to the target rechargeable card when the target rechargeable card is not successfully cancelled, wherein the recharging cancellation prompt is used for prompting a user corresponding to the target rechargeable card to execute the recharging cancellation of the target rechargeable card.
Therefore, when the current time is closer to the end time of the day, the optional embodiment further automatically judges whether the rechargeable card cancels the recharging successfully, if the rechargeable card does not cancel the recharging successfully, a recharging cancellation prompt is output, so that the situation that the rechargeable card cannot cancel the recharging successfully due to network failure or temporary suspension of the cancelling of the recharging in the midway of a certain event occurs, the possibility of the successful cancelling of the recharging of the rechargeable card is further improved, and the experience of a user is improved.
In an optional embodiment, after detecting a charge revocation request triggered for a target rechargeable card, the charge revocation control method for the rechargeable card may further include the steps of:
judging whether the charge revocation request is from the card reader, and triggering and executing the operation of judging whether the target rechargeable card meets the determined charge revocation condition according to the target information included in the charge revocation request when the judgment result is yes; when the charge cancellation request is judged not to be originated from the card reader, sending a data reading prompt of the target rechargeable card to the card reader to trigger the card reader to read the information of the target rechargeable card, updating the target information of the target rechargeable card based on the information of the target rechargeable card after receiving the information of the target rechargeable card sent by the card reader, and triggering and executing the operation of judging whether the target rechargeable card meets the determined charge cancellation condition according to the target information included in the charge cancellation request.
Therefore, in the optional embodiment, before the operation of canceling and recharging the rechargeable card is performed, the read operation such as loading is performed on the rechargeable card again, so that the possibility that the acquired data of the rechargeable card is the latest data can be improved, and the accuracy and the reliability of canceling and recharging the rechargeable card can be improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another charge revocation control method for a rechargeable card according to an embodiment of the present invention. The charge revocation control method for the rechargeable card described in fig. 2 may be applied to a charge terminal. As shown in fig. 2, the charge revocation control method of the rechargeable card may include the following steps:
201. and detecting a charge cancellation request triggered aiming at the target rechargeable card, wherein the charge cancellation request comprises target information of the target rechargeable card.
In the embodiment of the invention, the charge revocation request is used for requesting to execute charge revocation operation on the target rechargeable card, and the target information of the target rechargeable card at least comprises the identification information of the target rechargeable card.
202. Judging whether the target rechargeable card is the determined rechargeable card capable of being recharged and cancelled or not according to the identification information of the target rechargeable card; when the target rechargeable card is judged to be the rechargeable card capable of being recharged and cancelled, triggering to execute the step 203; and when the target rechargeable card is judged not to be the rechargeable card capable of being recharged and cancelled, ending the process.
203. Judging whether the target rechargeable card meets the determined recharging revocation condition or not according to target information included in the recharging revocation request; when the target rechargeable card is judged to meet the recharging revocation condition, the step 204 can be triggered and executed; when the target rechargeable card is judged not to meet the recharging revocation condition, the process can be ended.
Therefore, after the charge revocation request for the rechargeable card is detected, whether the rechargeable card is the rechargeable card capable of charge revocation is further automatically judged according to the identification information of the rechargeable card, if yes, subsequent operation is executed, and the execution accuracy and reliability of charge revocation of the rechargeable card can be further improved.
204. And determining a revocation recharging instruction of the target recharging card.
205. And executing charge cancellation operation on the target rechargeable card according to the cancel charge instruction.
In the embodiment of the present invention, for the related descriptions of step 201, step 203 to step 205, refer to the detailed descriptions of step 101 to step 104 in the first embodiment, which are not repeated herein.
It can be seen that, by implementing the charge revocation control method for the rechargeable card described in fig. 2, after receiving the charge revocation request of the rechargeable card, it can be automatically determined whether the rechargeable card meets the charge revocation condition, and if so, automatically perform the charge revocation operation on the rechargeable card according to the charge revocation instruction without manual participation, thereby improving the accuracy and efficiency of successfully revoking the rechargeable card, optimizing the intelligent management of the rechargeable card, and further improving the accuracy and reliability of executing the charge revocation of the rechargeable card.
In an optional embodiment, the method for controlling the charge revocation of the rechargeable card may further include the following steps:
when the target rechargeable card is judged not to be the rechargeable card capable of being recharged and cancelled, or when the target rechargeable card is judged not to meet the recharging and cancelling conditions, whether the target rechargeable card meets the determined recharging conditions or not is judged according to the identification information of the target rechargeable card, and when the target rechargeable card meets the recharging conditions, initialization operation is executed on the target rechargeable card, and recharging operation is executed on the target rechargeable card.
In this optional embodiment, optionally, when it is determined that the target rechargeable card is not in the determined blacklist, it is determined that the target rechargeable card meets the determined recharging conditions, or when it is determined that the type of the target rechargeable card is a rechargeable card of a rechargeable type, it is determined that the target rechargeable card meets the determined recharging conditions, or when the target rechargeable card is neither a rechargeable card in the blacklist nor a rechargeable card of a rechargeable type, it is determined that the target rechargeable card meets the determined recharging conditions.
Therefore, when the rechargeable card is judged not to meet the recharge revocation condition, the optional embodiment automatically judges whether the rechargeable card meets the recharge condition, if so, the rechargeable card is automatically initialized and recharged, so that the recharge accuracy and efficiency of the rechargeable card can be improved, and the intelligent function of the recharge terminal is further enriched.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a charge revocation control apparatus for a rechargeable card according to an embodiment of the present invention. The charge revocation control device of the rechargeable card described in fig. 3 can be applied to a charge terminal. As shown in fig. 3, the charge revocation control apparatus of the rechargeable card may include a detection module 301, a judgment module 302, a determination module 303, and a charge revocation module 304, wherein:
the detection module 301 is configured to detect a charge revocation request triggered by a target rechargeable card, where the charge revocation request is used to request a charge revocation operation to be performed on the target rechargeable card, and the charge revocation request includes target information of the target rechargeable card, where the target information of the target rechargeable card at least includes identification information of the target rechargeable card.
The judging module 302 is configured to judge whether the target rechargeable card meets the determined recharging and canceling condition according to the target information included in the recharging and canceling request.
The determining module 303 is configured to determine a charge cancellation instruction of the target rechargeable card when the determining module 302 determines that the target rechargeable card meets the charge cancellation condition.
And the charge revocation module 304 is configured to execute a charge revocation operation on the target rechargeable card according to the revocation charge instruction.
It can be seen that, the charge revocation control apparatus implementing the rechargeable card described in fig. 3 can automatically determine whether the rechargeable card meets the charge revocation condition after receiving the charge revocation request of the rechargeable card, and if so, automatically perform the charge revocation operation on the rechargeable card according to the charge revocation instruction, without manual participation, so that the accuracy and efficiency of successfully revoking the charge of the rechargeable card can be improved, and the intelligent management of the rechargeable card can be optimized.
In an alternative embodiment, as shown in fig. 4, the charge withdrawal module 304 includes a sending sub-module 3041, a judging sub-module 3042, and a determining sub-module 3043, wherein:
the sending submodule 3041 is configured to send a charge canceling instruction for the target rechargeable card to the card reader that sends the charge canceling request, so as to trigger the card reader to execute a load canceling operation of the target rechargeable card according to the charge canceling instruction.
The determining submodule 3042 is configured to determine whether a successful load revocation feedback sent by the card reader for the target rechargeable card is received.
The determining submodule 3043 is configured to determine that the target rechargeable card successfully cancels recharging when the determining submodule 3042 determines that the successful load cancellation feedback is received.
In this optional embodiment, after the sending sub-module 3041 sends a revocation charge instruction for the target rechargeable card to the card reader that sends the charge cancellation request to trigger the card reader to execute the load cancellation operation of the target rechargeable card according to the revocation charge instruction, the determining sub-module 3042 may be triggered to execute the above operation of determining whether the successful load cancellation feedback for the target rechargeable card sent by the card reader is received.
It can be seen that, by implementing the charge cancellation control device for the rechargeable card described in fig. 4, a cancellation charge instruction can be automatically sent to the card reader of the rechargeable card to trigger the card reader to automatically stop circling the corresponding virtual resource from the account into the rechargeable card, so that the determination of the cancellation charge of the rechargeable card can be realized.
In another alternative embodiment, as shown in fig. 4, the sending sub-module 3041 is further configured to send, when the determining sub-module 3042 determines that the cancellation feedback of successful load revoke is not received, a rechargeable card information obtaining instruction to the card reader, where the rechargeable card information obtaining instruction is used to request to obtain the identification information of the rechargeable card corresponding to the last time the card reader performs the cancellation of recharging.
The determining submodule 3042 is configured to determine whether data feedback sent by the card reader and directed to the rechargeable card information obtaining instruction is received.
The determining sub-module 3042 is further configured to, when it is determined that the data feedback is received, determine whether the identification information of the rechargeable card corresponding to the last time the revocation of recharging is performed, included in the data feedback, matches with the identification information of the target rechargeable card.
The determining sub-module 3043 is further configured to determine that the target rechargeable card successfully cancels the recharging when the determining sub-module 3042 determines that the identification information of the rechargeable card, which is included in the data feedback and corresponds to the last time of canceling the recharging, matches the identification information of the target rechargeable card.
It can be seen that, the charge revocation control apparatus implementing the rechargeable card described in fig. 4 can further automatically compare the identification information of the rechargeable card corresponding to the last time of executing revocation of the charge fed back by the card reader according to the information acquisition instruction of the rechargeable card with the identification information of the rechargeable card corresponding to the charge revocation request after judging that the successful earmark revocation feedback of the rechargeable card is not received, and if the identification information of the rechargeable card corresponding to the last execution revocation of the charge feedback instruction is matched with the identification information of the rechargeable card, the successful revocation of the rechargeable card can be determined, the accuracy and reliability of the charge revocation of the rechargeable card are improved, the determination possibility of the charge revocation of the rechargeable card is improved, and the intelligent function of the charge terminal is enriched.
In yet another optional embodiment, the rechargeable card information obtaining instruction is further configured to request to obtain a corresponding revoked virtual resource when the card reader performs the revocation recharging last time. And, as shown in fig. 4, the load revocation module 304 further includes a reading sub-module 3044, wherein:
the reading sub-module 3044 is configured to, after the determining sub-module 3042 determines that the identification information of the rechargeable card corresponding to the last time of the cancellation of recharging included in the data feedback matches the identification information of the target rechargeable card, and before the determining sub-module 3043 determines that the target rechargeable card successfully cancels recharging, read the target virtual resource returned in the account corresponding to the target rechargeable card.
The determining submodule 3042 is further configured to determine whether the target virtual resource is greater than or equal to the revocation virtual resource corresponding to the last time of performing revocation and recharging included in the data feedback, and when it is determined that the target virtual resource is greater than or equal to the revocation virtual resource corresponding to the last time of performing revocation and recharging, the determining submodule 3043 is triggered to perform the above operation of determining that the target recharging card successfully revokes recharging.
It can be seen that, when the charge revocation control apparatus implementing the rechargeable card described in fig. 4 determines that the identification information of the rechargeable card corresponding to the last time of executing the revocation charge matches the identification information of the rechargeable card corresponding to the charge revocation request, it can further automatically determine whether the virtual resource returned in the account corresponding to the rechargeable card is greater than or equal to the revocation virtual resource corresponding to the last time of executing the revocation charge, if so, it can be determined that the rechargeable card has successfully cancelled the charge, thereby further improving the accuracy and reliability of the charge revocation of the rechargeable card, further improving the possibility of determining the charge revocation of the rechargeable card, and further enriching the intelligent functions of the terminal.
In yet another alternative embodiment, as shown in fig. 4, the charge revocation control apparatus for a rechargeable card may further include a sending module 305, where:
a sending module 305, configured to send, after the determining module 303 determines the charge cancellation instruction of the target rechargeable card and before the charge cancellation module 304 performs the charge cancellation operation on the target rechargeable card according to the charge cancellation instruction, a cancellation request message for the target rechargeable card to the charge server, where the cancellation request message includes the identification information of the target rechargeable card.
The judging module 302 is further configured to judge whether a successful response feedback sent by the recharge server for the revocation request message is received, and when it is judged that the successful response feedback for the revocation request message is received, trigger the recharge revocation module 304 to perform the above-mentioned step of performing the recharge revocation operation on the target rechargeable card according to the revocation recharge instruction.
It can be seen that, the charge revocation control apparatus for implementing the rechargeable card described in fig. 4 can further automatically send the revocation request message of the rechargeable card to the charge server after determining the revocation instruction of the rechargeable card, and perform subsequent charge revocation operation on the rechargeable card after the charge server successfully responds, so that the accuracy and reliability of the execution of the charge revocation operation can be improved, and the success probability of the revocation of the rechargeable card is improved.
In another alternative embodiment, as shown in fig. 4, the manner that the determining module 302 determines whether the target rechargeable card meets the determined recharging and canceling conditions according to the target information included in the recharging and canceling request specifically includes:
judging whether the target rechargeable card has unfinished operations according to target information included in the recharging revocation request, wherein the unfinished operations comprise unfinished recharging operations and/or unfinished consuming operations;
and when the target rechargeable card is judged to have no unfinished operation, determining that the target rechargeable card meets the determined recharging revocation condition.
It can be seen that, the charge cancellation control device implementing the rechargeable card described in fig. 4 can execute the subsequent operation of determining the charge cancellation instruction of the rechargeable card after the rechargeable card is judged to satisfy the charge cancellation condition and the rechargeable card is initialized successfully and the initialization data of the rechargeable card is verified successfully, so as to improve the accuracy and reliability of determining the charge cancellation instruction of the rechargeable card, and further improve the accuracy and reliability of executing the charge cancellation of the rechargeable card.
In yet another alternative embodiment, as shown in fig. 4, the charge revocation control apparatus for a rechargeable card may further include an obtaining module 306 and a verifying module 307, where:
the determining module 302 is further configured to determine whether the target rechargeable card is successfully initialized after determining that the target rechargeable card meets the charge cancellation condition and before the determining module 303 determines the cancellation charge instruction of the target rechargeable card.
An obtaining module 306, configured to obtain initialization data of the target rechargeable card when the determining module 302 determines that the target rechargeable card has been initialized successfully.
The checking module 307 is configured to check the initialization data of the target rechargeable card, and when the initialization data of the target rechargeable card passes the check, the determining module 303 is triggered to execute the operation of determining that the target rechargeable card cancels the recharging instruction.
It can be seen that, by implementing the charge revocation control device of the rechargeable card described in fig. 4, it can also implement the determination that the rechargeable card satisfies the charge revocation condition by determining that there is no unfinished transaction operation and/or unfinished charge operation on the rechargeable card, enrich the determination manner that the rechargeable card satisfies the charge revocation condition, and improve the determination accuracy and efficiency that the rechargeable card satisfies the charge revocation condition.
In yet another alternative embodiment, as shown in fig. 4, the determining module 302 is further configured to, after the detecting module 301 detects the charge cancellation request triggered by the target rechargeable card, and before determining whether the target rechargeable card meets the determined charge cancellation condition according to target information included in the charge cancellation request, determine whether the target rechargeable card is the determined rechargeable card capable of charge cancellation according to the identification information of the target rechargeable card, and when it is determined that the target rechargeable card is the rechargeable card capable of charge cancellation, trigger the aforementioned operation of determining whether the target rechargeable card meets the determined charge cancellation condition according to the target information included in the charge cancellation request.
It can be seen that, the charge revocation control apparatus implementing the rechargeable card described in fig. 4 can further automatically determine whether the rechargeable card is a rechargeable card capable of charge revocation according to the identification information of the rechargeable card after detecting the charge revocation request for the rechargeable card, and if so, perform subsequent operations, thereby further improving the accuracy and reliability of charge revocation of the rechargeable card.
Example four
Referring to fig. 5, fig. 5 is a schematic diagram illustrating another charge revocation control apparatus for a rechargeable card according to an embodiment of the present invention. The charge revocation control apparatus of the rechargeable card described in fig. 5 may be applied to a charge terminal. As shown in fig. 5, the charge revocation control apparatus of the rechargeable card may include:
a memory 501 in which executable program code is stored;
a processor 502 coupled to a memory 501;
the processor 502 calls the executable program code stored in the memory 501 for executing the operation of the charge revocation control method of the rechargeable card described in the first embodiment or the second embodiment.
EXAMPLE five
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute the operation of the charge revocation control method of a rechargeable card described in the first embodiment or the second embodiment.
EXAMPLE six
An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute the operations of the charge revocation control method of a rechargeable card described in the first or second embodiment.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above detailed description of the embodiments, those skilled in the art will clearly understand that the embodiments may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. Based on such understanding, the above technical solutions may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, where the storage medium includes a Read-Only Memory (ROM), a Random Access Memory (RAM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), a One-time Programmable Read-Only Memory (OTPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc-Read-Only Memory (CD-ROM), or other disk memories, CD-ROMs, or other magnetic disks, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
Finally, it should be noted that: the method and device for controlling the charge revocation of the rechargeable card disclosed in the embodiment of the present invention are only the preferred embodiment of the present invention, and are only used for illustrating the technical solution of the present invention, not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art; the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A recharge revocation control method of a rechargeable card is characterized by comprising the following steps:
detecting a charge cancellation request triggered by a target rechargeable card, wherein the charge cancellation request is used for requesting to execute charge cancellation operation on the target rechargeable card and comprises target information of the target rechargeable card, and the target information of the target rechargeable card at least comprises identification information of the target rechargeable card;
judging whether the target rechargeable card meets the determined recharging revocation condition or not according to the target information included in the recharging revocation request;
and when the target rechargeable card meets the recharging revocation condition, determining a revocation recharging instruction of the target rechargeable card, and executing a recharging revocation operation on the target rechargeable card according to the revocation recharging instruction.
2. The charge revocation control method of the rechargeable card according to claim 1, wherein the performing of the charge revocation operation on the target rechargeable card according to the revocation charge instruction includes:
sending the canceling and charging instruction aiming at the target rechargeable card to a card reader sending the charging canceling request so as to trigger the card reader to execute the load canceling operation of the target rechargeable card according to the canceling and charging instruction;
and judging whether successful load revocation feedback aiming at the target rechargeable card sent by the card reader is received or not, and determining that the target rechargeable card successfully revokes charging when the successful load revocation feedback is judged to be received.
3. The charge revocation control method of a rechargeable card according to claim 2, further comprising:
when judging that the successful load revocation feedback is not received, sending a rechargeable card information acquisition instruction to the card reader, wherein the rechargeable card information acquisition instruction is used for requesting to acquire the identification information of the rechargeable card corresponding to the last time of executing revocation and recharging on the card reader;
judging whether data feedback aiming at the rechargeable card information acquisition instruction sent by the card reader is received or not, and judging whether the corresponding identification information of the rechargeable card when the rechargeable card is cancelled for the last time in the data feedback is matched with the identification information of the target rechargeable card or not when the data feedback is judged to be received;
and when the identification information of the rechargeable card corresponding to the last time of executing the cancelling recharging, which is included in the data feedback, is judged to be matched with the identification information of the target rechargeable card, determining that the target rechargeable card cancels the recharging successfully.
4. The method of claim 3, wherein the voucher card information acquisition command is further configured to request acquisition of a corresponding revoked virtual resource when the last time the voucher card is revoked is executed on the card reader;
and after judging that the identification information of the rechargeable card corresponding to the last time of executing the revocation recharging included in the data feedback is matched with the identification information of the target rechargeable card and before the target rechargeable card is determined to be successfully revoked, the method further comprises:
reading a target virtual resource returned from an account corresponding to the target rechargeable card, and judging whether the target virtual resource is greater than or equal to the corresponding revocation virtual resource when the last time of executing revocation recharging included in the data feedback is carried out;
and when judging that the target virtual resource is more than or equal to the corresponding withdrawn virtual resource when the withdrawing recharging is executed for the last time, triggering and executing the operation of determining the successful withdrawing recharging of the target recharging card.
5. The charge revocation control method of the rechargeable card according to any one of claims 1 to 4, wherein after determining the target rechargeable card's revocation instruction and before performing the charge revocation operation on the target rechargeable card according to the revocation instruction, the method further comprises:
sending a revocation request message aiming at the target rechargeable card to a recharging server, wherein the revocation request message comprises identification information of the target rechargeable card;
and judging whether successful response feedback aiming at the revocation request message sent by the recharging server is received or not, and triggering and executing the step of executing the recharging revocation operation on the target rechargeable card according to the revocation instruction when the successful response feedback aiming at the revocation request message is judged to be received.
6. The charge revocation control method of the rechargeable card according to any one of claims 1 to 4, wherein the determining whether the target rechargeable card satisfies the determined charge revocation condition according to the target information included in the charge revocation request includes:
judging whether the target rechargeable card has unfinished operations according to the target information included in the recharging revocation request, wherein the unfinished operations comprise unfinished recharging operations and/or unfinished consuming operations;
and when judging that the target rechargeable card has no unfinished operation, determining that the target rechargeable card meets the determined recharging revocation condition.
7. The charge revocation control method of a rechargeable card according to claim 5, wherein after determining that the target rechargeable card satisfies the charge revocation condition and before determining a revocation instruction of the target rechargeable card, the method further comprises:
judging whether the target rechargeable card is successfully initialized or not, and when the target rechargeable card is judged to be successfully initialized, acquiring initialization data of the target rechargeable card and verifying the initialization data of the target rechargeable card;
and when the initialized data of the target rechargeable card passes the verification, triggering and executing the operation of determining the revocation recharging instruction of the target rechargeable card.
8. The method for controlling charge revocation of a rechargeable card according to claim 1, 2, 3, 4 or 7, wherein after detecting a charge revocation request triggered for a target rechargeable card and before determining whether the target rechargeable card satisfies the determined charge revocation condition according to the target information included in the charge revocation request, the method further comprises:
judging whether the target rechargeable card is the determined rechargeable card capable of being recharged and cancelled or not according to the identification information of the target rechargeable card;
and when the target rechargeable card is judged to be the rechargeable card capable of being recharged and cancelled, triggering and executing the operation of judging whether the target rechargeable card meets the determined recharging and cancelling conditions or not according to the target information included in the recharging and cancelling request.
9. A charge withdrawal control apparatus for a rechargeable card, the apparatus comprising:
the system comprises a detection module, a processing module and a processing module, wherein the detection module is used for detecting a charge cancellation request triggered by a target rechargeable card, the charge cancellation request is used for requesting to execute charge cancellation operation on the target rechargeable card, and the charge cancellation request comprises target information of the target rechargeable card, wherein the target information of the target rechargeable card at least comprises identification information of the target rechargeable card;
the judging module is used for judging whether the target rechargeable card meets the determined recharging revocation condition according to the target information included in the recharging revocation request;
the determining module is used for determining a charge canceling instruction of the target rechargeable card when the judging module judges that the target rechargeable card meets the charge canceling condition;
and the charge canceling module is used for executing charge canceling operation on the target rechargeable card according to the cancel charge instruction.
10. A charge withdrawal control apparatus for a rechargeable card, the apparatus comprising:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the charge revocation control method of the rechargeable card according to any one of claims 1 to 8.
CN202011342209.8A 2020-11-25 2020-11-25 Recharge revocation control method and device for rechargeable card Pending CN112465512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011342209.8A CN112465512A (en) 2020-11-25 2020-11-25 Recharge revocation control method and device for rechargeable card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011342209.8A CN112465512A (en) 2020-11-25 2020-11-25 Recharge revocation control method and device for rechargeable card

Publications (1)

Publication Number Publication Date
CN112465512A true CN112465512A (en) 2021-03-09

Family

ID=74808360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011342209.8A Pending CN112465512A (en) 2020-11-25 2020-11-25 Recharge revocation control method and device for rechargeable card

Country Status (1)

Country Link
CN (1) CN112465512A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321027A (en) * 2001-05-18 2001-11-07 安智金卡电子设备(北京)有限公司 Wireless communication mode of financial payment terminal
CN201477631U (en) * 2009-08-25 2010-05-19 福建富士通信息软件有限公司 electronic wallet payment system of RFID mobile
CN102143469A (en) * 2010-10-27 2011-08-03 华为软件技术有限公司 Method, device and system for processing balance return
CN105654629A (en) * 2015-12-28 2016-06-08 天津市通卡公用网络系统有限公司 IC card auto-recharging method
CN106651565A (en) * 2016-12-06 2017-05-10 中国银联股份有限公司 Recharge transferring method, processing method and recharge transferring platform
CN108090763A (en) * 2017-12-05 2018-05-29 河南省视博电子股份有限公司 It is a kind of can on-line payment and the intelligent electronic-scale and method of commerce traced to the source
CN110852752A (en) * 2019-09-27 2020-02-28 威富通科技有限公司 Method, device, equipment and storage medium for processing withdrawal exception of recharging order
US20200327551A1 (en) * 2018-02-12 2020-10-15 Alibaba Group Holding Limited Resource transferring monitoring method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1321027A (en) * 2001-05-18 2001-11-07 安智金卡电子设备(北京)有限公司 Wireless communication mode of financial payment terminal
CN201477631U (en) * 2009-08-25 2010-05-19 福建富士通信息软件有限公司 electronic wallet payment system of RFID mobile
CN102143469A (en) * 2010-10-27 2011-08-03 华为软件技术有限公司 Method, device and system for processing balance return
CN105654629A (en) * 2015-12-28 2016-06-08 天津市通卡公用网络系统有限公司 IC card auto-recharging method
CN106651565A (en) * 2016-12-06 2017-05-10 中国银联股份有限公司 Recharge transferring method, processing method and recharge transferring platform
CN108090763A (en) * 2017-12-05 2018-05-29 河南省视博电子股份有限公司 It is a kind of can on-line payment and the intelligent electronic-scale and method of commerce traced to the source
US20200327551A1 (en) * 2018-02-12 2020-10-15 Alibaba Group Holding Limited Resource transferring monitoring method and device
CN110852752A (en) * 2019-09-27 2020-02-28 威富通科技有限公司 Method, device, equipment and storage medium for processing withdrawal exception of recharging order

Similar Documents

Publication Publication Date Title
CN108346042B (en) Vehicle fee payment method, device, terminal and computer readable storage medium
CN110489415B (en) Data updating method and related equipment
CN110009776B (en) Identity authentication method and device
CN105763565B (en) Account logon method, device and game system
CN113077302B (en) Processing method, system, equipment and storage medium of battery exchange cabinet
CN111476617B (en) Data processing method, data processing device, computer equipment and medium
CN107358763A (en) A kind of method, apparatus and system of ATM checking identity
CN107872446B (en) Communication account management method and device and server
CN111582868A (en) Transaction request processing method, device and equipment
CN108900525B (en) Processing method and device for verification code request
CN112465512A (en) Recharge revocation control method and device for rechargeable card
CN111563745A (en) Method for paying without stopping vehicle and related device
CN111340635A (en) Data checking method, equipment, server and readable storage medium
CN111275836A (en) Bus taking charging method, device and system based on two-dimensional code and terminal
CN111192035A (en) Multi-system consumption clearing configuration processing method and system
CN110992186A (en) Account management method, system, device and storage medium
CN111626726A (en) Life payment method, device, equipment and storage medium
CN110807639A (en) Payment method and device
CN110414971B (en) Control method and device for balance transfer of entity IC card
CN114056170A (en) Charging authentication method and charging system
CN113438223A (en) Bank card security setting method and device
CN112669112A (en) Method and system for automatically charging parking monthly card
CN110443597B (en) Reminding method and device for balance transfer of IC card
CN112488699A (en) Resource transfer control method and device for rechargeable card
CN111488252A (en) Flow playback method and device

Legal Events

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