CN111680283A - Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium - Google Patents

Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium Download PDF

Info

Publication number
CN111680283A
CN111680283A CN202010303548.9A CN202010303548A CN111680283A CN 111680283 A CN111680283 A CN 111680283A CN 202010303548 A CN202010303548 A CN 202010303548A CN 111680283 A CN111680283 A CN 111680283A
Authority
CN
China
Prior art keywords
instruction
identity card
information
identified
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010303548.9A
Other languages
Chinese (zh)
Inventor
吕攀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Emperor Technology Co Ltd
Original Assignee
Shenzhen Emperor 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 Emperor Technology Co Ltd filed Critical Shenzhen Emperor Technology Co Ltd
Priority to CN202010303548.9A priority Critical patent/CN111680283A/en
Publication of CN111680283A publication Critical patent/CN111680283A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Finance (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses an identity card information acquisition method, which comprises the following steps: reading a pre-stored first instruction set, wherein the first instruction set comprises a plurality of information acquisition instructions; sending a plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence; receiving feedback information sent by the to-be-identified identity card in response to each information reading instruction, and sending the feedback information to the security access module, wherein the feedback information comprises partial information of the to-be-identified identity card; receiving a second instruction sent by the security access module, wherein the second instruction comprises all feedback information; and reading each piece of feedback information in the second instruction to obtain the identity card information of the identity card to be identified. The invention can effectively improve the identification efficiency of the identity card and reduce the waiting time of the user. The invention also provides an identity card information acquisition device and a computer readable storage medium.

Description

Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium
Technical Field
The present invention relates to the field of trusted digital identity recognition technology, and in particular, to a method, device and computer-readable storage medium for obtaining identity card information.
Background
In the public trip field, for example, a high-speed rail station generally requires an identity card to be verified, riding preference of a public transport subway company for the elderly is generally determined by verifying the identity card to judge whether passengers meet related conditions, and large-scale examinations such as annual college entrance examinations, student examinations and the like also require the identity card to be verified before entering an examination room. If meeting the peak period, the personnel are easy to queue up and wait, and simultaneously great potential safety hazard is brought.
In the prior art, a Secure Access Module (SAM) realizes interaction with a second-generation identity card through a Micro Control Unit (MCU). The process of data interaction between the SAM and the second-generation identity card has much time spent on the process that the MCU waits for the SAM module to process the data of the second-generation identity card, so that the multi-time cost is increased, and the working efficiency is reduced.
Disclosure of Invention
In view of the above, it is necessary to provide an identity card information acquisition method, an identity card information acquisition apparatus, and a computer-readable storage medium.
An identity card information acquisition method comprises the following steps: reading a pre-stored first instruction set, wherein the first instruction set comprises a plurality of information acquisition instructions; sending the plurality of information acquisition instructions to an identity card to be identified according to a preset sending sequence; receiving feedback information sent by the to-be-identified identity card in response to each information reading instruction, and sending the feedback information to the security access module, wherein the feedback information comprises at least one type of content information of the to-be-identified identity card; receiving a second instruction sent by a security access module, wherein the second instruction comprises all the feedback information; and reading each piece of feedback information in the second instruction to obtain the identity card information of the identity card to be identified.
Wherein, before the step of reading the pre-stored first instruction set, the method comprises: receiving a third instruction set sent by the security access module, wherein the third instruction set comprises a folder opening instruction; and sending the folder opening instruction to the to-be-identified identity card, and acquiring a first response instruction sent by the to-be-identified identity card, wherein the first response instruction is used for indicating the to-be-identified identity card to open the folder indicated by the folder instruction.
Wherein the third instruction set further comprises a card searching instruction and a card selecting instruction; after the step of receiving the third instruction set sent by the security access module, the method includes: searching for an identity card to be identified in a preset area according to the card searching instruction; and selecting the identification card to be identified according to the card selecting instruction.
Wherein the third instruction set comprises a read random number instruction; after the step of receiving the third instruction set sent by the security access module, the method includes: sending the random number reading instruction to the identity card to be identified, so that the identity card to be identified responds to the random number reading instruction and sends an authentication random number to the secure access module; acquiring an encrypted random number sent by the secure access module, wherein the encrypted random number is acquired after the secure access module encrypts the authentication random number; and sending the encrypted random number to the identity card to be identified, so that the identity card to be identified completes authentication according to the encrypted random number.
And the information interaction with the identification card to be identified is realized through a radio frequency signal.
The step of sending the plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence comprises the following steps: and judging whether feedback information corresponding to the currently sent information reading instruction is received or not, and if the feedback information corresponding to the currently sent information reading instruction is received, sending the next information reading instruction of the currently sent information reading instruction according to the preset sequence.
Each information reading instruction is used for reading content information with a preset byte length in the identity card information of the identity card to be identified.
An identification card information acquisition apparatus comprising: the reading module is used for reading a pre-stored first instruction set, and the first instruction set comprises a plurality of information acquisition instructions; the sending module is used for sending the plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence; the feedback module is used for receiving feedback information sent by the to-be-identified identity card in response to each information reading instruction and sending the feedback information to the security access module, wherein the feedback information comprises at least one type of content information of the to-be-identified identity card; a receiving module, configured to receive a second instruction sent by the secure access module, where the second instruction includes all the feedback information; and the information module is used for reading each piece of feedback information in the second instruction and acquiring the identity card information of the identity card to be identified.
An identification card information acquisition apparatus comprising: a processor, a memory and a communication circuit, the processor being coupled to the memory and the communication circuit, the memory having stored therein a computer program, the processor executing the computer program to implement the method as described above.
A computer-readable storage medium storing a computer program executable by a processor to implement a method as described above.
The embodiment of the invention has the following beneficial effects:
the first instruction set comprising the plurality of information acquisition instructions is stored in the MCU module in advance, so that time delay caused by waiting for the SAM module to send the information acquisition instructions to the MCU module is avoided, the identification efficiency of the identity card can be effectively improved, and the waiting time of a user is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is a schematic flowchart of a first embodiment of an identity card information obtaining method provided by the present invention;
fig. 2 is a schematic flowchart of a second embodiment of an identity card information obtaining method provided by the present invention;
fig. 3 is a schematic flowchart of a third embodiment of an identity card information obtaining method provided by the present invention;
fig. 4 is a schematic structural diagram of a first embodiment of an identification card information acquisition device provided by the present invention;
fig. 5 is a schematic structural diagram of a second embodiment of an identification card information acquisition device provided by the present invention;
fig. 6 is a schematic structural diagram of a first embodiment of a computer-readable medium provided by the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, a Secure Access Module (SAM) realizes interaction with a second-generation identity card through a Micro Control Unit (MCU). The process of data interaction between the SAM and the second-generation identity card has much time spent on the process that the MCU waits for the SAM module to process the data of the second-generation identity card, so that the multi-time cost is increased, and the working efficiency is reduced.
In this embodiment, in order to solve the above problem, an identity card information obtaining method is provided, which can effectively improve the efficiency of obtaining identity card information.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for acquiring identity card information according to a first embodiment of the present invention. The method for acquiring the identity card information comprises the following steps:
s101: and reading a pre-stored first instruction set, wherein the first instruction set comprises a plurality of information acquisition instructions.
In a specific implementation scenario, a Secure Access Module (SAM) in an identity card reading device needs to perform data interaction with an identity card to be identified through a Micro Controller Unit (MCU). For example, the SAM module needs to acquire the information of the identity card to be recognized through the MCU, and the MCU module sends an information acquisition instruction for acquiring the information of the identity card to be recognized to the identity card to be recognized, so that the identity card to be recognized can feed back at least one type of content information corresponding to the information acquisition instruction. The identity card includes various types of content information, such as name, date of birth, identification card number, fingerprint, photograph, etc. In this implementation scenario, each information acquisition instruction corresponds to one type of content information. In other implementations, multiple information acquisition instructions may correspond to one type of content information.
In the implementation scenario, the information acquisition instruction is pre-stored in the MCU module.
In the implementation scenario, a plurality of information acquisition instructions are prestored in the MCU module, and each information acquisition instruction is used to acquire different types of content information in the identification card to be identified. And storing the plurality of information acquisition instructions into a first instruction set, wherein the plurality of information acquisition instructions have a preset sending sequence. When the MCU module needs to acquire at least one type of content information in the identity card to be identified, reading a pre-stored first instruction set, and acquiring a plurality of information acquisition instructions in the first instruction set.
S102: and sending the plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence.
In the implementation scenario, the plurality of information acquisition instructions are sent to the to-be-identified identity card according to a preset sending sequence. In this implementation scenario, the transmission order is preset, for example, the order in which the plurality of information acquisition instructions are stored in the MCU module is used as the transmission order. Or when a plurality of information acquisition instructions are prestored, adding a sequence label to each information acquisition instruction. Before sending a plurality of information acquisition instructions, acquiring the sequence tags of the information acquisition instructions, and sending the information acquisition instructions according to the sequence indicated by the sequence tags.
In the implementation scenario, one information acquisition instruction is sent at a time, and the next information acquisition instruction is sent after feedback information sent by the to-be-identified identity card in response to the information acquisition instruction is received.
S103: and receiving feedback information sent by the to-be-identified identity card responding to each information reading instruction, and sending the feedback information to the security access module, wherein the feedback information comprises at least one type of content information of the to-be-identified identity card.
In the implementation scenario, the to-be-identified identity card receives an information reading instruction, generates feedback information according to a received current information reading instruction, and sends the feedback information to the MCU module. The MCU module receives the feedback information and sends the feedback information to the security access module.
In this implementation scenario, after receiving a piece of feedback information, the MCU module forwards the feedback information to the SAM module. The MCU module sends the received feedback information to the SAM module according to a preset time interval.
In other implementation scenarios, the MCU adds an indication identifier to the received feedback information and sends the feedback information to the SAM module, so that the SAM module can obtain an information acquisition instruction corresponding to the currently received feedback information, or a sending sequence number of the corresponding information acquisition instruction, and thus, the received feedback information can be sorted according to the indication identifier.
In this implementation scenario, the identification card provides content information corresponding to the information acquisition instruction according to the information acquisition instruction. For example, if the information acquisition instruction is to acquire content information of a name, the identity card sends the name to the MCU module.
S104: and receiving a second instruction sent by the security access module, wherein the second instruction comprises all feedback information.
In a specific implementation scenario, after receiving all the feedback information, the SAM module collates and integrates all the feedback information into a second instruction, and sends the second instruction to the MCU module. In the middle of the implementation scenario, the SAM module determines whether all the feedback information has been received according to the information such as the number of feedback information, the number of bytes, and the like in the received second instruction, and if it is determined that all the feedback information has been received, the SAM module collates and integrates the received feedback information into the second instruction and sends the second instruction to the MCU module.
S105: and reading each piece of feedback information in the second instruction to obtain the identity card information of the identity card to be identified.
In the implementation scenario, the MCU reads each piece of feedback information in the second instruction, and obtains the sending sequence of the instructions according to the corresponding information, and sorts the read content, thereby obtaining the information of the identification card to be identified.
It can be known from the above description that, in this embodiment, the first instruction set including a plurality of information acquisition instructions is stored in advance in the MCU module, so that a time delay caused by waiting for the SAM module to send the information acquisition instruction to the MCU module is avoided, the efficiency of identification card recognition can be effectively improved, and the user waiting time is reduced.
Referring to fig. 2, fig. 2 is a flowchart illustrating an identity card information obtaining method according to a second embodiment of the present invention. The method for acquiring the identity card information comprises the following steps:
s201: and receiving a third instruction set sent by the security access module, wherein the third instruction set comprises a folder opening instruction.
In a specific implementation scenario, the SAM module sends a folder opening instruction to the to-be-identified id card through the MCU module, for example: 00A 40000026011. And the MCU module receives the folder opening instruction.
S202: and sending the folder opening instruction to the identity card to be identified, and acquiring a first response instruction sent by the identity card to be identified.
In the implementation scenario, the received folder opening instruction is sent to the to-be-identified identity card. After the identification card receives the folder opening instruction, and opens the folder specified by the folder opening instruction, a first response instruction, for example 9000, is sent to the MCU module to notify the MCU module that the folder has been successfully opened.
In this implementation scenario. The MCU module and the ID card to be identified are communicated with each other through an RFID (radio frequency identification) module. In other implementation scenarios, the MCU module and the to-be-identified id card may communicate with each other through other radio frequency schemes. S203: and reading a pre-stored first instruction set, wherein the first instruction set comprises a plurality of information acquisition instructions.
S204: and sending the plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence.
In this implementation scenario, steps S203 to S204 are substantially the same as steps S101 to S102 in the first embodiment of the method for acquiring identity card information provided by the present invention, and are not described herein again.
S205: whether feedback information corresponding to the currently sent information reading instruction is received or not is judged, and if yes, step S206 is executed.
In this implementation scenario, the MCU module sends one information reading command at a time. After the current information reading instruction is sent, whether feedback information sent by the identity card to be identified in response to the current information reading instruction is received or not is judged, and if the feedback information is received, the next information reading instruction of the current information reading instruction is sent. And if the feedback information is not received, not sending the next information reading instruction of the current information reading instruction.
In this implementation scenario, the information reading instruction is used to read 80 bytes of id card information. For example, the first sent information reading instruction is used for reading the 80 bytes of identification card information from the start address of the opened folder. The second sent information reading instruction is used for reading 80 bytes of identity card information by taking the starting address as the 81 th byte, and the like.
For example, the information reading instruction is 80B 0000050, and the feedback information sent by the identification card to be identified in response to the information reading instruction is xx xx xx xx … (80 bytes in total) 9000.
S206: and receiving feedback information sent by the identity card to be identified in response to each information reading instruction, and sending the feedback information to the security access module.
S207: receiving a second instruction sent by the security access module, wherein the second instruction comprises all feedback information;
s208: and reading each piece of feedback information in the second instruction to obtain the identity card information of the identity card to be identified.
In this implementation scenario, steps S206 to S208 are substantially the same as steps S103 to S105 in the first embodiment of the method for acquiring identity card information provided by the present invention, and are not described herein again.
As can be seen from the above description, in this embodiment, after receiving the feedback information sent by the to-be-identified identification card in response to the current information reading instruction, the next information reading instruction of the current information reading instruction is sent, so that the sending sequence can be prevented from being disordered, and the accuracy of identification of the identification card information can be improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a method for acquiring identification card information according to a third embodiment of the present invention. The method for acquiring the identity card information comprises the following steps:
s301: and receiving a third instruction set sent by the security access module, wherein the third instruction set comprises a folder opening instruction, a card searching instruction and a card selecting instruction.
In a specific implementation scenario, a third instruction set sent by the SAM module is received, where the third instruction set includes a folder opening instruction, a card searching instruction, and a card selecting instruction. The third instruction set may be that the SAM module sends to the MCU module after the id card information obtaining device is started, or the SAM module sends to the MCU module after detecting that the id card to be identified is close.
S302: and searching for the identity card to be identified in the preset area according to the card searching instruction, and selecting the identity card to be identified according to the card selecting instruction.
In this implementation scenario, the identification card information acquisition devices, such as a self-service ticket taker at a high-speed rail station or a bus stop, a self-service card handling machine at a bank, and the like, are all provided with a preset area for placing the identification card, and the MCU module searches for the identification card to be identified in the preset area according to the card searching instruction. After the identification card to be identified is found, the MCU selects the identification card to be identified as a data interaction object according to the card selection instruction.
S303: and sending the instruction for reading the random number to the identity card to be identified.
In this implementation scenario, the third instruction set further includes an instruction for reading a random number, and in order to improve security of data interaction, the SAM module performs authentication with the to-be-identified id card. Specifically, the SAM module sends a random number reading instruction to the identification card to be identified through the MCU module, and the MCU module receives the random number reading instruction, forwards the random number reading instruction to the identification card to be identified, and writes the random number reading instruction into the identification card to be identified.
S304: and acquiring the encrypted random number sent by the security access module.
In the implementation scene, the identity card to be recognized responds to the instruction for reading the random number and sends the authentication random number to the MCU module, the MCU module forwards the authentication random number to the SAM module, the SAM module encrypts the authentication random number to generate an encrypted random number, and the encrypted random number is sent to the MCU module. And the MCU module receives the encrypted random number sent by the SAM module.
S305: and sending the encrypted random number to the identity card to be identified.
In the implementation scenario, the encrypted random number is sent to the identification card to be identified, the identification card to be identified decrypts the encrypted random number to obtain a decrypted random number, the decrypted random number is compared with the authentication random number, and if the decrypted random number is matched with the authentication random number, authentication is completed.
S306: and sending the folder opening instruction to the identity card to be identified, and acquiring a first response instruction sent by the identity card to be identified.
In this implementation scenario, step S306 is substantially the same as step S202 in the second embodiment of the method for acquiring identity card information provided by the present invention, and details are not repeated here.
S307: and reading a pre-stored first instruction set, wherein the first instruction set comprises a plurality of information acquisition instructions.
S308: and sending the plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence.
S309: and receiving feedback information sent by the to-be-identified identity card responding to each information reading instruction, and sending the feedback information to the security access module, wherein the feedback information comprises part of information of the to-be-identified identity card.
S310: and receiving a second instruction sent by the security access module, wherein the second instruction comprises all feedback information.
S311: and reading each piece of feedback information in the second instruction to obtain the identity card information of the identity card to be identified.
In this implementation scenario, steps S307 to S311 are substantially the same as steps S101 to S105 in the first embodiment of the method for acquiring identity card information provided by the present invention, and are not described herein again.
As can be seen from the above description, in this embodiment, the SAM module performs authentication before performing data interaction with the to-be-identified id card through the MCU module, so as to effectively improve the reliability and security of data acquisition.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an identity card information acquiring apparatus according to a first embodiment of the present invention. The identification card information acquisition device 10 includes: a reading module 11, a sending module 12, a feedback module 13, a receiving module 14 and an information module 15. The reading module 11 is configured to read a pre-stored first instruction set, where the first instruction set includes a plurality of information obtaining instructions. The sending module 12 is configured to send a plurality of information obtaining instructions to the to-be-identified identification card according to a preset sending sequence. The feedback module 13 is configured to receive feedback information sent by the to-be-identified identity card in response to each information reading instruction, and send the feedback information to the security access module, where the feedback information includes content information of at least one type of the to-be-identified identity card. The receiving module 14 is configured to receive a second instruction sent by the security access module, where the second instruction includes all feedback information. The information module 15 is configured to read each piece of feedback information in the second instruction, and obtain the identification card information of the identification card to be identified.
The identification card information obtaining device 10 further includes an opening module 16, where the opening module 16 is configured to receive a third instruction set sent by the secure access module, and the third instruction set includes a folder opening instruction. And sending the folder opening instruction to the identity card to be identified, and acquiring a first response instruction sent by the identity card to be identified, wherein the first response instruction is used for indicating the folder indicated by the folder opening instruction of the identity card to be identified.
The third instruction set also includes a card-seeking instruction and a card-selecting instruction. The opening module 16 is further configured to search for an identity card to be identified in a preset area according to the card searching instruction; and selecting the identity card to be identified according to the card selecting instruction.
The third set of instructions also includes authentication instructions. The identity card information acquisition equipment 10 further comprises an authentication module 17, wherein the authentication module 17 is used for sending the instruction for reading the random number to the identity card to be identified, so that the identity card to be identified responds to the instruction for reading the random number to send the authentication random number, receives the authentication random number and sends the authentication random number to the secure access module; acquiring an encrypted random number sent by a security access module, wherein the encrypted random number is acquired after the security access module encrypts an authentication random number; and sending the encrypted random number to the identity card to be identified so that the identity card to be identified completes authentication according to the encrypted random number.
The information interaction with the identification card to be identified is realized through radio frequency signals.
The sending module 12 is further configured to determine whether feedback information corresponding to the currently sent information reading instruction is received, and if the feedback information corresponding to the currently sent information reading instruction is received, send a next information reading instruction of the currently sent information reading instruction according to a preset sequence.
Each information reading instruction is used for reading part of information with preset byte length in the identity card information of the identity card to be identified.
It can be known from the above description that in this embodiment, the identity card information acquisition device no longer acquires the information acquisition instruction through the SAM module, but prestores a plurality of information acquisition instructions in the MCU, and omits the time for the SAM module to process the to-be-identified identity card data and then send the information acquisition instruction to the MCU, thereby effectively improving the efficiency of identity card information acquisition and reducing the queuing waiting time of the user.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an identity card information acquiring apparatus according to a second embodiment of the present invention. The identification card information acquisition device 20 includes a processor 21 and a memory 22. The processor 21 is coupled to a memory 22. The memory 22 has stored therein a computer program which is executed by the processor 21 in operation to implement the method as shown in fig. 1-3. The detailed methods can be referred to above and are not described herein.
As can be seen from the above description, the identity card information acquiring apparatus in this embodiment does not acquire the information acquiring instruction through the SAM module any more, but prestores a plurality of information acquiring instructions in the MCU, so that the time for the SAM module to process the identity card data to be recognized and then send the information acquiring instruction to the MCU is omitted, the efficiency of acquiring the identity card information is effectively improved, and the queuing waiting time of the user is reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an embodiment of a computer-readable storage medium according to the present invention. The computer-readable storage medium 30 stores at least one computer program 31, and the computer program 31 is used for being executed by a processor to implement the method shown in fig. 1 to 3, and the detailed method can be referred to above and will not be described herein again. In one embodiment, the computer readable storage medium 30 may be a memory chip in a terminal, a hard disk, or other readable and writable storage tool such as a removable hard disk, a flash disk, an optical disk, or the like, and may also be a server or the like.
As can be seen from the above description, in this embodiment, the computer program in the computer-readable storage medium may be configured to pre-store a plurality of information acquisition instructions in the MCU, and omit the time for the SAM module to process the id card data to be identified and then send the information acquisition instruction to the MCU, thereby effectively improving the efficiency of acquiring the id card information and reducing the queuing waiting time of the user.
Be different from prior art, the in-process of obtaining information is read to the ID card, has the interaction of high frequency between SAM module and the MCU, and the time that identity card information was read to the recognition is longer, and MCU directly sends many information acquisition instructions in the first instruction set of prestoring, and the time that the SAM module obtained second generation ID card information is no longer than 450ms, compares current scheme, and efficiency promotes more than 25%.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. An identity card information acquisition method is characterized by comprising the following steps:
reading a pre-stored first instruction set, wherein the first instruction set comprises a plurality of information acquisition instructions;
sending the plurality of information acquisition instructions to an identity card to be identified according to a preset sending sequence;
receiving feedback information sent by the to-be-identified identity card in response to each information reading instruction, and sending the feedback information to a security access module, wherein the feedback information comprises at least one type of content information of the to-be-identified identity card;
receiving a second instruction sent by the security access module, wherein the second instruction comprises all the feedback information;
and reading each piece of feedback information in the second instruction to obtain the identity card information of the identity card to be identified.
2. The method for acquiring identity card information according to claim 1, wherein the step of reading the pre-stored first instruction set is preceded by the steps of:
receiving a third instruction set sent by the security access module, wherein the third instruction set comprises a folder opening instruction;
and sending the folder opening instruction to the to-be-identified identity card, and acquiring a first response instruction sent by the to-be-identified identity card, wherein the first response instruction is used for indicating the to-be-identified identity card to open the folder indicated by the folder instruction.
3. The method according to claim 2, wherein the third instruction set further includes a card-searching instruction and a card-selecting instruction;
after the step of receiving the third instruction set sent by the security access module, the method includes:
searching for an identity card to be identified in a preset area according to the card searching instruction;
and selecting the identification card to be identified according to the card selecting instruction.
4. The method according to claim 2, wherein the third instruction set includes a read random number instruction;
after the step of receiving the third instruction set sent by the security access module, the method includes:
sending the random number reading instruction to the identity card to be identified, so that the identity card to be identified responds to the random number reading instruction and sends an authentication random number to the secure access module;
acquiring an encrypted random number sent by the secure access module, wherein the encrypted random number is acquired after the secure access module encrypts the authentication random number;
and sending the encrypted random number to the identity card to be identified, so that the identity card to be identified completes authentication according to the encrypted random number.
5. The identity card information acquisition method according to claim 1,
and the information interaction with the identification card to be identified is realized through a radio frequency signal.
6. The method for acquiring the information of the identity card according to claim 1, wherein the step of sending the plurality of information acquisition instructions to the identity card to be recognized according to a preset sending sequence comprises:
and judging whether feedback information corresponding to the currently sent information reading instruction is received or not, and if the feedback information corresponding to the currently sent information reading instruction is received, sending the next information reading instruction of the currently sent information reading instruction according to the preset sequence.
7. The identity card information acquisition method according to claim 1,
each information reading instruction is used for reading content information with a preset byte length in the identity card information of the identity card to be identified.
8. An identification card information acquisition apparatus, comprising:
the reading module is used for reading a pre-stored first instruction set, and the first instruction set comprises a plurality of information acquisition instructions;
the sending module is used for sending the plurality of information acquisition instructions to the identity card to be identified according to a preset sending sequence;
the feedback module is used for receiving feedback information sent by the to-be-identified identity card in response to each information reading instruction and sending the feedback information to the security access module, wherein the feedback information comprises at least one type of content information of the to-be-identified identity card;
a receiving module, configured to receive a second instruction sent by the secure access module, where the second instruction includes all the feedback information;
and the information module is used for reading each piece of feedback information in the second instruction and acquiring the identity card information of the identity card to be identified.
9. An identification card information acquisition apparatus, comprising: a processor, a memory and a communication circuit, the processor coupled to the memory and the communication circuit, the memory having stored therein a computer program, the processor executing the computer program to implement the method of any of claims 1-7.
10. A computer-readable storage medium, in which a computer program is stored, which computer program is executable by a processor to implement the method according to any one of claims 1-7.
CN202010303548.9A 2020-04-17 2020-04-17 Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium Pending CN111680283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010303548.9A CN111680283A (en) 2020-04-17 2020-04-17 Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010303548.9A CN111680283A (en) 2020-04-17 2020-04-17 Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111680283A true CN111680283A (en) 2020-09-18

Family

ID=72451483

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010303548.9A Pending CN111680283A (en) 2020-04-17 2020-04-17 Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111680283A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899497A (en) * 2015-05-20 2015-09-09 李明 Identity card reading apparatus having no SAM module, SAM apparatus and system
CN205845052U (en) * 2015-11-10 2016-12-28 天地融科技股份有限公司 Identity card card-reading system and be not provided with the card reader of SAM module
CN106355717A (en) * 2016-09-05 2017-01-25 惠州Tcl移动通信有限公司 Mobile terminal unlocking method and system based on fingerprint recognition and NFC (near field communication)
WO2017211243A1 (en) * 2016-06-08 2017-12-14 广州广电运通金融电子股份有限公司 Card reader system and method
CN109889492A (en) * 2019-01-04 2019-06-14 深圳暨达科技有限公司 A kind of higher financial IC card of safety and the two-in-one identification communication means of China second-generation identity card

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104899497A (en) * 2015-05-20 2015-09-09 李明 Identity card reading apparatus having no SAM module, SAM apparatus and system
CN205845052U (en) * 2015-11-10 2016-12-28 天地融科技股份有限公司 Identity card card-reading system and be not provided with the card reader of SAM module
WO2017211243A1 (en) * 2016-06-08 2017-12-14 广州广电运通金融电子股份有限公司 Card reader system and method
CN106355717A (en) * 2016-09-05 2017-01-25 惠州Tcl移动通信有限公司 Mobile terminal unlocking method and system based on fingerprint recognition and NFC (near field communication)
CN109889492A (en) * 2019-01-04 2019-06-14 深圳暨达科技有限公司 A kind of higher financial IC card of safety and the two-in-one identification communication means of China second-generation identity card

Similar Documents

Publication Publication Date Title
CN107766190B (en) Interface testing method and device, computer equipment and storage medium
CN109509021B (en) Behavior track-based anomaly identification method and device, server and storage medium
RU2014137055A (en) MECHANISM ALLOWING USE OF DISPOSABLE CARDS IN THE SYSTEM DESIGNED FOR RECEPTION OF CARDS ACCORDING TO THE STANDARDS OF THE INTERNATIONAL PAYMENT INDUSTRY
CN109194689B (en) Abnormal behavior recognition method, device, server and storage medium
KR101168272B1 (en) The system of issuing nfc ticket and method thereof
CN103955643B (en) Method and device for judging and prompting e-bank (electronic bank) transaction safety
CN105744517A (en) Information authentication method and network side device
CN110210307B (en) Face sample library deployment method, face-recognition-based service processing method and device
CN107104968A (en) Safety certifying method, system, terminal and the storage medium of portable finance device
CN113313594B (en) Order processing method, order processing device, electronic equipment, storage medium and program product
CN106712958B (en) Information acquisition method and system, real-name system information acquisition method, system and application
CN111680283A (en) Identity card information acquisition method, identity card information acquisition equipment and computer readable storage medium
CN106570955B (en) Information collecting method and device based on access control equipment
WO2018170053A1 (en) Dynamic barcode ticketing carrying encrypted validation transactions
CN114445922B (en) Secondary issuing method, device, equipment and storage medium of charging equipment
CN110752933A (en) Verification code input method and device, electronic equipment and storage medium
CN106657092B (en) Service processing method and device based on SS L/T L S
CN105162782A (en) User biological characteristic storage method, device and terminal
CN105989711A (en) Operating station exit gate inspection method, system and gate inspection-used portable terminal
CN111786991B (en) Block chain-based platform authentication login method and related device
CN108537086A (en) Method for information display, device, storage medium and mobile terminal
CN101140615A (en) Device and method integrating recognition user information on television set
JP2000259876A (en) Card system for vehicle
CN107784213B (en) Storage device based on fingerprint identification technology and hardware correlation encryption mode
CN113704652B (en) Data processing method, device, transfer station and data processing system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200918

RJ01 Rejection of invention patent application after publication