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 access computing machine, by running the master routine being stored in described movable storage medium general area, algorithm certification is encrypted to described movable storage medium;
After certification is passed through, if computing machine had run the software be stored in the CD district of movable storage medium, then by software described in computer run, authentication was carried out to user identity;
After authentication is passed through, the specified database that user selects is copied to computing machine from the general area of movable storage medium;
When described software terminates to run, the database using described software to produce is saved in the general area of described movable storage medium.
Preferably, described by software described in computer run user identity carried out to the step of authentication before also comprise:
If computing machine off-duty crosses the software in the CD district being stored in movable storage medium, then carry out software initialization process, the necessary program in the described software being stored in the CD district of movable storage medium is installed to computing machine.
Preferably, run the mode being stored in the master routine of described movable storage medium general area comprise manually operation or automatically run by the boot being stored in movable storage medium CD district.
Preferably, carry out software initialization process described in comprise: carry out over-network registration validation of information to described software.
Preferably, described cryptographic algorithm and log-on message are stored in the hidden area of described movable storage medium.
Preferably, the method also comprises:
When the master routine being stored in described movable storage medium general area damages or loses, by the recovery routine being stored in described movable storage medium CD district, described master routine is updated to described movable storage medium general area.
Preferably, the described database by the generation of use software also comprises after being saved in the step of the general area of described movable storage medium:
The database using described software to produce is backed up.
The present invention also proposes a kind of running software device, comprising:
Encrypting and authenticating module, for when movable storage medium accesses computing machine, is encrypted algorithm certification by running the master routine being stored in described movable storage medium general area to described movable storage medium;
Subscription authentication module, for after certification is passed through, if computing machine had run the software be stored in the CD district of movable storage medium, had then carried out authentication by software described in computer run to user identity;
Replication module, for after authentication is passed through, copies to computing machine by the specified database that user selects from the general area of movable storage medium;
Memory module, during for terminating when described software to run, is saved in the general area of described movable storage medium by the database using described software to produce.
Preferably, this device also comprises:
Installation module, for when computing machine off-duty crosses the software in the CD district being stored in movable storage medium, carries out software initialization process, and the necessary program in the described software being stored in the CD district of movable storage medium is installed to computing machine.
Preferably, this device also comprises:
Update module, during for damaging when the master routine being stored in described movable storage medium general area or losing, is updated to described movable storage medium general area by the recovery routine being stored in described movable storage medium CD district by described master routine.
Preferably, this device also comprises:
Backup module, for backing up the database using described software to produce.
The present invention also proposes a kind of movable storage medium, comprises running software device as above.
A kind of software running method that the present invention proposes, device and movable storage medium, by management software is stored in movable storage medium, when management software installation and operation, need to be encrypted algorithm certification to movable storage medium and to carry out registration acknowledgement message to management software, improve the security of management software, and when software terminates to run, also can by the database purchase of generation in movable storage medium, the movable storage medium of encryption has software carrier, software security dog, the multiple functions such as the preservation of software directional data and common U disk, substantially increase utilization factor and the product quality of the carrier of management software, reduce the cost of software vendor, thus solve production and need outsourcing platen and the problem of the product that can not upgrade in time.And movable storage medium plug and play, can realize the removable office of software, and software, data, storage can arbitrarily be carried, displacing force application is a kind of off the net mobile product more applicable than SaaS networking products.
Embodiment
Solution for embodiment of the invention is mainly by being stored in movable storage medium by management software, when management software installation and operation, need to be encrypted algorithm certification to movable storage medium and to carry out registration acknowledgement message to management software, to improve the security of management software, when software terminates to run, by the database purchase of generation in movable storage medium, to improve utilization factor and the product quality of the carrier of management software.
In the embodiment of the present invention, movable storage medium can be portable hard drive or USB flash disk etc., and following encrypted U disk is that example is described in detail to 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 access computing machine, is encrypted algorithm certification by running the master routine being stored in movable storage medium general area to movable storage medium;
In the present embodiment, management software is stored in movable storage medium, for encrypted U disk, in encrypted U disk production run, encrypted U disk is divided into various disk region and initialization encryption data, wherein, encrypted U disk disk region comprises: CD district, storage general area and hidden area; CD district is used for storing start-up routine, recovery routine and source program bag etc.; 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 access computing machine, encrypted U disk general area stores master routine, provides api interface program in this master routine, be used for reading this encrypted U disk, and by AIP interface routine, various programmed control carried out to encrypted U disk.When encrypted U disk access computing machine, first algorithm certification is encrypted to encrypted U disk, to confirm the storage medium of this USB flash disk for corresponding management software.
When running master routine and being encrypted algorithm certification to encrypted U disk, can be when encrypted U disk access computing machine, utilize the automatic operating software of Autorun.inf function in encrypted U disk CD district, and by api interface program, algorithm certification is encrypted to encrypted U disk.
Step S102, after certification is passed through, judges whether computing machine ran the software be stored in the CD district of movable storage medium, if so, then enter step S104; Otherwise, enter step S103;
Step S103, carries out software initialization process, and the necessary program be stored in the software in the CD district of movable storage medium is installed to computing machine; Enter step S104;
In above-mentioned steps S102 and step S103, when accessing with computing machine, the AIP interface routine that encrypted U disk provides also will detect the software whether running or store in encrypted U disk in the computing machine of access, if ran, software login user interface then in direct moving calculation machine, carries out subscriber identity authentication; If computing machine did not run the software stored in encrypted U disk, then carry out software initialization process, the necessary program be stored in the software in encrypted U disk CD district is installed to computing machine, the installation process of software comprises carries out over-network registration validation of information to software.Installation process can be first copy in computing machine by management software, then runs this software, also can pass through user's manual installation.Because encrypted U disk has No. ID, unique Product, therefore software can be good at identifying and realizing online legal certification.
Step S104, carries out authentication by computer run software to user identity;
Step S105, after authentication is passed through, copies to computing machine by the specified database that user selects from the general area of movable storage medium;
After authentication is passed through, the corresponding database replication being stored in the general area of encrypted U disk user selected, in computing machine, when coping database, in order to prevent various types of data obfuscation, only copies the database that user specifies.Afterwards, user can carry out data processing by operating software on computers.
Step S106, when software terminates to run, is saved in the general area of movable storage medium by the database using software to produce.
Use software user, when needing to exit software, the database that user specifies can be saved in the general area of encrypted U disk by the api interface program that encrypted U disk provides, and is convenient to user and searches use.
The present embodiment, by being stored in encrypted U disk by management software, can carry out arbitrary data-directed transmission and communication between management software and encrypted U disk; And by the confirmation of the certification that encrypted U disk is encrypted to algorithm and the over-network registration information to management software, improve the security of management software; Meanwhile, encrypted U disk has the multiple functions such as software carrier, software security dog, the preservation of software directional data and common U disk, improves the utilization factor of software carrier.In addition, because software does not need to run on encrypted U disk, in software running process, do not need frequent visit encrypted U disk, because this reducing encrypted U disk read-write operation frequently, extending the life-span of encrypted U disk, decreasing the impact 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 above-described embodiment, wherein,
Also comprise after step s 106:
Step S107, backs up the database using software to produce;
In the present embodiment, the accident in order to ensure user data is lost, and when software terminates to run, select according to user, the database using software to produce in computing machine can back up by the api interface program that encrypted U disk provides.
Step S108, when the master routine being stored in movable storage medium general area damages or loses, is updated to movable storage medium general area by the recovery routine being stored in movable storage medium CD district by master routine.
In the present embodiment, when the master routine being stored in encrypted U disk general area damages or loses, by the recovery routine being stored in encrypted U disk CD district, master routine is updated to encrypted U disk general area.
As shown in Figure 3, one embodiment of the invention proposes a kind of running software device, comprising: encrypting and authenticating module 301, installation module 302, subscription authentication module 303, replication module 304 and memory module 305; Wherein:
Encrypting and authenticating module 301, for when movable storage medium accesses computing machine, is encrypted algorithm certification by running the master routine being stored in movable storage medium general area to movable storage medium;
In the present embodiment, management software is stored in movable storage medium, for encrypted U disk, in encrypted U disk production run, encrypted U disk is divided into various disk region and initialization encryption data, wherein, encrypted U disk disk region comprises: CD district, storage general area and hidden area; CD district is used for storing start-up routine, recovery routine and source program bag etc.; 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 access computing machine, encrypted U disk general area stores master routine, provides api interface program in this master routine, be used for reading this encrypted U disk, and by AIP interface routine, various programmed control carried out to encrypted U disk.When encrypted U disk access computing machine, first algorithm certification is encrypted to encrypted U disk, to confirm the storage medium of this USB flash disk for corresponding management software.
When running master routine and being encrypted algorithm certification to encrypted U disk, can be when encrypted U disk access computing machine, utilize the automatic operating software of Autorun.inf function in encrypted U disk CD district, and by api interface program, algorithm certification is encrypted to encrypted U disk.
Installation module 302, for when computing machine off-duty crosses the software in the CD district being stored in movable storage medium, carries out software initialization process, and the necessary program be stored in the software in the CD district of movable storage medium is installed to computing machine;
When accessing with computing machine, the AIP interface routine that encrypted U disk provides also will detect the software whether running or store in encrypted U disk in the computing machine of access, if ran, then the software login user interface in direct moving calculation machine, carried out subscriber identity authentication; If computing machine did not run the software stored in encrypted U disk, then carry out software initialization process, the necessary program be stored in the software in encrypted U disk CD district is installed to computing machine, the installation process of software comprises carries out over-network registration validation of information to software.Installation process can be first copy in computing machine by management software, then runs this software, also can pass through user's manual installation.Because encrypted U disk has No. ID, unique Product, therefore software can be good at identifying and realizing online legal certification.
Subscription authentication module 303, for after certification is passed through, if computing machine had run the software be stored in the CD district of movable storage medium, had then carried out authentication by software described in computer run to user identity;
Replication module 304, for after authentication is passed through, copies to computing machine by the specified database that user selects from the general area of movable storage medium;
After authentication is passed through, the corresponding database replication being stored in the general area of encrypted U disk user selected, in computing machine, when coping database, in order to prevent various types of data obfuscation, only copies the database that user specifies.Afterwards, user can carry out data processing by operating software on computers.
Memory module 305, during for terminating when software to run, is saved in the general area of movable storage medium by the database using software to produce.
Use software user, when needing to exit software, the database that user specifies can be saved in the general area of encrypted U disk by the api interface program that encrypted U disk provides, and is convenient to 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 above-described embodiment, also comprises:
Backup module 306, for backing up the database using software to produce;
In the present embodiment, the accident in order to ensure user data is lost, and when software terminates to run, select according to user, the database using software to produce in computing machine can back up by the api interface program that encrypted U disk provides.
Update module 307, during for damaging when the master routine being stored in movable storage medium general area or losing, is updated to movable storage medium general area by the recovery routine being stored in movable storage medium CD district by master routine.
In the present embodiment, when the master routine being stored in encrypted U disk general area damages or loses, by the recovery routine being stored in encrypted U disk CD district, master routine is updated to encrypted U disk general area.
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 above-described embodiment.
Embodiment of the present invention software running method, device and movable storage medium, by being stored in encrypted U disk by management software, can carry out arbitrary data-directed transmission and communication between management software and encrypted U disk; And by the confirmation of the certification that encrypted U disk is encrypted to algorithm and the over-network registration information to management software, improve the security of management software; Meanwhile, be carrier with encrypted U disk when software product is sold, can the volume production of short run sell, quick upgrading products, solve the problem of previous product need of production outsourcing platen and the product that can not upgrade in time; In addition, encrypted U disk has smartcard encrypts chip, has the function of softdog, can play the effect of protection software; Encrypted U disk and software product have close combination, data of preserving as required in software operation process can be realized to encrypted U disk, also can be used as common U disk to use simultaneously, preserve the data of user, namely encrypted U disk has the multiple functions such as software carrier, software security dog, the preservation of software directional data and common U disk, improve the utilization factor of software carrier, improve software vendor simultaneously and be produced into the efficiency of finished product and improve the quality of product.And movable storage medium plug and play, can realize the removable office of software, and software, data, storage can arbitrarily be carried, displacing force application is a kind of off the net mobile product more applicable than SaaS networking products.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or flow process conversion; or be directly or indirectly used in other relevant technical field, be all in like manner included in scope of patent protection of the present invention.