CN1317848C - Network computer IC card port mapping method and device - Google Patents

Network computer IC card port mapping method and device Download PDF

Info

Publication number
CN1317848C
CN1317848C CNB2003101169625A CN200310116962A CN1317848C CN 1317848 C CN1317848 C CN 1317848C CN B2003101169625 A CNB2003101169625 A CN B2003101169625A CN 200310116962 A CN200310116962 A CN 200310116962A CN 1317848 C CN1317848 C CN 1317848C
Authority
CN
China
Prior art keywords
port
network computer
card
mapping
data
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.)
Expired - Fee Related
Application number
CNB2003101169625A
Other languages
Chinese (zh)
Other versions
CN1625106A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB2003101169625A priority Critical patent/CN1317848C/en
Publication of CN1625106A publication Critical patent/CN1625106A/en
Application granted granted Critical
Publication of CN1317848C publication Critical patent/CN1317848C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The present invention discloses a mapping method of an IC card port of a network computer, which comprises the steps that the mapping between a first port of a network computer and a server port is established to form a data channel between the server port and the first port of the network computer; a data channel between the first port of the network computer and a second port of the network computer; the mapping between an IC card port of the network computer and the second port is established to form a data channel between the second port and the IC card port of the network computer. Owing to the present invention, most of application programs of a server, which are based on an IC card can all be realized on the network computer. Therefore, the application range of the network computer is greatly widened, and the security of a system is improved. The present invention has the advantages of low cost, convenient and simple operation, high stability and high operability.

Description

Network computer IC card port mapping method and device
Technical field
The present invention relates to the network computer field, particularly relate to a kind of method and apparatus of realizing the network computer IC card port mapping.
Background technology
Network computer is the simplification computer of equipment such as no hard disk, CD-ROM drive, floppy drive, utilizes local resource or server resource to calculate, and utilizes server resource to carry out storage, has safe, reliable, manageable characteristics.In 500 tops of the world enterprise, 80% enterprise has used network computer.Network computer also has been subjected to the approval of government, functional department, large enterprises at home.
Different with common computer, network computer is except moving local the application, mainly be by login WBT (Windows Based Terminal, server end based on Windows series operating system) or UBT (Unix Based Terminal, server end based on Uinx or Linux series operating system), the application on the runtime server.At present, in the majority with the application under the login WBT mode, its communications protocol that adopts mainly contains RDP (the Remote Desk Protocol of Microsoft, the far-end desktop protocol) and two kinds of ICA of Citrix system house (Independent Computing Architecture, independent counting system association with).
High security is main appeal point of network computer, and prior art adopts the method that increases the IC-card module on network computer, the fail safe that improves start and network entry mostly.But if adopt external serial ports or USB mouth IC-card card reader, its cost will very high (between the 200-600 unit), greatly reduces the competitiveness of network computer.
What employing was many at present is built-in mode, promptly on the basis of the built-in IC-card interface of CPU, a deck is installed, and reduces its cost.Under this mode, the IC-card module is used as a file and visits to realize local the application.
But local application is the part in the IC-card module application, and the application of login WBT or UBT is only the main application of IC-card module, therefore.Must shine upon, the IC-card module port is mapped to the server corresponding ports, the IC-card module that makes application on the server use to be connected on the network computer port is connected IC-card module on the Service-Port just as use.At present, RDP and ICA only support the mapping of standard serial port and parallel port, and built-in IC-card port can not be realized mapping under RDP or ICA, therefore realize that the mapping of network computer IC card port is a unavoidable problem.
Summary of the invention
Because the application in the prior art on the server can't be used the built-in IC-card module of network computer, the technical problem that the present invention solves is to provide a kind of method and apparatus of network computer IC card port mapping.
For this reason, the technical scheme of technical solution problem of the present invention is: a kind of method of network computer IC card port mapping is provided, comprises step:
1) sets up the mapping of network computer first port and Service-Port, form the data channel between described Service-Port and network computer first port;
2) set up data channel between described network computer first port and network computer second port;
3) set up mapping between the network computer IC card port and second port, form the data channel between described second port and the network computer IC card port.
The present invention also provides a kind of device of network computer IC card port mapping, and described device comprises map unit, transition element and finger daemon unit; Described map unit is set up the mapping of network computer first port and Service-Port, is used to transmit the data between described Service-Port and network computer first port; Described transition element is set up the data channel between network computer first port and network computer second port; The mapping between the network computer IC card port and second port is set up in described finger daemon unit, is used to transmit the data between described second port and the network computer IC card port.
With respect to prior art, the present invention the invention has the beneficial effects as follows: owing to can realize the mapping of built-in IC-card port, make the application of the built-in IC-card module of network computer on server become possibility, thereby make that most of application based on IC-card can realize on the server platform on network computer, enrich the application of network computer greatly, and improved the fail safe of system.Adopt external serial port or the login of USB mouth IC-card card reader with respect to the prior art network computer, its succinct, stability height, workable with low cost and easy to operate.
Description of drawings
Fig. 1 is the flow chart of network computer IC card port mapping method of the present invention;
Fig. 2 is a network computer IC card port mapping schematic representation of apparatus of the present invention;
Fig. 3 is the workflow diagram of finger daemon unit among the present invention;
Fig. 4 is the block diagram of finger daemon unit among the present invention;
Fig. 5 is the schematic diagram of another execution mode of apparatus of the present invention.
Embodiment
Seeing also Fig. 1, is the flow chart of network computer IC card port mapping method of the present invention.At first, execution in step S1 realizes the mapping of network computer first port and Service-Port; Step S2 is the connection that realizes network computer first port and network computer second port; Step S3 then realizes the mapping of incorporating IC card port to network computer second port.Transfer by means of network computer first port and network computer second port, can realize of the mapping of incorporating IC card port to Service-Port, make that most of application based on IC-card can realize on the server on network computer, thus the application of expanding network computer.
Among the present invention, described network computer first port and network computer second port can be but be not limited to serial ports and parallel port, is used for being connected with various kinds of equipment or carrying out exchanges data; Described Service-Port also can be but be not limited to serial ports and parallel port, is used for being connected with all kinds of external equipments or carrying out exchanges data; Described incorporating IC card port comprises GPIO (General Purpose Input Output, general input/output interface) serial ports.Described server can be but be not limited to server under the WBT or the server under the UBT.
See also Fig. 2, in an embodiment of the invention, first port of described network computer 100 and second port are respectively first serial 101 and first serial 102; Described incorporating IC card port adopts GPIO serial ports 103, and described network computer 100 holds incorporating IC card module 300 by GPIO serial ports 103; Described server 200 is the servers under the WBT, and its port is a server serial ports 201.
Described network computer IC card port mapping device comprises RDP map unit 401, Serial Port Line 402 and finger daemon unit 403.
The described RDP map unit 401 main mappings that realize server serial ports 201 and network computer first serial 101 by the RDP agreement, make the first serial 101 of the application in question network computer on the WBT as operations server serial ports 201, that is: the application under the WBT write server serial ports 201 data can by RDP map unit 401 transparent be written into network computer first serial 101, when the data of server serial ports 201 were read in the application on the WBT, actual what read in was the data of network computer first serial 101.
The RDP agreement is that Microsoft designs and develops, and by this agreement, we can realize that network computer 100 lands the purpose of server 200 resources under server 200 under the WBT, the use WBT.The operating system of Windows is (as 2000,20003 etc.) carried the server software of RDP, and can dispose various mapping functions by the RDP configuration interface, in order to realize the mapping of RDP communication and serial ports, we need follow the RDP agreement is developed RDP on network computer 100 client, carry out the mapping of serial port resource simultaneously, generally can adopt the method that the first serial 101 of network computer 100 is mapped directly to server serial ports 201 under the WBT.Its concrete operations can be: start the COM port mapping by the RDP server end, the COM port of the RDP client terminal start-up RDP on network computer 100 mapping simultaneously.
By RDP map unit 401, the data of server serial ports 201 can arrive network computer first serial 101 under the WBT, in order to write the GPIO serial ports 103 of network computer 100, the data that just need read network computer first serial 101.But, generally speaking, for writing the data that network computer first serial 101 sends buffering area, can send to the external world by first serial 101, application on the network computer 100 can't be read these data, for this reason, present embodiment adopts transition element, and promptly Serial Port Line 402 is realized the transfer of data.
Described Serial Port Line 402 can adopt a two female Serial Port Line, is used to connect network computer first serial 101 and second serial 102.Why be called transition element, be because it can realize the transfer between network computer first serial 101 and the GPIO serial ports 103, thereby solve data write problem in the network computer first serial 101.By adopting Serial Port Line 402 that network computer first serial 101 and second serial 102 are coupled together, by network computer second serial 102, can be from reading the data that network computer first serial 101 sends.Simultaneously our data of the IC-card 300 that also GPIO serial ports 103 can be sent are written to first serial 101 by network computer second serial 102.
After reading the data of network computer first serial 101, in order to realize the mapping of network computer incorporating IC card GPIO serial ports 103, need set up data channel between GPIO serial ports 103 and network computer second serial 102, the finger daemon unit 403 of apparatus of the present invention is used to realize this function.
See also Fig. 3 and Fig. 4,, can realize the mapping of network computer GPIO serial ports 103 and network computer second serial 102 by finger daemon unit 403.Described finger daemon unit 403 comprises control device 431, first device 432, data forwarding device 433 and second device 434; Described control device 431 connects first device 432, data forwarding device 433 and second devices 434, is used to empty network computer first serial 101 and second serial 102, the IC-card 300 that resets, resolves to automatically reset and reply, control first device 432 and second device 434 reads and writes data and data forwarding device 433 is transmitted data work; Described first device 432 is used to read the data of GPIO serial ports 103 and writes data to GPIO serial ports 103; Described second device 434 is used to read the data of network computer second serial 102 and writes data to second serial 102; Described data forwarding device 433 is used to transmit the data channel between first device 432 and second device 434.Certainly, described reading with the work that writes data to GPIO serial ports 103 also can be realized by different devices respectively.
When network computer 100 detects the request of landing WBT, start working in finger daemon unit 403, implementation step D1 at first, and control device 431 empties network computer first serial 101 and second serial 102; Control device 431 is implemented the step D2 that IC-card resets subsequently; Step D3 resolves ATR (automatically reset and reply); Next enter step D4, second device 434 is read network computer second serial 102 under the control of control device 431; When network computer second serial 102 had data, second device, 434 steps performed D5 read a frame ordering frame; Execution in step D6 then, data forwarding device 433 forward it to first device, 432, the first devices 432 and give GPIO serial ports 103 with the data forwarding of reading under the control of control device 431.Step D7 reads GPIO serial ports 103; When 102GPIO serial ports 103 had data, first device, 432 steps performed D8 read a frame ordering frame; Execution in step D9 then, data forwarding device 433 forward it to second device, 434, the second devices 434 and give network computer second serial 102 with the data forwarding of reading under the control of control device 431.
As mentioned above, by RDP map unit 401, Serial Port Line 402 and finger daemon unit 403, can realize the mapping of GPIO serial ports 103 under WBT.When the application under WBT when server serial ports 201 writes data under WBT, can be written to network computer first serial 101 by 201 mappings of server serial ports under the WBT, simultaneously, because network computer first serial 101 interconnects mutually with second serial 102, data and then be written to second serial 102, at this moment, can be by reading network computer second serial 102, obtain this data, and be transmitted to GPIO serial ports 103; Data for 300 generations of IC-card module, can read and be transmitted to network computer second serial 102, because first serial 101 interconnects mutually with second serial 102, data will be written to the first serial 101 of network computer, and then, be mapped to server serial ports 201 under the WBT by RDP, realize the mapping of server serial ports 201 under the network computer IC card module GPIO serial ports 103 to WBT.
Because the present invention uses network computer first serial 101 and second serial 102 and is connected IC-card module 300 when realizing mapping GPIO serial ports 103, the work that must guarantee finger daemon unit 403 does not influence local IC-card module 300 and serial ports 101,102 and 103 use, so, the connection of the startup of finger daemon unit 403 and Serial Port Line 402 must be synchronous with server 200 under the login WBT, just, under login WBT during server 200, finger daemon unit 403 starts and connection Serial Port Line 402, under withdrawing from WBT during server 200, the 403 termination work of finger daemon unit also disconnect the connection of Serial Port Line 402.The application of the IC-card module GPIO serial ports 103 under the WBT just can not influence local the application like this.
See also Fig. 5, it is another execution mode of apparatus of the present invention, it is identical substantially with first execution mode, its difference is: because the parallel port 104 of utilization network computer replaces second serial 102, so transition element adopts interface conversion device 420 to realize interconnecting between network computer first serial 101 and the parallel port 104.Second device 434 of finger daemon unit 403 reads the data of parallel port 104 and writes data to parallel port 104.Described interface conversion device 420 can adopt the exchanges data that realizes first serial 101 and parallel port 104 that combines of data wire and single-chip microcomputer.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1, a kind of network computer IC card port mapping method comprises step:
1) sets up the mapping of network computer first port and Service-Port, form the data channel between described Service-Port and network computer first port;
2) set up data channel between described network computer first port and network computer second port;
3) set up mapping between the network computer IC card port and second port, form the data channel between described second port and the network computer IC card port, realize the mapping of network computer IC card port and Service-Port.
2, network computer IC card port mapping method according to claim 1 is characterized in that: described step 1) comprises the COM port mapping that starts the far-end desktop protocol.
3, network computer IC card port mapping method according to claim 1 is characterized in that: described step 2) adopt Serial Port Line connected network computer first port and network computer second port.
4, network computer IC card port mapping method according to claim 1 is characterized in that: described step 2) adopt the interface conversion device to set up data channel.
5, network computer IC card port mapping method according to claim 1 is characterized in that: described step 3) comprises the data of reading the general input/output interface serial ports of IC-card and/or writes data to the general input/output interface serial ports of IC-card.
6, a kind of network computer IC card port mapping device is characterized in that: comprise map unit, transition element and finger daemon unit; Described map unit is set up the mapping of network computer first port and Service-Port, is used to transmit the data between described Service-Port and network computer first port; Described transition element is set up the data channel between network computer first port and network computer second port; The mapping between the network computer IC card port and second port is set up in described finger daemon unit, is used to transmit the data between described second port and the network computer IC card port.
7, network computer IC card port mapping device according to claim 6 is characterized in that: described map unit is a far-end desktop protocol map unit.
8, network computer IC card port mapping device according to claim 6, it is characterized in that: described transition element comprises Serial Port Line.
9, network computer IC card port mapping device according to claim 6, it is characterized in that: described transition element comprises the interface conversion device.
10, network computer IC card port mapping device according to claim 6, it is characterized in that: described finger daemon unit comprises control device, first device, second device and data forwarding device; Described control device connects first device, second device and data forwarding device, is used to control the work of each device; Described first device is used to read the data of IC-card port and writes data to the IC-card port; Described second device is used to read the data of second port and writes data to second port; Described data forwarding device is used to set up the data channel between first device and second device.
CNB2003101169625A 2003-12-02 2003-12-02 Network computer IC card port mapping method and device Expired - Fee Related CN1317848C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101169625A CN1317848C (en) 2003-12-02 2003-12-02 Network computer IC card port mapping method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101169625A CN1317848C (en) 2003-12-02 2003-12-02 Network computer IC card port mapping method and device

Publications (2)

Publication Number Publication Date
CN1625106A CN1625106A (en) 2005-06-08
CN1317848C true CN1317848C (en) 2007-05-23

Family

ID=34760835

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101169625A Expired - Fee Related CN1317848C (en) 2003-12-02 2003-12-02 Network computer IC card port mapping method and device

Country Status (1)

Country Link
CN (1) CN1317848C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100464540C (en) * 2005-09-09 2009-02-25 北京中星微电子有限公司 Communication for spanning gateway

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6141752A (en) * 1998-05-05 2000-10-31 Liberate Technologies Mechanism for facilitating secure storage and retrieval of information on a smart card by an internet service provider using various network computer client devices
WO2002088964A2 (en) * 2001-04-25 2002-11-07 Sun Microsystems, Inc. Persistent repository for on-demand node creation for fabric devices
US6615254B1 (en) * 1999-01-21 2003-09-02 Precision Medical Devices, Inc. Terminal apparatus to enable use of an internet connection line

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6141752A (en) * 1998-05-05 2000-10-31 Liberate Technologies Mechanism for facilitating secure storage and retrieval of information on a smart card by an internet service provider using various network computer client devices
US6615254B1 (en) * 1999-01-21 2003-09-02 Precision Medical Devices, Inc. Terminal apparatus to enable use of an internet connection line
WO2002088964A2 (en) * 2001-04-25 2002-11-07 Sun Microsystems, Inc. Persistent repository for on-demand node creation for fabric devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络计算机中IC卡读写器子系统设计 王非,罗海勇,电子技术应用,第29卷第5期 2003 *

Also Published As

Publication number Publication date
CN1625106A (en) 2005-06-08

Similar Documents

Publication Publication Date Title
US6349337B1 (en) Maintaining a first session on a first computing device and subsequently connecting to the first session via different computing devices and adapting the first session to conform to the different computing devices system configurations
EP1753190B1 (en) Method and system for USB re-direct over a network
US6085247A (en) Server operating system for supporting multiple client-server sessions and dynamic reconnection of users to previous sessions using different computers
US20050209842A1 (en) Remote USB port system and method
EP0672987A2 (en) Portable PCMCIA interface for a host computer
Palekar et al. Design and Implementation of a Linux {SCSI} Target for Storage Area Networks
TW201423422A (en) System and method for sharing device having PCIe interface
CN1831802A (en) Method and apparatus to couple a module to a management controller on an interconnect
US20030084133A1 (en) Remote console for controlling computers via a network
US20080155124A1 (en) Apparatus, system, and method for remote multi-user kvm switching
CN104199723A (en) Camera mapping method based on virtual equipment
CN111459632B (en) Serial port agent for calling terminal application program and implementation method
CN1842073A (en) Method for realizing external device mapping of network computer
CN114385091A (en) Method and device for realizing network disk drive character, network disk and storage medium
CN1317848C (en) Network computer IC card port mapping method and device
CN102340513A (en) WinCE system-based method for realizing scanning in remote desktop mode
CN108287619A (en) A kind of method, system and the readable storage medium storing program for executing of control server kvm system
CN1818879A (en) Disk mirroring method based on IP network
KR20140100372A (en) The transmitting way of one-sided-safety between net seperation computers
CN1851679A (en) USB device automatic initialization method and device
CN2359735Y (en) Multi-user connecting device capable of sharing computer host master resource
CN1292338C (en) Arrangement for binding computing resource and storing resource
US20100023597A1 (en) Diskless computer system
CN1560748A (en) Drive method of USB interface
KR20140100452A (en) The CCTV transmitting way of one-sided-safety between net seperation computers

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070523

Termination date: 20201202