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

Intelligent card read-write method and system based on HTTP

A technology of HTTP protocol and reading and writing methods, applied in the Internet field, can solve problems such as the small market share of the Internet Explorer browser, the instability of the Internet Explorer browser, and the freezing of the Internet Explorer browser, and achieve low development difficulty, strong maintainability, and easy installation. Easy to deploy

Active Publication Date: 2021-05-18
成都同飞科技有限责任公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This has led to this type of industry management software involving the B / S structure of the smart card reader operation control, which can only use the Internet Explorer browser
With the decline of the Internet Explorer browser, the market share of the Internet Explorer browser is getting smaller and smaller, and restricting the use of the Internet Explorer browser to industry users will bring great inconvenience to users.
At the same time, after using the COM / OCX plug-in, it also brings instability to the Internet Explorer browser, which often causes the Internet Explorer browser to freeze or crash

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
  • Intelligent card read-write method and system based on HTTP
  • Intelligent card read-write method and system based on HTTP

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] This embodiment discloses a method for reading and writing smart cards based on the HTTP protocol, such as figure 1 As shown, in the present embodiment, the method for reading and writing the smart card is mainly the method implemented in the browser webpage, and the steps of the reading and writing method include:

[0047] S1: Create a communication channel based on the HTTP protocol;

[0048]Using the development mode of windows desktop software, create a Socket Server program based on HTTP protocol.

[0049] S2: Obtain the first data transmitted by the Socket Server through the communication channel of the HTTP protocol in an asynchronous manner, and the first data is the request data sent by the WEB page client;

[0050] At the WEB web page client, the first request command is triggered, and the first request command is transmitted in the communication channel in the form of a data packet. The command triggered by the WEB web page client here can be a single comman...

Embodiment 2

[0076] This embodiment discloses a smart card reading and writing system based on the HTTP protocol, and the reading and writing system is used to realize the smart card reading and writing method based on the HTTP protocol in the first embodiment, such as figure 2 As shown, the read-write system includes:

[0077] The service management module is used to create a communication channel based on the HTTP protocol;

[0078] The communication management module is used to obtain the first data transmitted through the communication channel of the HTTP protocol in an asynchronous manner, and the first data is the request data sent by the WEB page client;

[0079] The first data processing module is configured to use a data stream conversion method or a decoding method to perform data analysis on the first data to obtain the first plaintext;

[0080] The second data processing module is configured to perform in-depth analysis on the first plaintext by using a binary tree traversal ...

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 an intelligent card read-write method and system based on an HTTP. The method comprises the steps: obtaining first data transmitted through a communication channel of the HTTP in an asynchronous mode; obtaining a first plaintext by adopting a data stream conversion mode or a decoding mode; performing deep analysis on the first plaintext by adopting a binary tree traversal method to obtain a first instruction and a first parameter; matching and correspondingly calling an intelligent card reader-writer interface, and performing read-write operation on the intelligent card to obtain second data; setting a cross-domain permission for a response header of a communication channel of the HTTP protocol, and transmitting and returning the obtained third data to a WEB webpage client through an HTTP channel. The method has the advantages that all mainstream browsers are compatible, plug-ins do not need to be installed in the browsers, and the problems that the browsers are stuck or crashed or other problems are caused by the plug-ins are avoided; the development mode is uniform, the development difficulty is low, the compatibility is good, the stability is good, the installation and deployment are convenient, and the maintainability is high.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an HTTP protocol-based smart card reading and writing method and system. Background technique [0002] When developing some industry management software such as natural gas, tap water, hospital medical treatment, and property management, it is often necessary to read, write, and clear smart cards such as magnetic cards, ID cards, IC cards, radio frequency cards, and CPU cards in the software system. Card operations, such as reading user information and writing user purchase information through smart cards. In order to read and write smart cards such as magnetic cards, ID cards, IC cards, radio frequency cards, and CPU cards, it is necessary to operate and control smart card reader devices to realize smart card reading and writing operations. [0003] On the current mainstream B / S architecture, only COM / OCX plug-in-based methods can be used to realize the operation control o...

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
IPC IPC(8): H04L29/08H04L29/06G06K17/00
CPCH04L67/02H04L69/162H04L69/22G06K17/0022H04L67/565H04L67/133
Inventor 胡洪祥李儒兵萧阳宋学彬张荣蒲以富曹杨徐亮汤云伟王海
Owner 成都同飞科技有限责任公司