CN109639763A - A kind of ID card information remote centralized acquisition system and method - Google Patents

A kind of ID card information remote centralized acquisition system and method Download PDF

Info

Publication number
CN109639763A
CN109639763A CN201811341879.0A CN201811341879A CN109639763A CN 109639763 A CN109639763 A CN 109639763A CN 201811341879 A CN201811341879 A CN 201811341879A CN 109639763 A CN109639763 A CN 109639763A
Authority
CN
China
Prior art keywords
information
serial port
virtual serial
card information
virtual
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
CN201811341879.0A
Other languages
Chinese (zh)
Other versions
CN109639763B (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.)
Wuhan Hong Xin Technological Service Co Ltd
Original Assignee
Wuhan Hong Xin Technological Service 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 Wuhan Hong Xin Technological Service Co Ltd filed Critical Wuhan Hong Xin Technological Service Co Ltd
Priority to CN201811341879.0A priority Critical patent/CN109639763B/en
Publication of CN109639763A publication Critical patent/CN109639763A/en
Application granted granted Critical
Publication of CN109639763B publication Critical patent/CN109639763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of ID card information remote centralized acquisition system and method, which includes information process unit, virtual serial port configuration unit and several information acquisition units;Virtual serial port configuration unit is established and is connected to the network by network interface and information acquisition unit, information process unit;Virtual serial port configuration unit is used to configure a virtual serial port for each information acquisition unit, generates virtual serial port list;Virtual serial port list includes the description information of virtual serial port and corresponding informance acquisition unit;Information process unit is used to bind the thread of a timing reading identity card information for each virtual serial port;Start thread to read the ID card information of information acquisition unit acquisition by its corresponding virtual serial port;Serial ports connection is converted into network interface connection by the present invention, supports remote deployment, the cost of deployment is greatly saved;Configuration by modifying virtual serial port list can increase collection point newly, and system is facilitated to extend.

Description

A kind of ID card information remote centralized acquisition system and method
Technical field
The invention belongs to INTELLIGENT BUILDING TECHNIQUE fields, acquire more particularly, to a kind of remote centralized of ID card information System and method.
Background technique
With the development of science and technology, the combination of Internet of Things and building is more and more closer, and gradually penetrate into smart home, safety The fields such as prevention, become the new highlight of intelligent building industry development.Application with technology of Internet of things in intelligent building field, band The rapid development in intelligent building field is carried out;Intelligent building should carry out the work such as information collection, information processing, supervision, it is ensured that The safety of Internet of Things provides information technology guarantee for the operation of intelligent building.Wherein, ID card information is information in intelligent building Important one of acquisition, needs to acquire the ID card information of user in many occasions.
Existing ID card information acquisition method is to dispose an identity card reader and a company in each collection point The computer of identity card reader is connect, collected ID card information is transmitted to by the acquisition information software run on computer by network Background server carries out data processing.The way of this distributed collection requires every identity card reader to match a computer, electricity The cost of brain is much higher than the cost of identity card reader, and collection point is more, and cost is higher;Due to identity card reader and acquisition electricity Brain is in front end, and acquisition information software is easy by human interference, high failure rate.
Summary of the invention
For at least one defect or Improvement requirement of the prior art, the present invention provides a kind of ID card informations remotely to collect Middle acquisition system and method, its object is to solve at high cost, event existing for existing distributing ID card information acquisition mode The high problem of barrier rate.
To achieve the above object, according to one aspect of the present invention, a kind of ID card information remote centralized acquisition is provided System, including information process unit, virtual serial port configuration unit and several information acquisition units;The virtual serial port configuration is single Member is established and is connected to the network by network interface and information acquisition unit, information process unit respectively;
The virtual serial port configuration unit is used to configure a virtual serial port for each information acquisition unit, generates virtual Serial ports list;The virtual serial port list includes the description information of virtual serial port and corresponding informance acquisition unit;
The information process unit is used to be that each is described virtual according to preconfigured ID card information collection period Serial ports binds the thread of a timing reading identity card information, and establishes the mapping table of the thread and virtual serial port;Starting institute State the ID card information that thread reads information acquisition unit acquisition by corresponding virtual serial port.
Preferably, above-mentioned ID card information remote centralized acquisition system, information process unit are also used to basis and match in advance The ID card information of reading is converted to the form of HTTP POST interface and is pushed to reception by the ID card information push URL set Side.
Preferably, above-mentioned ID card information remote centralized acquisition system, information acquisition unit include a serial ports conversion Device and the identity card reader being connected with the serial converter;Multiple information acquisition units can share a serial ports and turn Parallel operation, i.e. a serial converter can connect multiple identity card readers;
The identity card reader and virtual serial port correspond;The serial converter passes through serial ports and the identity card Reader is connected, and the serial ports ID card information for acquiring identity card reader is converted to the network information and passes through network interface for institute Network information transfer is stated to information process unit.
Preferably, above-mentioned ID card information remote centralized acquisition system, information process unit include configuration module, serial ports Open module, information reading module and serial ports closedown module;
For the configuration module for reading configuration information, the configuration information includes virtual serial port list, ID card information The time threshold that collection period and serial ports are opened;
The serial ports opens module and is used to judge the state of virtual serial port and opens virtual serial port;
The information reading module by the virtual serial port for calling the API of corresponding information acquisition unit to connect Mouthful, to read the ID card information of information acquisition unit acquisition according to the ID card information collection period timing;
The serial ports closedown module is for closing the void after the opening time of virtual serial port reaches the time threshold Quasi- serial ports.
Preferably, above-mentioned ID card information remote centralized acquisition system, information process unit further include information push mould Block;The info push module is used to be converted to the ID card information that information reading module obtains the shape of HTTP POST interface Formula is simultaneously pushed to recipient.
Preferably, above-mentioned ID card information remote centralized acquisition system, information process unit further include abnormality processing mould Block;The exception processing module is used for when virtual serial port abnormal state, ID card information read failure or information push failure Shutdown signal is issued, the shutdown signal closes virtual serial port for controlling the serial ports closedown module.
Other side according to the invention additionally provides a kind of ID card information remote centralized acquisition method, is suitable for Background server is connected between the background server and several information acquisition terminals by network interface, comprising the following steps:
S1: a virtual serial port is configured for each information acquisition terminal, generates virtual serial port list;The virtual serial port List includes the description information of virtual serial port and corresponding informance acquisition terminal;
S2: one is bound for fixed according to preconfigured ID card information collection period for virtual serial port described in each When reading identity card information thread;
S3: start the thread to read the identity card letter of information acquisition terminal acquisition by its corresponding virtual serial port Breath.
Preferably, above-mentioned ID card information remote centralized acquisition method, further comprising the steps of after step S3:
S4: the ID card information of reading is converted to by HTTP POST according to preconfigured ID card information push URL and is connect The form of mouth is simultaneously pushed to recipient.
Preferably, above-mentioned ID card information remote centralized acquisition method includes following sub-step in step S3:
S31: starting thread judges whether the virtual serial port bound with the thread is in the open state;If so, into In next step;If it is not, then opening the virtual serial port and entering in next step;
S32: call the api interface of corresponding informance acquisition terminal with reading identity card information by the virtual serial port.
Preferably, above-mentioned ID card information remote centralized acquisition method, further comprising the steps of after step S4:
S5: the opening time of virtual serial port is detected, and closes institute after the opening time reaches preset time threshold State virtual serial port.
Preferably, above-mentioned ID card information remote centralized acquisition method, it is further comprising the steps of: different in virtual serial port state Often, shutdown signal is issued when ID card information reads failure or information push failure, the shutdown signal is for controlling the void Quasi- serial ports is closed.
In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain down and show Beneficial effect:
(1) the remote centralized acquisition system and method for ID card information provided by the invention, by information process unit and Virtual serial port configuration unit is that the information acquisition unit of each collection point of controllable front end executes ID card information acquisition;Due to It is concentrated collection, the Information Gathering Software in information process unit is run on the background server of computer room, and external interference is few;It is logical The configuration for crossing modification virtual serial port list can increase collection point newly, and system is facilitated to extend;
(2) the remote centralized acquisition system and method for ID card information provided by the invention, is substituted by serial converter Serial ports connection is converted into network interface connection, supports remote deployment, the cost of deployment, collection point is greatly saved by existing computer More, cost savings are more;
(3) the remote centralized acquisition system and method for ID card information provided by the invention, by for information process unit It configures ID card information and pushes URL external interface address, enable ID card information remote centralized acquisition system and other information System interacts, and facilitates docking, realizes the data sharing between not homologous ray.
(4) the remote centralized acquisition system and method for ID card information provided by the invention is beaten by the way that virtual serial port is arranged The various abnormal problems such as ETAD expected time of arrival and departure can solve the net drop occurred in serial ports long-time opening procedure, serial ports disconnects, power-off, Virtual serial port will be automatically closed after opening a period of time, and next time opens again, accordingly even when it is different to occur hardware in use process Often, software can also restore automatically quickly after hardware recovery;Cable, Serial Port Line hot plug, identity card reader and serial ports is supported to turn The functions such as the power-off restarting of parallel operation, stability greatly improve, and failure rate is low.
Detailed description of the invention
Fig. 1 is the logic diagram of ID card information remote centralized acquisition system provided in an embodiment of the present invention;
Fig. 2 is the logic diagram of information process unit provided in an embodiment of the present invention;
Fig. 3 is the flow chart of ID card information remote centralized acquisition method provided in an embodiment of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described below Not constituting a conflict with each other can be combined with each other.
A kind of ID card information remote centralized acquisition system provided by the present invention, including information process unit, virtual string Mouth configuration unit and several information acquisition units;Virtual serial port configuration unit passes through at network interface and information acquisition unit, information It manages unit and establishes network connection;
Virtual serial port configuration unit is used to configure a virtual serial port for each information acquisition unit, generates virtual serial port List;Virtual serial port list includes the description information of virtual serial port and corresponding informance acquisition unit;
Information process unit is used to bind the thread of a timing reading identity card information for each virtual serial port; Start thread to read the ID card information of information acquisition unit acquisition by its corresponding virtual serial port.
Further, which is also used to push URL for reading according to preconfigured ID card information ID card information is converted to the form of HTTP POST interface and is pushed to recipient.
Below with reference to specific embodiment and attached drawing to ID card information remote centralized acquisition system provided by the invention Structure and working principle are described in detail.
Fig. 1 is the logic diagram of ID card information remote centralized acquisition system provided in this embodiment, as shown in Figure 1, should ID card information remote centralized acquisition system include information process unit, virtual serial port configuration unit, multiple serial converters and Identity card reader;One end of serial converter is connect by serial ports with identity card reader, and the other end is by network interface and virtually Serial ports configuration unit establishes network connection;The other end of virtual serial port configuration unit establishes net by network interface and information process unit Network connection;Serial converter and identity card reader are placed on collection point.
Each serial converter is at least connected with an identity card reader, and serial converter can be used one and drag more strings Mouth converter supports TCP Server, TCP Client operating mode, multiple serial ports that can work independently simultaneously, supports virtual Serial ports working method supports the functions such as heartbeat, reconnection.
The order that identity card reader is used to receive information process unit carries out the acquisition of ID card information.At present on the market Identity card reader be USB port or serial ports mostly, few identity card readers for supporting network interfaces.Pass through string for convenience Mouth converter carries out interface conversion, and present invention preferably employs the identity card readers for supporting serial ports, and production firm is needed to mention For the SDK interface of secondary development, the identity card reader of many USB interfaces is not support secondary development on the market.
Serial converter realizes identity by serial converter for realizing the mutual conversion of Serial Port Information and the network information The interaction for demonstrate,proving reader and virtual serial port configuration unit, safeguards stabilization and reconnection, heartbeat inspecting of network etc..
Virtual serial port configuration unit is used to configure a virtual serial port for each identity card reader, generates virtual serial port List;Virtual serial port list includes the description information of virtual serial port and corresponding identity card reader;
It is loaded with virtual serial communication device in virtual serial port configuration unit, which is that the SDK of secondary development is mentioned It is operated for virtual serial port, multiple virtual serial ports can be generated;Virtual serial port configuration unit by serial converter each with The connected serial ports of identity card reader and virtual serial port configuration of described dispensing unit guarantee net at TCP Server/TCP Client couple Network is unimpeded;A virtual serial port is configured for each identity card reader, generates virtual serial port list.
Information process unit is used to bind one for according to preconfigured ID card information for each virtual serial port The thread of collection period timing reading identity card information;Start thread to read information collection list by its corresponding virtual serial port The ID card information of member acquisition.
Information Gathering Software is loaded in information process unit, which is mainly used for realizing information collection stream Journey handles the information of acquisition, provides the push interface of ID card information.To realize this function, it is necessary first to information Processing unit is configured, and configuration information includes ID card information push URL, ID card information collection period, baud rate, virtual The time threshold that serial ports list and serial ports are opened;It is that information process unit externally provides HTTP POST that ID card information, which pushes URL, The interface IP address of information push;How long ID card information collection period, i.e. ID card information acquire once, are traditionally arranged to be 3s;Baud rate will be consistent with the setting of serial converter, be traditionally arranged to be 115200;Virtual serial port list is each identity Demonstrate,prove the set of the corresponding virtual serial port of reader;The time threshold that serial ports is opened is allowed virtual serial port opening time.
Fig. 2 is the logic diagram of information process unit provided in an embodiment of the present invention;As shown in Fig. 2, the information processing list Member includes configuration module, serial ports opening module, information reading module and serial ports closedown module;
For configuration module for reading configuration information, which includes that ID card information pushes URL, ID card information is adopted Collect the time threshold that period, baud rate, virtual serial port list and serial ports are opened;
Serial ports opens module and is used to judge the state of virtual serial port and opens virtual serial port;If virtual serial port, which is in, closes shape State then opens virtual serial port;If virtual serial port is in the open state, with no treatment;If virtual serial port abnormal state, Then issue abnormal prompt signal;
Information reading module is used to call the API for the identity card reader bound with the virtual serial port to connect by virtual serial port Mouthful, the ID card information then acquired according to the ID card information collection period timing reading identity card reader of configuration;If reading Failure is taken, then issues abnormal prompt signal;
Serial ports closedown module is for closing the virtual string after the opening time of virtual serial port reaches the time threshold of configuration Mouthful;The setting of virtual serial port opening time is a critical function of the invention, in order to solve in serial ports long-time opening procedure The various abnormal problems such as net drop, serial ports disconnection, the power-off of appearance, are provided with virtual serial port opening time;Virtual serial port is beaten It will be automatically closed after opening a period of time, next time opens again, accordingly even when occur hardware anomalies in use process, hardware recovery Software can also restore automatically quickly afterwards;Support the power-off weight of cable, Serial Port Line hot plug, identity card reader and serial converter It functions, the stability such as opens to greatly improve, failure rate is low.
Further, which further includes info push module;The info push module is for reading information The ID card information that modulus block obtains is converted to the form of HTTP POST interface and is pushed to recipient;If push failure, sends out Abnormal prompt signal out;Recipient refers to the monitoring system or integrated service system needed using ID card information, such as station, public affairs Peace office etc. needs to acquire the service system of user identity card information.By configuring ID card information push for information process unit URL external interface address enables ID card information remote centralized acquisition system of the invention to be handed over other information system Mutually, facilitate docking, realize the data sharing between not homologous ray.
Further, which further includes exception processing module;The exception processing module is receiving serial ports Shutdown signal is issued after opening the abnormal prompt information that module, information reading module or serial ports closedown module issue, closing letter Number for control serial ports closedown module close virtual serial port.
In above-described embodiment, information process unit and virtual serial port configuration unit be can integrate in background server, should Background server is placed in computer room, is the identity card reader of each collection point of controllable front end by a background server Execute ID card information acquisition;Due to being concentrated collection, Information Gathering Software is run on the background server of computer room, extraneous dry It disturbs few;Existing computer is substituted by serial converter, serial ports connection is converted into network interface connection, supports remote deployment, significantly The cost of deployment is saved, collection point is more, and cost savings are more;Configuration by modifying virtual serial port list, which can increase newly, adopts Collect point, facilitates extension.
The present embodiment additionally provides a kind of ID card information remote centralized acquisition method, as shown in figure 3, including following step It is rapid:
S1: by the serial ports and virtual serial port configuration of described dispensing unit that each is connected with identity card reader on serial converter At TCP Server/TCP Client couple, a virtual serial port is configured for each identity card reader, generates virtual serial port column Table;The virtual serial port list includes the description information of virtual serial port and corresponding identity card reader;
S2: configuring information process unit, and configuration information includes that ID card information pushes URL, ID card information is adopted Collect the time threshold that period, baud rate, virtual serial port list and serial ports are opened;
S3: starting Information Gathering Software, and the configuration information in read step S2 is each of virtual serial port list void Quasi- serial ports binds the thread for being used for the ID card information collection period timing reading identity card information according to configuration, establishes line The mapping table of journey and virtual serial port;
S4: start each thread by the identity card letter of its corresponding virtual serial port reading identity card reader acquisition Breath.
S5: the ID card information of reading is converted to by HTTP POST according to preconfigured ID card information push URL and is connect The form of mouth is simultaneously pushed to recipient;If push failure, directly closes virtual serial port;
S6: the opening time of virtual serial port is detected, and closes the void after the time threshold that its opening time reaches configuration Quasi- serial ports.
Further, include following sub-step in step S4:
S41: starting thread judges whether the virtual serial port bound with the thread is in the open state;If so, under One step;If it is not, then opening virtual serial port and entering in next step;If virtual serial port abnormal state, virtual serial port is directly closed;
S42: call the api interface of corresponding identity card reader with reading identity card information by virtual serial port;If reading Virtual serial port is then directly closed in failure.
Compared to existing ID card information acquisition method, ID card information remote centralized acquisition system provided by the invention And method, information process unit and virtual serial port configuration unit can integrate in background server, which is placed on In computer room, identity card letter is executed by the identity card reader that a background server is each collection point of controllable front end Breath acquisition;Due to being concentrated collection, Information Gathering Software is run on the background server of computer room, and external interference is few;Pass through string Mouth converter substitutes existing computer, and serial ports connection is converted into network interface connection, remote deployment is supported, deployment is greatly saved Cost, collection point is more, and cost savings are more;Configuration by modifying virtual serial port list can increase collection point newly, facilitate expansion Exhibition.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not to The limitation present invention, any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should all include Within protection scope of the present invention.

Claims (10)

1. a kind of ID card information remote centralized acquisition system, which is characterized in that configured including information process unit, virtual serial port Unit and several information acquisition units;
The virtual serial port configuration unit is used to configure a virtual serial port for each information acquisition unit, generates virtual serial port List;The virtual serial port list includes the description information of virtual serial port and corresponding informance acquisition unit;
The information process unit is used to bind the thread of a timing reading identity card information for each virtual serial port; Start the thread to read the ID card information of information acquisition unit acquisition by its corresponding virtual serial port.
2. ID card information remote centralized acquisition system as described in claim 1, which is characterized in that the information process unit It is also used to push the shape that the ID card information of reading is converted to HTTPPOST interface by URL according to preconfigured ID card information Formula is simultaneously pushed to recipient.
3. ID card information remote centralized acquisition system as claimed in claim 1 or 2, which is characterized in that the information collection Unit includes a serial converter and the identity card reader that is connected with the serial converter;
The identity card reader and virtual serial port correspond;The serial converter is read by serial ports and the identity card Device is connected, and the serial ports ID card information for acquiring identity card reader is converted to the network information and passes through network interface for the net Network information is transmitted to information process unit.
4. ID card information remote centralized acquisition system as described in claim 1, which is characterized in that the information process unit Module, information reading module and serial ports closedown module are opened including configuration module, serial ports;
The configuration module includes virtual serial port list, ID card information acquisition for reading configuration information, the configuration information The time threshold that period and serial ports are opened;
The serial ports opens module and is used to judge the state of virtual serial port and opens virtual serial port;
The information reading module is used to be read according to the ID card information collection period timing corresponding with the virtual serial port Information acquisition unit ID card information;
The serial ports closedown module is for closing the virtual string after the opening time of virtual serial port reaches the time threshold Mouthful.
5. ID card information remote centralized acquisition system as claimed in claim 4, which is characterized in that the information process unit It further include info push module;The info push module is for being converted to the ID card information that information reading module obtains The form of HTTP POST interface is simultaneously pushed to recipient.
6. ID card information remote centralized acquisition system as claimed in claim 5, which is characterized in that the information process unit It further include exception processing module;The exception processing module is used to read failure in virtual serial port abnormal state, ID card information Or shutdown signal is issued when information push failure, the shutdown signal closes virtual string for controlling the serial ports closedown module Mouthful.
7. a kind of ID card information remote centralized acquisition method, be suitable for background server, the background server and several It is connected between information acquisition terminal by network interface, which comprises the following steps:
S1: a virtual serial port is configured for each information acquisition terminal, generates virtual serial port list;The virtual serial port list Description information including virtual serial port and corresponding informance acquisition terminal;
S2: the thread of a timing reading identity card information is bound for virtual serial port described in each;
S3: start the thread to read the ID card information of information acquisition terminal acquisition by its corresponding virtual serial port.
8. ID card information remote centralized acquisition method as claimed in claim 7, which is characterized in that further include after step S3 Following steps:
S4: URL is pushed according to preconfigured ID card information, the ID card information of reading is converted into HTTP POST interface Form is simultaneously pushed to recipient.
9. ID card information remote centralized acquisition method as claimed in claim 7, which is characterized in that include following in step S3 Sub-step:
S31: starting thread judges whether the virtual serial port bound with the thread is in the open state;If so, into next Step;If it is not, then opening the virtual serial port and entering in next step;
S32: information collection corresponding with the virtual serial port is read according to preconfigured ID card information collection period timing The ID card information of terminal.
10. ID card information remote centralized acquisition method as claimed in claim 8, which is characterized in that also wrapped after step S4 Include following steps:
S5: the opening time of virtual serial port is detected, and closes the void after the opening time reaches preset time threshold Quasi- serial ports.
CN201811341879.0A 2018-11-12 2018-11-12 Remote centralized acquisition system and method for identity card information Active CN109639763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811341879.0A CN109639763B (en) 2018-11-12 2018-11-12 Remote centralized acquisition system and method for identity card information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811341879.0A CN109639763B (en) 2018-11-12 2018-11-12 Remote centralized acquisition system and method for identity card information

Publications (2)

Publication Number Publication Date
CN109639763A true CN109639763A (en) 2019-04-16
CN109639763B CN109639763B (en) 2021-06-08

Family

ID=66067777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811341879.0A Active CN109639763B (en) 2018-11-12 2018-11-12 Remote centralized acquisition system and method for identity card information

Country Status (1)

Country Link
CN (1) CN109639763B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166443A (en) * 2019-04-30 2019-08-23 视联动力信息技术股份有限公司 Data transmission method, device, system, the network equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2872475Y (en) * 2006-01-24 2007-02-21 上海邮电通信设备股份有限公司 Distributed identity card reader
CN101621440A (en) * 2009-05-22 2010-01-06 浙江天正电气股份有限公司 Remote multi-path serial port communication mapping system
US20100302095A1 (en) * 2009-06-02 2010-12-02 Mitac Technology Corp. System for sharing gps protocol data and method thereof
CN202494745U (en) * 2012-03-31 2012-10-17 成都因纳伟盛科技股份有限公司 Serial type testing device
CN103095703A (en) * 2013-01-11 2013-05-08 瑞斯康达科技发展股份有限公司 Method and equipment and system for achieving data interaction between network and serial port
CN104899497A (en) * 2015-05-20 2015-09-09 李明 Identity card reading apparatus having no SAM module, SAM apparatus and system
CN105471968A (en) * 2015-11-17 2016-04-06 北京皮尔布莱尼软件有限公司 Data exchange method, data exchange system and data platform server
CN105930888A (en) * 2016-06-24 2016-09-07 重庆卓观科技有限公司 Second-generation identity card information remote reading system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2872475Y (en) * 2006-01-24 2007-02-21 上海邮电通信设备股份有限公司 Distributed identity card reader
CN101621440A (en) * 2009-05-22 2010-01-06 浙江天正电气股份有限公司 Remote multi-path serial port communication mapping system
US20100302095A1 (en) * 2009-06-02 2010-12-02 Mitac Technology Corp. System for sharing gps protocol data and method thereof
CN202494745U (en) * 2012-03-31 2012-10-17 成都因纳伟盛科技股份有限公司 Serial type testing device
CN103095703A (en) * 2013-01-11 2013-05-08 瑞斯康达科技发展股份有限公司 Method and equipment and system for achieving data interaction between network and serial port
CN104899497A (en) * 2015-05-20 2015-09-09 李明 Identity card reading apparatus having no SAM module, SAM apparatus and system
CN105471968A (en) * 2015-11-17 2016-04-06 北京皮尔布莱尼软件有限公司 Data exchange method, data exchange system and data platform server
CN105930888A (en) * 2016-06-24 2016-09-07 重庆卓观科技有限公司 Second-generation identity card information remote reading system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166443A (en) * 2019-04-30 2019-08-23 视联动力信息技术股份有限公司 Data transmission method, device, system, the network equipment and storage medium
CN110166443B (en) * 2019-04-30 2022-06-17 视联动力信息技术股份有限公司 Data transmission method, device, system, network equipment and storage medium

Also Published As

Publication number Publication date
CN109639763B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN104243177B (en) The method for enabling Power over Ethernet access point apparatus and reseting remote-control device using it
CN109270850A (en) A kind of intelligent household management system and method based on Internet of Things
CN106161163B (en) High-integration-level multimedia intelligent home gateway, management system and television box
CN105897573A (en) Smart home gateway system supporting multiple protocols and multiple services
CN104320494A (en) Intelligent home doorbell system based on cloud technology and Internet of Things technology
CN107995263A (en) A kind of multiple terminals Intelligent housing platform based on cloud computing and Raspberry Pi
CN101702690A (en) Method for carrying out human-computer interaction by embedded equipment through internet instant messaging system
CN102665216B (en) User authentication method for extensible and distributed wireless local area network (WLAN)
US20180165431A1 (en) Method, apparatus and system for device replacement detection and device recommendation
US20140108000A1 (en) Generate, Edit, and Automated Use of a Machine-Readable Cable Specification to Audit Cabling of a Converged Infrastructure
CN103326902A (en) Configurable monitoring system and monitoring method for distributed type mainframe performance testing data
CN104065921A (en) Security and protection wide area network embedded type monitoring device and control method thereof
CN103997533B (en) A kind of dynamic terminal long-distance maintenance method based on wireless network
CN110134447A (en) The system and method for BMC immediate updating hard disk information based on operating system
CN202929709U (en) Home visitor system based on face recognition
KR101881025B1 (en) Wireless modem and metering server for remote metering
CN109639763A (en) A kind of ID card information remote centralized acquisition system and method
CN104253980B (en) Connection method and device of a kind of headend equipment with backstage media device
CN104219100A (en) Information acquiring method and device
CN105490849B (en) The automatic deployment method and system of application system
CN103096038A (en) Fusing video monitoring system with multi-protocol video monitoring device inserted in and monitoring method
CN105204455A (en) Intelligent household system based on Internet of Things
CN106331051B (en) Document transmission method and system and reception file device send file device
CN107567113B (en) Intelligent AP of thing networking
CN108092786B (en) Paperless conference management method and 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
GR01 Patent grant
GR01 Patent grant