CN108647543A - A kind of identity card read method based on multithreading - Google Patents

A kind of identity card read method based on multithreading Download PDF

Info

Publication number
CN108647543A
CN108647543A CN201810411235.8A CN201810411235A CN108647543A CN 108647543 A CN108647543 A CN 108647543A CN 201810411235 A CN201810411235 A CN 201810411235A CN 108647543 A CN108647543 A CN 108647543A
Authority
CN
China
Prior art keywords
card reader
card
identity
connection status
identity card
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
CN201810411235.8A
Other languages
Chinese (zh)
Inventor
高超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft Information 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 Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN201810411235.8A priority Critical patent/CN108647543A/en
Publication of CN108647543A publication Critical patent/CN108647543A/en
Pending legal-status Critical Current

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/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10198Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves setting parameters for the interrogator, e.g. programming parameters and operating modes

Landscapes

  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention discloses a kind of identity card read method based on multithreading, is related to computer application technology, card reader of ID card is used in service management software systems, to trigger corresponding service;Event after offer card reader connection status change events, identity card are read, and multiple functions is allowed to be co-registered with, after card reader connection status changes or reads ID card information, program selects to trigger the event of the currently active function register, or all events of triggering registration as needed;Continuous reading state will be kept after card reader successful connection, stop that after reading a period of time reading frequency can be reduced as needed or disconnect card reader connection.The present invention can be used for the lookup of data in business software, preserve or quickly trigger related service;The use difficulty of business software is reduced to a certain extent so that software can be really applied in the daily life of client, improve working efficiency, and the business operation based on " people " is made to tend to be simple.

Description

A kind of identity card read method based on multithreading
Technical field
The present invention relates to computer application technology, specifically a kind of identity card reading side based on multithreading Method.
Background technology
Business management software is used to help company managers and improves working efficiency, and complicated flow scheme design, does not have Complicated form design etc..Business management software is enterprise-oriented, can help company manager's optimized work flow, carry The information system of high working efficiency.Business management software payes attention to comprehensive, the controllability of flow of system function, the elder generation of technology Into property, the ease for use of system.
Most common enterprise management software system includes ERP (Enterprise Resources Plan), CRM (customer relation management), HR (people Power resource), OA (office automation), financial management software system, goods entry, stock and sales, contract management software etc..It is above-mentioned that these are traditional In business management software, software tends not to really to be applied in the routine work of client and provided facility.
Invention content
The present invention is directed to the demand and shortcoming of current technology development, provides a kind of identity card reading based on multithreading Method.
A kind of identity card read method based on multithreading of the present invention solves the technical side that above-mentioned technical problem uses Case is as follows:The identity card read method based on multithreading uses card reader of ID card in service management software systems, uses To trigger corresponding service;Specifically comprise the following steps:
Step 1, card reader assistant's class provide card reader connection status change events;
Step 2, card reader assistant's class provide identity card and read event;
Step 3, multiple functions are co-registered with card reader connection status change events, identity card reads event;
Step 4 will keep continuous reading state after card reader successful connection;Card reader stops after reading a period of time, root It is connected according to reduction reading frequency or disconnection card reader is needed.
Specifically, the step 1
Card reader assistant's class provides card reader connection status change events, and card reader connection status triggers phase when changing It should handle, card reader is reminded when failure is opened in port, card reader connects, card reader disconnects.
Specifically, card reader assistant's class provide registration button show connection status, system by the connection status of card reader with The mode of different icons is shown on button;Card reader assistant's class provides registration self-defining operation, and card reader connection status occurs By automatic trigger when variation.
Specifically, the step 2
Card reader assistant's class provides identity card and reads event, respective handling is triggered when reading ID card information, program is looked into Data are looked for, identity information is preserved or trigger other related services.
Specifically, the step 3
After card reader connection status changes or reads ID card information, program selects the currently active work(of triggering as needed The event that can be registered, or all events of triggering registration.
Specifically, the step 4
When starting connection card reader, single connection is attempted, thread loops are opened when card reader connection is normal and are read.
Specifically, when high-volume personnel on site's registration, wait for that the registration of entrant scene provides identity card, business personnel swipes the card By personal information input system;Continuous reading state is kept after connection card reader, reads the information that will be read after identity card It is pressed into safe pool, asynchronous write database shows the data read and the current shape of asynchronous refresh in the list of function interface State.
Specifically, when contract renewal related personnel scene is handled, pending personnel provide personal identity card, soft in service management Card reader of ID card is used in part system, business personnel uses the quick locating personnel of card reader, and triggers the correlations such as contract renewal Business.
A kind of identity card read method based on multithreading of the present invention, has the advantage that compared with prior art It is:The present invention uses card reader of ID card in service management software systems, to trigger processing corresponding service;Card reader is provided Connection status change events, identity card read event, allow multiple functions to be co-registered with, as desired for the currently active function Automatic trigger corresponding event;Continuous reading state is kept after card reader successful connection, after stopping reading a period of time as needed It reduces reading frequency or disconnects card reader connection;It can be used for the lookup of data in business software, preserve or quickly trigger related industry Business;
The solution for being met high-volume personnel on site's registration scene using card reader of ID card, is reduced to a certain extent The use difficulty of business software so that software can be really applied in the daily life of client, improved working efficiency, made to be based on The business operation of " people " tends to be simple.
Specific implementation mode
The technical issues of to make technical scheme of the present invention, solving and technique effect are more clearly understood, below in conjunction with tool Body embodiment is checked technical scheme of the present invention, is completely described, it is clear that described embodiment is only this hair Bright a part of the embodiment, instead of all the embodiments.Based on the embodiment of the present invention, those skilled in the art are not doing All embodiments obtained under the premise of going out creative work, all within protection scope of the present invention.
Embodiment 1:
The present embodiment proposes a kind of identity card read method based on multithreading, and body is used in service management software systems Part card card reader, to trigger corresponding service.The main realization process of the identity card read method, specifically comprises the following steps:
Step 1, card reader assistant's class provide card reader connection status change events;
Specifically, card reader assistant's class provides card reader connection status change events, card reader connection status changes When trigger respective handling, card reader is reminded when failure is opened in port, card reader connection, card reader disconnect;
Step 2, card reader assistant's class provide identity card and read event;
Specifically, card reader assistant's class, which provides identity card, reads event, respective handling is triggered when reading ID card information, Program looks data preserve identity information or trigger other related services;
Step 3, multiple functions are co-registered with card reader connection status change events, identity card reads event;
Specifically, after card reader connection status changes or reads ID card information, program selects triggering to work as needed The event of preceding activation function register, or all events of triggering registration;
Step 4 will keep continuous reading state after card reader successful connection;Card reader stops after reading a period of time, root According to needing to reduce reading frequency or disconnect card reader to connect, resource consumption is reduced.
Identity card read method of the present embodiment based on multithreading, be applied to high-volume personnel on site's registration uses field Scape;Identity card is provided when the registration of entrant scene, business personnel swipes the card can be by personal information input system.Connect Card Reader Continuous reading state is kept after device, is read the information read (including photo, name, gender, nationality, life after identity card Day, identification card number, address, licence issuing authority, term of validity etc.) indentation safe pool, asynchronous write database, in the list of function interface Show the data that have read and asynchronous refresh current state (wait for into, be currently written into, have been written into, be written extremely etc.).It is multi-thread Cheng Lianxu is read and the mode of storage, ensures the occupation mode of continuous Card Reader, greatly reduces the difficulty of data acquisition, improves Acquisition speed ensures the accuracy of data information;Industry more than big, the live entrant of the flows of personnel such as manufacturing industry has Preferable application value.
Embodiment 2:
A kind of identity card read method based on multithreading that the present embodiment proposes is another specific implementation of the present invention Mode is to use card reader of ID card to search personnel on the basis of identity card read method of the embodiment 1 based on multithreading Example, the technical solution and technical characterstic of the present embodiment is described in detail.
First, card reader assistant class provides card reader connection status change events;
Specifically, card reader assistant's class provide registration button show connection status, system by the connection status of card reader with The mode of different icons is shown on button;Card reader assistant's class provides registration self-defining operation, and card reader connection status occurs By automatic trigger when variation;
Then, card reader assistant class offer reads identity card event;
Step 3, card reader assistant's class provide connection card reader method;
Specifically, when starting connection card reader, single connection is attempted, thread loops are opened when card reader connection is normal and are read It takes;Card reader connects abnormal state:Not connected card reader does not install driving, opens port unsuccessfully etc.;
Step 4, personnel's browsing, registration card reader connection status change events read identity card event;Read body Part card when auto-loading system in the personnel information.
Contract renewal needs the business that related personnel scene is handled, and is read using identity card of the present embodiment based on multithreading Method, pending personnel provide personal identity card, and card reader of ID card, business personnel is used to use in service management software systems The quick locating personnel of card reader, and trigger the related services such as contract renewal;So that the management software in the fields such as human resources is being located When managing the routine work based on people, it can accomplish to face surface treatment, from people.
Identity card read method of the present embodiment based on multithreading, program provide card reader connection status change events, body Part card reading event;Allow multiple functions to be co-registered with above-mentioned event, is selected according to the currently active work(in conjunction with practical application scene Corresponding event can be triggered, or registered event is all triggered;It is used in conjunction with multithreading, the operations such as cycle reading should not shadow Ring the response at interface;It can select to reduce reading frequency after stopping reading a period of time or disconnect, need frequently to read Function can then ignore this operation, reach in conjunction with practical application scene design requirement.
Use above specific case elaborates the principle of the present invention and embodiment, these embodiments are It is used to help understand core of the invention technology contents, the protection domain being not intended to restrict the invention, technical side of the invention Case is not limited in above-mentioned specific implementation mode.Based on the above-mentioned specific embodiment of the present invention, those skilled in the art Without departing from the principle of the present invention, any improvement and modification to made by the present invention should all fall into the special of the present invention Sharp protection domain.

Claims (8)

1. a kind of identity card read method based on multithreading, which is characterized in that use identity in service management software systems Card reader is demonstrate,proved, to trigger corresponding service;Specifically comprise the following steps:
Step 1, card reader assistant's class provide card reader connection status change events;
Step 2, card reader assistant's class provide identity card and read event;
Step 3, multiple functions are co-registered with card reader connection status change events, identity card reads event;
Step 4 will keep continuous reading state after card reader successful connection;Card reader stops after reading a period of time, according to need It reduces reading frequency or disconnects card reader connection.
2. a kind of identity card read method based on multithreading according to claim 1, which is characterized in that the step 1
Card reader assistant's class provides card reader connection status change events, and card reader connection status triggers corresponding position when changing Reason, card reader are reminded when failure is opened in port, card reader connects, card reader disconnects.
3. a kind of identity card read method based on multithreading according to claim 2, which is characterized in that card reader assistant's class Registration button is provided and shows connection status, the connection status of card reader is included on button in a manner of different icons by system; Card reader assistant's class provides registration self-defining operation, by automatic trigger when card reader connection status changes.
4. a kind of identity card read method based on multithreading according to claim 3, which is characterized in that the step 2
Card reader assistant's class provides identity card and reads event, and respective handling, program looks number are triggered when reading ID card information According to, preserve identity information or trigger other related services.
5. a kind of identity card read method based on multithreading according to claim 4, which is characterized in that the step 3
After card reader connection status changes or reads ID card information, program selects the currently active function note of triggering as needed The event of volume, or all events of triggering registration.
6. a kind of identity card read method based on multithreading according to claim 5, which is characterized in that the step 4
When starting connection card reader, single connection is attempted, thread loops are opened when card reader connection is normal and are read.
7. a kind of identity card read method based on multithreading according to claim 6, which is characterized in that high-volume personnel are existing When the registration of field, wait for that the registration of entrant scene provides identity card, business personnel swipes the card personal information input system;Connect Card Reader Continuous reading state is kept after device, reads and the information read is pressed into safe pool, asynchronous write database, work(after identity card The data read and asynchronous refresh current state can be shown in the list at interface.
8. a kind of identity card read method based on multithreading according to claim 7, which is characterized in that contract renewal is related When personnel on site handles, pending personnel provide personal identity card, and card reader of ID card, industry are used in service management software systems Business personnel use the quick locating personnel of card reader, and trigger the related services such as contract renewal.
CN201810411235.8A 2018-05-02 2018-05-02 A kind of identity card read method based on multithreading Pending CN108647543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810411235.8A CN108647543A (en) 2018-05-02 2018-05-02 A kind of identity card read method based on multithreading

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810411235.8A CN108647543A (en) 2018-05-02 2018-05-02 A kind of identity card read method based on multithreading

Publications (1)

Publication Number Publication Date
CN108647543A true CN108647543A (en) 2018-10-12

Family

ID=63749093

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810411235.8A Pending CN108647543A (en) 2018-05-02 2018-05-02 A kind of identity card read method based on multithreading

Country Status (1)

Country Link
CN (1) CN108647543A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599832A (en) * 2008-06-05 2009-12-09 北京思创银联科技有限公司 A kind of personal identification method and system that realize the network system login
CN101673440A (en) * 2008-09-09 2010-03-17 内蒙古银安科技开发有限责任公司 Automatic management system for identifying counter client identity in financial institution
CN101957951A (en) * 2010-09-30 2011-01-26 无锡蝶尚酒店管理有限公司 Hotel self-help check-in management system
CN102446312A (en) * 2011-06-28 2012-05-09 于佳辉 Identity card management system and method based on Internet of things
CN103632315A (en) * 2013-11-29 2014-03-12 国家电网公司 Second-generation ID (identity) card recognizing technology-based business hall deepened service system
CN104834506A (en) * 2015-05-15 2015-08-12 北京北信源软件股份有限公司 Method for processing business application through multiple threads
CN106296222A (en) * 2016-08-08 2017-01-04 任我游(厦门)科技发展有限公司 The electronic contract the Internet signature method of identity-based certification

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599832A (en) * 2008-06-05 2009-12-09 北京思创银联科技有限公司 A kind of personal identification method and system that realize the network system login
CN101673440A (en) * 2008-09-09 2010-03-17 内蒙古银安科技开发有限责任公司 Automatic management system for identifying counter client identity in financial institution
CN101957951A (en) * 2010-09-30 2011-01-26 无锡蝶尚酒店管理有限公司 Hotel self-help check-in management system
CN102446312A (en) * 2011-06-28 2012-05-09 于佳辉 Identity card management system and method based on Internet of things
CN103632315A (en) * 2013-11-29 2014-03-12 国家电网公司 Second-generation ID (identity) card recognizing technology-based business hall deepened service system
CN104834506A (en) * 2015-05-15 2015-08-12 北京北信源软件股份有限公司 Method for processing business application through multiple threads
CN106296222A (en) * 2016-08-08 2017-01-04 任我游(厦门)科技发展有限公司 The electronic contract the Internet signature method of identity-based certification

Similar Documents

Publication Publication Date Title
US6980988B1 (en) Method of applying changes to a standby database system
CN101625686A (en) Method and system for monitoring data consistency between plurality of databases
CN107798031A (en) Policy information querying method and device
US11914732B2 (en) Systems and methods for hard deletion of data across systems
CN110942392A (en) Service data processing method, device, equipment and medium
CN110197292A (en) A kind of hotel management method, device, terminal and storage medium
US8839449B1 (en) Assessing risk of information leakage
CN115759433A (en) Method and device for determining waiting duration of business handling and server
CN102710546B (en) A kind of based on institutional instant communication data processing method
CN201886560U (en) Salary and welfare all-purpose card system
CN108647543A (en) A kind of identity card read method based on multithreading
CN108763336A (en) A kind of visa self-help serving system
CN101256663A (en) Method, apparatus and system for processing bank data
CN205722214U (en) A kind of community convenience financial service terminal
CN111695879A (en) OA system based on big data
CN104778520B (en) High in the clouds Enterprise Information Platform application system
CN202995835U (en) Radio frequency identification device (RFID) network intelligent attendance system
CN116342137A (en) Client data recycling allocation method, device, computer equipment and storage medium
US8620895B1 (en) Mapping organizational accounting codes to access business information
CN109359947A (en) Enterprise management system Internet-based
CN112861140B (en) Service data processing method and device and readable storage medium
CN107944844A (en) A kind of interface display method for office administration
Weidemeyer COVID-19: Which critical choices should businesses make next?
CN205427942U (en) Financial business centralized processing system of bank
CN202887273U (en) Intelligent identification sign-in system of economic trade conference

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: 20181012

RJ01 Rejection of invention patent application after publication