CN111062222A - IC device payment method, IC device, card reading equipment and storage medium - Google Patents

IC device payment method, IC device, card reading equipment and storage medium Download PDF

Info

Publication number
CN111062222A
CN111062222A CN201811210124.7A CN201811210124A CN111062222A CN 111062222 A CN111062222 A CN 111062222A CN 201811210124 A CN201811210124 A CN 201811210124A CN 111062222 A CN111062222 A CN 111062222A
Authority
CN
China
Prior art keywords
card reading
card
analog
contact
reading equipment
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.)
Granted
Application number
CN201811210124.7A
Other languages
Chinese (zh)
Other versions
CN111062222B (en
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.)
Shenzhen Excelsecu Data Technology Co Ltd
Original Assignee
Shenzhen Excelsecu Data Technology 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 Shenzhen Excelsecu Data Technology Co Ltd filed Critical Shenzhen Excelsecu Data Technology Co Ltd
Priority to CN201811210124.7A priority Critical patent/CN111062222B/en
Publication of CN111062222A publication Critical patent/CN111062222A/en
Application granted granted Critical
Publication of CN111062222B publication Critical patent/CN111062222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0021Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers for reading/sensing record carriers having surface contacts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0004Hybrid readers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/06Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity with means for prepaying basic charges, e.g. rent for meters
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F19/00Complete banking systems; Coded card-freed arrangements adapted for dispensing or receiving monies or the like and posting such transactions to existing accounts, e.g. automatic teller machines

Abstract

The invention discloses a payment method of an IC device, the IC device, a card reading device and a storage medium, wherein the method comprises the following steps: the IC device acquires recharging data from the intelligent terminal, sends an analog card insertion signal to the card reading equipment to establish communication connection with the card reading equipment, and sends the recharging data to the card reading equipment, so that the card reading equipment updates balance data according to the recharging data. The functions such as prepayment gas purchase are realized. Therefore, when the user pays for the card reading equipment through the IC device, the IC device does not need to be recharged in a recharging place firstly, the IC device does not need to be plugged and unplugged frequently due to payment, and the user can pay even at a place far away from the card reading equipment through the intelligent terminal, for example, the user can save the value and the gas amount of an outdoor gas meter on a sofa; the payment process is simple and convenient, and the user experience is good.

Description

IC device payment method, IC device, card reading equipment and storage medium
Technical Field
The invention relates to the field of IC devices, in particular to an IC device payment method, an IC device, card reading equipment and a storage medium.
Background
In the prior art, when paying through a payment card, the payment card needs to be taken to a recharging center and inserted into a special recharging card reader for recharging, and then inserted into a consumption terminal for importing amount of money. For example, the gas IC device needs to be taken to a gas recharging place to recharge, and then the gas IC device is inserted into the gas meter to introduce new recharged gas amount. Therefore, the whole payment process is troublesome, inconvenience is brought to the user, and user experience is influenced.
Disclosure of Invention
The embodiment of the invention provides an IC device payment method, an IC device, a card reading device and a storage medium, when a user pays for the card reading device through the IC device, the user does not need to pay for the IC device at a recharging place first, and does not need to frequently plug and pull the IC device for payment, the payment process is simple and convenient, and the user experience is good.
The first aspect of the embodiments of the present invention provides a payment method for an IC device, which is used for the IC device; the IC device payment method comprises the following steps:
a payment method of an IC device is used for the IC device, and the IC device is electrically connected with a card reading device; the IC device payment method comprises the following steps:
if the recharging data is acquired from the intelligent terminal, sending an analog card-inserting signal to the card reading equipment so as to establish communication connection with the card reading equipment;
and sending the recharging data to the card reading equipment.
In some embodiments, the analog paddle card signal comprises a predetermined sequence of paddle card levels.
In some embodiments, the sequence of paddle card levels comprises:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
In some embodiments, the sending the analog card insertion signal to the card reading device specifically includes:
and sending an analog card-inserting signal to the card reading equipment through a preset card-inserting contact.
In some embodiments, before obtaining the recharge data from the intelligent terminal, the method further includes:
and after the electric energy is obtained from the card reading equipment, the communication connection is established with the intelligent terminal.
In some embodiments, the obtaining the electric energy from the card reading device specifically includes:
and if the power supply is electrically connected with the card seat of the card reading equipment, acquiring electric energy from the card reading equipment through the power receiving contact.
In some embodiments, the IC device payment further comprises:
and sending an analog button signal to the card reading equipment so that the card reading equipment realizes a preset function according to the analog button signal.
In some embodiments, the sending the analog button signal to the card reading device specifically includes:
and sending the analog button signal to the card reading equipment through a preset button contact.
In some embodiments, the sending the analog button signal to the card reading device specifically includes:
and if a button instruction is acquired from the intelligent terminal, sending the analog button signal to the card reading equipment through the button contact.
In some embodiments, before and after the sending the analog button signal to the card reading device through the button contact, the method further comprises:
setting the button contact to a high-resistance state;
the analog button signal includes a preset sequence of button levels.
In some embodiments, the button level sequence comprises:
a low level for a third duration, and a high level for a fourth duration.
In some embodiments, the electrically connecting to the card socket of the card reading device specifically includes:
the card reader is electrically connected with a card seat of the card reading equipment through a 7816 protocol interface;
the card inserting contact, the power receiving contact and the button contact are different contacts in a fourth contact, a sixth contact and an eighth contact in the 7816 protocol interface respectively.
The second aspect of the embodiment of the invention provides a payment method for an IC device, which is used for a card reading device, wherein the card reading device is electrically connected with the IC device; the IC device payment method comprises the following steps:
if an analog card-inserting signal is obtained from the IC device, establishing communication connection with the IC device;
obtaining recharge data from the IC device;
and updating balance data according to the recharging data.
In some embodiments, the analog paddle card signal comprises a predetermined sequence of paddle card levels.
In some embodiments, the sequence of paddle card levels comprises:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
In some embodiments, before establishing a communication connection with the IC device if the analog card insertion signal is obtained from the IC device, the method further includes:
providing power to the IC device.
In some embodiments, the IC device payment method further comprises:
and if the analog button signal is acquired from the IC device, realizing a preset function according to the analog button signal.
In some embodiments, the analog button signal is transmitted by the IC device according to a button command acquired from a smart terminal.
A third aspect of embodiments of the present invention provides an IC device, including a first memory and a first processor, the first memory being configured to store program instructions; if the first processor executes the program instruction, the IC device payment method for the IC device is realized.
A fourth aspect of the embodiments of the present invention provides an IC device, including a smart card chip, a communication module, a control module, and an electrical interface, where the smart card chip is electrically connected to a card reading device through the electrical interface, and both the smart card chip and the communication module are connected to the control module;
the control module is used for acquiring recharging data from the intelligent terminal through the communication module and writing the recharging data into the intelligent card chip;
the electrical interface comprises a card insertion contact; the intelligent card chip is used for sending an analog card inserting signal to card reading equipment through the card inserting contact so as to establish communication connection with the card reading equipment and the intelligent card chip;
the intelligent card chip is also used for sending the recharging data to the card reading equipment through the electrical interface.
In some embodiments, the analog paddle card signal comprises a predetermined sequence of paddle card levels.
In some embodiments, the sequence of paddle card levels comprises:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
In some embodiments, the electrical interface further comprises powered contacts through which the IC device draws power from the card reading apparatus.
In some embodiments, the electrical interface further includes a button contact, and the IC device sends an analog button signal to the card reading apparatus through the button contact, so that the card reading apparatus implements a preset function according to the analog button signal.
In some embodiments, the control module is further configured to obtain a button command from the smart terminal through the communication module, and control the IC device to send an analog button signal to the card reading device through the button contact according to the button command.
In some embodiments, the button contact is placed in a high impedance state when it does not send an analog button signal to the card reading device; and outputting a preset button level sequence when the button contact sends an analog button signal to the card reading equipment.
In some embodiments, the electrical interface is specifically a 7816 protocol interface;
the card inserting contact, the power receiving contact and the button contact are different contacts in a fourth contact, a sixth contact and an eighth contact in the 7816 protocol interface respectively.
A fifth aspect of an embodiment of the present invention provides a card reading device, including a second memory and a second processor, where the second memory is used to store program instructions; and if the second processor executes the program instruction, the IC device payment method for the card reading equipment is realized.
A sixth aspect of the embodiments of the present invention provides a storage medium, where a computer program is stored, and if the computer program is executed by a processor, the method for paying a fee by an IC device is implemented.
A seventh aspect of the embodiments of the present invention provides a storage medium, where the storage medium stores a computer program, and if the computer program is executed by a processor, the method for paying a fee by using an IC device for card reading equipment is implemented.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: the intelligent terminal is used for recharging the IC device, the IC device sends an analog card insertion signal to the card reading equipment to establish communication connection with the card reading equipment, and then the recharging data is sent to the card reading equipment, so that the card reading equipment updates balance data according to the recharging data, and functions such as prepaid gas purchasing are achieved. Therefore, when the user pays for the card reading equipment through the IC device, the IC device does not need to be recharged in a recharging place firstly, the IC device does not need to be plugged and unplugged frequently due to payment, and the user can pay even at a place far away from the card reading equipment through the intelligent terminal, for example, the user can save the value and the gas amount of an outdoor gas meter on a sofa; the payment process is simple and convenient, and the user experience is good.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic flow chart illustrating a payment method for an IC device according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a 7816 protocol interface;
FIG. 3 is a schematic structural diagram of the connection between the IC device and the card reading apparatus;
fig. 4 is a flowchart illustrating a payment method for an IC device according to a second embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an IC device according to a third embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a card reading device according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an IC device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in the device diagrams, with logical sequences shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than the block divisions in the device diagrams, or the flowcharts.
Example one
Fig. 1 is a schematic flow chart of a payment method of an IC device, where the payment method of the IC device is applied to an IC device, and the IC device is electrically connected to a card reading device.
The IC device may be, for example, a Card-type IC device, such as an IC Card (Integrated Circuit Card), also called an Integrated Circuit Card (Smart Card), a Smart Card (Intelligent Card), a microcircuit Card (microcircuitr), or a microchip Card.
As shown in fig. 1, the payment method of the IC device includes:
and step S110, if the IC device obtains recharging data from the intelligent terminal, sending an analog card inserting signal to the card reading equipment so as to establish communication connection with the card reading equipment.
After the IC device is powered on and turned on, a communication connection may be established with a corresponding intelligent terminal, for example, a communication connection may be established in a bluetooth manner, a Zigbee manner, a Wifi manner, or the like. The intelligent terminal can be a mobile phone, a tablet or a terminal special for paying by the IC device.
Illustratively, the intelligent terminal is connected to the internet, and the user opens the recharge software or other related software on the intelligent terminal to realize the communication connection between the intelligent terminal and the IC device. The user then pays for payment to the payment object, such as a gas center, on the top-up software or other related software. And the gas center returns confirmation information to the intelligent terminal after confirming that the payment is successful, and the intelligent terminal sends corresponding recharging data to the IC device. The IC device obtains and stores the recharge data from the intelligent terminal, for example, the recharge data is written into the IC card chip.
In some possible embodiments, the card reading device includes a card reading module, and the card reading device is internally provided with or externally connected with a control module; the control module communicates with the IC device through the card reading module, so that the card reading module is a pivot for communication between the control module and the IC device. For example, the card reading device may be a consumption terminal of a user corresponding to the IC device, such as a gas meter in a home of a certain gas user.
After the IC device acquires recharging data from the intelligent terminal, the IC device can actively or according to a payment instruction of the intelligent terminal send a simulated card inserting signal to a card reading device electrically connected with the IC device; and after receiving the analog card-inserting signal, the card reading equipment establishes communication connection with the IC device.
In some possible embodiments, the sending, by the IC device, the analog card insertion signal to the card reading device in step S110 specifically includes:
and the IC device sends an analog card-inserting signal to the card-reading equipment through a preset card-inserting contact CKXH.
In this embodiment, the card reading module of the card reading device includes a card socket, and the IC apparatus is connected to the card socket. For example, after the IC card is inserted into the card reading apparatus, the card insertion contact CKXH of the IC device may send an analog card insertion signal to the card reading apparatus through the card socket.
In some possible embodiments, the IC device includes an electrical interface for connecting to a card socket of the card reading apparatus, and the electrical interface includes card contacts CKXH.
In some possible embodiments, the electrical interface is specifically a 7816 protocol interface. The IC device is electrically connected with the card seat of the card reading equipment through a 7816 protocol interface.
As shown in fig. 2, the 7816 protocol interface of an IC device typically includes eight contacts, wherein the first contact VCC is a power supply voltage contact, the second contact RES is a reset contact, the third contact CLK is a clock contact, the fourth contact is a reserved unused contact, the fifth contact GND is a low-level contact, the sixth contact is a reserved unused contact, the seventh contact I/O is an input/output contact, and the eighth contact is a reserved unused contact.
Normally, when the IC device is used with a card reading apparatus, only the first contact VCC, the second contact RES, the third contact CLK, the fifth contact GND and the seventh contact I/O are used, and the fourth contact, the sixth contact and the eighth contact are not used. The C4, C6, and C8 contacts of the card reading device corresponding to the fourth, sixth, and eighth contacts of the IC apparatus are not used.
Therefore, in the embodiment of the present invention, one of the fourth contact, the sixth contact, and the eighth contact may be defined as the card insertion contact CKXH, for example, the sixth contact may be defined as the card insertion contact CKXH.
And the IC device sends an analog card-inserting signal to the card-reading equipment through the defined card-inserting contact CKXH. In some possible embodiments, the analog paddle card signal includes a predetermined sequence of paddle card levels. Illustratively, the paddle card level sequence includes:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
For example, the card insertion contact CKXH first maintains the high level for 4 seconds, then outputs the low level for 4 seconds, and then changes to the high level, so that the IC device sends an analog card insertion signal to the card reading device once, and a simulated card insertion operation of the card reading device is completed.
And step S120, the IC device sends the recharging data to the card reading equipment.
When the card reading equipment detects the analog card inserting signal of the card inserting contact CKXH of the IC device, the card reading equipment establishes communication connection with the IC device so as to further obtain the recharging data from the IC device and update the balance data according to the recharging data. Thereby implementing functions such as prepaid gas purchase.
In other feasible embodiments, after the IC device sends the analog card insertion signal to the card reading device electrically connected to the IC device, the IC device establishes a communication connection with the card reading device, and the intelligent terminal used by the user may interact with the card reading device through the IC device to implement functions of setting the card reading device, such as a gas meter, and checking balance data, such as residual gas amount.
In some possible embodiments, before the IC device obtains the recharge data from the smart terminal in step S110, the method further includes:
and S101, the IC device acquires electric energy from the card reading equipment and then establishes communication connection with the intelligent terminal.
When the IC device is electrically connected to the card reading apparatus, for example, when the IC card is inserted into the card reading apparatus, the card reading apparatus provides electric energy to the IC device, and the IC device is powered on, so that a communication connection can be established with a corresponding intelligent terminal, for example, a communication connection is established in a bluetooth mode, a Zigbee mode, a Wifi mode, or the like.
In some possible embodiments, the obtaining, by the IC device, the electric energy from the card reading device in step S101 specifically includes:
step S1011, if the IC device is electrically connected with the card seat of the card reading equipment, electric energy is obtained from the card reading equipment through the POWER receiving contact POWER.
And the IC device acquires electric energy from the card reading equipment through the POWER receiving contact POWER and then establishes communication connection with the intelligent terminal.
In some possible embodiments, an unused contact of the fourth contact, the sixth contact, and the eighth contact in the 7816 protocol interface may also be defined as a powered contact POWER, for example, the fourth contact may be defined as a powered contact POWER.
When the IC device is electrically connected to the card reading device, the POWER receiving contact POWER of the IC device is connected to a corresponding contact, such as a C4 contact, in the card socket to obtain POWER from the card reading device.
Illustratively, a card reading device, such as a gas meter, supplies POWER to the IC device through the POWER-receiving contact, and the voltage range is 4.2V-6.5V. After the IC card is inserted into the IC card seat of the gas meter, the power supply to the IC device is connected.
In some possible embodiments, as shown in fig. 3, the IC device 100 further includes a rechargeable battery and/or a disposable battery, and power can be supplied to the IC device 100. If the IC device 100 is electrically connected to the card socket of the card reading device 200, the IC device 100 may detect that it is connected to the card reading device 200 through the POWER receiving contact POWER, and may also establish a communication connection with the intelligent terminal; at this time, the IC device 100 may obtain power from the card reading apparatus 200, or may use power from a rechargeable battery and/or a disposable battery.
Illustratively, the IC device 100 further includes POWER management modules, each connected to the POWER receiving contact POWER, the rechargeable battery, and/or the disposable battery; the POWER management module preferentially selects to obtain POWER through the POWER receiving contact POWER. Therefore, the range of use of the IC device 100 can be expanded, and functions such as communication and display can be performed without connecting the card reading device 200; the electric energy of the rechargeable battery and/or the disposable battery can be saved as much as possible, and the service life is prolonged.
The IC control system in the IC device 100 in fig. 3 may include, for example, a smart card chip, a communication module, and the like that need to consume electric power, and the charging module is used to charge a rechargeable battery. The MCU management module in the card reading device 200 may include, for example, a card reading module and a control module; the voltage input interface is used to supply POWER to a POWER receiving contact POWER, such as a fourth contact, of the IC device 100 through the C4 contact.
According to the IC device payment method provided by the embodiment of the invention, the IC device is charged through the intelligent terminal, the IC device sends the analog card insertion signal to the card reading equipment so as to establish communication connection with the card reading equipment, and then the charging data is sent to the card reading equipment so that the card reading equipment updates balance data according to the charging data, and functions such as prepayment gas purchase and the like are realized. Therefore, when the user pays for the card reading equipment through the IC device, the IC device does not need to be recharged in a recharging place firstly, the IC device does not need to be plugged and unplugged frequently due to payment, and the user can pay even at a place far away from the card reading equipment through the intelligent terminal, for example, the user can save the value and the gas amount of an outdoor gas meter on a sofa; the payment process is simple and convenient, and the user experience is good.
As a further improvement of the embodiment of the present invention, the IC device payment method further includes:
and S130, the IC device sends an analog button signal to the card reading equipment so that the card reading equipment realizes a preset function according to the analog button signal.
In some possible embodiments, if the card reading device obtains the analog button signal from the IC device, the preset functions implemented include: enabling a preset overdraft balance. For example, when the gas in the gas meter is used up and the gas cannot be paid to the gas meter in time, the IC device may transmit an analog button signal to the card reading device, so that the gas meter allows three cubic meters of gas to be used. Exemplary overdraft is not possible until the next payment, and the amount of gas used for overdraft is deducted from the updated balance data after the payment.
In some possible embodiments, the sending, by the IC device, the analog button signal to the card reading apparatus in step S130 specifically includes:
and step S1301, the IC device sends the analog button signal to the card reading equipment through a preset button contact ANXH.
In some possible embodiments, an unused contact of the fourth, sixth, and eighth contacts in the 7816 protocol interface may also be defined as the button contact ANXH, for example, the eighth contact may be defined as the button contact ANXH.
In other possible embodiments, the card contact CKXH, the POWER receiving contact POWER, and the button contact ANXH are different contacts of a fourth contact, a sixth contact, and an eighth contact in the 7816 protocol interface, respectively. Exemplarily, if the fourth contact is defined as the card insertion contact CKXH, the sixth contact is defined as the POWER receiving contact POWER, and the eighth contact is defined as the button contact ANXH; if the eighth contact is defined as the card insertion contact CKXH, the sixth contact is defined as the POWER receiving contact POWER, and the fourth contact is defined as the button contact ANXH.
In some possible embodiments, before and after the analog button signal is transmitted to the card reading device through the preset button contact ANXH, the method further includes: and setting the button contact ANXH to be in a high resistance state. Therefore, after the IC device is electrically connected to the card reading equipment and the IC device is powered on and started, the IC device can establish communication connection with the corresponding intelligent terminal and set the button contact ANXH to be in a high-resistance state; and when the analog button signal needs to be sent to the card reading equipment so that the card reading equipment can realize the preset function, actively sending the analog button signal to the card reading equipment or sending the analog button signal to the card reading equipment according to a corresponding instruction of the intelligent terminal. For example, the sending, by the IC device, the analog button signal to the card reading apparatus in step S130 specifically includes:
step S1302, if a button instruction is obtained from the intelligent terminal, the analog button signal is sent to the card reading device through the button contact ANXH.
Therefore, the user can remotely control the card reading device to realize the preset function at a place far away from the card reading device through the intelligent terminal.
In some possible embodiments, the analog button signal includes a preset sequence of button levels.
Illustratively, the button level sequence includes: a low level for a third duration, and a high level for a fourth duration.
For example, the button contact ANXH outputs a low level for 4 seconds, outputs a high level for 4 seconds, and then changes to a high impedance state, so that the IC device sends an analog button signal to the card reading device once, and the card reading device can be triggered to realize a preset function.
In some possible embodiments, the card insertion contact CKXH, the POWER receiving contact POWER, and the button contact ANXH are different contacts among a fourth contact, a sixth contact, and an eighth contact in the 7816 protocol interface, respectively, and the sixth contact is not limited to be defined as the card insertion contact CKXH, the fourth contact is defined as the POWER receiving contact POWER, and the fourth contact is defined as the button contact ANXH.
Example two
Fig. 4 is a schematic flow chart of a payment method of an IC device, where the payment method of the IC device is used for a card reading device.
The IC device payment method comprises the following steps:
step S210, if the card reading equipment obtains the analog card inserting signal from the IC device, the card reading equipment establishes communication connection with the IC device.
After the IC device acquires recharging data from the intelligent terminal, the IC device can actively or according to a payment instruction of the intelligent terminal send a simulated card inserting signal to a card reading device electrically connected with the IC device; and after receiving the analog card-inserting signal, the card reading equipment establishes communication connection with the IC device.
In some possible embodiments, the analog paddle card signal includes a predetermined sequence of paddle card levels.
Illustratively, the paddle card level sequence includes:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
For example, the card insertion contact CKXH of the IC device first maintains the high level for 4 seconds, then outputs the low level for 4 seconds, and then changes to the high level, so that the IC device sends an analog card insertion signal to the card reading device once, and a simulated card insertion operation of the card reading device is completed.
And step S220, the card reading equipment acquires recharging data from the IC device.
When the card reading equipment detects the analog card inserting signal of the card inserting contact CKXH of the IC device, the communication connection is established with the IC device, so that the recharging data can be obtained from the IC device.
In other feasible embodiments, after the IC device sends the analog card insertion signal to the card reading device electrically connected to the IC device, the IC device establishes a communication connection with the card reading device, and the intelligent terminal used by the user may interact with the card reading device through the IC device to implement functions of setting the card reading device, such as a gas meter, and checking balance data, such as residual gas amount.
And step S230, the card reading device updates balance data according to the recharging data.
The card reading device updates the balance data according to the recharge data acquired from the IC device. Thereby implementing functions such as prepaid gas purchase.
According to the IC device payment method provided by the embodiment of the invention, the card reading equipment is triggered to establish communication connection with the IC device through the analog card insertion signal sent by the IC device to the card reading equipment, so that the recharging data can be obtained from the IC device, and the balance data can be updated according to the recharging data, so that functions such as prepayment gas purchase and the like are realized. Therefore, when the user pays for the card reading equipment through the IC device, the IC device does not need to be recharged in a recharging place firstly, the IC device does not need to be plugged and unplugged frequently due to payment, and the user can pay even at a place far away from the card reading equipment through the intelligent terminal, for example, the user can save the value and the gas amount of an outdoor gas meter on a sofa; the payment process is simple and convenient, and the user experience is good.
In some possible embodiments, the step S210, before the card reading device acquires the analog card insertion signal from the IC device and establishes a communication connection with the IC device, further includes:
step S201, the card reading equipment provides electric energy for the IC device.
For example, if the IC device is electrically connected to the card socket of the card reading device, the POWER is obtained from the card reading device through the POWER receiving contact POWER of the IC device. So that the IC device establishes communication connection with the intelligent terminal after acquiring electric energy from the card reading equipment through the POWER-receiving contact POWER.
As a further improvement of the embodiment of the present invention, the IC device payment method further includes:
and S240, if the card reading equipment acquires the analog button signal from the IC device, realizing a preset function according to the analog button signal.
In some possible embodiments, if the card reading device obtains the analog button signal from the IC device, the preset functions implemented include: enabling a preset overdraft balance. For example, when the gas in the gas meter is used up and the gas cannot be paid to the gas meter in time, the IC device may transmit an analog button signal to the card reading device, so that the gas meter allows three cubic meters of gas to be used. Exemplary overdraft is not possible until the next payment, and the amount of gas used for overdraft is deducted from the updated balance data after the payment.
In some possible embodiments, the analog button signal is transmitted by the IC device according to a button command acquired from the smart terminal.
Therefore, the user can remotely control the card reading device to realize the preset function at a place far away from the card reading device through the intelligent terminal.
In some possible embodiments, the analog button signal includes a preset sequence of button levels.
Illustratively, the button level sequence includes: a low level for a third duration, and a high level for a fourth duration.
For example, the button contact ANXH outputs a low level for 4 seconds, outputs a high level for 4 seconds, and then changes to a high impedance state, so that the IC device sends an analog button signal to the card reading device once, and the card reading device can be triggered to realize a preset function.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. With such an understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments, such as:
a storage medium stores a computer program, and if the computer program is executed by a processor, the IC device payment method for an IC device in the first embodiment is implemented. And
a storage medium stores a computer program, and if the computer program is executed by a processor, the IC device payment method for card reading equipment in the second embodiment is realized.
The invention is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like, as in example three.
EXAMPLE III
An IC device as shown in fig. 5 comprises a first memory 101 and a first processor 102, the first memory 101 being used for storing program instructions; if the first processor 102 executes the program instructions, the IC device payment method for the IC device in the first embodiment is implemented.
A card reading device as shown in fig. 6, comprising a second memory 103 and a second processor 104, said second memory 103 being adapted to store program instructions; if the second processor 104 executes the program instructions, the IC device payment method for card reading apparatus in embodiment two is implemented.
The IC device and the card reading device in this embodiment are based on two aspects of the same inventive concept, and the method implementation process has been described in detail in the foregoing, so that those skilled in the art can clearly understand the structure and implementation process of the electronic device in this embodiment according to the foregoing description, and for the sake of brevity of the description, details are not repeated here.
The IC device and the card reading equipment provided by the embodiment of the invention can recharge the IC device through the intelligent terminal, send the analog card plugging signal to the card reading equipment to establish communication connection with the card reading equipment, and then send the recharging data to the card reading equipment, so that the card reading equipment updates balance data according to the recharging data, and functions such as prepaid gas purchase are realized. Therefore, when the user pays for the card reading equipment through the IC device, the IC device does not need to be recharged in a recharging place firstly, the IC device does not need to be plugged and unplugged frequently due to payment, and the user can pay even at a place far away from the card reading equipment through the intelligent terminal, for example, the user can save the value and the gas amount of an outdoor gas meter on a sofa; the payment process is simple and convenient, and the user experience is good.
Example four
Fig. 7 is a schematic diagram of an IC device.
The IC device includes a smart card chip 110, a communication module 120, a control module 130, and an electrical interface 140.
Illustratively, the communication module 120 includes a bluetooth unit, a Zigbee unit, or a Wifi unit, and the control module 130 is configured to be in communication connection with the intelligent terminal through the communication module 120; the control module 130 may include, for example, a single chip microcomputer.
The smart card chip 110 is electrically connected to a card reading device through an electrical interface 140, and both the smart card chip 110 and the communication module 120 are connected to the control module 130.
The control module 130 is used for obtaining the recharging data from the intelligent terminal through the communication module 120 and writing the recharging data into the intelligent card chip 110.
After the IC device is powered on and turned on, a communication connection is established with a corresponding intelligent terminal through the communication module 120, for example, a communication connection is established in a bluetooth manner, a Zigbee manner, a Wifi manner, or the like. The intelligent terminal can be a mobile phone, a tablet or a terminal special for paying by the IC device.
Illustratively, the intelligent terminal is connected to the internet, and the user opens the recharge software or other related software on the intelligent terminal to realize the communication connection between the intelligent terminal and the IC device. The user then pays for payment to the payment object, such as a gas center, on the top-up software or other related software. And the gas center returns confirmation information to the intelligent terminal after confirming that the payment is successful, and the intelligent terminal sends corresponding recharging data to the IC device. The IC device obtains and stores the recharge data from the intelligent terminal, for example, the recharge data is written into the IC card chip.
The electrical interface 140 includes a card contact CKXH; the smart card chip 110 is configured to send an analog card insertion signal to the card reading device through the card insertion contact CKXH to establish a communication connection with the card reading device and the smart card chip 110.
After the IC device acquires recharging data from the intelligent terminal, the IC device can actively or according to a payment instruction of the intelligent terminal, send an analog card insertion signal to card reading equipment electrically connected with the IC device through a preset card insertion contact CKXH; and after receiving the analog card-inserting signal, the card reading equipment establishes communication connection with the IC device.
The smart card chip 110 is also used to send the recharge data to the card reading device through the electrical interface 140.
When the card reading equipment detects the analog card inserting signal of the card inserting contact CKXH of the IC device, the card reading equipment establishes communication connection with the IC device so as to further obtain the recharging data from the IC device and update the balance data according to the recharging data. Thereby implementing functions such as prepaid gas purchase.
In other feasible embodiments, after the IC device sends the analog card insertion signal to the card reading device electrically connected to the IC device, the IC device establishes a communication connection with the card reading device, and the intelligent terminal used by the user may interact with the card reading device through the IC device to implement functions of setting the card reading device, such as a gas meter, and checking balance data, such as residual gas amount.
In some possible embodiments, the analog paddle card signal includes a predetermined sequence of paddle card levels.
Illustratively, the paddle card level sequence includes:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
In some possible embodiments, the electrical interface 140 further includes a POWER contact POWER, through which the IC device obtains POWER from the card reading apparatus.
When the IC device is electrically connected with the card reading equipment, for example, when the IC card is inserted into the card reading equipment, the card reading equipment provides electric energy for the IC device through a POWER receiving contact POWER of the IC device; the IC device is powered on and started up, so that communication connection can be established with the corresponding intelligent terminal, for example, communication connection is established in a Bluetooth mode, a Zigbee mode, a Wifi mode and the like.
In some possible embodiments, as shown in fig. 3, the IC device 100 further includes a rechargeable battery and/or a disposable battery, and power can be supplied to the IC device 100. If the IC device 100 is electrically connected to the card socket of the card reading device 200, the IC device 100 may detect that it has been connected to the card reading device 200 through the POWER receiving contact POWER, or may establish a communication connection with the intelligent terminal; at this time, the IC device 100 may obtain power from the card reading apparatus 200, or may use power from a rechargeable battery and/or a disposable battery.
Illustratively, the IC device 100 further includes POWER management modules, each connected to the POWER receiving contact POWER, the rechargeable battery, and/or the disposable battery; the POWER management module preferentially selects to obtain POWER through the POWER receiving contact POWER. Therefore, the range of use of the IC device 100 can be expanded, and functions such as communication and display can be performed without connecting the card reading device 200; the electric energy of the rechargeable battery and/or the disposable battery can be saved as much as possible, and the service life is prolonged.
In some possible embodiments, the electrical interface 140 further includes a button contact ANXH, and the IC device sends the analog button signal to the card reading apparatus through the button contact ANXH, so that the card reading apparatus implements the preset function according to the analog button signal.
In some possible embodiments, if the card reading device obtains the analog button signal from the IC device through the button contact ANXH, the preset functions implemented include: enabling a preset overdraft balance. For example, when the gas in the gas meter is used up and cannot be paid to the gas meter in time, the IC device may transmit an analog button signal to the card reading device, so that the gas meter allows three cubic meters of gas to be used. Exemplary overdraft is not possible until the next payment, and the amount of gas used for overdraft is deducted from the updated balance data after the payment.
In some possible embodiments, the control module 130 is further configured to obtain a button command from the smart terminal through the communication module 120, and control the IC device to send an analog button signal to the card reading apparatus through the button contact ANXH according to the button command.
Therefore, the user can remotely control the card reading device to realize the preset function at a place far away from the card reading device through the intelligent terminal.
In some possible embodiments, the button contact ANXH is set to the high impedance state when it does not send the analog button signal to the card reading device; and outputting a preset button level sequence when the button contact ANXH sends the analog button signal to the card reading device.
In some possible embodiments, the electrical interface 140 is embodied as a 7816 protocol interface. The card inserting contact CKXH, the POWER receiving contact POWER and the button contact ANXH are different contacts in the fourth contact, the sixth contact and the eighth contact in the 7816 protocol interface respectively.
Illustratively, the sixth contact is defined as a card insertion contact CKXH, the fourth contact is defined as a POWER receiving contact POWER, and the fourth contact is defined as a button contact ANXH.
The IC device provided by the embodiment of the invention can recharge the IC device through the intelligent terminal, and the IC device sends the analog card plugging signal to the card reading equipment to establish communication connection with the card reading equipment, and then sends the recharging data to the card reading equipment, so that the card reading equipment updates balance data according to the recharging data, and functions such as prepaid gas purchase are realized. Therefore, when the user pays for the card reading equipment through the IC device, the IC device does not need to be recharged in a recharging place firstly, the IC device does not need to be plugged and unplugged frequently due to payment, and the user can pay even at a place far away from the card reading equipment through the intelligent terminal, for example, the user can save the value and the gas amount of an outdoor gas meter on a sofa; the payment process is simple and convenient, and the user experience is good.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (11)

1. A payment method of an IC device is used for the IC device, and the IC device is electrically connected with a card reading device; the method is characterized in that: the IC device payment method comprises the following steps:
if the recharging data is acquired from the intelligent terminal, sending an analog card-inserting signal to the card reading equipment so as to establish communication connection with the card reading equipment;
and sending the recharging data to the card reading equipment.
2. The IC device payment method of claim 1, wherein: the analog card insertion signal comprises:
a high level for a first duration; and
the low level for the second duration then transitions to the high level.
3. The IC device payment method of claim 1, wherein: the sending of the analog card insertion signal to the card reading device specifically includes:
and sending an analog card-inserting signal to the card reading equipment through a preset card-inserting contact.
4. The IC device payment method of claim 1, further comprising:
and if a button instruction is acquired from the intelligent terminal, sending an analog button signal to the card reading equipment through a preset button contact so that the card reading equipment realizes a preset function according to the analog button signal.
5. The IC device payment method of claim 4, wherein: before and after the analog button signal is sent to the card reading device through the button contact, the method further comprises the following steps:
setting the button contact to a high-resistance state;
the analog button signal includes a preset sequence of button levels.
6. A payment method of an IC device is used for card reading equipment, and the card reading equipment is electrically connected with the IC device; the method is characterized in that: the IC device payment method comprises the following steps:
if an analog card-inserting signal is obtained from the IC device, establishing communication connection with the IC device;
obtaining recharge data from the IC device;
and updating balance data according to the recharging data.
7. The IC device payment method of claim 6, wherein: the analog card insertion signal comprises: a high level for a first duration; and
the low level for the second duration then transitions to the high level.
8. The IC device payment method of claim 6, further comprising:
and if the analog button signal is acquired from the IC device, realizing a preset function according to the analog button signal.
9. An IC device, characterized by: comprising a first memory for storing program instructions and a first processor; if the first processor executes the program instructions, the IC device payment method as claimed in any one of claims 1-5 is realized.
10. A card reading device characterized by: comprising a second memory for storing program instructions and a second processor; when the second processor executes the program instructions, the IC device payment method according to any one of claims 6-8 is implemented.
11. A storage medium storing a computer program, characterized in that: if the computer program is executed by a processor, implementing the IC device payment method according to any one of claims 1-5; or
The IC device payment method of any one of claims 6-8 is realized.
CN201811210124.7A 2018-10-17 2018-10-17 IC device payment method, IC device, card reading equipment and storage medium Active CN111062222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811210124.7A CN111062222B (en) 2018-10-17 2018-10-17 IC device payment method, IC device, card reading equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811210124.7A CN111062222B (en) 2018-10-17 2018-10-17 IC device payment method, IC device, card reading equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111062222A true CN111062222A (en) 2020-04-24
CN111062222B CN111062222B (en) 2023-11-17

Family

ID=70297038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811210124.7A Active CN111062222B (en) 2018-10-17 2018-10-17 IC device payment method, IC device, card reading equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111062222B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618685B1 (en) * 2000-10-17 2003-09-09 Sun Microsystems, Inc. Non-invasive testing of smart cards
CN101500030A (en) * 2008-01-28 2009-08-05 德信智能手机技术(北京)有限公司 Sleep awakening SD card optimization processing method for smart phone
CN201812970U (en) * 2010-05-07 2011-04-27 天津市炳华节能技术有限公司 Waterproof structure of slide contact type IC card seat
CN102121977A (en) * 2010-12-14 2011-07-13 华北电网有限公司计量中心 Method and device for detecting IC (Integrate Circuit) card electric energy meter
CN205375487U (en) * 2016-01-28 2016-07-06 北京握奇智能科技有限公司 Multi -function IC card
CN106022770A (en) * 2016-05-10 2016-10-12 国网冀北电力有限公司廊坊供电公司 Consumed electricity charge payment method and system
CN206133546U (en) * 2016-09-30 2017-04-26 深圳创维汽车智能有限公司 Storage device's break -make testing arrangement and system
CN206961181U (en) * 2016-09-20 2018-02-02 成都慧众云信息技术有限公司 A kind of IC-card charging system
CN108038399A (en) * 2018-01-26 2018-05-15 杭州先锋电子技术股份有限公司 A kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6618685B1 (en) * 2000-10-17 2003-09-09 Sun Microsystems, Inc. Non-invasive testing of smart cards
CN101500030A (en) * 2008-01-28 2009-08-05 德信智能手机技术(北京)有限公司 Sleep awakening SD card optimization processing method for smart phone
CN201812970U (en) * 2010-05-07 2011-04-27 天津市炳华节能技术有限公司 Waterproof structure of slide contact type IC card seat
CN102121977A (en) * 2010-12-14 2011-07-13 华北电网有限公司计量中心 Method and device for detecting IC (Integrate Circuit) card electric energy meter
CN205375487U (en) * 2016-01-28 2016-07-06 北京握奇智能科技有限公司 Multi -function IC card
CN106022770A (en) * 2016-05-10 2016-10-12 国网冀北电力有限公司廊坊供电公司 Consumed electricity charge payment method and system
CN206961181U (en) * 2016-09-20 2018-02-02 成都慧众云信息技术有限公司 A kind of IC-card charging system
CN206133546U (en) * 2016-09-30 2017-04-26 深圳创维汽车智能有限公司 Storage device's break -make testing arrangement and system
CN108038399A (en) * 2018-01-26 2018-05-15 杭州先锋电子技术股份有限公司 A kind of Intelligent Card for Gas Meter read-write card automatic detection device and detection method

Also Published As

Publication number Publication date
CN111062222B (en) 2023-11-17

Similar Documents

Publication Publication Date Title
JP6110956B2 (en) Mobile power supply that can carry a charge conversion adapter and supports 2D barcode identification
CN101694595B (en) Method and system for discovering a power source on a peripheral bus
CN101398459B (en) Method and device for identifying charger type
CN111463842B (en) Electronic equipment and communication method thereof
CN105518967B (en) Apparatus and method for changing current limit
CN104007801A (en) Method and apparatus for providing power to an electronic device
CN103677193A (en) Cascading power for accessories
US20160087474A1 (en) Apparatus, System and Method for Charging a Mobile Device
CN101919169A (en) Mobile terminal for supporting UART communication and USB communication using single connector and operating method for same
CN109921481A (en) To the OTG equipment and method of supplying power to of communication object power supply when USB is communicated
US20090179615A1 (en) Universal battery charger
CN106250295A (en) Wearable device electric quantity monitoring method, system, wearable device and mobile terminal
CN113853722A (en) Power circuit and electronic device including the same
CN111062222B (en) IC device payment method, IC device, card reading equipment and storage medium
CN102148631B (en) Dismountable wireless communication module and its method started
EP3629428B1 (en) Method and apparatus for changing impedance of terminal included in connector
CN206938474U (en) A kind of real time terminal charge control system paid based on networking
CN108321900A (en) The charge control method and terminal of terminal
CN109657508B (en) Recharging device based on near field communication
CN103545892B (en) A kind of portable power source and charging system
US20130343575A1 (en) Card reading apparatus for use with personal handheld device
KR20160033990A (en) System for recharge charging of mobile terminal
CN106127281B (en) A kind of Bluetooth intelligent card and its charging method
WO2016024238A2 (en) Charging device for computing appliances
CN217085850U (en) Hydroelectric remote recharging card 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
GR01 Patent grant
GR01 Patent grant