OpenSC Middleware Smart Card Interface Integration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developing a method to effectively support smart card devices based on OpenSC, which is a challenge for middleware developers due to the complexity of integrating software and hardware interfaces.

Innovation Solution

An implementation method that involves invoking specific interface functions to manage smart card operations, including initializing communication environments, selecting and managing files, setting security environments, performing signature operations, and generating key pairs, thereby facilitating the integration of smart card devices with middleware under OpenSC.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If middleware developers integrate smart card devices based on OpenSC, then the functionality and compatibility of smart card devices are improved, but the complexity of integrating software and hardware interfaces increases

Engineering Contradiction:
Improvefunctionality and compatibilityVSAvoidintegration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a standardized interface layer between middleware and smart card devices that acts as an intermediary, providing uniform function call interfaces for operations such as file selection, security environment setting, signature, and key pair generation. This intermediary layer abstracts the complexity of hardware-specific implementations while maintaining compatibility with OpenSC standards, thereby resolving the contradiction between improved functionality and increased integration complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If multiple interface functions are implemented for smart card operations, then the operational capability is improved, but the difficulty of detecting and measuring implementation correctness increases

Engineering Contradiction:
Improveoperational capabilityVSAvoidimplementation correctness
Core Design Contradiction:
Ease of operationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent incorporates feedback mechanisms in each interface function implementation, where return values and status codes provide immediate feedback on operation success or failure. For example, the file selection function returns file control information, the security environment setting function returns configuration status, and the signature function returns verification results. This feedback system enables automated detection and measurement of implementation correctness, resolving the contradiction between enhanced operational capability and increased verification difficulty.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10133882B2Implementation method for driving of software and hardware supporting OpenSC
Publication Date: 2018.11.20 FEITIAN TECHNOLOGIES CO LTD
  • US10133882B2 patent drawing
  • US10133882B2 patent drawing
  • US10133882B2 patent drawing

AI summary

Disclosed is an implementation method for driving of software and hardware supporting OpenSC. The method is implemented by middleware invoking an interface function, and comprises invocation of a function for initializing an interface, invocation of functions for establishing an encrypted communications environment, selecting a file interface, and selecting a file to operate, invocation of a function for setting a safe environment interface, and invocation of functions for building an APDU for setting a safe environment and setting a safe environment and a signature interface by sending the APDU, and building of a signed APDU and execution, by sending the APDU, of a signature operation on an original text to be signed.