CN109255265A - Self-recovery method and device when reading identity card information exception - Google Patents

Self-recovery method and device when reading identity card information exception Download PDF

Info

Publication number
CN109255265A
CN109255265A CN201810866964.2A CN201810866964A CN109255265A CN 109255265 A CN109255265 A CN 109255265A CN 201810866964 A CN201810866964 A CN 201810866964A CN 109255265 A CN109255265 A CN 109255265A
Authority
CN
China
Prior art keywords
card
reading
card reader
information
exception
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
CN201810866964.2A
Other languages
Chinese (zh)
Other versions
CN109255265B (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.)
ROUTON ELECTRONIC CO Ltd
Wuhan Puli Commercial Machine Co Ltd
Original Assignee
ROUTON ELECTRONIC CO Ltd
Wuhan Puli Commercial Machine 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 ROUTON ELECTRONIC CO Ltd, Wuhan Puli Commercial Machine Co Ltd filed Critical ROUTON ELECTRONIC CO Ltd
Priority to CN201810866964.2A priority Critical patent/CN109255265B/en
Publication of CN109255265A publication Critical patent/CN109255265A/en
Application granted granted Critical
Publication of CN109255265B publication Critical patent/CN109255265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Abstract

The present invention provides the self-recovery method and device when a kind of reading identity card information exception, this method comprises: if card reading process knows card reader exception, reset instruction of restarting then is issued to card reader, is restarted certainly and so that card reader is executed according to reset instruction of restarting in the normal rear reading identity card information of recovery;Card reading process obtains ID card information, and customer service process is notified to show ID card information.The present invention is mutually separated by card reading process with customer service process, and the two is independently non-interference, and card reading process executes in card reading process, if card reader can be self-healing extremely, this recovery process does not need user and intervenes manually;Customer service process need to only show the ID card information of acquisition, and card reading process, which is abnormal, does not influence customer service process, improve card reading efficiency, while also the user experience is improved.

Description

Self-recovery method and device when reading identity card information exception
Technical field
The present invention relates to field of computer technology, when more particularly, to a kind of reading identity card information exception from extensive Multiple method and device.
Background technique
With the development of information technology, system of real name is seen everywhere in our daily lifes, as mobile phone business is handled System of real name, ticket system of real name, express delivery system of real name etc..It is just be unable to do without China second-generation identity card identification technology to real name, namely is read And show ID card information.
If occurring exception in card reading process, this reading identity card just fails, at this time it is generally necessary to human intervention (such as equipment Restart) it could restore.Such as prompt user's card reading error, need to terminate user interaction flow card reading again;For another example in card reading When application layer and bottom card reader communication abnormality, needing to do card reader lower reset can just restore, at this time customer service process It can be interrupted again.
When due to occurring abnormal in card reading process, it will usually so that customer service process is interrupted, affect user circle The interaction in face causes card reading efficiency lower, meanwhile, affect user experience.
Summary of the invention
In order to overcome the above problem or at least be partially solved the above problem, the present invention provides a kind of reading identity card letter Self-recovery method and device when breath is abnormal.
In a first aspect, the self-recovery method when present invention provides a kind of reading identity card information exception, comprising: if card reading into Journey knows card reader exception, then issues reset instruction of restarting to card reader, so that card reader executes certainly according to instruction of restarting is resetted Restart and is restoring normal rear reading identity card information;Card reading process obtains ID card information, and notifies that customer service process is aobvious Show ID card information.
Further, if knowing card reader exception in card reading process, the step of resetting instruction of restarting is issued to card reader Before, self-recovery method when reading identity card information exception further include: card reading process issues card reading instruction to card reader, for Card reader instructs successively to execute according to card reading looks for card operation, card selecting operation and reading essential information operation accordingly.
Further, after the step of issuing card reading instruction to card reader in card reading process, reading identity card information is abnormal When self-recovery method further include: card reading process receive card reader return data information, if carrying error code in data information, Then determine card reader exception;Wherein, data information is that card reader execution looks for card operation, card selecting operation and reads essential information operation After middle any operation, to the data information of card reading process return.
Wherein, if card reading process knows card reader exception, it is further that the step of resetting instruction of restarting is issued to card reader If including: that card reading process knows card reader exception, successively gives electricity instruction down to card reader and power on instruction.
Further, self-recovery method when reading identity card information exception further include: issue pause card reading to card reader Instruct and/or exit card reading interface instruction.
Further, self-recovery method when reading identity card information exception further include: customer service process receives user After binding the request of card reading service trigger, by calling the communication interface between customer service process and card reading process, control card reading into The start and stop of journey.
Second aspect, the present invention provide self-resetting devices when a kind of reading identity card information exception, comprising: card reading unit And customer service unit, wherein if card reading unit is used to know card reader exception, reset instruction of restarting is issued to card reader, So that card reader according to resetting, restart certainly and the reading identity card information after restoring normal, acquisition identity card are believed by instruction of restarting execution Breath;Customer service unit is for showing ID card information.
The third aspect, the present invention provide a kind of electronic equipment, comprising: at least one processor, is led at least one processor Believe interface and bus;Memory, processor and communication interface complete mutual communication by bus, and communication interface is used for electronics Information transmission between equipment and card reader;The computer program that can be run on a processor, processor are stored in memory When executing computer program, self-recovery method when reading identity card information exception as described above is realized.
Fourth aspect, the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with computer program, The computer program realizes self-recovery method when reading identity card information exception as described above when being executed by processor.
5th aspect, the present invention provide self recoverable system when a kind of reading identity card information exception, including card reader with And the electronic equipment as described in the third aspect or the non-transient computer readable storage medium as described in fourth aspect;Wherein, Card reader is for reading identity card information and restarts certainly.
Self-recovery method and device when a kind of reading identity card information exception provided by the invention, by card reading process with Customer service process mutually separates, and the two is independently non-interference, and card reading process executes in card reading process, if card reader extremely can be voluntarily Restore, this recovery process does not need user and intervenes manually;Customer service process need to only show the ID card information of acquisition, read Sticking into journey and being abnormal does not influence customer service process, improves card reading efficiency, while also the user experience is improved.
Detailed description of the invention
The flow chart of self-recovery method when Fig. 1 is a kind of reading identity card information exception of the embodiment of the present invention;
The flow chart of self-recovery method when Fig. 2 is another kind of embodiment of the present invention reading identity card information exception;
The structural schematic diagram of self-resetting devices when Fig. 3 is a kind of reading identity card information exception of the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment of the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure clearly and completely describes the technical solution execution in the present invention, it is clear that described embodiment is one of the invention Divide embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making Every other embodiment obtained, shall fall within the protection scope of the present invention under the premise of creative work.
Common way is that customer service process oneself is allowed to realize card reading stream in each application of ID card information acquisition Journey, if customer service realization just needs to be concerned about card reading specific steps process, defect is: if card reader is abnormal in card reading process, It usually requires to interrupt customer service process card reading again, this leverages the interaction of user interface.Inventive concept of the invention It is: individually sets up another a background process and execute card reading process, separated with customer service process.Customer service process passive informing, Without being concerned about card reading specific steps process, after only needing to wait for the ID card information result read, the ID card information result is shown ?.
As the one aspect of the embodiment of the present invention, the present embodiment provides when a kind of reading identity card information exception from extensive Compound method, with reference to Fig. 1, the flow chart of self-recovery method when being a kind of reading identity card information exception of the embodiment of the present invention, packet It includes:
If S1, card reading process know card reader exception, issue reset instruction of restarting to card reader, for card reader according to It resets instruction of restarting and executes and restart certainly, and the reading identity card information after restoring normal.
Specifically, it if card reading process is by inquiry Card reader status, or after receiving the data information that card reader returns, obtains Know card reader exception, then issues reset instruction of restarting to card reader.Card reader receives the reset that card reading process issues and restarts finger After order, execute from reboot operation, and continue to execute the process of card reading process namely reading identity card information after restarting, directly To operating normally and read ID card information.
In one embodiment, card reading process is realized using the Service (service) of the big component of Android platform four, Service is the component at a not no interface, only realizes card reading process, it is the application journey that a backstage independently executes Sequence, one with card reading module existing for APK (AndroidPackage, i.e. Android installation kit) form.
S2, card reading process obtain ID card information, and customer service process is notified to show ID card information.
Specifically, after card reader reads ID card information, card reading process passes through the data information of inquiry card reader, or The ID card information read is reported from card reader to card reading process.Card reading process obtain ID card information after, notice foreground into Journey --- customer service process shows the ID card information.Customer service process simply waits display body after card reading flow startup The notice of part card information, when card reading process occurs abnormal, customer service process interface will not be impacted.
In one embodiment, customer service process uses the Activity (active window of the big component of Android platform four Mouthful) realize, Activity is the component for having interface, only realizes customer service process, it is a preceding independence for Taiwan The vertical application program executed, be one in the form of APK existing for business module.Card reading module is also an APK, and the two is independently mutual Do not interfere, exception, which occurs, in card reading process no longer will affect customer service process.
In another embodiment, it after card reading process is activated, can be broadcasted by Android after reading ID card information The ID card information that mechanism notice customer service process is read, customer service process are just only responsible for showing identity card in interface Information, any exception occurred in card reading process it be indifferent to.
The present embodiment is by mutually separating card reading process with customer service process, and the two is independently non-interference, card reading process It executes in card reading process, if card reader can be self-healing extremely, this recovery process does not need user and intervenes manually;Customer service into Journey need to only show the ID card information of acquisition, and card reading process, which is abnormal, does not influence customer service process, improve card reading Efficiency, while also the user experience is improved.
In one embodiment, if knowing card reader exception in card reading process, reset instruction of restarting is issued to card reader The step of before, self-recovery method when reading identity card information exception further include: card reading process issues card reading to card reader and refers to It enables, so that card reader instructs successively execution to look for card operation, card selecting operation accordingly and read essential information operation according to card reading.
Specifically, it since China second-generation identity card is non-contact IC card, has main steps that and looks for card, card selection, reads essential information.When When user triggers card reading operation, card reading process issues card reading instruction to card reader, so that card reader is according to card reading instruction execution phase The card reading operation answered, namely successively execute to look for card operation, card selecting operation and read essential information and operate.
In one embodiment, after the step of card reading instruction is issued to card reader in card reading process, reading identity card letter Self-recovery method when breath is abnormal further include: card reading process receives the data information that card reader returns, if carrying in data information Error code then determines card reader exception;Wherein, data information is that card reader execution is looked for card operation, card selecting operation and read basic In information operation after any operation, to the data information of card reading process return.
Specifically, card reading process sends the instructions of card readings a series of to card reader during reading ID card information: card being looked for refer to Enable, card selection instruction and read essential information instruction etc..Card reader can carry out looking for card operation, card selecting operation accordingly according to these instructions And read essential information operation.And in any stage of card reading information, i.e., during executing any instruction, card reader can be to The data information that card process returns to card reading process is read, whether carries error code in the data information by detecting this return, it can Judge whether card reader is abnormal.Specifically, when detecting the presence of error code, it can be determined that card reader is abnormality.
In one embodiment, it if card reading process knows card reader exception, is issued to card reader and resets instruction of restarting Step further comprises: if card reading process knows card reader exception, successively giving electricity instruction down to card reader and powers on instruction.
Specifically, China second-generation identity card is non-contact IC card, has main steps that and looks for card, card selection, reads essential information, in card reading Error is usually that card reader exception has occurred in process, and card reader can only often be powered off and re-power initialization again by this exception After could restore normal.So self-healing core be by software supervision card reader whether operation irregularity, if it is abnormal at once Send instructions and it is allowed to power off and then re-power recovery to normal operating conditions.
It reads card process and executes card reading process, can judge whether card reader is normal by implementing result after the completion of each step, Continue if normal in next step, otherwise will execute electricity order under card reader makes its lower electricity, and then executing power up commands powers on it, i.e., Restore normal after completing initialization.
The present embodiment from card reading process to card reader by card reader exception, successively giving down electricity instruction and powering on finger It enables, therefore, when backstage executes card reading process, if card reader can be self-healing extremely, this recovery process does not need user and does manually In advance, user experience is effectively improved.
To further illustrate technical solution of the present invention, following application scenarios example is provided, but not to protection of the invention Range executes limitation.
The flow chart of self-recovery method when Fig. 2 is another kind of embodiment of the present invention reading identity card information exception, such as Fig. 2 Shown, when card reading process issues card reading instruction or reset instruction of restarting to card reader, card reader executes corresponding card reading respectively Operation or from reboot operation.
It is to look for card first for the execution step of card reader, if card reader exception occurs, first powers on and hold after lower electricity Row re-executes and card is looked for operate from restarting, until looking for card operation to run succeeded, into card selecting operation;If card reader is without exception, Into card selecting operation.
Secondly, card reader executes card selecting operation, if generation card reader is abnormal, progress first is powered on after lower electricity and is restarted certainly, weight It is new to execute card selecting operation, until looking for card operation to run succeeded, into reading essential information operation;If card reader is without exception, enter Read essential information operation.
Finally, card reader, which executes, reads essential information operation, if card reader exception occurs, is first powered on after lower electricity and execute self weight It opens, re-executes and read essential information operation, until card operation is looked for run succeeded, then save the ID card information read;If reading Card device is without exception, then saves the ID card information read.
In one embodiment, self-recovery method when reading identity card information exception further include: issued temporarily to card reader Stop card reading instruction and/or exits card reading interface instruction.
Specifically, card reading process APK mainly issues card reading instruction, the instruction of pause card reading to card reader or exits card reading interface Instruction, so that card reader carries out corresponding card reading operation, the operation of pause card reading according to above-metioned instruction or exits card reading interface operation.
Specifically, card reading process can look for card, card selection and read in three steps of essential information according to above-described embodiment When either step executes, pause card reading instruction is issued to card reader.Card reader is instructed according to the pause card reading, suspends card reading stream Journey.Optionally, after card reading process, card reading process is issued to card reader exits card reading interface instruction.Card reader is according to this Card reading interface instruction is exited, card reading interface is exited.
In one embodiment, self-recovery method when reading identity card information exception further include: customer service process connects After receiving user's binding card reading service trigger request, pass through the communication interface called between customer service process and card reading process, control The start and stop of card reading process.
Specifically, using AIDL in android system (Android Interface definition language, i.e., The description language of android inter process communication interface), the communication between card reading process and customer service process is defined by it and is connect Mouthful.When user trigger card reading operation when, customer service process APK by binding card reading service, and call customer service process and Communication interface between card reading process can control the start and stop of card reading process.
Specifically, when user triggers card reading operation, customer service process APK binds card reading according to above-described embodiment Service, by calling the communication interface between customer service process and card reading process, control card reader suspends card reading or exits card reading Interface.
By calling the communication interface between customer service process and card reading process, control card reading process opens the present embodiment Stop, so that user can control the start and stop of card reading process, and card reader extremely may be used in card reading process by binding card reading service It voluntarily to restore, is not required to user and intervenes manually, improve card reading efficiency, further the user experience is improved.
As the other side of the embodiment of the present invention, the present embodiment provides when a kind of reading identity card information exception from Recovery device, with reference to Fig. 3, the structural representation of self-resetting devices when being a kind of reading identity card information exception of the embodiment of the present invention Figure, comprising: card reading unit 31 and customer service unit 32, wherein if card reading unit 31 is used to know card reader exception, to reading Card device issues reset instruction of restarting, so that card reader is restarted certainly according to reset instruction of restarting execution and is restoring normal rear reading body Part card information, obtains ID card information;Customer service unit 32 is for showing ID card information.
It is to be understood that the device can be used in above-mentioned each method embodiment realize reading identity card information exception when Self- recoverage.Therefore, the description and definition in self-recovery method when reading identity card information exception in the above embodiments, The understanding that can be used for each functional module in the embodiment of the present invention, specifically refers to the various embodiments described above, and details are not described herein again.
It is understood that can be by hardware processor (hardware processor) come real in the embodiment of the present invention Existing related function module.
The present embodiment is mutually separated by card reading process with customer service process, and the two is independently non-interference, and card reading process is held In row card reading process, if card reader can be self-healing extremely, this recovery process does not need user and intervenes manually;Customer service process It need to only show the ID card information of acquisition, card reading process, which is abnormal, does not influence customer service process, improves card reading effect Rate, while also the user experience is improved.
As the another aspect of the embodiment of the present invention, it is this hair that the present embodiment provides a kind of electronic equipment with reference to Fig. 4 The structural schematic diagram of bright embodiment a kind of electronic equipment, comprising: at least one processor 41, at least one processor 42, communication Interface 43 and bus 44;Memory 41, processor 42 and communication interface 43 complete mutual communication by bus 44, and communication connects Mouth 43 is for the information transmission between electronic equipment and card reader;The meter that can be run on processor 42 is stored in memory 41 Calculation machine program realizes self- recoverage when reading identity card information exception as described above when processor 42 executes computer program Method.
It is to be understood that memory 41, processor 42, communication interface 43 and bus 44 are included at least in the electronic equipment, And memory 41, processor 42 and communication interface 43 form mutual communication connection by bus 44, and achievable mutual Communication.
When electronic equipment is run, processor 42 calls the program instruction in memory 41, is implemented with executing above-mentioned each method Self-recovery method when reading identity card information exception provided by example, for example, if card reading process knows card reader exception, Reset instruction of restarting then is issued to card reader, so that card reader is restarted and after restoring normal certainly according to instruction of restarting execution is resetted Reading identity card information etc..
In addition, the logical order in above-mentioned memory can be realized and as independence by way of SFU software functional unit Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words The form of product embodies, which is stored in a storage medium, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with Store the medium of program code.
As another aspect of the embodiment of the present invention, the present embodiment provides a kind of non-transient computer readable storage mediums Matter is stored thereon with computer program, which realizes that above-mentioned each method embodiment is provided when being executed by processor Reading identity card information exception when self-recovery method.
It is to be understood that above-mentioned computer instruction can be realized and as independent by way of SFU software functional unit Product when selling or using, can store in a computer readable storage medium.Alternatively, realizing above method embodiment All or part of the steps this can be accomplished by hardware associated with program instructions, program above-mentioned can store in a computer In read/write memory medium, which when being executed, executes step including the steps of the foregoing method embodiments;And storage medium above-mentioned It include: the various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
As the still another aspect of the embodiment of the present invention, the present embodiment provides when a kind of reading identity card information exception from Recovery system, the electronic equipment provided including card reader and such as above-mentioned each Installation practice or non-transient computer is readable deposits Storage media;Wherein, card reader is restarted for reading identity card information and certainly.
In addition, invent each Installation practice be for executing each method embodiment of the present invention, it is specific execute method and Flow content is referring to above-mentioned each method embodiment, and details are not described herein again.
A kind of electronic equipment, a kind of non-transient computer readable storage medium and a kind of reading provided in an embodiment of the present invention Self recoverable system when ID card information exception is taken, is mutually separated by card reading process with customer service process, the two independence is mutual not Interference, card reading process execute in card reading process, if card reader can be self-healing extremely, this recovery process does not need user and does manually In advance;Customer service process need to only show the ID card information of acquisition, card reading process be abnormal do not influence customer service into Journey improves card reading efficiency, while also the user experience is improved.
In addition, those skilled in the art are it should be understood that in application documents of the invention, term " includes ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that include a series of elements process, Method, article or equipment not only include those elements, but also including other elements that are not explicitly listed, or are also wrapped It includes as elements inherent to such a process, method, article, or device.In the absence of more restrictions, by sentence " including One ... " limit element, it is not excluded that there is also another in the process, method, article or apparatus that includes the element Outer identical element.
In specification of the invention, numerous specific details are set forth.It should be understood, however, that the embodiment of the present invention can To practice without these specific details.In some instances, well known method, structure and skill is not been shown in detail Art, so as not to obscure the understanding of this specification.Similarly, it should be understood that disclose in order to simplify the present invention and helps to understand respectively One or more of a inventive aspect, in the above description of the exemplary embodiment of the present invention, each spy of the invention Sign is grouped together into a single embodiment, figure, or description thereof sometimes.
However, the disclosed method should not be interpreted as reflecting the following intention: i.e. the claimed invention requirement Features more more than feature expressly recited in each claim.More precisely, as claims are reflected Like that, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows the power of specific embodiment Thus sharp claim is expressly incorporated in the specific embodiment, wherein each claim itself is as independent reality of the invention Apply example.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Detailed description is performed to the present invention with reference to the foregoing embodiments, those skilled in the art is it is understood that it still can be right Technical solution documented by foregoing embodiments executes modification, or executes equivalent replacement to part of technical characteristic;And this It modifies or replaces, the spirit and model of technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution It encloses.

Claims (10)

1. self-recovery method when a kind of reading identity card information exception characterized by comprising
If card reading process knows card reader exception, reset instruction of restarting is issued to the card reader, for the card reader root It is executed according to the reset instruction of restarting and restarts certainly and restoring normal rear reading identity card information;
The card reading process obtains the ID card information, and customer service process is notified to show the ID card information.
2. if the method according to claim 1, wherein card reader exception is known in card reading process, to described Before card reader issues the step of resetting instruction of restarting, the method also includes:
The card reading process issues card reading instruction to the card reader, so that the card reader is successively held according to card reading instruction Row looks for card operation, card selecting operation accordingly and reads essential information operation.
3. according to the method described in claim 2, it is characterized in that, issuing reading to the card reader in the card reading process After the step of card instruction, the method also includes:
The card reading process receives the data information that the card reader returns and sentences if carrying error code in the data information The fixed card reader is abnormal;
Wherein, the data information is to look for card operation, the card selecting operation and the reading basic described in the card reader executes In information operation after any operation, to the data information of card reading process return.
4. the method according to claim 1, wherein if the card reading process knows card reader exception, to institute Stating the step of card reader issues reset instruction of restarting further comprises:
If the card reading process knows that the card reader is abnormal, successively gives electricity instruction down to the card reader and power on finger It enables.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
The instruction of pause card reading is issued to the card reader and/or exits card reading interface instruction.
6. the method according to claim 1, wherein the method also includes:
The customer service process receives after user binds the request of card reading service trigger, by call the customer service process and Communication interface between the card reading process controls the start and stop of the card reading process.
7. self-resetting devices when a kind of reading identity card information exception characterized by comprising
Card reading unit, if reset instruction of restarting is issued to the card reader, for knowing card reader exception for the card reading Device is executed according to the reset instruction of restarting from restarting and restoring normal rear reading identity card information, obtains the identity card letter Breath;
Customer service unit, for showing the ID card information.
8. a kind of electronic equipment characterized by comprising at least one processor, at least one processor, communication interface and total Line;
The memory, the processor and the communication interface complete mutual communication, the communication by the bus Interface is for the information transmission between the electronic equipment and card reader;
The computer program that can be run on the processor is stored in the memory, the processor executes the calculating When machine program, the method as described in any in claim 1 to 6 is realized.
9. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer journey The method as described in any in claim 1 to 6 is realized when sequence is executed by processor.
10. self recoverable system when a kind of reading identity card information exception, which is characterized in that wanted including card reader and such as right Electronic equipment described in asking 8 or non-transient computer readable storage medium as claimed in claim 9;
Wherein, the card reader is restarted for reading identity card information and certainly.
CN201810866964.2A 2018-08-01 2018-08-01 Self-recovery method and device for reading abnormal identity card information Active CN109255265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810866964.2A CN109255265B (en) 2018-08-01 2018-08-01 Self-recovery method and device for reading abnormal identity card information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810866964.2A CN109255265B (en) 2018-08-01 2018-08-01 Self-recovery method and device for reading abnormal identity card information

Publications (2)

Publication Number Publication Date
CN109255265A true CN109255265A (en) 2019-01-22
CN109255265B CN109255265B (en) 2021-09-14

Family

ID=65048704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810866964.2A Active CN109255265B (en) 2018-08-01 2018-08-01 Self-recovery method and device for reading abnormal identity card information

Country Status (1)

Country Link
CN (1) CN109255265B (en)

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354677A (en) * 2008-09-11 2009-01-28 青岛海信移动通信技术股份有限公司 Method for detecting and restoring application program running state and restoring device thereof
CN201250061Y (en) * 2008-07-17 2009-06-03 宝山钢铁股份有限公司 Hoisting height display instrument of hoisting mechanism
CN101661320A (en) * 2009-09-25 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Method for power-fail restarting
CN101909189A (en) * 2010-07-22 2010-12-08 杭州海康威视数字技术股份有限公司 File recovery method, system and DVR (Digital Video Recorder)
CN101990048A (en) * 2009-08-04 2011-03-23 佳能株式会社 Image reading apparatus and method for controlling the same
CN201979809U (en) * 2010-11-26 2011-09-21 航天信息股份有限公司 Stylus printer and control circuit thereof
CN102708031A (en) * 2012-05-15 2012-10-03 浪潮电子信息产业股份有限公司 Hardware implementation method for rapidly positioning fault memory
CN103646430A (en) * 2013-11-30 2014-03-19 四川久远新方向智能科技有限公司 BRT rapid public transportation system automatic coin ticket vending machine self-diagnosis method
CN104010077A (en) * 2014-05-12 2014-08-27 联想(北京)有限公司 Information processing method and electronic equipment
CN204087119U (en) * 2014-08-28 2015-01-07 苏州众宇网络科技有限公司 The shatter-proof keyboard of waterproof of high availability
CN105700973A (en) * 2016-01-14 2016-06-22 汉柏科技有限公司 Restart method and device for CLI (command line interface) fault
CN105791513A (en) * 2014-12-22 2016-07-20 深圳富泰宏精密工业有限公司 Anomaly processing system and method for baseband chips
CN106095394A (en) * 2015-04-28 2016-11-09 京瓷办公信息系统株式会社 Electronic equipment and method for restarting
CN106155348A (en) * 2016-08-31 2016-11-23 上海卓易科技股份有限公司 A kind of keyboard output intent and device
CN106230664A (en) * 2016-09-08 2016-12-14 国电南瑞科技股份有限公司 The monitoring of scheduling station front end processor abnormal state and self-recovery method
CN106275635A (en) * 2016-08-09 2017-01-04 珠海格力电器股份有限公司 A kind of baling press monitoring method, Apparatus and system
CN106789306A (en) * 2016-12-30 2017-05-31 深圳市风云实业有限公司 Restoration methods and system are collected in communication equipment software fault detect
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA
CN107479528A (en) * 2017-06-19 2017-12-15 中国烟草总公司广东省公司 The fault warning system and fault handling method of agricultural intelligent device
CN206991477U (en) * 2017-07-13 2018-02-09 深圳怡化电脑股份有限公司 ATM card reader safety device
CN207074437U (en) * 2017-07-03 2018-03-06 惠州市天泽盈丰物联网科技股份有限公司 A kind of erect-position read head
US20180089047A1 (en) * 2016-09-29 2018-03-29 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Detecting and handling an expansion card fault during system initialization

Patent Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201250061Y (en) * 2008-07-17 2009-06-03 宝山钢铁股份有限公司 Hoisting height display instrument of hoisting mechanism
CN101354677A (en) * 2008-09-11 2009-01-28 青岛海信移动通信技术股份有限公司 Method for detecting and restoring application program running state and restoring device thereof
CN101990048A (en) * 2009-08-04 2011-03-23 佳能株式会社 Image reading apparatus and method for controlling the same
CN101661320A (en) * 2009-09-25 2010-03-03 宇龙计算机通信科技(深圳)有限公司 Method for power-fail restarting
CN101909189A (en) * 2010-07-22 2010-12-08 杭州海康威视数字技术股份有限公司 File recovery method, system and DVR (Digital Video Recorder)
CN201979809U (en) * 2010-11-26 2011-09-21 航天信息股份有限公司 Stylus printer and control circuit thereof
CN102708031A (en) * 2012-05-15 2012-10-03 浪潮电子信息产业股份有限公司 Hardware implementation method for rapidly positioning fault memory
CN103646430A (en) * 2013-11-30 2014-03-19 四川久远新方向智能科技有限公司 BRT rapid public transportation system automatic coin ticket vending machine self-diagnosis method
CN104010077A (en) * 2014-05-12 2014-08-27 联想(北京)有限公司 Information processing method and electronic equipment
CN204087119U (en) * 2014-08-28 2015-01-07 苏州众宇网络科技有限公司 The shatter-proof keyboard of waterproof of high availability
CN105791513A (en) * 2014-12-22 2016-07-20 深圳富泰宏精密工业有限公司 Anomaly processing system and method for baseband chips
CN106095394A (en) * 2015-04-28 2016-11-09 京瓷办公信息系统株式会社 Electronic equipment and method for restarting
CN105700973A (en) * 2016-01-14 2016-06-22 汉柏科技有限公司 Restart method and device for CLI (command line interface) fault
CN106275635A (en) * 2016-08-09 2017-01-04 珠海格力电器股份有限公司 A kind of baling press monitoring method, Apparatus and system
CN106155348A (en) * 2016-08-31 2016-11-23 上海卓易科技股份有限公司 A kind of keyboard output intent and device
CN106230664A (en) * 2016-09-08 2016-12-14 国电南瑞科技股份有限公司 The monitoring of scheduling station front end processor abnormal state and self-recovery method
US20180089047A1 (en) * 2016-09-29 2018-03-29 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Detecting and handling an expansion card fault during system initialization
CN106789306A (en) * 2016-12-30 2017-05-31 深圳市风云实业有限公司 Restoration methods and system are collected in communication equipment software fault detect
CN107479528A (en) * 2017-06-19 2017-12-15 中国烟草总公司广东省公司 The fault warning system and fault handling method of agricultural intelligent device
CN107390110A (en) * 2017-06-20 2017-11-24 广东科学技术职业学院 A kind of method, apparatus and system tested automatically PCBA
CN207074437U (en) * 2017-07-03 2018-03-06 惠州市天泽盈丰物联网科技股份有限公司 A kind of erect-position read head
CN206991477U (en) * 2017-07-13 2018-02-09 深圳怡化电脑股份有限公司 ATM card reader safety device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DICHOU KARIMA等: "An improved electronic voting machine using a microcontroller and a smart card", 《2014 9TH INTERNATIONAL DESIGN AND TEST SYMPOSIUM (IDT)》 *
喻臻钰等: "基于物联网与Android平台的考勤系统设计与实现", 《软件导刊》 *

Also Published As

Publication number Publication date
CN109255265B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN103608792B (en) The method and system of resource isolation under support multicore architecture
CN104205109B (en) The worker process of continuation and elasticity
CN104899111B (en) A kind of method and system for handling home gateway system Kernel Panic
JP2002082844A (en) Method, system and computer program product for controlling hardware device
CN110247984A (en) Method for processing business, device and storage medium
CN104216793A (en) Application program backing up and restoring method and device
CN110096340A (en) Timed task processing method and processing device
WO2021072880A1 (en) Method for asynchronously creating internal snapshot of virtual machine, apparatus, system and storage medium
CN110071880A (en) Message forwarding method, retransmission unit, server and storage medium
CN103795742B (en) Isomery storage and disaster tolerance management system and method
CN104216771A (en) Restarting method and device for software program
WO2021088423A1 (en) Memory management method and system for raid io, terminal and storage medium
CN109634659A (en) Method, apparatus, equipment and the storage medium that a kind of couple of BMC is controlled
CN101677276B (en) Method, device and system of managing execution environment (EE)
CN109800022A (en) A kind of method, system, terminal and the storage medium of automation comparison BIOS information difference
CN110286852A (en) Dual control framework distributed memory system, method for reading data, device and storage medium
CN113687779A (en) Data migration method and device, electronic equipment and readable storage medium
CN109255265A (en) Self-recovery method and device when reading identity card information exception
CN115147031B (en) Clearing workflow execution method, device, equipment and medium
CN105760276B (en) Reboot orders are improved to restart reliability and increase the method for the reset log
CN109766220A (en) Back-up restoring method, device and the computer readable storage medium of application system
US8813103B1 (en) Methods and systems for handling component-object-model communications
US8359602B2 (en) Method and system for task switching with inline execution
CN115391106A (en) Method, system and device for pooling backup resources
CN110798347B (en) Service state detection method, device, equipment and storage medium

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