CN107784756A - A kind of control method and control device of POS read-write PSAM card informations - Google Patents

A kind of control method and control device of POS read-write PSAM card informations Download PDF

Info

Publication number
CN107784756A
CN107784756A CN201610714666.2A CN201610714666A CN107784756A CN 107784756 A CN107784756 A CN 107784756A CN 201610714666 A CN201610714666 A CN 201610714666A CN 107784756 A CN107784756 A CN 107784756A
Authority
CN
China
Prior art keywords
psam
driving chip
write
read
instruction
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
CN201610714666.2A
Other languages
Chinese (zh)
Other versions
CN107784756B (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.)
Hunan Great Wall Computer System Co Ltd
Original Assignee
Hunan Great Wall Computer System 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 Hunan Great Wall Computer System Co Ltd filed Critical Hunan Great Wall Computer System Co Ltd
Priority to CN201610714666.2A priority Critical patent/CN107784756B/en
Publication of CN107784756A publication Critical patent/CN107784756A/en
Application granted granted Critical
Publication of CN107784756B publication Critical patent/CN107784756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • 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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The invention belongs to read and write PSAM card techniques field, there is provided a kind of control method and control device of POS read-write PSAM card informations.A kind of control method of POS read-write PSAM card informations of the present invention, the POS includes being used for the driving chip for sticking into PSAM row information read-write, by establishing driving chip, information list between interrupt requests instruction and interrupt status, when having detected that PSAM card insertions are fashionable, receive the first interrupt requests instruction for carrying driving chip address, when judging that the instruction of the first interrupt requests is effective according to information list, the first interrupt status corresponding with the instruction of the first interrupt requests is entered according to information list, row information write-in is read or PSAM is sticked into control driving chip to stick into row information to PSAM.Realize POS and the controllability of row information read-write process is sticked into PSAM, and then effectively improve the efficiency to the read-write of PSAM card informations.

Description

A kind of control method and control device of POS read-write PSAM card informations
Technical field
The present invention relates to read-write PSAM card techniques field, more particularly to a kind of controlling party of POS read-write PSAM card informations Method and control device.
Background technology
As electric business industry increasingly increases severely with the popularity intelligently paid, businessman is to multi-functional POS The demand of (Point of sales, point of sale) is also continuously increased.For example, when sending goods with charge free for the customers of electric business, it is necessary to By POS to PSAM cards (PSAM, Purchase Secure Access Module, point of sales terminal secure storage module) Card read/write is carried out, and then completes transaction.But because existing POS is when swipe the card transaction, it is so one that POS, which is appointed, The PSAM cards of individual independent terminal-pair user are written and read, and POS can only be according to the read-write program that has been previously set and pre- If work schedule the PSAM cards of user are written and read, finally result sent in a manner of communication wirelessly or non-wirelessly again to On server.
In summary, existing POS, which exists, sticks into the row information read-write uncontrollable problem of process to PSAM.
The content of the invention
It is an object of the invention to provide the control method and control device of a kind of POS read-write PSAM card informations, it is intended to Solve POS of the prior art and the row information read-write uncontrollable problem of process is sticked into PSAM.
The present invention is achieved in that a kind of control method of POS read-write PSAM card informations, and the POS includes using In the driving chip that row information read-write is sticked into PSAM, the control method comprises the following steps:
The information list established between the driving chip, interrupt requests instruction and interrupt status;Described information list Include the corresponding relation between the address information of the driving chip, and interrupt requests instruction and the interrupt status;
When having detected that PSAM card insertions are fashionable, the first interrupt requests instruction for carrying driving chip address is received;
Judge whether the first interrupt requests instruction is effective according to described information list;
If so, the first interrupt status corresponding with the first interrupt requests instruction is then entered according to described information list, Row information write-in is read or the PSAM is sticked into control the driving chip to stick into row information to the PSAM.
Corresponding, another object of the present invention is to provide a kind of control device of POS read-write PSAM card informations, institute Stating POS includes being used for the driving chip for sticking into PSAM row information read-write, and the control device includes:
List cell, for establishing the information list between the driving chip, interrupt requests instruction and interrupt status; Described information list is included between the address information of the driving chip, and interrupt requests instruction and the interrupt status Corresponding relation;
First instruction reception unit, the of driving chip address is carried for when having detected that PSAM card insertions are fashionable, receiving One interrupt requests instruct;
Judging unit, for judging whether the first interrupt requests instruction is effective according to described information list;
First execution unit, for the judging unit result for be when,
The first interrupt status corresponding with the first interrupt requests instruction is then entered according to described information list, with control The driving chip sticks into row information to the PSAM and reads or the PSAM is sticked into row information write-in.
A kind of control method of POS read-write PSAM card informations of the present invention, the POS include being used to stick into PSAM The driving chip of row information read-write, by establishing the information list between driving chip, interrupt requests instruction and interrupt status, When having detected that PSAM card insertions are fashionable, the first interrupt requests instruction for carrying driving chip address is received, when according to information list When judging that the instruction of the first interrupt requests is effective, enter corresponding with the instruction of the first interrupt requests first according to information list and interrupt shape State, row information write-in is read or PSAM is sticked into control driving chip to stick into row information to PSAM.POS is realized to PSAM The controllability of row information read-write process is sticked into, and then effectively improves the efficiency to the read-write of PSAM card informations.
Brief description of the drawings
Fig. 1 is the control method flow chart for the POS read-write PSAM card informations that the embodiment of the present invention 1 provides;
Fig. 2 is the control method flow chart for the POS read-write PSAM card informations that the embodiment of the present invention 2 provides;
Fig. 3 is the structure chart of the control device for the POS read-write PSAM card informations that the embodiment of the present invention 3 provides;
Fig. 4 is the structure chart of the control device for the POS read-write PSAM card informations that the embodiment of the present invention 4 provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
It is an object of the invention to provide the control method and control device of a kind of POS read-write PSAM card informations, it is intended to Solve POS of the prior art and the row information read-write uncontrollable problem of process is sticked into PSAM.
In all embodiments of the invention, executive agent can be the main control chip or governor circuit in POS.It is described Driving chip is arranged at including but not limited to POS, the card swiping terminal of point of sale or drawing OK a karaoke club card reader etc. by reading and writing PSAM Card completes the terminal of transaction, no longer illustrates in subsequent embodiment.
It is described in detail below in conjunction with realization of the specific accompanying drawing to the present invention:
Embodiment 1:
Fig. 1 shows the control method implementation process for the POS read-write PSAM card informations that the present embodiment provides, for the ease of Illustrate, part related to the present embodiment is only shown.
A kind of control method of POS read-write PSAM card informations, wherein, the POS includes being used to carry out PSAM cards The driving chip of Card read/write, party's control methods comprise the following steps:
S110:The information list established between the driving chip, interrupt requests instruction and interrupt status;
S120:When having detected that PSAM card insertions are fashionable, the first interrupt requests instruction for carrying driving chip address is received;
S130:Judge whether the first interrupt requests instruction is effective according to described information list;
S140:Interrupted if so, then entering corresponding with the first interrupt requests instruction first according to described information list State, row information write-in is read or the PSAM is sticked into control the driving chip to stick into row information to the PSAM.
In the present embodiment, described information list includes the address information of the driving chip, and the interrupt requests Corresponding relation between instruction and the interrupt status.
In step s 110, interrupt and refer to when needing, the execution that server temporarily ceases present procedure transfers to hold The program and implementation procedure of row processing new situation.Interrupt requests instruct, and receive in the course of the work for describing server Interrupt requests.Interrupt status, for describing and the working condition of the corresponding server of interrupt requests instruction and execution task.
In the step s 120, when having detected that PSAM card insertions are fashionable, the first interruption for receiving carrying driving chip address please Instruction is asked, wherein, PSAM card insertions enter to belong to down trigger condition, and the down trigger condition can also include:Scanning recognition is to institute State PSAM cards or magnetic induction identifies the PSAM cards.Wherein, scanning recognition is to the PSAM cards, and specifically scanning is arrived and PSAM Bar code corresponding to card or Quick Response Code, and then PSAM card informations corresponding to identification.
In step s 130, judge whether the first interrupt requests instruction is effective, is specifically according to described information list Judge whether driving chip address entrained in the instruction of the first interrupt requests is effective, that is, judges the legitimacy of the driving chip.
POS, the card swiping terminal of point of sale or drawing OK a karaoke club card reader etc. are arranged at by reading and writing PSAM cards with driving chip Exemplified by the terminal for completing transaction, judge whether the instruction of the first interrupt requests is effective in step s 130, be to judge first instruction Whether the IP address of terminal where the driving chip address of carrying is effective, i.e., the IP address of the terminal whether there is in information list In.
In step S140, enter corresponding with the first interrupt requests instruction first according to described information list and interrupt State, row information write-in is read or the PSAM is sticked into control the driving chip to stick into row information to the PSAM.
So that user using PSAM cards once merchandise as an example, in process of exchange, when the PSAM card insertions for detecting user Enter or scanning recognition to user PSAM cards when, the first interrupt requests instruction for carrying driving chip address is received, according to information List judges whether first interrupt requests instruction is effective, that is, judges to identify whether the terminal of the PSAM cards is legal.Judging to be somebody's turn to do When terminal is legal, the first interrupt status corresponding with the instruction of the first interrupt requests is entered according to information list, and then control driving Chip sticks into row information reading to PSAM, and control driving chip sticks into row information write-in to PSAM after completing to merchandise.
A kind of control method for POS read-write PSAM card informations that the present embodiment provides, POS include being used for PSAM cards The driving chip of Card read/write is carried out, is arranged by establishing the information between driving chip, interrupt requests instruction and interrupt status Table, when having detected that PSAM card insertions are fashionable, the first interrupt requests instruction for carrying driving chip address is received, is arranged according to information When table judges that the instruction of the first interrupt requests is effective, enter corresponding with the first interrupt requests first according to information list and interrupt shape State, row information write-in is read or PSAM is sticked into control driving chip to stick into row information to PSAM.POS is realized to PSAM The controllability of row information read-write process is sticked into, and then effectively improves the efficiency to the read-write of PSAM card informations.
Embodiment 2:
Fig. 2 shows the method implementation process for the control PSAM card informations read-write that the present embodiment provides, for convenience of description, Part related to the present embodiment is only shown.
As shown in Fig. 2 a kind of control method of POS read-write PSAM card informations, comprises the following steps:
S210:Initialization process is carried out to current state;
S220:The information list established between the driving chip, interrupt requests instruction and interrupt status;
S230:When having detected that PSAM card insertions are fashionable, the first interrupt requests instruction for carrying driving chip address is received;
S240:Judge whether the first interrupt requests instruction is effective according to described information list;
S250:Interrupted if so, then entering corresponding with the first interrupt requests instruction first according to described information list State, row information write-in is read or the PSAM is sticked into control the driving chip to stick into row information to the PSAM;
S260:If it is not, then receive the instruction of the second interrupt requests;
S270:Into the second interrupt status and prompt to read and write failure information according to second interrupt requests instruction.
In the present embodiment, described information list includes the address information of the driving chip, and the interrupt requests Corresponding relation between instruction and the interrupt status.
In step S210, initialization process is carried out to current state, wherein, current state is to be sticked into using the PSAM State before row transaction or the state after being traded using the PSAM cards.
In step S220, interruption refers to that when needing the execution that server temporarily ceases present procedure transfers to hold The program and implementation procedure of row processing new situation.Interrupt requests instruct, and receive in the course of the work for describing server Interrupt requests.Interrupt status, for describing and the working condition of the corresponding server of interrupt requests instruction and execution task.
In step S230, when having detected that PSAM card insertions are fashionable, the first interruption for receiving carrying driving chip address please Instruction is asked, wherein, PSAM card insertions enter to belong to down trigger condition, and the down trigger condition can also include:Scanning recognition is to institute State PSAM cards or magnetic induction identifies the PSAM cards.Wherein, scanning recognition is to the PSAM cards, and specifically scanning is arrived and PSAM Bar code corresponding to card or Quick Response Code, and then PSAM card informations corresponding to identification.
In step S240, judge whether the first interrupt requests instruction is effective, is specifically according to described information list Judge whether driving chip address entrained in the instruction of the first interrupt requests is effective, that is, judges the legitimacy of the driving chip.
POS, the card swiping terminal of point of sale or drawing OK a karaoke club card reader etc. are arranged at by reading and writing PSAM cards with driving chip Exemplified by the terminal for completing transaction, judge whether the instruction of the first interrupt requests is effective in step S240, be to judge first instruction Whether the IP address of terminal where the driving chip address of carrying is effective, i.e., the IP address of the terminal whether there is in information list In.
In step s 250, enter corresponding with the first interrupt requests instruction first according to described information list to interrupt State, row information write-in is read or the PSAM is sticked into control the driving chip to stick into row information to the PSAM.
So that user using PSAM cards once merchandise as an example, in process of exchange, when the PSAM card insertions for detecting user Enter or scanning recognition to user PSAM cards when, the first interrupt requests instruction for carrying driving chip address is received, according to information List judges whether first interrupt requests instruction is effective, that is, judges to identify whether the terminal of the PSAM cards is legal.Judging to be somebody's turn to do When terminal is legal, the first interrupt status is entered according to the instruction of the first interrupt requests, and then control driving chip to carry out PSAM cards Information is read, and control driving chip sticks into row information write-in to PSAM after completing to merchandise.
In step s 250, specifically include:Sent and described the to the driving chip according to the driving chip address First pwm signal corresponding to one interrupt status is as clock signal, to control the work schedule of driving chip and to the PSAM Stick into row information reading;The information of the PSAM cards to reading is encrypted.
In step s 250, specifically also include:According to the driving chip address to the driving chip send with it is described Second pwm signal corresponding to first interrupt status is as clock signal, to control the work schedule of driving chip and to described PSAM sticks into row information write-in.
In step S260, the instruction of the second interrupt requests carries terminal IP corresponding to invalid the first interrupt requests instruction Address.
In step S270, read-write failure prompt message includes prompting and encoded, in prompting coding corresponding informance list Sequence number, the event of failure is written and read to PSAM cards for description.
The control method for a kind of POS read-write PSAM card informations that the present embodiment provides, by being carried out just to current state It beginningization processing, can avoid introducing interference information, and then prevent from causing information wrong during control PSAM card informations read-write Phenomena such as random.On the other hand, when the first interrupt requests instruction ignore, produce the instruction of the second interrupt requests, so according to this The instruction of two interrupt requests enters the second interrupt status, and prompts to read and write failure information, can pass through interruption in process of exchange The validity judgement of higher priority is given in identification of the mode to PSAM cards, is effectively improved the effect of PSAM card informations read-write Rate.
Embodiment 3:
In order to realize the control method of POS read-write PSAM card informations that the embodiment of the present invention 1 provided, the present embodiment carries A kind of control device of POS read-write PSAM card informations is supplied.Fig. 3 shows the POS read-write PSAM cards that the present embodiment provides The control device structure of information, for convenience of description, part related to the present embodiment is only shown.
As shown in figure 3, a kind of control device 100 of POS read-write PSAM card informations, for controlling driving chip to PSAM Row information read-write is sticked into, the device 100 includes:List cell 10, the first instruction reception unit 20, judging unit 30 and first Execution unit 40.
Specifically, as shown in figure 4, list cell 10, for establishing the driving chip, interrupt requests instruct and interrupt Information list between state.Wherein, interrupt and refer to that, when needing, the execution that server temporarily ceases present procedure is transferred Perform the program and implementation procedure of processing new situation.Interrupt requests instruct, and are received in the course of the work for describing server Interrupt requests.Interrupt status, for describing and the working condition of the corresponding server of interrupt requests instruction and execution task.
Described information list includes the address information of the driving chip, and interrupt requests instruction and the interruption Corresponding relation between state.
First instruction reception unit 20, for when having detected that PSAM card insertions are fashionable, receiving and carrying driving chip address First interrupt requests instruct.Wherein, PSAM card insertions enter to belong to down trigger condition, and the down trigger condition can also include:Sweep Retouch and recognize the PSAM cards or the magnetic induction identification PSAM cards.Wherein, scanning recognition is specifically swept to the PSAM cards Retouch corresponding with PSAM cards bar code or Quick Response Code, and then PSAM card informations corresponding to identification.
Judging unit 30, for judging whether the first interrupt requests instruction is effective according to described information list.According to Described information list judges whether the first interrupt requests instruction is effective, specifically judges to be taken in the instruction of the first interrupt requests Whether the driving chip address of band is effective, that is, judges the legitimacy of the driving chip.
POS, the card swiping terminal of point of sale or drawing OK a karaoke club card reader etc. are arranged at by reading and writing PSAM cards with driving chip Exemplified by the terminal for completing transaction, judge whether the first interrupt requests instruct effective by judging unit 30, be to judge first finger Whether the IP address of terminal where making the driving chip address carried is effective, i.e., the IP address of the terminal whether there is arranges in information In table.
First execution unit 40, for the judging unit result for be when, then according to described information list enter with First interrupt status corresponding to the first interrupt requests instruction, to control the driving chip to stick into row information to the PSAM Read or row information write-in is sticked into the PSAM.
So that user using PSAM cards once merchandise as an example, in process of exchange, when the PSAM card insertions for detecting user Enter or scanning recognition to user PSAM cards when, the first interrupt requests instruction for carrying driving chip address is received, according to information List judges whether first interrupt requests instruction is effective, that is, judges to identify whether the terminal of the PSAM cards is legal.Judging to be somebody's turn to do When terminal is legal, the first interrupt status is entered according to the instruction of the first interrupt requests, and then control driving chip to carry out PSAM cards Information is read, and control driving chip sticks into row information write-in to PSAM after completing to merchandise.
A kind of control device for POS read-write PSAM card informations that the present embodiment provides, POS include being used for PSAM cards The driving chip of Card read/write is carried out, the control device includes:List cell 10, the first instruction reception unit 20, judging unit 30 and first execution unit 40.Established by list cell 10 between driving chip, interrupt requests instruction and interrupt status Information list, detected that PSAM card insertions are fashionable by the first instruction reception unit 20, received and carry the of driving chip address One interrupt requests instruct, then judge whether the first interrupt requests instruct effective according to information list by judging unit 30, and First execution unit 40 enters the first interrupt status when the result of judging unit is to be according to the instruction of the first interrupt requests, with Control driving chip sticks into row information to PSAM and reads or PSAM is sticked into row information write-in.POS is realized to stick into PSAM Row information reads and writes the controllability of process, and then effectively improves the efficiency to the read-write of PSAM card informations.
Embodiment 4:
In order to realize the control method of POS read-write PSAM card informations that the embodiment of the present invention 2 provided, the present embodiment carries A kind of control device of POS read-write PSAM card informations is supplied.Fig. 4 shows the POS read-write PSAM cards that the present embodiment provides The control device structure of information, for convenience of description, part related to the present embodiment is only shown.
As shown in figure 4, a kind of control 200 of POS read-write PSAM card informations, including:Initialization unit 210, list list First 220, first instruction reception unit 230, judging unit 240, the first execution unit 250, the second instruction reception unit 260 and Second execution unit 270.Specifically:
Initialization unit 210, for carrying out initialization process to current state.Wherein, current state is described in use PSAM cards be traded before state or the state after being traded using the PSAM cards.
List cell 220, for establishing the information row between the driving chip, interrupt requests instruction and interrupt status Table.Interruption refers to that when needing server temporarily ceases the execution of present procedure then performs the program of processing new situation And implementation procedure.Interrupt requests instruct, the interrupt requests received in the course of the work for describing server.Interrupt status, For describing and the working condition of the corresponding server of interrupt requests instruction and execution task.
First instruction reception unit 230, for when having detected that PSAM card insertions are fashionable, receiving and carrying driving chip address First interrupt requests instruct.When having detected that PSAM card insertions are fashionable, the first interrupt requests for receiving carrying driving chip address refer to Order, wherein, PSAM card insertions enter to belong to down trigger condition, and the down trigger condition can also include:Scanning recognition is described in PSAM cards or magnetic induction identify the PSAM cards.Wherein, scanning recognition arrives and PSAM cards to the PSAM cards, specifically scanning Corresponding bar code or Quick Response Code, and then PSAM card informations corresponding to identification.
Judging unit 240, for judging whether the first interrupt requests instruction is effective according to described information list.According to Described information list judges whether the first interrupt requests instruction is effective, specifically judges to be taken in the instruction of the first interrupt requests Whether the driving chip address of band is effective, that is, judges the legitimacy of the driving chip.
POS, the card swiping terminal of point of sale or drawing OK a karaoke club card reader etc. are arranged at by reading and writing PSAM cards with driving chip Exemplified by the terminal for completing transaction, judge whether the first interrupt requests instruct effective by judging unit 240, to judge first finger Whether the IP address of terminal where making the driving chip address carried is effective, i.e., the IP address of the terminal whether there is arranges in information In table.
First execution unit 250, for the judging unit result for be when, then according to described information list enter with First interrupt status corresponding to the first interrupt requests instruction, to control the driving chip to stick into row information to the PSAM Read or row information write-in is sticked into the PSAM.
In the present embodiment, the first execution unit 250 includes:Reading unit, ciphering unit and writing unit are (in figure not Show).Specifically:
Reading unit, for being sent and first interrupt status to the driving chip according to the driving chip address Corresponding first pwm signal is as clock signal, to control the work schedule of driving chip and stick into row information to the PSAM Read;
Ciphering unit, the information for the PSAM cards to reading are encrypted.
Writing unit, for being sent and first interrupt status to the driving chip according to the driving chip address Corresponding second pwm signal is as clock signal, to control the work schedule of driving chip and stick into row information to the PSAM Write-in.
Second instruction reception unit 260, when the result for judging unit 240 is no, receive the instruction of the second interrupt requests. Wherein, the instruction of the second interrupt requests carries IP address of terminal corresponding to invalid the first interrupt requests instruction.
Second execution unit 270, for into the second interrupt status and prompting to read according to second interrupt requests instruction Write failure information.Wherein, read-write failure prompt message includes prompting to encode, the sequence number in prompting coding corresponding informance list, The event of failure is written and read to PSAM cards for description.
One of ordinary skill in the art will appreciate that:The step of realizing above method embodiment or part steps can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer read/write memory medium, and the program exists During execution, execution the step of including above method embodiment, and foregoing storage medium includes:ROM, RAM, magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention All any modification, equivalent and improvement made within refreshing and principle etc., should be included in the scope of the protection.

Claims (10)

1. a kind of control method of POS read-write PSAM card informations, the POS includes being used to stick into PSAM row information read-write Driving chip, it is characterised in that the control method comprises the following steps:
The information list established between the driving chip, interrupt requests instruction and interrupt status;Described information list includes Corresponding relation between the address information of the driving chip, and interrupt requests instruction and the interrupt status;
When having detected that PSAM card insertions are fashionable, the first interrupt requests instruction for carrying driving chip address is received;
Judge whether the first interrupt requests instruction is effective according to described information list;
If so, the first interrupt status corresponding with the first interrupt requests instruction is then entered according to described information list, with control The driving chip is made to stick into the PSAM row information reading or stick into the PSAM row information write-in.
2. the control method of POS read-write PSAM card informations as claimed in claim 1, it is characterised in that described in the foundation Also include step before the step of driving chip, interrupt requests instruct the information list between interrupt status:
To current state carry out initialization process, the current state be traded using the PSAM cards before state or State after being traded using the PSAM cards.
3. the control method of POS read-write PSAM card informations as claimed in claim 1, it is characterised in that described in the basis Information list judges whether effective step also includes step afterwards for the first interrupt requests instruction:
If it is not, then receive the instruction of the second interrupt requests;
Into the second interrupt status and prompt to read and write failure information according to second interrupt requests instruction.
4. the control method of POS read-write PSAM card informations as claimed in claim 1, it is characterised in that described in the basis Information list enters the first interrupt status corresponding with the first interrupt requests instruction, to control the driving chip to described PSAM stick into row information read the step of be specially:
The first pwm signal corresponding with first interrupt status is sent to the driving chip according to the driving chip address As clock signal, read with controlling the work schedule of driving chip and row information being sticked into the PSAM;
The information of the PSAM cards to reading is encrypted.
5. the control method of POS read-write PSAM card informations as claimed in claim 1, it is characterised in that described in the basis Information list enters the first interrupt status corresponding with the first interrupt requests instruction, to control the driving chip to described PSAM stick into row information write-in the step of be specially:
The second pwm signal corresponding with first interrupt status is sent to the driving chip according to the driving chip address As clock signal, to control the work schedule of driving chip and row information write-in sticked into the PSAM.
6. a kind of control device of POS read-write PSAM card informations, the POS includes being used to stick into PSAM row information read-write Driving chip, it is characterised in that the control device includes:
List cell, for establishing the information list between the driving chip, interrupt requests instruction and interrupt status;It is described Information list includes pair between the address information of the driving chip, and interrupt requests instruction and the interrupt status It should be related to;
First instruction reception unit, for when having detected that PSAM card insertions are fashionable, receiving in carry driving chip address first Disconnected request instruction;
Judging unit, for judging whether the first interrupt requests instruction is effective according to described information list;
First execution unit, when result for the judging unit is is, then entered and described the according to described information list One interrupt requests instruction corresponding to the first interrupt status, with control the driving chip PSAM is sticked into row information read or Row information write-in is sticked into the PSAM.
7. the control device of POS read-write PSAM card informations as claimed in claim 6, it is characterised in that the control device Also include step:
Initialization unit, for carrying out initialization process to current state, the current state is to be carried out using the PSAM cards State before transaction or the state after being traded using the PSAM cards.
8. the control device of POS read-write PSAM card informations as claimed in claim 6, it is characterised in that the control device Also include step:
Second instruction reception unit, when the result for the judging unit is no, receive the instruction of the second interrupt requests;
Second execution unit, for into the second interrupt status and prompting read-write unsuccessfully to believe according to second interrupt requests instruction Breath.
9. the control device of POS read-write PSAM card informations as claimed in claim 6, it is characterised in that described first performs Unit includes:
Reading unit, it is corresponding with first interrupt status for being sent according to the driving chip address to the driving chip The first pwm signal as clock signal, read with controlling the work schedule of driving chip and row information being sticked into the PSAM;
Ciphering unit, the information for the PSAM cards to reading are encrypted.
10. the control device of POS read-write PSAM card informations as claimed in claim 6, it is characterised in that described first performs Unit includes:
Writing unit, it is corresponding with first interrupt status for being sent according to the driving chip address to the driving chip The second pwm signal as clock signal, to control the work schedule of driving chip and row information write-in sticked into the PSAM.
CN201610714666.2A 2016-08-24 2016-08-24 Control method and control device for POS machine to read and write PSAM card information Active CN107784756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610714666.2A CN107784756B (en) 2016-08-24 2016-08-24 Control method and control device for POS machine to read and write PSAM card information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610714666.2A CN107784756B (en) 2016-08-24 2016-08-24 Control method and control device for POS machine to read and write PSAM card information

Publications (2)

Publication Number Publication Date
CN107784756A true CN107784756A (en) 2018-03-09
CN107784756B CN107784756B (en) 2021-01-26

Family

ID=61393511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610714666.2A Active CN107784756B (en) 2016-08-24 2016-08-24 Control method and control device for POS machine to read and write PSAM card information

Country Status (1)

Country Link
CN (1) CN107784756B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158201A (en) * 2021-02-26 2021-07-23 云码智能(海南)科技有限公司 Information safety backup method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920774A (en) * 2005-08-25 2007-02-28 英业达股份有限公司 Method and system for driving program automatic installation
CN2904114Y (en) * 2005-12-22 2007-05-23 上海杉德金卡信息系统科技有限公司 Integrated finance reader-writer
CN101520928A (en) * 2009-03-27 2009-09-02 山东大学 Fixed network payment terminal and operation method thereof
CN101587377A (en) * 2008-05-20 2009-11-25 庆盟工业股份有限公司 Card reading device with keypress function and operation method thereof
CN103092802B (en) * 2013-02-07 2015-07-22 飞天诚信科技股份有限公司 Method of communication of card reader and upper computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1920774A (en) * 2005-08-25 2007-02-28 英业达股份有限公司 Method and system for driving program automatic installation
CN2904114Y (en) * 2005-12-22 2007-05-23 上海杉德金卡信息系统科技有限公司 Integrated finance reader-writer
CN101587377A (en) * 2008-05-20 2009-11-25 庆盟工业股份有限公司 Card reading device with keypress function and operation method thereof
CN101520928A (en) * 2009-03-27 2009-09-02 山东大学 Fixed network payment terminal and operation method thereof
CN103092802B (en) * 2013-02-07 2015-07-22 飞天诚信科技股份有限公司 Method of communication of card reader and upper computer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113158201A (en) * 2021-02-26 2021-07-23 云码智能(海南)科技有限公司 Information safety backup method and device

Also Published As

Publication number Publication date
CN107784756B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
US7798394B2 (en) Device, system and method for reducing an interaction time for a contactless transaction
AU2024200447A1 (en) Tap to copy data to clipboard via NFC
US11436887B2 (en) Contextual tapping engine
CN102542453B (en) Mobile payment identity verification method
CN103400461B (en) The system and method for POS, card business realizing
CN102005088A (en) Non-contact payment method, system and mobile terminal based on electronic wallet
CN107707527A (en) A kind of detection method, read-write terminal and the system of smart card relay attack
CN110738490A (en) Near field mobile payment method, device, acceptance terminal and storage medium
EP1769450A2 (en) Real-time entry and verification of pin at point-of-sale terminal
CN103714624B (en) Electronic purse recharging method, system and supplement operation terminal with money
CN107784756A (en) A kind of control method and control device of POS read-write PSAM card informations
CN101313329B (en) Reduce equipment and the system of the interaction time of contactless transaction
CN1845183B (en) Intelligent key apparatus with debit/credit function
CN105512882A (en) HCE-based payment method and apparatus
CN102542696B (en) Security information interaction system and method
CN107886402A (en) Unmanned store merchandise choosing method, counter terminal, user terminal and system on line
CN106780995B (en) A kind of application method of PBOC in public transport ticket checking terminal
CN112349042B (en) Quick payment system and method based on electronic price tags
CN109544822A (en) A kind of IC card electronic cash self-recharging method and its system
MX2008004209A (en) Device, system and method for reducing an interaction time for a contactless transaction

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