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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com