CN101382903B - 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
CN101382903B
CN101382903B CN2008102232474A CN200810223247A CN101382903B CN 101382903 B CN101382903 B CN 101382903B CN 2008102232474 A CN2008102232474 A CN 2008102232474A CN 200810223247 A CN200810223247 A CN 200810223247A CN 101382903 B CN101382903 B CN 101382903B
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.)
Active
Application number
CN2008102232474A
Other languages
Chinese (zh)
Other versions
CN101382903A (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.)
Feitian Technologies Co Ltd
Beijing Feitian Technologies Co Ltd
Original Assignee
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 Feitian Technologies Co Ltd filed Critical 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 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, like animation, sound etc.
AutoPlay function (autorun) is USB (Universal Serial BUS; USB)-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.
The high speed development of Along with 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 (like autorun virus), hacker's appearance causes very big threat to online comings and goings; And the existence of the AutoPlay function that computer operating system is supported has been made certain chance to these threats undoubtedly, even becomes hacker's accomplice; Therefore, a lot of users or Windows security protection program often shield the autorun function of Windows operating system from considerations such as safety; But 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 following:
On the one hand, provide a kind of intelligent cipher key equipment to realize the method for installing automatically, said method comprises:
Intelligent cipher key equipment and computing machine connect;
Said intelligent cipher key equipment is stated certainly as USB (USB) keyboard equipment to said computing machine;
Said intelligent cipher key equipment sends the predefined first keyboard message sequence to said computing machine, and the said first keyboard message sequence is used to start the running environment of said computing machine;
After starting said running environment, the directive script of the operation installation procedure that said intelligent cipher key equipment will be stored in advance is converted to the second keyboard message sequence, and the said second keyboard message sequence is sent to said computing machine;
Said intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, and said the 3rd keyboard message sequence is used to move installation procedure;
Said intelligent cipher key equipment waits for and receives the message of making an appointment that the said message of making an appointment is that application program started was returned after installation procedure installed;
After said intelligent cipher key equipment receives the said message of making an appointment; Said 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 said computing machine from as the operate as normal corresponding apparatus, get into normal mode of operation;
Wherein, the said predefined first keyboard message sequence specifically comprises: will attempt the keyboard message sequence that startup command line operate mode instruction is converted to;
Wherein, saidly 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.
Said 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 said 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 said 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 said message of making an appointment specifically comprises:
The keyboard light status command is set.
Wherein, said 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, said system comprises: the intelligent cipher key equipment computing machine;
Said intelligent cipher key equipment comprises communication module, declaration module, preservation module, sending module, judge module, first processing module and second processing module;
Said communication module is used to realize said intelligent cipher key equipment and said computing machine establishment of connection;
Said declaration module is used for after said intelligent cipher key equipment and said computing machine connect, and states that to said computing machine said intelligent cipher key equipment is from as USB (USB) keyboard equipment;
Said preservation module is used for the directive script of storage running installation procedure in advance;
Said sending module is used to realize that said intelligent cipher key equipment sends the predefined first keyboard message sequence to said computing machine, and the said first keyboard message sequence is used to start the running environment of said computing machine; Also be used for after starting said running environment, said intelligent cipher key equipment is converted to the second keyboard message sequence with the directive script of the operation installation procedure that said preservation module is stored in advance, and the said second keyboard message sequence is sent to said computing machine; Be used to also realize that said intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, said 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 said making an appointment during message when said judge module; Realize that said 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 said computing machine from as the operate as normal corresponding apparatus, get into normal mode of operation;
Second processing module is used for judging when said judge module not receiving said making an appointment during message, realizes that said intelligent cipher key equipment continues to wait for;
Said computing machine comprises: communication module, receiver module and execution module;
The communication module of said computing machine is used to realize said computing machine and said intelligent cipher key equipment establishment of connection;
Said 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 said intelligent cipher key equipment sends;
Said execution module is used for the keyboard message sequence according to said receiver module reception, carries out the corresponding action of handling.
Further, said intelligent cipher key equipment also comprises:
Wherein, said 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, said execution module specifically comprises:
First performance element is used for the first keyboard message sequence according to said receiver module reception, starts the running environment of said computing machine;
Second performance element is used for the second keyboard message sequence according to said 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 said receiver module, carries out the operation installation procedure, and is implemented in said installation procedure and installs the back application program started and return the message of making an appointment to said 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, said the 3rd performance element specifically is used for after said 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 through 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 object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
In following examples, with " enter " expression, windows logo key is with " windows " expression with the definite key on the keyboard (being enter key), and wherein, any two Macintoshs that key is pressed simultaneously trigger like " A " key, " B " key simultaneously, 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 (like 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 converts script into 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 specifically can for: 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 converts the second keyboard message sequence into, and sends to computing machine;
Wherein, the above-mentioned directive script binary coding that specifically can generate for the compiling of: installation procedure; 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 that predefined trial activates the keyboard message sequence that the script of installation procedure converts to, specifically can be 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 be sent the message of making an appointment to intelligent cipher key equipment, and 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 concrete 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, gets into 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 through 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 through the embodiment of the invention, mutual through 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 concrete way of realization 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 that prestores (comprising newline wherein) to second keyboard message sequence, and send to computing machine;
Wherein, To the above-mentioned script that prestores; At present embodiment is that the binary coding that installation procedure compiling generates is that example describes with this script that prestores specifically, and 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 through 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)
ifi?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 (like 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 through the above-mentioned VB script, also can directly start debug.exe, the machine code of file is installed in input; Utilize parameter A to obtain binary coding, the embodiment of the invention does not limit this installation procedure compiling and obtains binary-coded concrete 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 concrete way of realization 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; To the message of the required equipment insertion of computing machine report operate as normal, and statement gets into 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 through the HID agreement.
Step 208, USB Key continue to wait for.
To sum up; The method that provides through the embodiment of the invention, mutual through 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, and 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=0VSPACE=0HSPACE=0ALIGN=TOP?HEIGHT=0%WIDTH=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 be sent 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; To the message of the required equipment insertion of computing machine report operate as normal, and statement gets into 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, through 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 through 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 through 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, and intelligent cipher key equipment 401 is stated certainly as USB (USB) keyboard equipment to computing machine 402;
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 specifically can be for being provided with the keyboard light status command.
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, get into 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 through 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 is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, 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. an intelligent cipher key equipment is realized the method for installation automatically, it is characterized in that said method comprises:
Intelligent cipher key equipment and computing machine connect;
Said intelligent cipher key equipment is stated certainly as the universal series bus key disc apparatus to said computing machine;
Said intelligent cipher key equipment sends the predefined first keyboard message sequence to said computing machine, and the said first keyboard message sequence is used to start the running environment of said computing machine;
After starting said running environment, the directive script of the operation installation procedure that said intelligent cipher key equipment will be stored in advance is converted to the second keyboard message sequence, and the said second keyboard message sequence is sent to said computing machine;
Said intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, and said the 3rd keyboard message sequence is used to move installation procedure;
Said intelligent cipher key equipment waits for and receives the message of making an appointment that the said message of making an appointment is that application program started is returned after installation procedure installs;
After said intelligent cipher key equipment receives the said message of making an appointment; Said 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 said computing machine from as the operate as normal corresponding apparatus, get into normal mode of operation.
2. the method for claim 1 is characterized in that, the said predefined first keyboard message sequence specifically comprises: will attempt the keyboard message sequence that startup command line operate mode instruction is converted to;
Said 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,
Saidly 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 said 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 said 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, saidly makes an appointment message specifically:
The keyboard light status command is set.
6. the method for claim 1 is characterized in that, said operate as normal corresponding apparatus specifically comprises:
HID equipment; Or,
CCID equipment; Or,
Scsi device.
7. the system that intelligent cipher key equipment is realized installing automatically is characterized in that said system comprises: intelligent cipher key equipment and computing machine;
Said 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 said intelligent cipher key equipment is used to realize said intelligent cipher key equipment and said computing machine establishment of connection;
Said declaration module is used for after said intelligent cipher key equipment and said computing machine connect, and states that to said computing machine said intelligent cipher key equipment is from as the universal series bus key disc apparatus;
Said preservation module is used for the directive script of storage running installation procedure in advance;
Said sending module is used to realize that said intelligent cipher key equipment sends the predefined first keyboard message sequence to said computing machine, and the said first keyboard message sequence is used to start the running environment of said computing machine; Also be used for after starting said running environment, said intelligent cipher key equipment is converted to the second keyboard message sequence with the directive script of the operation installation procedure that said preservation module is stored in advance, and the said second keyboard message sequence is sent to said computing machine; Be used to also realize that said intelligent cipher key equipment sends predefined the 3rd keyboard message sequence to computing machine, said the 3rd keyboard message sequence is used to move installation procedure;
Said 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;
Said first processing module; Be used for judging and receive said making an appointment during message when said judge module; Realize that said 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 said computing machine from as the operate as normal corresponding apparatus, get into normal mode of operation;
Said second processing module is used for judging when said judge module not receiving said making an appointment during message, realizes that said intelligent cipher key equipment continues to wait for;
Said computing machine comprises: communication module, receiver module and execution module;
The communication module of said computing machine is used to realize said computing machine and said intelligent cipher key equipment establishment of connection;
Said 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 said intelligent cipher key equipment sends;
Said execution module is used for the keyboard message sequence according to said receiver module reception, carries out the corresponding action of handling.
8. system as claimed in claim 7 is characterized in that, said 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, said execution module specifically comprises:
First performance element is used for the first keyboard message sequence according to said receiver module reception, starts the running environment of said computing machine;
Second performance element is used for the second keyboard message sequence according to said 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 said receiver module, carries out the operation installation procedure, and is implemented in said installation procedure and installs the back application program started and return the message of making an appointment to said 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 CN101382903A (en) 2009-03-11
CN101382903B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100924391B1 (en) * 2009-04-17 2009-11-03 주식회사 로그 Apparatus and method for identifying user terminal
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 automatically operating software program by portable terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838142A (en) * 2006-04-29 2006-09-27 北京飞天诚信科技有限公司 USB device with data memory and intelligent secret key and control method thereof
CN2896370Y (en) * 2006-03-14 2007-05-02 北京飞天诚信科技有限公司 Intelligent key device
CN101013406A (en) * 2007-02-12 2007-08-08 北京飞天诚信科技有限公司 Automatic-installable information safety equipment and control method thereof
CN101212303A (en) * 2007-12-24 2008-07-02 北京飞天诚信科技有限公司 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

Patent Citations (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
CN1838142A (en) * 2006-04-29 2006-09-27 北京飞天诚信科技有限公司 USB device with data memory and intelligent secret key and control method thereof
CN101013406A (en) * 2007-02-12 2007-08-08 北京飞天诚信科技有限公司 Automatic-installable information safety equipment and control method thereof
CN101212303A (en) * 2007-12-24 2008-07-02 北京飞天诚信科技有限公司 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

Also Published As

Publication number Publication date
CN101382903A (en) 2009-03-11

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
CN108475217B (en) System and method for auditing virtual machines
US8090959B2 (en) Method and apparatus for protecting .net programs
US20180211046A1 (en) Analysis and control of code flow and data flow
CN102254113A (en) Method and system for detecting and intercepting malicious code of mobile terminal
EP2364481A1 (en) Method for securing java bytecode.
CN100590597C (en) Local resource access method and device
CN102622439A (en) Method and device for displaying document in browser
KR100654428B1 (en) System for improving transaction rate of java program and method thereof
WO2022017242A1 (en) Method and apparatus for running second system application in first system, device, and medium
CN114116134A (en) Intelligent contract deployment and execution method, equipment and storage medium
CN105718171A (en) Data processing method and terminal
Wallentowitz et al. Potential of webassembly for embedded systems
CN101382903B (en) Method and system for implementing automatic installation of intelligent cipher key equipment
JP2006276939A (en) Program starting method for virtual machine, and client server system
CN113434217B (en) Vulnerability scanning method, vulnerability scanning device, computer equipment and 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
CN107450946B (en) Chrome webpage and terminal software communication method, equipment and storage medium
CN110737911A (en) Data processing method, device and computer readable storage medium
CN112114889B (en) Information processing method and device, and storage medium
CN112597053A (en) User interface automatic testing method and device with safety control
KR101019688B1 (en) Embedded system based on high level programming language

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