Working method of PC/SC driving base in IOS device

A technology for driving libraries and devices, which is applied in the field of information security and can solve problems such as not supporting PC/SC interfaces.

Active Publication Date: 2015-07-01
FEITIAN TECHNOLOGIES
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Those skilled in the art find that at present, IOS, as the opera

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Working method of PC/SC driving base in IOS device
  • Working method of PC/SC driving base in IOS device
  • Working method of PC/SC driving base in IOS device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0075] This embodiment provides a working method of PC / SC driver library in IOS equipment, such as figure 1 shown, including:

[0076] Step 101: start, the PC / SC driver library obtains the external device information in the IOS system, and obtains the preset card reader device information in the application program;

[0077] In this embodiment, the PC / SC driver library obtains the external device information in the IOS system, specifically including:

[0078] The PC / SC driver library obtains the first singleton object in the ExternalAccessory.framework framework in the IOS system, and obtains all the external device information in the IOS system through the first instance method of the first singleton object, and the obtained external device information to enumerate;

[0079] Among them, the first singleton object is: EAAccessoryManager; the first instance method is: connectedAccessories. External device information includes: external device name, manufacturer information, ...

Embodiment 2

[0184] This embodiment provides a method for querying the state of the card slot, specifically in Embodiment 1, while the PC / SC driver library judges whether the first notification has been registered with the IOS system registration center, it also includes: PC / SC driver library startup Query the status thread of the card slot, and perform the operation of querying the status of the card slot;

[0185] Specific operations such as image 3 shown, including:

[0186] Step 201: PC / SC drive library initialization card slot status identification;

[0187] In this embodiment, the PC / SC driver library initializes the slot status identifier to 0x00;

[0188] Step 202: The PC / SC driver library judges whether there is an external device that matches the preset card reader accessory protocol in the application program and is connected to the IOS system according to the accessory protocol information of the external device and the accessory protocol information of the card reader, and if...

Embodiment 3

[0218] This embodiment provides a method for querying the state of the card slot, specifically in Embodiment 1, while the PC / SC driver library judges whether the first notification has been registered with the IOS system registration center, it also includes: PC / SC driver library startup Query the status thread of the card slot, and perform the operation of querying the status of the card slot in a loop until the PC / SC driver library releases the resource manager context handle and ends;

[0219] The operation of querying the status of the card slot includes:

[0220] Step 301-1: PC / SC driver library initializes the card slot status identification;

[0221] In this embodiment, the PC / SC driver library initializes the slot status identifier to 0x00;

[0222] Step 301-2: The PC / SC driver library judges whether there is an external device matching the card reader accessory protocol registered by the application program according to the accessory protocol information of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a working method of a PC/SC driving base in an IOS device, and belongs to the field of information safety. The method comprises the following steps: the PC/SC driving base obtains an external device fitting protocol information from the IOS system, and obtains card reader fitting protocol information from an application procedure, and obtains an external device connected with the IOS system; a communication channel between the external device and the IOS system is initialized so as to obtain a communication channel object; the external device information of the external device is stored, and a first notice is registered at an IOS registration center to judge if there is the external device connected with the IOS system; if it is, an instruct interface used for visiting the external device and provided by dispatching the PC/SC driving base so as to communicate with the external device; otherwise, the plug-in or plug-out of the external device can be detected through the first notice. By adopting the working method of the PC/SC driving base in the IOS device, the communication between the IOS system and the external device can be realized by means of the PC/SC driving base.

Description

technical field [0001] The invention relates to the field of information security, in particular to a working method of a PC / SC driver library in an IOS device. Background technique [0002] PC / SC interface is a standard user interface based on WINDOWS platform, which provides an integrated environment from personal computer (Personal Computer) to smart card (SmartCard), allowing multiple applications to share the resource manager of the same smart card in the system; [0003] With the wide application of Apple devices, the combination of smart cards and Apple devices has also attracted the attention of users. Those skilled in the art find that, at present, IOS, as the operating system of the Apple device, does not support the PC / SC interface. Contents of the invention [0004] In order to solve the defects in the prior art, the present invention proposes a working method of a PC / SC driver library in an IOS device, so that the PC / SC interface can be applied in the IOS sys...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F13/10
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products