Summary of the invention
Fundamental purpose of the present invention is to provide a kind of software running method, device and movable storage medium, is intended to improve the carrier utilization factor of management software and the security of management software.
In order to achieve the above object, the present invention proposes a kind of software running method, comprising:
When movable storage medium inserted computing machine, the master routine that is stored in said movable storage medium general area through operation carried out the AES authentication to said movable storage medium;
After authentication is passed through,, then user identity is carried out authentication through the said software of computer run if computing machine had moved the software in the CD district that is stored in movable storage medium;
After authentication was passed through, the specified database that the user is selected copied to computing machine from the general area of movable storage medium;
When said software finishes operation, the database that uses said software to produce is saved in the general area of said movable storage medium.
Preferably, saidly user identity is carried out also comprising before the step of authentication through the said software of computer run:
If the computing machine off-duty is crossed the software in the CD district that is stored in movable storage medium, then carry out the software initialization process, the necessary program in the software in the said CD district that is stored in movable storage medium is installed to computing machine.
Preferably, the operation mode of master routine that is stored in said movable storage medium general area comprises through manual operation or through the boot that is stored in movable storage medium CD district and moving automatically.
Preferably, the said software initialization process of carrying out comprises: said software is carried out the over-network registration validation of information.
Preferably, said AES and log-on message are stored in the hidden area of said movable storage medium.
Preferably, this method also comprises:
When the master routine that is stored in said movable storage medium general area damages or loses, said master routine is updated to said movable storage medium general area through the recovery routine that is stored in said movable storage medium CD district.
Preferably, the said database that will use software to produce also comprises after being saved in the step of general area of said movable storage medium:
The database that uses said software to produce is backed up.
The present invention also proposes a kind of running software device, comprising:
The encrypting and authenticating module is used for when movable storage medium inserts computing machine, and the master routine that is stored in said movable storage medium general area through operation carries out the AES authentication to said movable storage medium;
The subscription authentication module is used for after authentication is passed through, if computing machine had moved the software in the CD district that is stored in movable storage medium, then through the said software of computer run user identity is carried out authentication;
Replication module is used for after authentication is passed through, and the specified database that the user is selected copies to computing machine from the general area of movable storage medium;
Memory module is used for when said software finishes operation, the database that uses said software to produce being saved in the general area of said movable storage medium.
Preferably, this device also comprises:
Installed module is used for when the computing machine off-duty is crossed the software in the CD district that is stored in movable storage medium, carrying out the software initialization process, and the necessary program in the software in the said CD district that is stored in movable storage medium is installed to computing machine.
Preferably, this device also comprises:
Update module is used for when the master routine that is stored in said movable storage medium general area damages or loses, through the recovery routine that is stored in said movable storage medium CD district said master routine being updated to said movable storage medium general area.
Preferably, this device also comprises:
Backup module is used for the database that uses said software to produce is backed up.
The present invention also proposes a kind of movable storage medium, comprises aforesaid running software device.
A kind of software running method, device and movable storage medium that the present invention proposes; Through management software is stored in the movable storage medium; When the management software installation and operation, need carry out the AES authentication and management software is carried out registration acknowledgement message movable storage medium, improved the security of management software; And when software finishes operation; Also can be in movable storage medium with the database storing that produces, the movable storage medium of encryption has multinomial functions such as software carrier, software security dog, the preservation of software directional data and common U disk, has improved the utilization factor and the product quality of the carrier of management software greatly; Reduced the cost of software vendor, production needs the outsourcing platen and the problem of the product that can not upgrade in time thereby solved.And the movable storage medium plug and play can realize the removable office of software, and software, data, storage can arbitrarily be carried, and is a kind of mobile product off the net that more is suitable for than SaaS networking products on displacing force is used.
Embodiment
Embodiment of the invention solution mainly is through management software is stored in the movable storage medium; When the management software installation and operation; Need carry out the AES authentication and management software is carried out registration acknowledgement message movable storage medium, to improve the security of management software, when software finishes operation; With the database storing that produces in movable storage medium, with the utilization factor and the product quality of the carrier that improves management software.
Movable storage medium can be portable hard drive or USB flash disk etc. in the embodiment of the invention, and following encrypted U disk is that example is elaborated to the invention technical scheme.
As shown in Figure 1, one embodiment of the invention proposes a kind of software running method, comprising:
Step S101, when movable storage medium inserted computing machine, the master routine that is stored in the movable storage medium general area through operation was to carrying out the AES authentication to movable storage medium;
Management software is stored in the movable storage medium in the present embodiment; With the encrypted U disk is example, in the encrypted U disk production run, encrypted U disk is divided into various disk regions and initialization enciphered data; Wherein, the encrypted U disk disk region comprises: CD district, storage general area and hidden area; The CD district is used for storing start-up routine, recovery routine and source program bag etc.; The hidden area is used for storage encryption algorithm and log-on message etc.; General area is used for storing master routine and database.
Encrypted U disk has unique product IDs number; When encrypted U disk inserted computing machine, the encrypted U disk general area stored master routine, provides the api interface program in this master routine; Be used for reading this encrypted U disk, and can carry out various programmed control to encrypted U disk through the AIP interface routine.When encrypted U disk inserts computing machine, at first encrypted U disk is carried out the AES authentication, be the storage medium of corresponding management software to confirm this USB flash disk.
When the operation master routine carries out the AES authentication to encrypted U disk, can be when encrypted U disk inserts computing machine, utilize the automatic operating software of Autorun.inf function in encrypted U disk CD district, and encrypted U disk is carried out the AES authentication through the api interface program.
Step S102 after authentication is passed through, judges the software that whether moved on the computing machine in the CD district that is stored in movable storage medium, if then get into step S104; Otherwise, get into step S103;
Step S103 carries out the software initialization process, and the necessary program in the software in the CD district that is stored in movable storage medium is installed to computing machine; Get into step S104;
Among above-mentioned steps S102 and the step S103; When inserting with computing machine; The AIP interface routine that encrypted U disk provides also to detect whether move in the computing machine of access or encrypted U disk in software stored; If moved, then directly move the software login user interface in the computing machine, carry out subscriber identity authentication; If computing machine did not move software stored in the encrypted U disk, then carry out the software initialization process, the necessary program in the software that is stored in encrypted U disk CD district is installed to computing machine, comprise in the installation process of software software is carried out the over-network registration validation of information.Installation process can be earlier management software to be copied in the computing machine, moves this software then, also can pass through user's manual installation.Because encrypted U disk has unique product IDs number, so software can be good at identification and can realize online legal authentication.
Step S104 carries out authentication through computer run software to user identity;
Step S105, after authentication was passed through, the specified database that the user is selected copied to computing machine from the general area of movable storage medium;
After authentication was passed through, the corresponding database of the general area that is stored in encrypted U disk that the user is selected copied in the computing machine, when coping database, obscures in order to prevent various types of data, only duplicates user's data designated storehouse.Afterwards, the user on computers operating software carry out data processing.
Step S106 when software finishes operation, is saved in the database that uses software to produce the general area of movable storage medium.
Use software the user, in the time of need withdrawing from software, the api interface program that encrypted U disk provides can be saved in user's data designated storehouse the general area of encrypted U disk, is convenient to the user and searches use.
Present embodiment is through being stored in management software in the encrypted U disk, can carry out data-directed transmission arbitrarily between management software and the encrypted U disk and communicates by letter; And the authentication through encrypted U disk being carried out AES and to the affirmation of the over-network registration information of management software, the security that has improved management software; Simultaneously, encrypted U disk has multinomial functions such as software carrier, software security dog, the preservation of software directional data and common U disk, has improved the utilization factor of software carrier.In addition, owing to software need not move on encrypted U disk, in software running process; Do not need the frequent visit encrypted U disk; Therefore reduced the frequent read-write operation of encrypted U disk, prolonged the life-span of encrypted U disk, reduced the influence of interface reading and writing speed simultaneously.
As shown in Figure 2, another embodiment of the present invention proposes a kind of software running method, on the basis of the foregoing description, wherein,
After step S106, also comprise:
Step S107 backs up the database that uses software to produce;
In the present embodiment, lose in order to ensure the accident of user data, when software finishes operation, select according to the user, the api interface program that encrypted U disk provides can back up the database that uses software to produce in the computing machine.
Step S108 when the master routine that is stored in the movable storage medium general area damages or loses, is updated to the movable storage medium general area through the recovery routine that is stored in movable storage medium CD district with master routine.
In the present embodiment, when the master routine that is stored in the encrypted U disk general area damages or loses, can master routine be updated to the encrypted U disk general area through the recovery routine that is stored in encrypted U disk CD district.
As shown in Figure 3, one embodiment of the invention proposes a kind of running software device, comprising: encrypting and authenticating module 301, installed module 302, subscription authentication module 303, replication module 304 and memory module 305; Wherein:
Encrypting and authenticating module 301 is used for when movable storage medium inserts computing machine, and the master routine that is stored in the movable storage medium general area through operation carries out the AES authentication to movable storage medium;
Management software is stored in the movable storage medium in the present embodiment; With the encrypted U disk is example, in the encrypted U disk production run, encrypted U disk is divided into various disk regions and initialization enciphered data; Wherein, the encrypted U disk disk region comprises: CD district, storage general area and hidden area; The CD district is used for storing start-up routine, recovery routine and source program bag etc.; The hidden area is used for storage encryption algorithm and log-on message etc.; General area is used for storing master routine and database.
Encrypted U disk has unique product IDs number; When encrypted U disk inserted computing machine, the encrypted U disk general area stored master routine, provides the api interface program in this master routine; Be used for reading this encrypted U disk, and can carry out various programmed control to encrypted U disk through the AIP interface routine.When encrypted U disk inserts computing machine, at first encrypted U disk is carried out the AES authentication, be the storage medium of corresponding management software to confirm this USB flash disk.
When the operation master routine carries out the AES authentication to encrypted U disk, can be when encrypted U disk inserts computing machine, utilize the automatic operating software of Autorun.inf function in encrypted U disk CD district, and encrypted U disk is carried out the AES authentication through the api interface program.
Installed module 302 is used for when the computing machine off-duty is crossed the software in the CD district that is stored in movable storage medium, carrying out the software initialization process, and the necessary program in the software in the CD district that is stored in movable storage medium is installed to computing machine;
When inserting with computing machine, the AIP interface routine that encrypted U disk provides also to detect whether move in the computing machine of access or encrypted U disk in software stored, if moved, then directly move the software login user interface in the computing machine, carry out subscriber identity authentication; If computing machine did not move software stored in the encrypted U disk, then carry out the software initialization process, the necessary program in the software that is stored in encrypted U disk CD district is installed to computing machine, comprise in the installation process of software software is carried out the over-network registration validation of information.Installation process can be earlier management software to be copied in the computing machine, moves this software then, also can pass through user's manual installation.Because encrypted U disk has unique product IDs number, so software can be good at identification and can realize online legal authentication.
Subscription authentication module 303 is used for after authentication is passed through, if computing machine had moved the software in the CD district that is stored in movable storage medium, then through the said software of computer run user identity is carried out authentication;
Replication module 304 is used for after authentication is passed through, and the specified database that the user is selected copies to computing machine from the general area of movable storage medium;
After authentication was passed through, the corresponding database of the general area that is stored in encrypted U disk that the user is selected copied in the computing machine, when coping database, obscures in order to prevent various types of data, only duplicates user's data designated storehouse.Afterwards, the user on computers operating software carry out data processing.
Memory module 305 is used for when software finishes operation, the database that uses software to produce being saved in the general area of movable storage medium.
Use software the user, in the time of need withdrawing from software, the api interface program that encrypted U disk provides can be saved in user's data designated storehouse the general area of encrypted U disk, is convenient to the user and searches use.
As shown in Figure 4, another embodiment of the present invention proposes a kind of running software device, on the basis of the foregoing description, also comprises:
Backup module 306 is used for the database that uses software to produce is backed up;
In the present embodiment, lose in order to ensure the accident of user data, when software finishes operation, select according to the user, the api interface program that encrypted U disk provides can back up the database that uses software to produce in the computing machine.
Update module 307 is used for when the master routine that is stored in the movable storage medium general area damages or loses, through the recovery routine that is stored in movable storage medium CD district master routine being updated to the movable storage medium general area.
In the present embodiment, when the master routine that is stored in the encrypted U disk general area damages or loses, can master routine be updated to the encrypted U disk general area through the recovery routine that is stored in encrypted U disk CD district.
As shown in Figure 5, one embodiment of the invention proposes a kind of movable storage medium, comprises the running software device 501 described in the foregoing description.
Embodiment of the invention software running method, device and movable storage medium be through being stored in management software in the encrypted U disk, can carry out data-directed transmission arbitrarily between management software and the encrypted U disk and communicate by letter; And the authentication through encrypted U disk being carried out AES and to the affirmation of the over-network registration information of management software, the security that has improved management software; Simultaneously, be carrier with the encrypted U disk when software product is sold, but the volume production of short run sell, the fast updating product solves that previous production needs the outsourcing platen and the problem of the product that can not upgrade in time; In addition, encrypted U disk has the smart card encryption chip, and the function of softdog is arranged, and can play the effect of protection software; Encrypted U disk has close combining with software product; Can realize that preservation data as required is to encrypted U disk in the software operation process; Also can be used as common U disk simultaneously and use, preserve user's data, promptly encrypted U disk has multinomial functions such as software carrier, software security dog, the preservation of software directional data and common U disk; Improved the utilization factor of software carrier, improved software vendor simultaneously and produced the efficient of finished product and the quality of raising product.And the movable storage medium plug and play can realize the removable office of software, and software, data, storage can arbitrarily be carried, and is a kind of mobile product off the net that more is suitable for than SaaS networking products on displacing force is used.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.