CN112667296A - Cross-platform IC card reader-writer operating system and operating method - Google Patents
Cross-platform IC card reader-writer operating system and operating method Download PDFInfo
- Publication number
- CN112667296A CN112667296A CN202011585386.9A CN202011585386A CN112667296A CN 112667296 A CN112667296 A CN 112667296A CN 202011585386 A CN202011585386 A CN 202011585386A CN 112667296 A CN112667296 A CN 112667296A
- Authority
- CN
- China
- Prior art keywords
- writer
- card reader
- character string
- function
- calling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000011017 operating method Methods 0.000 title abstract description 4
- 238000004891 communication Methods 0.000 claims abstract description 45
- 238000006243 chemical reaction Methods 0.000 claims abstract description 38
- 238000004458 analytical method Methods 0.000 claims abstract description 14
- 230000006870 function Effects 0.000 claims description 90
- 238000000034 method Methods 0.000 claims description 19
- 238000005516 engineering process Methods 0.000 claims description 13
- 238000012546 transfer Methods 0.000 claims description 5
- 238000011161 development Methods 0.000 abstract description 27
- 230000005540 biological transmission Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000011800 void material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004377 microelectronic Methods 0.000 description 1
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a cross-platform IC card reader-writer operating system and an operating method. The system comprises: the system comprises an upper application, a network service component in communication connection with the upper application and an IC card reader-writer in communication connection with the network service component; the network service component comprises: the system comprises a receiving and sending unit and a conversion calling unit in communication connection with the receiving and sending unit; the upper layer application is used for generating and sending a first description character string for calling the function according to the function to be called and a preset description protocol and receiving a second description character string for feeding back a function calling result from the transceiving unit; the receiving and sending unit is used for receiving the first description character string from the upper layer application and sending the second description character string to the upper layer application; and the conversion calling unit is used for analyzing the first description character string, calling the function corresponding to the IC card reader-writer according to the analysis result and generating a second description character string according to the description protocol and the function calling result. The invention can reduce the difficulty of secondary development of the IC card reader-writer.
Description
Technical Field
The invention relates to the technical field of IC card read-write machines, in particular to an operating system and an operating method of a cross-platform IC read-write machine.
Background
An Integrated Circuit Card (IC Card), also called Smart Card (Smart Card), Smart Card (Intelligent Card), Microcircuit Card (Microcircuit Card) or microchip Card, etc. A microelectronic chip is embedded into a card base conforming to the ISO 7816 standard to be made into a card form.
Because of the inherent advantages of information security, portability, relatively perfect standardization and the like, the integrated circuit card is increasingly applied to the fields of identity authentication, banks, telecommunications, public transportation, parking lot management and the like, for example, a second-generation identity card, an electronic wallet of a bank, a SIM card of a telecommunication mobile phone, a bus card and a subway card of public transportation, a parking card for collecting parking fees and the like all play an important role in daily life of people.
An IC card reader is a standard device for performing related read-write operations on an IC card, and is widely used in various industrial scenes, and generally, the IC card reader is accessed to a computer or other terminals for operating the IC card reader through communication modes such as USB connection and serial connection.
In the prior art, a manufacturer of an IC reader/writer provides manufactured equipment to a basic level service provider, the basic level service provider performs secondary development on the IC reader/writer according to the requirements of a client and then provides the IC reader/writer to the client for use, in order to enable the IC reader/writer to perform secondary development and use under different platforms and operating systems, the manufacturer needs to develop different interface libraries under different platforms and operating systems and provide a calling method suitable for various development languages, the basic level service provider can perform secondary development based on the interface libraries and relates to application of Browser and Server Architecture modes (BS Architecture), the manufacturer also needs to develop controls under different browsers for the basic level service provider to use, and the conventional development method has the following disadvantages: firstly, manufacturers need to provide different interface libraries or controls for different processors, operating systems and browsers, and the development, test and maintenance workload of the manufacturers is extremely large; secondly, function interfaces defined by different development languages cannot be kept uniform, calling methods are different, great inconvenience is brought to manufacturers and basic level service providers, the learning and development cost of the basic level service providers is high, and customers cannot keep consistent experience when used under different platforms, so that the improvement of user experience is not facilitated.
Disclosure of Invention
The invention aims to provide a cross-platform IC card reader-writer operating system which can reduce the secondary development difficulty of an IC card reader-writer and improve the user experience of the IC card reader-writer.
The invention also aims to provide an operation method of the cross-platform IC card reader-writer, which can reduce the secondary development difficulty of the IC card reader-writer and improve the user experience of the IC card reader-writer.
In order to achieve the above object, the present invention provides an operating system of a cross-platform IC card reader/writer, comprising: the system comprises an upper application, a network service component in communication connection with the upper application and an IC card reader-writer in communication connection with the network service component;
the network service component comprises: a receiving and transmitting unit in communication connection with the upper application and a conversion calling unit in communication connection with the receiving and transmitting unit and the IC card reader-writer respectively;
the upper layer application is used for generating a first description character string for calling the function according to the function to be called and a preset description protocol, sending the first description character string to the transceiving unit and receiving a second description character string for feeding back a function calling result from the transceiving unit, wherein the first description character string and the second description character string are both in a JSON format;
the receiving and sending unit is used for receiving a first description character string from an upper layer application and sending a second description character string to the upper layer application;
the conversion calling unit is used for analyzing the first description character string, calling the function corresponding to the IC card reader-writer according to the analysis result, acquiring the result of function calling from the IC card reader-writer, and generating a second description character string according to the description protocol and the result of function calling;
the IC card reader-writer is used for executing the function called by the conversion calling unit and generating a function calling result.
The transceiving unit receives a first description string from an upper application and transmits a second description string to the upper application through a hypertext transfer protocol or a full-duplex communication protocol based on TCP.
The transceiving unit is realized by adopting Electron technology.
The analysis result is a NodeJS object, and the conversion calling unit calls an interface library corresponding to the IC card reader-writer by using a corresponding NodeJS program according to the NodeJS object so as to realize calling of functions corresponding to the IC card reader-writer.
The interface library is a C language interface library or a C + + language interface library.
The invention also provides a cross-platform IC card reader-writer operation method, which comprises the following steps:
step S1, providing a cross-platform IC card reader-writer operating system, which comprises an upper application, a network service component in communication connection with the upper application and an IC card reader-writer in communication connection with the network service component;
the network service component comprises: a receiving and transmitting unit in communication connection with the upper application and a conversion calling unit in communication connection with the receiving and transmitting unit and the IC card reader-writer respectively;
step S2, the upper layer application generates a first description character string for calling the function according to the function to be called and a preset description protocol, and sends the first description character string to the transceiving unit;
step S3, the transceiver unit receives a first description character string from the upper application, and the first description character string is in a JSON format;
step S4, the conversion calling unit analyzes the first description character string and calls the corresponding function of the IC card reader-writer according to the analysis result;
step S5, the IC card read-write machine executes the function called by the conversion calling unit and generates the result of function calling;
step S6, the conversion calling unit obtains the result of function calling from the IC card reader-writer, and generates a second description character string according to the description protocol and the result of function calling, wherein the second description character string is in JSON format;
step S7, the transceiver unit sends a second description string to the upper layer application;
and step S8, the upper layer application receives the second description character string and determines the result of the function call according to the second description character string.
The transceiving unit receives a first description string from an upper application and transmits a second description string to the upper application through a hypertext transfer protocol or a full-duplex communication protocol based on TCP.
The transceiving unit is realized by adopting Electron technology.
The analysis result is a NodeJS object, and the conversion calling unit calls an interface library corresponding to the IC card reader-writer by using a corresponding NodeJS program according to the NodeJS object so as to realize calling of functions corresponding to the IC card reader-writer.
The interface library is a C language interface library or a C + + language interface library.
The invention has the beneficial effects that: the invention provides a cross-platform IC card read-write machine operating system, comprising: the system comprises an upper application, a network service component in communication connection with the upper application and an IC card reader-writer in communication connection with the network service component; the network service component comprises: the system comprises a receiving and sending unit and a conversion calling unit in communication connection with the receiving and sending unit; the upper layer application is used for generating a first description character string for calling the function according to the function to be called and a preset description protocol, sending the first description character string to the transceiving unit and receiving a second description character string for feeding back a function calling result from the transceiving unit, wherein the first description character string and the second description character string are both in a JSON format; the receiving and sending unit is used for receiving a first description character string from an upper layer application and sending a second description character string to the upper layer application; the conversion calling unit is used for analyzing the first description character string, calling the function corresponding to the IC card reader-writer according to the analysis result, acquiring the result of function calling from the IC card reader-writer, and generating a second description character string according to the description protocol and the result of function calling; the IC card reader-writer is used for executing the functions called by the conversion calling unit and generating the function calling results, the network service assembly is combined with the network data transmission method to realize the operation of the IC card reader-writer under different platforms, the secondary development difficulty of the IC card reader-writer can be reduced, and the user experience of the IC card reader-writer is improved. The invention also provides an operation method of the cross-platform IC card reader-writer, which can reduce the secondary development difficulty of the IC card reader-writer and improve the user experience of the IC card reader-writer.
Drawings
For a better understanding of the nature and technical aspects of the present invention, reference should be made to the following detailed description of the invention, taken in conjunction with the accompanying drawings, which are provided for purposes of illustration and description and are not intended to limit the invention.
In the drawings, there is shown in the drawings,
FIG. 1 is a block diagram of an operating system of a cross-platform IC card reader/writer according to the present invention;
fig. 2 is a flowchart of the cross-platform IC card reader/writer operation method of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention, the following detailed description is given with reference to the preferred embodiments of the present invention and the accompanying drawings.
Referring to fig. 1, the present invention provides a cross-platform IC card reader/writer operating system, including: the system comprises an upper application 1, a network service component 2 in communication connection with the upper application 1 and an IC card reader-writer 3 in communication connection with the network service component 2;
the network service component 2 comprises: a transceiver unit 21 in communication connection with the upper application 1 and a conversion calling unit 22 in communication connection with the transceiver unit 21 and the IC card reader/writer 3, respectively;
the upper layer application 1 is configured to generate a first description character string for calling the function according to the function to be called and a preset description protocol, send the first description character string to the transceiver unit 21, and receive a second description character string for feeding back a result of function calling from the transceiver unit 21, where the first description character string and the second description character string are both in a JSON format;
the transceiver unit 21 is configured to receive a first description character string from the upper application 1 and send a second description character string to the upper application 1;
the conversion calling unit 22 is configured to parse the first description character string, call a function corresponding to the IC card reader/writer 3 according to a parsing result, obtain a result of function calling from the IC card reader/writer 3, and generate a second description character string according to a description protocol and the result of function calling;
the IC card reader/writer 3 is configured to execute the function called by the conversion calling unit 22 and generate a result of the function calling.
Specifically, the upper application 1 and the network service component 2 are both installed in an operation terminal in communication connection with the IC card reader/writer 3, and the operation terminal may be a personal computer or a tablet computer or other devices.
Specifically, the transceiving unit 21 receives a first description character string from the upper application 1 and transmits a second description character string to the upper application 1 through a hypertext transfer protocol (HTTP) or a full duplex communication protocol (Websocket) based on TCP.
Specifically, the transceiver unit 21 is implemented by Electron technology.
Specifically, the analysis result is a nodjs object, and the conversion calling unit 22 calls the interface library corresponding to the IC card reader/writer 3 by using the corresponding nodjs program according to the nodjs object, so as to call the function corresponding to the IC card reader/writer 3.
The conversion calling unit 22 obtains the analysis result by combining JSON technology with a preset description protocol for analysis.
Specifically, the interface library is a C language interface library or a C + + language interface library.
It should be noted that the present invention realizes the operation of the IC card reader/writer 3 under different platforms and different browsers by using the network service component 2 in combination with the network data transmission method. In the cross-platform IC card reader-writer operating system of the invention, a manufacturer of the IC card reader-writer 3 provides a network service component 2 of a related operating system for a basic level service provider, the basic level service provider installs the corresponding network service component 2, and the requirement of function calling, namely a first description character string is sent to the network service component 2 in a network data transmission mode by adopting an agreed JSON format, so that the calling of the related function of the IC card reader-writer 1 can be completed, because of the standardization and the universality of the network technology, the manufacturer does not need to know a development language to be adopted by the basic level service provider, and does not need to adjust and provide the calling mode aiming at the development language of the basic level service provider, namely the manufacturer of the IC card reader-writer 3 does not need to provide various interface libraries corresponding to different languages for the basic level service provider, and does not need to provide controls when used under different browsers, the convenience of development, test and maintenance of manufacturers is greatly improved, the cost is effectively reduced, basic level service providers only need to use the network communication technology of the development language adopted by the manufacturers to communicate with the network component 2 according to the appointed JSON format, the manufacturers of the IC card read-write machine 3 do not need to be matched to use the same development language to call functions, and the learning cost and the development difficulty are greatly reduced.
Further, the network service component 2 is provided by a manufacturer of the IC card reader/writer 3, and a basic service provider selects a corresponding installation package to install according to an own operating system, wherein the network service component 2 is implemented by combining technologies such as Electron, nodjs, HTML, HTTP, Websocket, and C/C + +.
In some embodiments of the present invention, the actual workflow of the cross-platform IC card reader/writer operating system is as follows:
the upper layer application 1 generates a first description character string in a JSON format and transmits the first description character string to the transceiver unit 21 in a network communication manner;
the transceiving unit 21 receives the first description string through HTTP or Websocket;
the conversion calling unit 22 analyzes the first description character string and starts to call the C/C + + interface library of the corresponding system, thereby realizing the calling of the related functions of the IC card reader/writer 3;
the IC card reader-writer 3 executes the relevant functions and generates the result of function calling;
the conversion calling unit 22 converts the result of the function calling into a second description character string in the JSON format;
the transceiving unit 21 sends the second description character string to the upper layer application 1 in a network communication manner;
the upper application 1 determines the result of the function call from the second description string.
In particular, the description protocol is used to describe the declaration of the functional interface in the interface library, so that the basic level service provider can conveniently pass the character string form in the network to make further interface calls.
Several examples of rules describing the protocol are provided below for reference:
1. the function declaration is: void Hello ();
note that: the in parameter and the out parameter do not have null arrays available.
2. The function declaration is: int Hello (int value);
note that:
integers are represented in JSON using strings.
The value of JSON receive data "out" may also use the null array when failing.
3. The function declaration is: int Hello (unscented char, const char in str, char out str);
note that:
processing the unsigned char, unsigned short, unsigned int, unsigned dlong and long in the same way by using an integer processing mode;
the strings transmitted and received by JSON all need to be encoded using UTF-8.
4. The function declaration is: int Hello (unidentified char in _ out _ bin _ data);
note that:
the [ in, out ] type parameter is present in both the value of JSON transmit data "in" and the value of JSON receive data "out".
Byte data is shown in JSON data using 16-ary format strings of bytes.
Referring to fig. 2, the present invention further provides a method for operating a cross-platform IC card reader/writer, comprising the following steps:
step S1, providing a cross-platform IC card reader-writer operating system, which comprises an upper application 1, a network service component 2 in communication connection with the upper application 1, and an IC card reader-writer 3 in communication connection with the network service component 2;
the network service component 2 comprises: a transceiver unit 21 in communication connection with the upper application 1 and a conversion calling unit 22 in communication connection with the transceiver unit 21 and the IC card reader/writer 3, respectively;
step S2, the upper layer application 1 generates a first description character string for calling the function according to the function to be called and a preset description protocol, and sends the first description character string to the transceiver unit 21;
step S3, the transceiver unit 21 receives a first description character string from the upper application 1, where the first description character string is in JSON format;
step S4, the conversion calling unit 22 parses the first description character string and calls a function corresponding to the IC card reader/writer 3 according to the parsing result;
step S5, the IC card reader/writer 3 executes the function called by the conversion calling unit 22 and generates a result of the function calling;
step S6, the conversion calling unit 22 obtains a result of function calling from the IC card reader/writer 3, and generates a second description character string according to the description protocol and the result of function calling, where the second description character string is in JSON format;
step S7, the transceiver unit 21 sends a second description character string to the upper application 1;
step S8, the upper layer application 1 receives the second description character string, and determines the result of the function call according to the second description character string.
Specifically, the upper application 1 and the network service component 2 are both installed in an operation terminal in communication connection with the IC card reader/writer 3, and the operation terminal may be a personal computer or a tablet computer or other devices.
Specifically, the transceiver unit 21 receives a first description character string from the upper application 1 and transmits a second description character string to the upper application 1 through an HTTP protocol or a Websocket protocol.
Specifically, the transceiver unit 21 is implemented by Electron technology.
Specifically, the analysis result is a nodjs object, and the conversion calling unit 22 calls the interface library corresponding to the IC card reader/writer 3 by using the corresponding nodjs program according to the nodjs object, so as to call the function corresponding to the IC card reader/writer 3.
Optionally, the interface library is a C language interface library or a C + + language interface library.
It should be noted that the present invention realizes the operation of the IC card reader/writer 3 under different platforms and different browsers by using the network service component 2 in combination with the network data transmission method. In the cross-platform IC card reader-writer operation method of the invention, the manufacturer of the IC card reader-writer 3 only needs to provide the network service component 2 of the relevant operation system for the basic level service provider, the basic level service provider only needs to install the corresponding network service component 2, and the requirement of function calling, namely the first description character string is sent to the network service component 2 by the network data transmission mode, can complete the calling of the relevant functions of the IC card reader-writer 1, because of the standardization and the universality of the network technology, the manufacturer does not need to know the development language adopted by the basic level service provider, and does not need to adjust and provide the calling mode aiming at the development language of the basic level service provider, namely the manufacturer of the IC card reader-writer 3 does not need to provide various interface libraries corresponding to different languages for the basic level service provider, and does not need to provide controls when used under different browsers, the convenience of development, test and maintenance of manufacturers is greatly improved, the cost is effectively reduced, basic level service providers only need to use the network communication technology of the development language adopted by the manufacturers to communicate with the network component 2 according to the appointed JSON format, the manufacturers of the IC card read-write machine 3 do not need to be matched to use the same development language to call functions, and the learning cost and the development difficulty are greatly reduced.
Further, the network service component 2 is provided by a manufacturer of the IC card reader/writer 3, and a basic service provider selects a corresponding installation package to install according to an own operating system, wherein the network service component 2 is implemented by combining technologies such as Electron, nodjs, HTML, HTTP, Websocket, and C/C + +.
In particular, the description protocol is used to describe the declaration of the functional interface in the interface library, so that the basic level service provider can conveniently pass the character string form in the network to make further interface calls.
Several examples of rules describing the protocol are provided below for reference:
1. the function declaration is: void Hello ();
note that: the in parameter and the out parameter do not have null arrays available.
2. The function declaration is: int Hello (int value);
note that:
integers are represented in JSON using strings.
The value of JSON receive data "out" may also use the null array when failing.
3. The function declaration is: int Hello (unscented char, const char in str, char out str);
note that:
processing the unsigned char, unsigned short, unsigned int, unsigned dlong and long in the same way by using an integer processing mode;
the strings transmitted and received by JSON all need to be encoded using UTF-8.
4. The function declaration is: int Hello (unidentified char in _ out _ bin _ data);
note that:
the [ in, out ] type parameter is present in both the value of JSON transmit data "in" and the value of JSON receive data "out".
Byte data is shown in JSON data using 16-ary format strings of bytes.
In summary, the present invention provides an operating system of a cross-platform IC card reader/writer, comprising: the system comprises an upper application, a network service component in communication connection with the upper application and an IC card reader-writer in communication connection with the network service component; the network service component comprises: the system comprises a receiving and sending unit and a conversion calling unit in communication connection with the receiving and sending unit; the upper layer application is used for generating a first description character string for calling the function according to the function to be called and a preset description protocol, sending the first description character string to the transceiving unit and receiving a second description character string for feeding back a function calling result from the transceiving unit, wherein the first description character string and the second description character string are both in a JSON format; the receiving and sending unit is used for receiving a first description character string from an upper layer application and sending a second description character string to the upper layer application; the conversion calling unit is used for analyzing the first description character string, calling the function corresponding to the IC card reader-writer according to the analysis result, acquiring the result of function calling from the IC card reader-writer, and generating a second description character string according to the description protocol and the result of function calling; the IC card reader-writer is used for executing the functions called by the conversion calling unit and generating the function calling results, the network service assembly is combined with the network data transmission method to realize the operation of the IC card reader-writer under different platforms, the secondary development difficulty of the IC card reader-writer can be reduced, and the user experience of the IC card reader-writer is improved. The invention also provides an operation method of the cross-platform IC card reader-writer, which can reduce the secondary development difficulty of the IC card reader-writer and improve the user experience of the IC card reader-writer.
As described above, it will be apparent to those skilled in the art that other various changes and modifications may be made based on the technical solution and concept of the present invention, and all such changes and modifications are intended to fall within the scope of the appended claims.
Claims (10)
1. A cross-platform IC card reader-writer operating system is characterized by comprising: the system comprises an upper application (1), a network service component (2) in communication connection with the upper application (1), and an IC card reader-writer (3) in communication connection with the network service component (2);
the network service component (2) comprises: a transmitting and receiving unit (21) in communication connection with the upper application (1) and a conversion calling unit (22) in communication connection with the transmitting and receiving unit (21) and the IC card reader-writer (3) respectively;
the upper layer application (1) is used for generating a first description character string for calling the function according to the function to be called and a preset description protocol, sending the first description character string to the transceiving unit (21) and receiving a second description character string for feeding back a function calling result from the transceiving unit (21), wherein the first description character string and the second description character string are both in a JSON format;
the transceiver unit (21) is used for receiving a first description character string from an upper layer application (1) and sending a second description character string to the upper layer application (1);
the conversion calling unit (22) is used for analyzing the first description character string, calling the function corresponding to the IC card reader-writer (3) according to the analysis result, acquiring the function calling result from the IC card reader-writer (3), and generating a second description character string according to the description protocol and the function calling result;
and the IC card reader-writer (3) is used for executing the function called by the conversion calling unit (22) and generating the function calling result.
2. The cross-platform IC card reader-writer operating system according to claim 1, wherein the transceiving unit (21) receives a first description character string from an upper application (1) and transmits a second description character string to the upper application (1) through a hypertext transfer protocol or a TCP-based full-duplex communication protocol.
3. The cross-platform IC card reader-writer operating system according to claim 1, wherein the transceiver unit (21) is implemented using Electron technology.
4. The cross-platform IC card reader/writer operating system according to claim 1, wherein the parsing result is a nodjs object, and the conversion calling unit (22) calls an interface library corresponding to the IC card reader/writer (3) by using a corresponding nodjs program according to the nodjs object, so as to call a function corresponding to the IC card reader/writer (3).
5. The cross-platform IC card reader-writer operating system according to claim 4, wherein the interface library is a C language interface library or a C + + language interface library.
6. A cross-platform IC card reader-writer operation method is characterized by comprising the following steps:
step S1, providing a cross-platform IC card reader-writer operating system, which comprises an upper application (1), a network service component (2) in communication connection with the upper application (1) and an IC card reader-writer (3) in communication connection with the network service component (2);
the network service component (2) comprises: a transmitting and receiving unit (21) in communication connection with the upper application (1) and a conversion calling unit (22) in communication connection with the transmitting and receiving unit (21) and the IC card reader-writer (3) respectively;
step S2, the upper layer application (1) generates a first description character string for calling the function according to the function to be called and a preset description protocol, and sends the first description character string to a transceiving unit (21), wherein the first description character string is in a JSON format;
step S3, the transceiver unit (21) receiving a first description string from an upper layer application (1);
step S4, the conversion calling unit (22) analyzes the first description character string and calls the corresponding function of the IC card reader-writer (3) according to the analysis result;
step S5, the IC card read-write machine (3) executes the function called by the conversion calling unit (22) and generates the result of function calling;
step S6, the conversion calling unit (22) obtains the result of function calling from the IC card reader-writer (3), and generates a second description character string according to the description protocol and the result of function calling, wherein the second description character string is in JSON format;
step S7, the transceiver unit (21) sending a second description string to the upper layer application (1);
and step S8, the upper layer application (1) receives the second description character string and determines the result of the function call according to the second description character string.
7. The cross-platform IC card reader/writer operation method according to claim 6, wherein the transceiving unit (21) receives a first description character string from an upper application (1) and transmits a second description character string to the upper application (1) through a hypertext transfer protocol or a TCP-based full-duplex communication protocol.
8. The operation method of a cross-platform IC card reader-writer according to claim 6, characterized in that the transceiver unit (21) is implemented using Electron technology.
9. The cross-platform IC card reader/writer operation method according to claim 6, wherein the analysis result is a nodjs object, and the conversion calling unit (22) calls an interface library corresponding to the IC card reader/writer (3) by using a corresponding nodjs program according to the nodjs object, so as to call a function corresponding to the IC card reader/writer (3).
10. The method according to claim 9, wherein the interface library is a C language interface library or a C + + language interface library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011585386.9A CN112667296A (en) | 2020-12-28 | 2020-12-28 | Cross-platform IC card reader-writer operating system and operating method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011585386.9A CN112667296A (en) | 2020-12-28 | 2020-12-28 | Cross-platform IC card reader-writer operating system and operating method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112667296A true CN112667296A (en) | 2021-04-16 |
Family
ID=75411611
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011585386.9A Pending CN112667296A (en) | 2020-12-28 | 2020-12-28 | Cross-platform IC card reader-writer operating system and operating method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112667296A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002236885A (en) * | 2001-02-09 | 2002-08-23 | Shinko Electric Ind Co Ltd | Ic card reader/writer and data transmission method therefor |
US20040146066A1 (en) * | 2001-03-13 | 2004-07-29 | Romain Palmade | Control signal-adaptive contactless chip card |
CN103532959A (en) * | 2013-10-21 | 2014-01-22 | 济南政和科技有限公司 | Cross-platform network communication method |
CN109981341A (en) * | 2019-02-15 | 2019-07-05 | 广州市高科通信技术股份有限公司 | Webmastering software and equipment SNMP exchange method, electronic equipment and storage medium |
CN111752840A (en) * | 2020-06-28 | 2020-10-09 | 中电长城(长沙)信息技术有限公司 | Cross-system financial self-service equipment SP automatic test method, equipment and medium |
-
2020
- 2020-12-28 CN CN202011585386.9A patent/CN112667296A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002236885A (en) * | 2001-02-09 | 2002-08-23 | Shinko Electric Ind Co Ltd | Ic card reader/writer and data transmission method therefor |
US20040146066A1 (en) * | 2001-03-13 | 2004-07-29 | Romain Palmade | Control signal-adaptive contactless chip card |
CN103532959A (en) * | 2013-10-21 | 2014-01-22 | 济南政和科技有限公司 | Cross-platform network communication method |
CN109981341A (en) * | 2019-02-15 | 2019-07-05 | 广州市高科通信技术股份有限公司 | Webmastering software and equipment SNMP exchange method, electronic equipment and storage medium |
CN111752840A (en) * | 2020-06-28 | 2020-10-09 | 中电长城(长沙)信息技术有限公司 | Cross-system financial self-service equipment SP automatic test method, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101541263B1 (en) | Method and apparatus for executing user action commands | |
US8914489B2 (en) | Method of personalizing an application embedded in a secured electronic token | |
US8814051B2 (en) | Personal token having enhanced communication abilities for a hosted application | |
US7374100B2 (en) | Mobile terminal having smart card coupled with RFID tag and method for performing RFID function in such mobile terminal | |
EP1760991B1 (en) | Application providing system and method | |
EP2840830B1 (en) | Optimized bit error rate testing | |
CN101965581B (en) | System and method for installing smart card applet | |
US20090119364A1 (en) | Method and system for exchange of data between remote servers | |
CN108337236A (en) | A kind of gRPC call methods and device based on Protobuf and HTTP/1.1 | |
HUE031646T2 (en) | Smartcard performance enhancement circuits and systems | |
US20060117017A1 (en) | Information processing apparatus, devices thereof, and communication device | |
US20130179499A1 (en) | Method, apparatus and system for displaying radio frequency identification application information | |
EP0971327A3 (en) | Method and system for providing financial services such as home banking | |
CN102938081A (en) | Intelligent card individualized data processing, controller and system | |
CN107368334B (en) | Business plug-in interaction system and method | |
CN110414651A (en) | Debug the method and device of smart card | |
CN113992641B (en) | Data processing method, device, equipment and storage medium | |
US20140154978A1 (en) | Near field communication (nfc) device | |
JP4173862B2 (en) | How to load applications deployed in terminals and chip cards | |
CN112667296A (en) | Cross-platform IC card reader-writer operating system and operating method | |
CN109889280B (en) | NFC equipment safety test method | |
EP2249591B1 (en) | Telecommunication intelligent card and method for signaling interaction with external non-contact card | |
KR100617455B1 (en) | Gateway apparatus for information processing using mobile communication | |
CN102547661B (en) | Method and device for establishing communication between Android system and telecommunications smart card | |
CN103229492B (en) | Method of managing asynchronous entities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |