CN101382903A - Method and system for implementing automatic installation of intelligent cipher key equipment - Google Patents

Method and system for implementing automatic installation of intelligent cipher key equipment Download PDF

Info

Publication number
CN101382903A
CN101382903A CNA2008102232474A CN200810223247A CN101382903A CN 101382903 A CN101382903 A CN 101382903A CN A2008102232474 A CNA2008102232474 A CN A2008102232474A CN 200810223247 A CN200810223247 A CN 200810223247A CN 101382903 A CN101382903 A CN 101382903A
Authority
CN
China
Prior art keywords
cipher key
intelligent cipher
message sequence
key equipment
computing machine
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.)
Granted
Application number
CNA2008102232474A
Other languages
Chinese (zh)
Other versions
CN101382903B (en
Inventor
陆舟
于华章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Feitian Technologies Co Ltd
Original Assignee
Beijing Feitian Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Feitian Technologies Co Ltd filed Critical Beijing Feitian Technologies Co Ltd
Priority to CN2008102232474A priority Critical patent/CN101382903B/en
Publication of CN101382903A publication Critical patent/CN101382903A/en
Application granted granted Critical
Publication of CN101382903B publication Critical patent/CN101382903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a system for realizing the automatic installation of smart key equipment, which pertains to the smart card field. The method comprises the steps: the smart key equipment declares as USB keyboard equipment to a computer; a pre-defined first keyboard message sequence is sent to the computer and a second keyboard message sequence is obtained by the conversion of the script instruction of a pre-stored operation installation program and sent to the computer; a third keyboard message sequence is sent to the computer and used for the operation of the installation program; and when the installation of the installation program is finished, the equipment descriptor is switched into the equipment descriptor required for the normal operation and the equipment declares as the equipment corresponding to the normal operation to the computer. The system comprises the smart key equipment and the computer. The method and the system for realizing the automatic installation of smart key equipment, through the alternation between the smart key equipment and the computer, solve the problem that the smart key equipment can not realize the automatic installation when the autorun function of Windows is shielded, thus facilitating the automatic installation of the smart key equipment.

Description

Intelligent cipher key equipment is realized the method and system of installation automatically
Technical field
The present invention relates to field of intelligent cards, relate in particular to a kind of intelligent cipher key equipment and realize the method and system of installation automatically.
Background technology
Script (Script) is to use a kind of specific descriptive language, and the executable file according to certain form is write is called grand or autoexec again.Script can be called temporarily and be carried out usually by application program.At present, all kinds of scripts are widely used in the webpage design, because script not only can reduce the scale of webpage or improve web page browsing speed, and can enrich the performance of webpage, as animation, sound etc.
AutoPlay function (autorun) is USB (Universal Serial BUS, USB (universal serial bus))-SCSI (Small Computer Standard Interface, small computer system interface) function that is carried, its feasible operation to CD becomes and is more prone to.Claim on the general custom that this automatic running program is the autorun program,, realize AutoPlay function so when the equipment that contains the autorun program was connected on the computing machine, operation system of computer such as Windows can call automatic running program automatically.
Along with the high speed development of computer technology and Internet technology, network provides very big convenience at aspects such as daily life, work, study, carry out so that a lot of activities has been transferred on the network.
Yet, virus (as autorun virus), hacker's appearance, online comings and goings is caused very big threat, and the existence of the AutoPlay function that computer operating system is supported, made certain chance to these threats undoubtedly, even become hacker's accomplice, therefore, a lot of users or Windows security protection program are for considerations such as safety, often shield the autorun function of Windows operating system, still, the inventor finds when realization is of the present invention, after the autorun function of shielding Windows operating system, can make the operation of some equipment problem occur, for example the intelligent cipher key equipment of autorun type can't be realized automatic installation, needs personnel to carry out manual installation, expend time in and manpower, cause unnecessary waste.
Summary of the invention
For solving in the prior art, because when the conductively-closed of the autorun of operating system function, autorun type intelligent cipher key equipment can not be realized the problem of installation automatically, the invention provides a kind of intelligent cipher key equipment and realizes the method and system of installation automatically, and concrete scheme is as follows:
On the one hand, provide a kind of intelligent cipher key equipment to realize the method for installing automatically, described method comprises:
Intelligent cipher key equipment and computing machine connect;
Described intelligent cipher key equipment is stated certainly as USB (universal serial bus) (USB) keyboard equipment to described computing machine;
Described intelligent cipher key equipment sends the predefined first keyboard message sequence to described computing machine, and the described first keyboard message sequence is used to start the running environment of described computing machine;
After starting described running environment, the directive script of the operation installation procedure that described intelligent cipher key equipment will be stored in advance is converted to the second keyboard message sequence, and the described second keyboard message sequence is sent to described computing machine;
Described intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, and described the 3rd keyboard message sequence is used to move installation procedure;
Described intelligent cipher key equipment waits for and receives the message of making an appointment that the described message of making an appointment is that application program started was returned after installation procedure installed;
After described intelligent cipher key equipment receives the described message of making an appointment, described intelligent cipher key equipment switches to the required device descriptor of operate as normal with the equipment of itself descriptor, and to the statement of described computing machine from as the operate as normal corresponding apparatus, enter normal mode of operation;
Wherein, the described predefined first keyboard message sequence specifically comprises: will attempt the keyboard message sequence that startup command line operate mode instruction is converted to;
Wherein, describedly will attempt the keyboard message sequence that startup command line operate mode instruction is converted to, specifically comprise:
The keyboard message sequence that the Macintosh of windows logo key and alphabetical r key is converted to.
Described predefined the 3rd keyboard message sequence specifically comprises:
The keyboard message sequence that the script that attempt to activate installation procedure is converted to.
Wherein, the keyboard message sequence that the described script that will attempt the activation installation procedure is converted to specifically comprises:
The keyboard message sequence that acknowledgement key enter command conversion is obtained.
Wherein, the described directive script of the operation installation procedure of storage in advance specifically comprises:
The binary coding that the installation procedure compiling generates; Or,
Be used for open any browser, the command line instructions of visit URL.
Wherein, the described message of making an appointment specifically comprises:
The keyboard light status command is set.
Wherein, described operate as normal corresponding apparatus specifically comprises:
HID equipment (Human Interface Device, human-computer interaction device); Or,
CCID equipment (Chip/Smart Card Interface Devices, chip intelligent card equipment); Or,
Scsi device.
On the other hand, provide a kind of intelligent cipher key equipment to realize the system of installing automatically, described system comprises: the intelligent cipher key equipment computing machine;
Described intelligent cipher key equipment comprises communication module, declaration module, preservation module, sending module, judge module, first processing module and second processing module;
Described communication module is used to realize described intelligent cipher key equipment and described computing machine establishment of connection;
Described declaration module is used for after described intelligent cipher key equipment and described computing machine connect, and states that to described computing machine described intelligent cipher key equipment is from as USB (universal serial bus) (USB) keyboard equipment;
Described preservation module is used for the directive script of storage running installation procedure in advance;
Described sending module is used to realize that described intelligent cipher key equipment sends the predefined first keyboard message sequence to described computing machine, and the described first keyboard message sequence is used to start the running environment of described computing machine; Also be used for after starting described running environment, described intelligent cipher key equipment is converted to the second keyboard message sequence with the directive script of the operation installation procedure that described preservation module is stored in advance, and the described second keyboard message sequence is sent to described computing machine; Be used to also realize that described intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, described the 3rd keyboard message sequence is used to move installation procedure;
Judge module is used to judge whether to receive installation procedure and installs the message of making an appointment that the back application program started is returned;
First processing module, be used for judging and receive described making an appointment during message when described judge module, realize that described intelligent cipher key equipment switches to the required device descriptor of operate as normal with the equipment of itself descriptor, and to the statement of described computing machine from as the operate as normal corresponding apparatus, enter normal mode of operation;
Second processing module is used for judging when described judge module not receiving described making an appointment during message, realizes that described intelligent cipher key equipment continues to wait for;
Described computing machine comprises: communication module, receiver module and execution module;
The communication module of described computing machine is used to realize described computing machine and described intelligent cipher key equipment establishment of connection;
Described receiver module is used to receive the first keyboard message sequence, the second keyboard message sequence and the 3rd keyboard message sequence that the sending module of described intelligent cipher key equipment sends;
Described execution module is used for the keyboard message sequence according to described receiver module reception, carries out the corresponding action of handling.
Further, described intelligent cipher key equipment also comprises:
Wherein, described preservation module specifically comprises:
Be used to preserve the binary-coded preservation unit that the installation procedure compiling generates; Or
Be used for preserving and be used for open any browser, the preservation unit of the command line instructions of visit URL.
Wherein, described execution module specifically comprises:
First performance element is used for the first keyboard message sequence according to described receiver module reception, starts the running environment of described computing machine;
Second performance element is used for the second keyboard message sequence according to described receiver module reception, obtains the directive script of the operation installation procedure of storage in advance;
The 3rd performance element is used for the 3rd keyboard message sequence that receives according to described receiver module, carries out the operation installation procedure, and is implemented in described installation procedure and installs the back application program started and return the message of making an appointment to described intelligent cipher key equipment.
Wherein, the above-mentioned message of making an appointment is for being provided with the keyboard light status command, and correspondingly, described the 3rd performance element specifically is used for after described installation procedure installs, and sends the keyboard light status command is set.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
Mutual by intelligent cipher key equipment provided by the invention and computing machine, during the autorun function conductively-closed that has solved at Windows, intelligent cipher key equipment can not be realized the problem of installing automatically, for intelligent cipher key equipment is realized installing automatically providing convenience.
Description of drawings
Fig. 1 is that the intelligent cipher key equipment that the embodiment of the invention 1 provides is realized the method flow diagram of installation automatically;
Fig. 2 is that the intelligent cipher key equipment that the embodiment of the invention 2 provides is realized the method flow diagram of installation automatically;
Fig. 3 is that the intelligent cipher key equipment that the embodiment of the invention 3 provides is realized the method flow diagram of installation automatically;
Fig. 4 is that the intelligent cipher key equipment that the embodiment of the invention 4 provides is realized the system schematic of installation automatically;
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
In following examples, the definite key on the keyboard (being enter key) is represented with " enter " windows logo key represents that with " windows " wherein, any two Macintoshs that key is pressed simultaneously trigger simultaneously as " A " key, " B " key, represent with A+B.
Those skilled in the art can be known: the sequence that complete keyboard message sequence is made up of three message codes, and wherein, above-mentioned message code is respectively: connect sign indicating number, key scan sign indicating number and release code;
For example, when Macintosh (as A+B) when being pressed, corresponding key message is: connect sign indicating number-connection sign indicating number-button A sweep sign indicating number-button B scan code-release code-release code.
In following examples, the method that script is converted to the keyboard message sequence specifically:
Step 1: the character in the script is mapped as corresponding scan code;
Step 2:, then before and after scan code, add respectively and connect sign indicating number and release code if conversion is independent button; If conversion is Macintosh, then before and after the scan code sequence, add the connection sign indicating number and the release code of respective number respectively;
Step 3: if the button that will change in addition, execution in step 2; Otherwise, convert.
Embodiment 1
In order to solve in the prior art, because when the conductively-closed of the autorun of operating system function, autorun type intelligent cipher key equipment can not be realized the problem of installation automatically, the embodiment of the invention provides a kind of intelligent cipher key equipment to realize the method for installing automatically, referring to Fig. 1, this method thes contents are as follows:
Step 101: intelligent cipher key equipment and computing machine connect;
Step 102: intelligent cipher key equipment is stated certainly as the USB keyboard equipment to computing machine;
Step 103: intelligent cipher key equipment sends the predefined first keyboard message sequence to computing machine, starts running environment;
Wherein, this predefined first keyboard message sequence is specifically as follows: attempt the keyboard message sequence that startup command line operate mode instruction is converted to.
Step 104: after having started running environment, the directive script of the operation installation procedure that intelligent cipher key equipment will be stored in advance is converted to the second keyboard message sequence, and sends to computing machine;
Wherein, above-mentioned directive script is specifically as follows: the binary coding that the installation procedure compiling generates; Or, be used for open any browser, the command line instructions of visit URL.
Step 105: intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, the operation installation procedure.
Wherein, above-mentioned the 3rd keyboard message sequence is the keyboard message sequence that the script of predefined trial activation installation procedure converts to, is specifically as follows: the keyboard message sequence that " enter " command conversion becomes.
Step 106: intelligent cipher key equipment judges whether installation procedure installs; If then execution in step 107; Otherwise, execution in step 108.
Wherein, when installation procedure in computing machine installs, when starting with this installation procedure corresponding application, this application program started can send the message of making an appointment to intelligent cipher key equipment, this message that message can receive for this intelligent cipher key equipment of making an appointment, this message specifically are that the keyboard light status command is set; Correspondingly, above-mentioned intelligent cipher key equipment is judged whether installation procedure installs to judging whether to receive the message of making an appointment, be specially to judge whether to receive keyboard is set.The embodiment of the invention does not limit the specific implementation of the above-mentioned message of making an appointment, and can also be the mode of other type.Present embodiment is specially with this message of making an appointment that the keyboard light status command is set is that example describes.
Step 107: intelligent cipher key equipment switches to the required device descriptor of operate as normal with the equipment of itself descriptor after judging that installation procedure installs, and states from as the operate as normal corresponding apparatus to computing machine, enters normal mode of operation.
Wherein, the required equipment of above-mentioned operate as normal comprises HID equipment, CCID equipment or scsi device.
Correspondingly, the required equipment of operate as normal is realized communicating by letter by HID agreement, CCID agreement or SCSI agreement with computing machine.
Step 108: intelligent cipher key equipment continues to wait for.
Wherein, this intelligent cipher key equipment of relating to of the embodiment of the invention can be used for data are encrypted or signed.
To sum up, the method that provides by the embodiment of the invention, mutual by intelligent cipher key equipment and computing machine is during the autorun function conductively-closed that has solved at Windows, intelligent cipher key equipment can not be realized the problem of installation automatically, for intelligent cipher key equipment is realized installing automatically providing convenience.
For the method that the embodiment of the invention is provided is elaborated, see also following embodiment.
Embodiment 2
Referring to Fig. 2, the embodiment of the invention provides a kind of intelligent cipher key equipment to realize the method for installing automatically, it is example that present embodiment is specially USB Key with intelligent cipher key equipment, and being specially the binary coding that the installation procedure compiling generates at the directive script of the operation installation procedure of this intelligent cipher key equipment USB Key storage is that example describes, and sees for details as follows:
Step 201, USB Key are connected on the computing machine;
Step 202, USB Key state certainly as the USB keyboard equipment to computing machine;
Step 203, USB Key send the first keyboard message sequence to computing machine, startup command line operate pattern;
In the present embodiment, the enter key on the keyboard is represented with " enter ".This first keyboard message sequence is specially: with the keyboard message sequence that the Macintosh of windows logo key and alphabetical r key is converted to, as follows:
// open the " RUN " window
“windows”+r
// startup command line operate pattern
cmd
“enter”
Wherein, the above-mentioned first keyboard message sequence is used for startup command line operate pattern, and the keyboard message sequence that present embodiment is converted to the Macintosh with windows logo key and alphabetical r key is that the first keyboard message sequence is that example describes.The embodiment of the invention does not limit the specific implementation form to the above-mentioned first keyboard message sequence acquisition mode, can also be the form of other type.
Step 204, USB Key convert the script (comprising newline wherein) that prestores to second keyboard message sequence, and send to computing machine;
Wherein, at the above-mentioned script that prestores, at present embodiment is that the binary coding that the installation procedure compiling generates is that example describes with this script that prestores specifically, referring to as follows: in the present embodiment, installation procedure is setup.exe, correspondingly, can obtain the binary coding of this installation procedure setup.exe by following VBscript script:
fp=wscript.arguments(0)
fn=right(fp,len(fp)-instrrev(fp,"\"))
with?createobject("adodb.stream")
.type=1:.open:.loadfromfile?fp:str=.read:sl=lenb(str)
end?with
sll=sl?mod?65536:slh=sl\65536
with?createobject("scripting.filesystemobject").opentextfile(fp&".bat",2,true)
.write"@echo?str="""
for?i=1?to?sl
bt=ascb(midb(str,i,1))
if?bt<16?then.write"0"
.write?hex(bt)
if?i?mod?128=0?then.write"""_>>debug.vbs"+vbcrlf+"@echo+"""
next
.writeline""">>debug.vbs"+vbcrlf+"@echo?with?wscript.stdout:r=vbcrlf"_
+":for?i=1?to?len(str)step?48:.write""e""+hex(256+(i-1)/2)"_
+":for?j=i?to?i+46?step?2:.write""""+mid(str,j,2):next:.write?r:next>>debug.vbs"
.writeline"@echo.write""rbx""+r+"""+hex(slh)+"""+r+""rcx""+r+"""+hex(sll)_
+"""+r+""n?debug.tmp""+r+""w""+r+""q""+r:end?with"_
+">>debug.vbs&&cscript//nologo?debug.vbs|debug.exe>nul&&ren?debug.tmp
"""&fn&"""&del?debug.vbs"
end?with
Above-mentioned code is saved as the script file (as transfer.vbs) of .vbs ending
Move this script with command line mode:
cscript?transfer.vbs?setup.exe
Just can in the new files of seup.exe.bat by name, obtain binary coding behind the end of run.When depositing binary coding in USB Key, newline wherein also deposits in the lump.
Wherein, except by the above-mentioned VB script, also can directly start debug.exe, the machine code of input installation file, utilize parameter A to obtain binary coding, the embodiment of the invention does not limit this installation procedure compiling and obtains binary-coded specific implementation and method.
Step 205, USB Key send the 3rd keyboard message sequence (the keyboard message sequence of " enter ") and give computing machine, and installation procedure brings into operation at computing machine;
Wherein, the keyboard message sequence of this " enter " is used to move installation procedure.The embodiment of the invention does not limit the specific implementation form to above-mentioned the 3rd keyboard message sequence acquisition mode, can also be the form of other type.
Step 206, USB Key judge whether to receive and return the message of making an appointment, if then execution in step 207; Otherwise, execution in step 208.
Wherein, after the installation procedure operation finished in the computing machine, when starting with this installation procedure corresponding application program, this application program started can be returned the message of making an appointment to USB Key, and wherein, this information of making an appointment can be for being provided with the keyboard state instruction.
Step 207, USB Key receive after installation procedure installs, after the message of making an appointment that application program started is returned, the device descriptor of USB Key is switched to the required device descriptor of operate as normal, message to the required equipment insertion of computing machine report operate as normal, and statement enters normal mode of operation from as the required equipment of operate as normal.
The required equipment of this operate as normal comprises HID equipment, scsi device or CCID equipment; Correspondingly, pass through HID agreement, SCSI agreement between equipment that this operate as normal is required and the computing machine, or the CCID agreement communicates.Preferably, in the present embodiment, be that HID equipment is example with the required equipment of this operate as normal, correspondingly, the required equipment of this operate as normal and this computing machine communicate by the HID agreement.
Step 208, USB Key continue to wait for.
To sum up, the method that provides by the embodiment of the invention, mutual by intelligent cipher key equipment and computing machine is during the autorun function conductively-closed that has solved at Windows, intelligent cipher key equipment can not be realized the problem of installation automatically, for intelligent cipher key equipment is realized installing automatically providing convenience.
Embodiment 3
Referring to Fig. 3, the embodiment of the invention provides a kind of intelligent cipher key equipment to realize the method for installing automatically, it is example that present embodiment is specially USB Key with intelligent cipher key equipment, and the directive script at the operation installation procedure of this intelligent cipher key equipment USB Key storage is specially open any browser, the command line instructions of visit URL is that example describes, and sees for details as follows:
Step 301, USB Key are connected on the computing machine;
Step 302, USB Key state certainly as the USB keyboard equipment to computing machine;
Step 303, USB Key send the first keyboard message sequence to computing machine, startup command line operate pattern;
Wherein, in the present embodiment, the enter key on the keyboard is represented with " enter ".This first keyboard message sequence is specially:
// open the " RUN " window
“windows”+r
// startup command line operate pattern
cmd
“enter”
Step 304, USB Key convert the script that prestores to second keyboard message sequence, and send to computing machine;
Wherein, present embodiment is specially open any browser with the directive script of the operation installation procedure of this USB Key storage, and the command line instructions of visit URL is the explanation that example is carried out, and above-mentioned instruction is specially:
explorer? http://www.example.com
Wherein, Http:// www.example.comThe web page address of to be embedded the have control of automatic download and operation installation procedure.
The particular content that calls control in the webpage is:
<object?CLASSID=′clsid:4DE03A9C-D725-4514-84BA-6A7388E8FC42′
CODEBASE=′files/install.cab#Version=1,00,0000′BORDER=0?VSPACE=0?HSPACE=0
ALIGN=TOP?HEIGHT=0%?WID?TH=0%></object>
Install.cab wherein is exactly an installation procedure.
Step 305, USB Key send the keyboard message sequence of " enter " and give computing machine (claiming that this keyboard message sequence is the 3rd keyboard message sequence), computer starting browser access Http:// www.example.com, download and install program and at this installation procedure of computer run;
Step 306, USB Key judge whether to receive the message of returning of making an appointment, if then execution in step 307; Otherwise, execution in step 308.
Wherein, in the present embodiment, when installation procedure in computing machine, move finish after, the corresponding application of startup can send to this USB Key be provided with the keyboard light status command, correspondingly, the above-mentioned message of making an appointment is for being provided with the keyboard light status command.
Step 307, USB Key receive after installation procedure installs, after the message of making an appointment that the corresponding application that starts is returned, the device descriptor of USB Key is switched to the required device descriptor of operate as normal, message to the required equipment insertion of computing machine report operate as normal, and statement enters normal mode of operation from as the required equipment of operate as normal.
Wherein, the required equipment of this operate as normal comprises HID equipment, CCID equipment or scsi device; Correspondingly, by the HID agreement, CCID agreement or SCSI agreement communicate between equipment that this operate as normal is required and the computing machine.Preferably, in the present embodiment, be scsi device; Communicate by the SCSI agreement between equipment that this operate as normal is required and the computing machine.
Step 308, USB Key continue to wait for.
To sum up, the method that the embodiment of the invention provides, mutual by intelligent cipher key equipment and computing machine is during the autorun function conductively-closed that has solved at Windows, intelligent cipher key equipment can not be realized the problem of installation automatically, for intelligent cipher key equipment is realized installing automatically providing convenience.
Embodiment 4
Referring to Fig. 4, the embodiment of the invention provides a kind of intelligent cipher key equipment to realize the system of installing automatically, and system comprises: intelligent cipher key equipment 401 and computing machine 402; Wherein, intelligent cipher key equipment 401 comprises communication module 4011, and declaration module 4012 is preserved module 4013 and sending module 4014;
Communication module 4011 is used to realize the establishment of connection of intelligent cipher key equipment 401 and computing machine 402;
Declaration module 4012 is used for after intelligent cipher key equipment 401 and computing machine 402 connect, intelligent cipher key equipment 401 to computing machine 402 statements from as USB (universal serial bus) (USB) keyboard equipment;
Preserve module 4013, be used for the directive script of storage running installation procedure in advance;
Sending module 4014 is used to realize that intelligent cipher key equipment 401 sends the predefined first keyboard message sequence to computing machine 402, and the first keyboard message sequence is used to start the running environment of computing machine 402; Also be used for after starting running environment, the directive script that intelligent cipher key equipment 401 will be preserved the operation installation procedure that module 4013 stores in advance is converted to the second keyboard message sequence, and the second keyboard message sequence is sent to computing machine 402; Be used to also realize that intelligent cipher key equipment 401 sends predefined the 3rd keyboard message sequence to computing machine 402, the 3rd keyboard message sequence is used to move installation procedure;
Judge module 4015 is used to judge whether to receive installation procedure and installs the message of making an appointment that the back corresponding application that starts is returned;
Wherein, when in computing machine 402, after the installation procedure operation finishes, when starting with this installation procedure corresponding application program, this application program started can be returned the message of making an appointment to intelligent cipher key equipment, and this message of making an appointment is specifically as follows the keyboard light status command is set.
First processing module 4016, be used for judging and receive above-mentioned making an appointment during message when judge module 4015, realize that intelligent cipher key equipment 401 switches to the required device descriptor of operate as normal with the equipment of itself descriptor, and to computing machine 402 statement from as the operate as normal corresponding apparatus, enter normal mode of operation;
Second processing module 4017 is used for judging when judge module 4015 not receiving above-mentioned making an appointment during message, realizes that intelligent cipher key equipment 401 continues to wait for;
Wherein, computing machine 402 comprises: communication module 4021, receiver module 4022 and execution module 4023;
The communication module 4021 of computing machine is used to realize the establishment of connection of computing machine 402 and intelligent cipher key equipment 401;
Receiver module 4022 is used to receive the first keyboard message sequence, the second keyboard message sequence and the 3rd keyboard message sequence that the sending module 4014 of intelligent cipher key equipment 401 sends;
Execution module 4023 is used for the keyboard message sequence according to receiver module 4022 receptions, carries out the corresponding action of handling.
Wherein, preserving module 4013 specifically comprises:
Be used to preserve the binary-coded unit that the installation procedure compiling generates; Or,
Be used for preserving and be used for open any browser, the unit of the command line instructions of visit URL.
Wherein, execution module 4023 specifically comprises:
First performance element is used for the first keyboard message sequence according to receiver module 4022 receptions, starts the running environment of computing machine 402;
Second performance element is used for the second keyboard message sequence according to receiver module 4022 receptions, obtains the directive script of the operation installation procedure of storage in advance;
The 3rd performance element is used for the 3rd keyboard message sequence that receives according to receiver module 4022, carries out the operation installation procedure, and realizes that this installation procedure installs the corresponding application that the back starts and returns the message of making an appointment to intelligent cipher key equipment.
Wherein, the above-mentioned message of making an appointment is for being provided with the keyboard light status command, and correspondingly, the 3rd performance element of computing machine 402 is concrete, is used for after installation procedure installs, and sends the keyboard light status command is set.
To sum up, the system that the embodiment of the invention provides is mutual by intelligent cipher key equipment and computing machine, during the autorun function conductively-closed that solved at Windows, intelligent cipher key equipment can not be realized the problem of installing automatically, for intelligent cipher key equipment is realized installing automatically providing convenience.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1, a kind of intelligent cipher key equipment is realized the method for installation automatically, it is characterized in that described method comprises:
Intelligent cipher key equipment and computing machine connect;
Described intelligent cipher key equipment is stated certainly as the universal series bus key disc apparatus to described computing machine;
Described intelligent cipher key equipment sends the predefined first keyboard message sequence to described computing machine, and the described first keyboard message sequence is used to start the running environment of described computing machine;
After starting described running environment, the directive script of the operation installation procedure that described intelligent cipher key equipment will be stored in advance is converted to the second keyboard message sequence, and the described second keyboard message sequence is sent to described computing machine;
Described intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, and described the 3rd keyboard message sequence is used to move installation procedure;
Described intelligent cipher key equipment waits for and receives the message of making an appointment that the described message of making an appointment is that application program started is returned after installation procedure installs;
After described intelligent cipher key equipment receives the described message of making an appointment, described intelligent cipher key equipment switches to the required device descriptor of operate as normal with the equipment of itself descriptor, and to the statement of described computing machine from as the operate as normal corresponding apparatus, enter normal mode of operation.
2, the method for claim 1 is characterized in that, the described predefined first keyboard message sequence specifically comprises: will attempt the keyboard message sequence that startup command line operate mode instruction is converted to;
Described predefined the 3rd keyboard message sequence specifically comprises:
The keyboard message sequence that the script that attempt to activate installation procedure is converted to.
3, method as claimed in claim 2 is characterized in that,
Describedly will attempt the keyboard message sequence that startup command line operate mode instruction is converted to, specifically comprise: the keyboard message sequence that the Macintosh of windows logo key and alphabetical r key is converted to;
The keyboard message sequence that the described script that will attempt activating installation procedure is converted to specifically comprises: the keyboard message sequence that acknowledgement key enter command conversion is obtained.
4, the method for claim 1 is characterized in that, the described directive script of the operation installation procedure of storage in advance specifically comprises:
The binary coding that the installation procedure compiling generates; Or,
Be used for open any browser, the command line instructions of visit URL.
5, the method for claim 1 is characterized in that, describedly makes an appointment message specifically:
The keyboard light status command is set.
6, the method for claim 1 is characterized in that, described operate as normal corresponding apparatus specifically comprises:
HID equipment; Or,
CCID equipment; Or,
Scsi device.
7, a kind of intelligent cipher key equipment is realized the system of installation automatically, it is characterized in that described system comprises: intelligent cipher key equipment and computing machine;
Described intelligent cipher key equipment comprises communication module, declaration module, preservation module, sending module, judge module, first processing module and second processing module;
The communication module of described intelligent cipher key equipment is used to realize described intelligent cipher key equipment and described computing machine establishment of connection;
Described declaration module is used for after described intelligent cipher key equipment and described computing machine connect, and states that to described computing machine described intelligent cipher key equipment is from as the universal series bus key disc apparatus;
Described preservation module is used for the directive script of storage running installation procedure in advance;
Described sending module is used to realize that described intelligent cipher key equipment sends the predefined first keyboard message sequence to described computing machine, and the described first keyboard message sequence is used to start the running environment of described computing machine; Also be used for after starting described running environment, described intelligent cipher key equipment is converted to the second keyboard message sequence with the directive script of the operation installation procedure that described preservation module is stored in advance, and the described second keyboard message sequence is sent to described computing machine; Be used to also realize that described intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, described the 3rd keyboard message sequence is used to move installation procedure;
Described judge module, after being used to judge whether to receive installation procedure and installing, the message of making an appointment that application program started is returned;
Described first processing module, be used for judging and receive described making an appointment during message when described judge module, realize that described intelligent cipher key equipment switches to the required device descriptor of operate as normal with the equipment of itself descriptor, and to the statement of described computing machine from as the operate as normal corresponding apparatus, enter normal mode of operation;
Described second processing module is used for judging when described judge module not receiving described making an appointment during message, realizes that described intelligent cipher key equipment continues to wait for;
Described computing machine comprises: communication module, receiver module and execution module;
The communication module of described computing machine is used to realize described computing machine and described intelligent cipher key equipment establishment of connection;
Described receiver module is used to receive the first keyboard message sequence, the second keyboard message sequence and the 3rd keyboard message sequence that the sending module of described intelligent cipher key equipment sends;
Described execution module is used for the keyboard message sequence according to described receiver module reception, carries out the corresponding action of handling.
8, system as claimed in claim 7 is characterized in that, described preservation module specifically comprises:
Be used to preserve the binary-coded preservation unit that the installation procedure compiling generates, or, be used for preservation and be used for open any browser, the preservation unit of the command line instructions of visit URL.
9, system as claimed in claim 7 is characterized in that, described execution module specifically comprises:
First performance element is used for the first keyboard message sequence according to described receiver module reception, starts the running environment of described computing machine;
Second performance element is used for the second keyboard message sequence according to described receiver module reception, obtains the directive script of the operation installation procedure of storage in advance;
The 3rd performance element is used for the 3rd keyboard message sequence that receives according to described receiver module, carries out the operation installation procedure, and is implemented in described installation procedure and installs the back application program started and return the message of making an appointment to described intelligent cipher key equipment.
CN2008102232474A 2008-09-28 2008-09-28 Method and system for implementing automatic installation of intelligent cipher key equipment Active CN101382903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008102232474A CN101382903B (en) 2008-09-28 2008-09-28 Method and system for implementing automatic installation of intelligent cipher key equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008102232474A CN101382903B (en) 2008-09-28 2008-09-28 Method and system for implementing automatic installation of intelligent cipher key equipment

Publications (2)

Publication Number Publication Date
CN101382903A true CN101382903A (en) 2009-03-11
CN101382903B CN101382903B (en) 2012-04-18

Family

ID=40462756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008102232474A Active CN101382903B (en) 2008-09-28 2008-09-28 Method and system for implementing automatic installation of intelligent cipher key equipment

Country Status (1)

Country Link
CN (1) CN101382903B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102396185A (en) * 2009-04-17 2012-03-28 株式会社Log Apparatus and method for identifying an access terminal
CN102663315A (en) * 2012-03-28 2012-09-12 深圳市江波龙电子有限公司 Authentication method of computer system and computer system
CN102799457A (en) * 2012-07-24 2012-11-28 广州视睿电子科技有限公司 Portable terminal and method for self-running software program of portable terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2896370Y (en) * 2006-03-14 2007-05-02 北京飞天诚信科技有限公司 Intelligent key device
CN100454321C (en) * 2006-04-29 2009-01-21 北京飞天诚信科技有限公司 USB device with data memory and intelligent secret key and control method thereof
CN100462949C (en) * 2007-02-12 2009-02-18 北京飞天诚信科技有限公司 Automatic-installable information safety equipment and control method thereof
CN101212303B (en) * 2007-12-24 2010-10-13 北京飞天诚信科技有限公司 Dynamic password output method, dynamic password generation method and device
CN101221511A (en) * 2008-01-25 2008-07-16 中兴通讯股份有限公司 Automatic installation and upgrading method of terminal unit application software

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102396185A (en) * 2009-04-17 2012-03-28 株式会社Log Apparatus and method for identifying an access terminal
CN102663315A (en) * 2012-03-28 2012-09-12 深圳市江波龙电子有限公司 Authentication method of computer system and computer system
CN102663315B (en) * 2012-03-28 2015-04-22 深圳市江波龙电子有限公司 Authentication method of computer system and computer system
CN102799457A (en) * 2012-07-24 2012-11-28 广州视睿电子科技有限公司 Portable terminal and method for self-running software program of portable terminal

Also Published As

Publication number Publication date
CN101382903B (en) 2012-04-18

Similar Documents

Publication Publication Date Title
CN101382904B (en) Method and system for implementing automatic installation of intelligent cipher key equipment
Kim et al. ScanDal: Static analyzer for detecting privacy leaks in android applications
Reina et al. A system call-centric analysis and stimulation technique to automatically reconstruct android malware behaviors
US20180211046A1 (en) Analysis and control of code flow and data flow
US8090959B2 (en) Method and apparatus for protecting .net programs
CN107992308B (en) Plug-in management method for android terminal application program
CN102254113A (en) Method and system for detecting and intercepting malicious code of mobile terminal
EP2336882A1 (en) Technique for run-time provision of executable code using off-device services
JP2012529686A (en) Implementation method, operation method, and system for data card driver without installation
EP2364481A1 (en) Method for securing java bytecode.
CN104572564A (en) Method for realizing communication of Android mobile equipment and USB OTG (On-The-Go) host computer
CN102622439A (en) Method and device for displaying document in browser
KR100654428B1 (en) System for improving transaction rate of java program and method thereof
CN105718171A (en) Data processing method and terminal
CN101308465A (en) Local resource access method and device
CN101382903B (en) Method and system for implementing automatic installation of intelligent cipher key equipment
Wallentowitz et al. Potential of webassembly for embedded systems
JP2006276939A (en) Program starting method for virtual machine, and client server system
CN113434217B (en) Vulnerability scanning method, vulnerability scanning device, computer equipment and medium
CN112597053A (en) User interface automatic testing method and device with safety control
CN114491557A (en) Java memory Trojan horse threat detection method based on container environment
CN107450946B (en) Chrome webpage and terminal software communication method, equipment and storage medium
Casolare et al. 2 Faces: a new model of malware based on dynamic compiling and reflection
CN101324900B (en) Method, device and system for opening graphics user interface
CN110737911A (en) Data processing method, device and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant