Unlock instant, AI-driven research and patent intelligence for your innovation.

A Method for Realizing Multi-task Processing of Smart Card

A smart card, multitasking technology, used in multiprogramming devices and other directions

Active Publication Date: 2015-09-23
FEITIAN TECHNOLOGIES
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem in the prior art that a smart card has only one IO interface that can work at a time, and proposes a method for realizing multi-tasking processing of the smart card, that is, to realize that multiple IO interfaces of the smart card work simultaneously at the same time and then Realize multi-task processing of smart card at the same time

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
  • A Method for Realizing Multi-task Processing of Smart Card
  • A Method for Realizing Multi-task Processing of Smart Card
  • A Method for Realizing Multi-task Processing of Smart Card

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] A method for realizing multi-task processing of a smart card provided in this embodiment is introduced by taking the processing of two tasks as an example, as shown in figure 1 The following steps are shown:

[0086] Step 101: the smart card is powered on, and the card is initialized;

[0087] Step 102: the bottom operating system (bottom OS) of the smart card initializes the multitasking environment;

[0088] Step 103: the underlying operating system creates SWP tasks and ISO tasks, and assigns priorities to the created tasks;

[0089] The preferred underlying OS assigns priorities to multitasking based on timing.

[0090] In this embodiment, the specific two tasks created in descending order of priority are: SWP task and ISO task.

[0091] The high-priority tasks can preempt the low-priority tasks. For example, when the high-priority tasks change from the waiting state to the ready state, they will preempt the running low-priority tasks and turn them into the runni...

Embodiment 2

[0202] A method for realizing multi-task processing of a smart card provided in this embodiment is introduced by taking the processing of three tasks as an example, such as Figure 5 The following steps are shown:

[0203] Step 201: the smart card is powered on, and the card is initialized;

[0204] Step 202: the bottom operating system (bottom OS) of the smart card initializes the multitasking environment;

[0205] Step 203: the underlying operating system creates SWP tasks, ISO tasks and APDUProcess tasks, and assigns priorities to the created tasks;

[0206] The preferred underlying OS assigns priorities to multitasking based on timing.

[0207] In this embodiment, specific tasks created in descending order of priority are: SWP task, ISO task and APDUProcess task.

[0208] Among them, the high-priority task can preempt the low-priority task. For example, when the high-priority task changes from the waiting state to the ready state, it will preempt the running low-priorit...

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 discloses a method for realizing multitasking for a smart card, which relates to the field of operating systems of smart cards. The method comprises the steps of allowing a bottom operating system of the smart card to create a plurality of tasks, allocating priority for each task, searching the task with the maximum priority and in a ready state, switching to the task for running, allowing an SWP task and an ISO task to receive data sent from an upper layer, resolving APDU (Application Protocol Data Unit) data from the data sent from the upper layer, conducting APDU command processing, packaging processing results into response data and returning the response data to the upper layer, or allowing the SWP task and the ISO task to send the resolved APDU data to an APDUProcess task to execute the APDU command processing, waiting for receiving the returned processing results, packaging the processing results into the response data, and returning the response data to the upper layer. According to the method, multiple IO (Input / Output) interfaces of the smart card can work simultaneously, so that functions of the smart card are more powerful.

Description

technical field [0001] The invention relates to the field of smart card operating systems, in particular to a method for realizing multi-task processing of smart cards. Background technique [0002] At present, the application of smart cards has widely penetrated into various industries. Smart cards are more and more popular and widely used due to their safety, convenience, speed, large capacity, and many other features. At the same time, with the rapid development of semiconductor technology and electronic technology, the amount of data that a card can store at the same time has greatly increased, which also provides a physical basis for a card to support multiple applications at the same time through multiple interfaces. When multiple interfaces are used to implement multiple applications, there will be situations where multiple interfaces need to work simultaneously. These are the difficulties encountered in the development of smart card operating systems. The existing tr...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/46
Inventor 陆舟于华章
Owner FEITIAN TECHNOLOGIES