A hardware calling method and device for IC card application and smart IC card

The underlying application is encapsulated through the application interface defined by the preset service, which solves the problem of high concentration of IC card applications and hardware, improves the reusability of applications and the versatility of hardware, and realizes cross-platform hardware calls.

CN114492691BActive Publication Date: 2024-09-17CHINA UNIONPAY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210091333.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-26
Publication Date
2024-09-17
Estimated Expiration
2042-01-26

AI Technical Summary

Technical Problem

The applications of existing IC cards are highly integrated with the underlying hardware, which results in the need to modify the application when the hardware is changed or replaced, and unified hardware calls cannot be implemented across different platforms, resulting in poor reusability and versatility.

Method used

By introducing the application interface defined by the preset service, the underlying application is encapsulated, the independence of the application and the underlying hardware is achieved, the application is allowed to call the hardware of different platforms through a unified interface, and the IC cards of different platforms are supported.

Benefits of technology

It improves the reusability of application programs and the versatility of the underlying hardware, so that there is no need to modify the application program when the hardware is modified or replaced, and the cross-platform hardware calling function is realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114492691B
    Figure CN114492691B
Patent Text Reader

Abstract

The present invention discloses a hardware calling method, device and smart IC card for IC card application, including: obtaining hardware calling instructions sent by application program; hardware calling instructions are used to indicate application functions to be realized; determining application interface corresponding to hardware calling instructions; application interface encapsulates underlying application based on preset service definition; preset service is used to provide calling requirements that meet application interface calling underlying hardware; underlying application corresponds to underlying hardware; calling corresponding underlying hardware through application interface, thereby realizing application functions to be realized. In this way, the independence between application program and underlying hardware is increased, the reusability of application program is improved, the same application interface can support calling by IC cards of different platforms, and the versatility of application program and underlying hardware is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of IC card application, and in particular to a hardware calling method and device for IC card application and a smart IC card. Background Art

[0002] Native technology is widely used in the fields of finance and related industry cooperation, such as finance and social security, transportation, small payment retail, etc. In the prior art, the IC card based on Native technology is a single application card product, that is, the IC card only includes a single application.

[0003] The application is used to call the underlying hardware of the IC card so that the IC card can realize corresponding application functions through the underlying hardware, such as transfer, deposit, etc. Furthermore, the application calls the underlying hardware through the underlying application of the underlying hardware. In other words, there is a corresponding relationship between the application and the underlying hardware, so as to realize the corresponding application functions.

[0004] Therefore, the application program in the prior art is highly centralized with the underlying hardware, which means that when the underlying hardware of the IC card is changed, the IC chip is replaced or modified, the application program needs to be compiled and modified accordingly, that is, the modified application program is again associated with the underlying application program of the underlying hardware, so that the application program can call the underlying hardware again, resulting in low reusability of the application program. Moreover, in the cross-platform scenario of IC cards, because the underlying applications of the underlying hardware of different platforms are different, it is impossible to implement the hardware calling function of IC cards of different platforms through one application program, that is, the versatility of the application program is poor. Summary of the invention

[0005] The embodiment of the present invention provides a hardware calling method and device of an IC card application and a smart IC card, which are used to increase the independence between the application program and the underlying hardware, improve the reusability of the application program, and improve the versatility of the application program and the underlying hardware.

[0006] In a first aspect, an embodiment of the present invention provides a hardware calling method for an IC card application, comprising:

[0007] Obtaining a hardware call instruction sent by an application program; the hardware call instruction is used to indicate an application function to be implemented;

[0008] Determine the application interface corresponding to the hardware call instruction; the application interface encapsulates the underlying application based on the preset service definition; the preset service is used to provide a call requirement that satisfies the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware;

[0009] The corresponding underlying hardware is called through the application interface to implement the application function to be implemented.

[0010] In the above technical scheme, the underlying application of the underlying hardware is encapsulated into the application interface according to the preset service, so that in the scenarios of underlying hardware modification, replacement, IC card chip replacement, etc., the application can still call the corresponding hardware bottom layer through the application interface, and there is no need to modify the application so that the modified application can re-establish an association relationship with the underlying application of the underlying hardware, thereby increasing the independence between the application and the underlying hardware and improving the reusability of the application; because the underlying application in the application interface is encapsulated based on the preset service, the format of the application interface is unified, so that the same application interface can support calls from IC cards of different platforms, thereby improving the versatility of the application and the underlying hardware.

[0011] Optionally, the preset services include operating environment services, chip content management services, life cycle status services and channel protocol services;

[0012] The operating environment service is used to define chip memory management and transaction operations;

[0013] The chip content management service is used to define a security domain;

[0014] The lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status;

[0015] The channel protocol service is used to define a channel protocol.

[0016] In the above technical solution, the formats of application interfaces to be called on various platforms are unified through preset services, so that the application can be used across IC card platforms, thereby improving the versatility of the application and the underlying hardware.

[0017] Optionally, the application interface encapsulates an underlying application based on a preset service definition, including:

[0018] Classifying the underlying applications based on instruction functions of the underlying applications;

[0019] The underlying applications belonging to the same category are encapsulated according to the preset service to obtain an application interface.

[0020] In the above technical solution, by classifying the underlying applications, the underlying hardware is made to correspond to the application interface, so that in scenarios such as underlying hardware modification, change, and IC card chip replacement, the application can still call the corresponding hardware bottom layer through the application interface. There is no need to modify the application to make the modified application establish an association with the hardware application again. It is only necessary to call the underlying hardware by accessing the application interface, thereby achieving independence between the application and the underlying hardware and improving the reusability of the application.

[0021] Optionally, classifying the underlying application based on the instruction function of the underlying application includes:

[0022] According to the preset categories of the instruction functions, the instruction functions of the underlying application are classified, thereby realizing the classification of the underlying application; the preset categories of the instruction functions include at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, exception instruction category, security instruction category, operating environment instruction category, storage operation instruction category, permission management instruction category, application management instruction category and transaction management instruction category.

[0023] In the above technical solution, multiple preset categories are included to increase the comprehensiveness of the classification of underlying applications.

[0024] Optionally, calling corresponding underlying hardware through the application interface includes:

[0025] Determining, in the application interface, an underlying application to be called by the hardware call instruction;

[0026] The underlying hardware corresponding to the underlying application is called through the underlying application and the preset service.

[0027] In a second aspect, an embodiment of the present invention provides an IC card application calling device, comprising:

[0028] An acquisition module, used to acquire a hardware call instruction sent by an application program; the hardware call instruction is used to indicate an application function to be implemented;

[0029] A processing module determines an application interface corresponding to the hardware call instruction; the application interface encapsulates an underlying application defined based on a preset service; the preset service is used to provide a call requirement that satisfies the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware;

[0030] The corresponding underlying hardware is called through the application interface, thereby realizing the application function to be realized.

[0031] Optionally, the preset services include operating environment services, chip content management services, life cycle status services and channel protocol services;

[0032] The operating environment service is used to define chip memory management and transaction operations;

[0033] The chip content management service is used to define a security domain;

[0034] The lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status;

[0035] The channel protocol service is used to define a channel protocol.

[0036] Optionally, the processing module is specifically used for:

[0037] Classifying the underlying applications based on instruction functions of the underlying applications;

[0038] The underlying applications belonging to the same category are encapsulated according to the preset service to obtain an application interface.

[0039] Optionally, the processing module is specifically used for:

[0040] According to the preset categories of the instruction functions, the instruction functions of the underlying application are classified, thereby realizing the classification of the underlying application; the preset categories of the instruction functions include at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, exception instruction category, security instruction category, operating environment instruction category, storage operation instruction category, permission management instruction category, application management instruction category and transaction management instruction category.

[0041] Optionally, the processing module is specifically used for:

[0042] Determining, in the application interface, an underlying application to be called by the hardware call instruction;

[0043] The underlying hardware corresponding to the underlying application is called through the underlying application and the preset service.

[0044] In a third aspect, an embodiment of the present invention further provides a smart IC card, comprising: various underlying hardware, an IC card operating system and various application programs;

[0045] The IC card operating system is provided with an application interface, and the application interface encapsulates an underlying application based on a preset service definition; the preset service is used to provide a call requirement that satisfies the application interface to call the underlying hardware; the underlying application corresponds to the underlying hardware;

[0046] The application program is used to call the underlying hardware through the application interface, thereby realizing the application function of the application program.

[0047] Optionally, the IC card operating system includes an interface layer and a service layer; the service layer is provided with the preset service;

[0048] The application interface is obtained by classifying the instruction functions of each underlying application and encapsulating the underlying applications belonging to the same category according to the preset service.

[0049] Optionally, the preset categories of the instruction function include at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, exception instruction category, security instruction category, operating environment instruction category, storage operation instruction category, permission management instruction category, application management instruction category and transaction management instruction category.

[0050] Optionally, the preset services include operating environment services, chip content management services, life cycle status services and channel protocol services;

[0051] The operating environment service is used to define chip memory management and transaction operations;

[0052] The chip content management service is used to define a security domain;

[0053] The lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status;

[0054] The channel protocol service is used to define a channel protocol.

[0055] In a fourth aspect, an embodiment of the present invention further provides a computer device, including:

[0056] A memory for storing program instructions;

[0057] The processor is used to call the program instructions stored in the memory and execute the hardware calling method of the IC card application according to the obtained program.

[0058] In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the hardware calling method of the above-mentioned IC card application. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0060] Figure 1 A schematic diagram of a system architecture provided by an embodiment of the present invention;

[0061] Figure 2 A schematic diagram of a process flow of a hardware calling method for an IC card application provided by an embodiment of the present invention;

[0062] Figure 3A schematic diagram of an operating system of a smart IC card provided by an embodiment of the present invention;

[0063] Figure 4 A schematic diagram of the structure of a hardware calling device for an IC card application provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] Figure 1 A system architecture applicable to the embodiment of the present invention is exemplarily shown, and the system architecture includes a system upper layer 110, middleware 120 and a system bottom layer 130.

[0066] The system upper layer 110 is used to provide applications supported by the IC card and corresponding application data.

[0067] The middleware 120 is used to provide an application interface and a preset service based on a preset service definition.

[0068] The system bottom layer 130 is used to provide bottom layer hardware data and IC card chip data.

[0069] It should be noted that the above Figure 1 The structure shown is only an example and is not limited to this embodiment of the present invention.

[0070] Based on the above description, Figure 2 The flowchart of a hardware calling method of an IC card application provided by an embodiment of the present invention is exemplarily shown. The flowchart can be executed by a calling device of an IC card application.

[0071] like Figure 2 As shown in the figure, the process specifically includes:

[0072] Step 210: Obtain the hardware call instruction sent by the application.

[0073] In the embodiment of the present invention, the hardware call instruction is used to indicate an application function to be implemented; for example, a user initiates a transfer instruction on an application program of a terminal.

[0074] Step 220: Determine the application interface corresponding to the hardware call instruction.

[0075] In the embodiment of the present invention, the application interface encapsulates the underlying application based on the preset service definition; the preset service is used to provide the calling requirements of the application interface to call the underlying hardware; the underlying application corresponds to the underlying hardware.

[0076] For example, the application interface corresponding to the transfer instruction is A1, and the corresponding underlying hardware B1 is determined through the underlying application encapsulated in the A1 interface, and then the underlying hardware B1 is mobilized.

[0077] Step 230: Call the corresponding underlying hardware through the application interface to implement the application function to be implemented.

[0078] In the embodiment of the present invention, the application function that the user wants to implement is realized by calling the underlying hardware; based on the above example, for example, the transfer function that the user wants to implement is realized by calling the underlying hardware B1.

[0079] In step 220, the preset services include operating environment services, chip content management services, life cycle status services, and channel protocol services. The preset services are used to define how the underlying application is encapsulated into the application interface.

[0080] Furthermore, the operating environment service is used to define chip memory management and transaction operations; the chip content management service is used to define the security domain; the lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status; and the channel protocol service is used to define the channel protocol.

[0081] For example, the operating environment service defines the chip memory management, transaction operations and other matters of the underlying application encapsulated into the application interface; the chip content management service defines the security domain and other requirements of the underlying application encapsulated into the application interface; the lifecycle state service defines the chip, the underlying application, the security domain, the lifecycle state and other matters of the underlying application encapsulated into the application interface; the channel protocol service defines all applicable security channel protocol requirements for the underlying application encapsulated into the application interface.

[0082] Based on the above embodiments, the underlying applications encapsulated into the application interface are uniformly defined, so that the application interface is unified and the use of the application across IC card platforms is realized, that is, the IC card based on Native technology can be a product of multiple application card, that is, the IC card can include multiple applications. In other words, it can be realized that the same IC card can be used by different applications. It should be noted that the category of the preset service can be customized by the R&D personnel and is not limited here.

[0083] When encapsulating the underlying applications, it is necessary to classify the underlying applications first to obtain the corresponding application interfaces.

[0084] Specifically, the underlying applications are classified based on their instruction functions; the underlying applications belonging to the same category are encapsulated according to preset services to obtain application interfaces.

[0085] Furthermore, according to the preset categories of the instruction functions, the instruction functions of the underlying applications are classified, thereby achieving the classification of the underlying applications; wherein the preset categories of the instruction functions include at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, exception instruction category, security instruction category, operating environment instruction category, storage operation instruction category, permission management instruction category, application management instruction category and transaction management instruction category.

[0086] For example, the bottom layer application of the instruction function related to the application identifier AID (application identifier) ​​is encapsulated into the AID interface;

[0087] Encapsulate the underlying application of the command function related to APDU (Application Protocol Data Unit) into the APDU interface;

[0088] Encapsulate the underlying application of the instruction function that uses the user identity code related functions into the identity authentication interface;

[0089] Encapsulate the underlying application of the instruction function that uses the setting and getting exception methods into the exception interface;

[0090] Encapsulate the underlying application of instruction functions that use encryption and decryption algorithm related operations into the security function interface;

[0091] Encapsulate the underlying application of the instruction function that controls the underlying application operation, resource management, garbage collection and underlying application data sharing into the operating environment interface;

[0092] Encapsulate the underlying application of instruction functions that use memory-related operations into a storage interface;

[0093] Encapsulate the underlying application of the instruction function that uses the secure channel management related operations into the permission management interface;

[0094] Encapsulate the underlying application of the system functions required for the installation and deletion of the underlying application and the instruction functions of the callback functions provided by the application into the application management interface;

[0095] Encapsulate the underlying application of instruction functions that use transaction-related operations into the transaction management interface.

[0096] In the embodiment of the present invention, the preset category of the instruction function may be customized by the R&D personnel and is not limited here.

[0097] In step 230, the underlying application to be called is determined according to the hardware calling instruction, and then the underlying application calls the corresponding underlying hardware to implement the application function to be implemented.

[0098] Specifically, the underlying application to be called by the hardware call instruction is determined in the application interface; and the underlying hardware corresponding to the underlying application is called through the underlying application and the preset service.

[0099] In an embodiment of the present invention, the underlying application is uniformly encapsulated into an application interface according to preset services, the independence between the application and the underlying hardware is increased, the reusability of the application is improved, and the same application interface can support calls from IC cards of different platforms, thereby improving the versatility of the application and the underlying hardware.

[0100] In order to better explain the above technical solution, Figure 3 FIG. 1 is a schematic diagram of an operating system of a smart IC card exemplarily shown in the present invention; Figure 3 As shown, it includes: data layer, application layer, IC card operating system, hardware abstraction layer and chip.

[0101] The data layer records the data corresponding to each application; the application layer records the applications supported by the IC card, such as r1APP, r2APP, etc. The number of applications is not limited. The application is used to call the underlying hardware through the application interface to realize the application function of the application.

[0102] The hardware abstraction layer records the data corresponding to each underlying hardware, and the chip records the data of the IC card, etc.

[0103] The IC card operating system is provided with an interface layer and a service layer, wherein the interface layer is provided with various application interfaces, and the application interface encapsulates the underlying application based on the preset service definition; the service layer is provided with various preset services, and the preset services are used to provide the calling requirements of the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware.

[0104] The application interfaces are shown in Table 1 below, and the preset services are shown in Table 2 below.

[0105] Table 1

[0106]

[0107]

[0108] Table 2

[0109]

[0110] The specific packaging method and the use of the preset service are shown in the embodiment of step 220 above, and will not be described in detail here.

[0111] Based on the same technical concept, Figure 4 The schematic diagram of the structure of a device for calling an IC card application provided by an embodiment of the present invention is exemplarily shown. The device can execute the process of the hardware calling method of the IC card application.

[0112] like Figure 4 As shown, the device specifically includes:

[0113] The acquisition module 410 is used to acquire the hardware call instruction sent by the application program; the hardware call instruction is used to indicate the application function to be implemented;

[0114] Processing module 420, determining an application interface corresponding to the hardware call instruction; the application interface encapsulates an underlying application defined based on a preset service; the preset service is used to provide a call requirement that satisfies the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware;

[0115] The corresponding underlying hardware is called through the application interface to implement the application function to be implemented.

[0116] Optionally, the preset services include operating environment services, chip content management services, life cycle status services and channel protocol services;

[0117] The operating environment service is used to define chip memory management and transaction operations;

[0118] The chip content management service is used to define a security domain;

[0119] The lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status;

[0120] The channel protocol service is used to define a channel protocol.

[0121] Optionally, the processing module 420 is specifically used for:

[0122] Classifying the underlying applications based on instruction functions of the underlying applications;

[0123] The underlying applications belonging to the same category are encapsulated according to the preset service to obtain an application interface.

[0124] Optionally, the processing module 420 is specifically used for:

[0125] According to the preset categories of the instruction functions, the instruction functions of the underlying application are classified, thereby realizing the classification of the underlying application; the preset categories of the instruction functions include at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, exception instruction category, security instruction category, operating environment instruction category, storage operation instruction category, permission management instruction category, application management instruction category and transaction management instruction category.

[0126] Optionally, the processing module 420 is specifically used for:

[0127] Determining, in the application interface, an underlying application to be called by the hardware call instruction;

[0128] The underlying hardware corresponding to the underlying application is called through the underlying application and the preset service.

[0129] Based on the same technical concept, an embodiment of the present invention further provides a computer device, including:

[0130] A memory for storing program instructions;

[0131] The processor is used to call the program instructions stored in the memory and execute the hardware calling method of the IC card application according to the obtained program.

[0132] Based on the same technical concept, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the hardware calling method of the IC card application.

[0133] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0134] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0136] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0137] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A hardware calling method for IC card application, characterized in that: The IC card includes various underlying hardware, an IC card operating system and multiple application programs, and the method includes: Obtaining a hardware call instruction sent by an application program; the hardware call instruction is used to indicate an application function to be implemented; Determine the application interface corresponding to the hardware call instruction from each application interface in the interface layer included in the IC card operating system; each application interface in the interface layer is a preset category based on the instruction function of each underlying application, classifies the instruction function of each underlying application, and encapsulates the underlying applications whose instruction functions belong to the same category according to the preset service in the service layer included in the IC card operating system; the application interface corresponding to the hardware call instruction encapsulates the underlying application to be called by the hardware call instruction; the preset service is used to provide a call requirement that satisfies the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware; wherein the preset category of the instruction function includes at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, exception instruction category, security instruction category, operating environment instruction category, storage operation instruction category, authority management instruction category, application management instruction category and transaction management instruction category; The corresponding underlying hardware is called through the application interface corresponding to the hardware calling instruction, so as to realize the application function to be realized.

2. The method according to claim 1, characterized in that The preset services include operating environment services, chip content management services, life cycle status services and channel protocol services; The operating environment service is used to define chip memory management and transaction operations; The chip content management service is used to define a security domain; The lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status; The channel protocol service is used to define a channel protocol.

3. The method according to claim 1 or 2, characterized in that Calling the corresponding underlying hardware through the application interface corresponding to the hardware call instruction includes: Determining, in the application interface corresponding to the hardware call instruction, an underlying application to be called by the hardware call instruction; The underlying hardware corresponding to the underlying application to be called is called through the underlying application to be called and the preset service.

4. A smart IC card, characterized in that: include: The underlying hardware, IC card operating system and multiple applications; The IC card operating system includes an interface layer and a service layer; wherein the service layer is provided with preset services; the interface layer includes various application interfaces, each application interface in the interface layer is a preset category based on the instruction function of each underlying application, the instruction function of each underlying application is classified, and the underlying applications whose instruction functions belong to the same category are encapsulated according to the preset services; the preset services are used to provide the calling requirements of the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware; wherein the preset category of the instruction function includes at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, abnormal instruction category, security instruction category, operating environment instruction category, storage operation instruction category, authority management instruction category, application management instruction category and transaction management instruction category; The application is used to call the corresponding underlying hardware through the application interface corresponding to the hardware call instruction, so as to realize the application function of the application, wherein the application interface corresponding to the hardware call instruction encapsulates the underlying application to be called by the hardware call instruction.

5. The smart IC card according to claim 4, characterized in that: The preset services include operating environment services, chip content management services, life cycle status services and channel protocol services; The operating environment service is used to define chip memory management and transaction operations; The chip content management service is used to define a security domain; The lifecycle status service is used to define the chip lifecycle status and the security domain lifecycle status; The channel protocol service is used to define a channel protocol.

6. A device for calling an IC card application, characterized in that: The IC card includes various underlying hardware, an IC card operating system and multiple application programs, and the calling device includes: An acquisition module, used to acquire a hardware call instruction sent by an application program; the hardware call instruction is used to indicate an application function to be implemented; A processing module, used to determine the application interface corresponding to the hardware call instruction from a plurality of application interfaces in the interface layer included in the IC card operating system; each application interface in the interface layer is a preset category based on the instruction function of each underlying application, the instruction function of each underlying application is classified, and the underlying applications whose instruction functions belong to the same category are encapsulated according to the preset service in the service layer included in the IC card operating system; the application interface corresponding to the hardware call instruction encapsulates the underlying application to be called by the hardware call instruction; the preset service is used to provide a call requirement that satisfies the application interface calling the underlying hardware; the underlying application corresponds to the underlying hardware; wherein the preset category of the instruction function includes at least one of the following: application identification instruction category, APDU instruction category, identity authentication instruction category, abnormal instruction category, security instruction category, operating environment instruction category, storage operation instruction category, authority management instruction category, application management instruction category and transaction management instruction category; The corresponding underlying hardware is called through the application interface corresponding to the hardware calling instruction, so as to realize the application function to be realized.

7. A computer device, characterized in that: include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 3 according to the obtained program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method according to any one of claims 1 to 3.