Method and system for accessing smart key device through webpage script
A technology of smart key device and web page, applied in the field of communication, can solve the problem of not supporting the use and access of smart key device, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0101] Embodiment 1 of the present invention provides a method for accessing a smart key device through a webpage script, when the first webpage script is loaded, such as figure 1 shown, including:
[0102] Step 101: The first webpage script obtains the information in the first operation page where it is located, organizes the communication parameters according to the obtained information, and calls the default webpage script function to send the communication parameters and the second webpage script to the preset application program;
[0103] Step 102: The preset application calls the driver interface of the smart key device according to the received communication parameters, and receives the operation result returned by the smart key device;
[0104] Step 103: The preset application program generates a second operation page containing the received operation result and the second webpage script, calls the system function to open the second operation page, the second webpage s...
Embodiment 2
[0133] Embodiment 2 of the present invention provides a method for accessing a smart key device through a webpage script; in this embodiment, the browser in the mobile device accesses the smart key device through a preset application program to perform the operation of obtaining the device serial number as an example For illustration; when the browser opens the first operation page, the first webpage script contained in the first operation page is loaded, and when the first webpage script receives the trigger information from the user in the first operation page, as figure 2 shown, do the following:
[0134] Step 201: the first webpage script judges whether the preset application program has been installed, if yes, execute step 203, otherwise execute step 202;
[0135] Step 202: the first webpage script prompts the user to download and install the application program, and returns to step 201;
[0136] Step 203: The first webpage script acquires the information in the first o...
Embodiment 3
[0182] Embodiment 3 of the present invention provides a method for accessing a smart key device through a webpage script. In this embodiment, the browser in the mobile device accesses the smart key device through a preset application program to perform an operation of verifying a PIN code as an example. ; When the browser opens the first operation page, the first webpage script contained in the first operation page is loaded, and when the first webpage script receives the trigger information from the user in the first operation page, as image 3 shown, do the following:
[0183] Step 301: The first webpage script judges whether the preset application program has been installed, if yes, execute step 303, otherwise execute step 302;
[0184] Step 302: the first web page script prompts the user to download and install the application program, and returns to step 301;
[0185] Step 303: The first web page script acquires the information in the first operation page where it is loc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


