CN103116729B - A kind of portable device data derives method and system automatically - Google Patents
A kind of portable device data derives method and system automatically Download PDFInfo
- Publication number
- CN103116729B CN103116729B CN201310013838.XA CN201310013838A CN103116729B CN 103116729 B CN103116729 B CN 103116729B CN 201310013838 A CN201310013838 A CN 201310013838A CN 103116729 B CN103116729 B CN 103116729B
- Authority
- CN
- China
- Prior art keywords
- check code
- storage device
- verification file
- movable storage
- portable equipment
- 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
Links
Landscapes
- Storage Device Security (AREA)
Abstract
The present invention discloses the automatic deriving method of a kind of portable device data, comprising: the carry configuration file of S1, detection portable equipment, obtains the mount directory of at least one movable storage device in carry configuration file; S2, search in described mount directory whether there is default verification file name; S3, when determining to there is described default verification file name, utilizing cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device and obtaining check code; S4, this check code and portable equipment are preset check code compare and judge whether consistent; S5, when judge described check code consistent with default check code time, data are exported to movable storage device from the storage unit of portable equipment.The present invention discloses the automatic guiding system of a kind of portable device data.
Description
Technical field
The present invention relates to computer application field, particularly a kind of portable device data derives method and system automatically.
Background technology
Various user requested data has been deposited, in order to the statistical conversion that will leave in portable equipment is in outside movable storage device, such as, in common USB flash disk or portable hard drive in the storer of portable equipment.
But lack the occasion of display terminal or commissioning device at some, or when being inconvenient to carry display terminal and commissioning device, how copying out by the desired data left in portable equipment just becomes a difficult problem.
Summary of the invention
The problem to be solved in the present invention is, provides a kind of portable device data automatically to derive method and system, when lacking display terminal or commissioning device, the data left in portable equipment needed for user can be exported in movable storage device automatically.
For solving the problem, the technical scheme that the present invention adopts is:
There is provided a kind of portable device data automatic deriving method, comprising: the carry configuration file of S1, detection portable equipment, obtains the mount directory of at least one movable storage device in carry configuration file; S2, search in described mount directory whether there is default verification file name; S3, when determining to there is described default verification file name, utilizing cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device and obtaining check code; S4, this check code and portable equipment are preset check code compare and judge whether consistent; S5, when judge described check code consistent with default check code time, data are exported to movable storage device from the storage unit of portable equipment.
Wherein, also comprise after described step S2: when determining to there is not described default verification file name, movable storage device unloaded from portable equipment and return step S1.
Wherein, also comprise after described step S4: when judging described check code and default check code is inconsistent, movable storage device unloaded from portable equipment and return step S1.
Wherein, described cryptographic algorithm is MD5 algorithm, and described check code is MD5 check code.
Wherein, described verification file is a read states text formatting.
Another technical solution used in the present invention is:
There is provided a kind of portable device data automatic guiding system, comprise portable equipment and at least one carry movable storage device at portable equipment, described portable equipment comprises storage unit for storing data and processing unit, described storage unit also stores default check code, verification file is stored in described movable storage device, described processing unit comprises: mount directory acquisition module, for detecting the carry configuration file of portable equipment, obtain the mount directory of at least one movable storage device in carry configuration file; Whether verification file search module, exist default verification file name for searching in described mount directory; Check code generation module, for when described verification file search module determines to there is default verification file name, utilizes cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device and obtains check code; Legal determination module, compares for this check code and portable equipment being preset check code and judges whether consistent; Data, for when described legal determination module judges that described check code is consistent with default check code, are exported to movable storage device by statistical conversion module from the storage unit of portable equipment.
Wherein, described processing unit also comprises Unload module, is unloaded by movable storage device when there is not described default verification file name for determining when verification file search module from portable equipment.
Wherein, described processing unit also comprises Unload module, for being unloaded from portable equipment by movable storage device when legal determination module judges described check code and default check code is inconsistent.
Wherein, described cryptographic algorithm is MD5 algorithm, and described check code is MD5 check code.
Wherein, described verification file is a read states text formatting.
Portable device data of the present invention derives method and system automatically, by detecting in movable storage device whether there is the verification file mated with default verification file name, and the encryption of the verification file of coupling is obtained check code, and whether consistent with the default check code access rights confirming movable storage device of Inspection code further, thus when lacking display terminal or commissioning device, the data that user is left in portable equipment can be exported to automatically and have in the movable storage device of authority.
Accompanying drawing explanation
Fig. 1 is the entire block diagram of the automatic guiding system of a kind of portable device data in an embodiment of the present invention;
Fig. 2 is the process flow diagram of the automatic deriving method of a kind of portable device data in an embodiment of the present invention.
Main element symbol description
Portable equipment 10; Movable storage device 20; Storage unit 11; Processing unit 12; Mount directory acquisition module 121; Verification file search module 122; Check code generation module 123; Legal determination module 124; Statistical conversion module 125; Unload module 126.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, realized object and effect, accompanying drawing is coordinated to be explained in detail below in conjunction with embodiment.
See also Fig. 1, be the entire block diagram of the automatic guiding system of a kind of portable device data in an embodiment of the present invention.The automatic guiding system of a kind of portable device data comprises portable equipment 10 and at least one carry movable storage device 20 at portable equipment 10, described portable equipment 10 comprises storage unit 11 for storing data and processing unit 12, described storage unit 11 also stores default check code, verification file is stored in described movable storage device 20, in the present embodiment, described verification file is a read states text formatting.
Described processing unit 12 comprises mount directory acquisition module 121, verification file search module 122, check code generation module 123, legal determination module 124, statistical conversion module 125.Mount directory acquisition module 121, for detecting the carry configuration file of portable equipment, obtains the mount directory of at least one movable storage device 20 in carry configuration file.Whether verification file search module 122 exists default verification file name for searching in described mount directory.Check code generation module 123 is for when described verification file search module 122 determines to there is default verification file name, utilize cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device 20 and obtain check code, in the present embodiment, described cryptographic algorithm is MD5 algorithm, and described check code is MD5 check code.Legal determination module 124 is for comparing this check code with the default check code in the storage unit 11 of portable equipment 10 and judging whether consistent.Data, for when described legal determination module 124 judges that described check code is consistent with default check code, are exported to movable storage device 20 by statistical conversion module 125 from the storage unit 11 of portable equipment 10.
Described processing unit 12 also comprises Unload module 126, is unloaded by movable storage device 20 during for determining to there is not described default verification file name when verification file search module 122 from portable equipment 10.Described Unload module 126 is also for unloading movable storage device 20 from portable equipment 10 when legal determination module 124 judges described check code and default check code is inconsistent.
Referring to Fig. 2, is the process flow diagram of the automatic deriving method of a kind of portable device data in an embodiment of the present invention.The automatic deriving method of a kind of portable device data, runs in the automatic guiding system of above-mentioned portable device data, comprising:
The carry configuration file of step S1, detection portable equipment, obtains the mount directory of at least one movable storage device in carry configuration file;
Step S2, search in described mount directory whether there is default verification file name;
Step S3, when determining to there is described default verification file name, utilize cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device and obtain check code, in the present embodiment, described cryptographic algorithm is MD5 algorithm, described check code is MD5 check code, and described verification file is a read states text formatting;
Step S4, this check code and portable equipment are preset check code compare and judge whether consistent;
Step S5, when judge described check code consistent with default check code time, data are exported to movable storage device from the storage unit of portable equipment.
Wherein, also comprise after described step S2: when determining to there is not described default verification file name, movable storage device unloaded from portable equipment and return step S1.
Wherein, also comprise after described step S4: when judging described check code and default check code is inconsistent, movable storage device unloaded from portable equipment and return step S1.
Portable device data of the present invention derives method and system automatically, by detecting in movable storage device whether there is the verification file mated with default verification file name, and the encryption of the verification file of coupling is obtained check code, and the Inspection code access rights that confirm movable storage device whether consistent with default check code further, thus when lacking display terminal or commissioning device, the data that user is left in portable equipment can be exported to automatically and have in the movable storage device of authority.
The foregoing is only embodiments of the 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 equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (10)
1. the automatic deriving method of portable device data, is characterized in that, when lacking display terminal or commissioning device, comprising:
The carry configuration file of S1, detection portable equipment, obtains the mount directory of at least one movable storage device in carry configuration file;
S2, search in described mount directory whether there is default verification file name;
S3, when determining to there is described default verification file name, utilizing cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device and obtaining check code;
S4, this check code and portable equipment are preset check code compare and judge whether consistent;
S5, when judging that described check code is consistent with default check code, confirmation movable storage device possesses access rights, and respective file data is automatically exported to movable storage device from the storage unit of portable equipment.
2. the automatic deriving method of a kind of portable device data according to claim 1, is characterized in that, also comprise after described step S2: unloaded from portable equipment by movable storage device when determining to there is not described default verification file name and return step S1.
3. the automatic deriving method of a kind of portable device data according to claim 1, is characterized in that, also comprise after described step S4: unloaded from portable equipment by movable storage device when judging described check code and default check code is inconsistent and return step S1.
4. the automatic deriving method of a kind of portable device data according to claim 1, is characterized in that, described cryptographic algorithm is MD5 algorithm, and described check code is MD5 check code.
5. the automatic deriving method of a kind of portable device data according to claim 1, is characterized in that, described verification file is a read states text formatting.
6. the automatic guiding system of portable device data, comprise portable equipment and at least one carry movable storage device at portable equipment, described portable equipment comprises storage unit for storing data and processing unit, it is characterized in that, when lacking display terminal or commissioning device, described storage unit also stores default check code, stores verification file in described movable storage device, and described processing unit comprises:
Mount directory acquisition module, for detecting the carry configuration file of portable equipment, obtains the mount directory of at least one movable storage device in carry configuration file;
Whether verification file search module, exist default verification file name for searching in described mount directory;
Check code generation module, for when described verification file search module determines to there is default verification file name, utilizes cryptographic algorithm to carry out process to verification file corresponding with described default verification file name in movable storage device and obtains check code;
Legal determination module, compares for this check code and portable equipment being preset check code and judges whether consistent;
Statistical conversion module, for when described legal determination module judges that described check code is consistent with default check code, confirms that movable storage device possesses access rights, and respective file data is automatically exported to movable storage device from the storage unit of portable equipment.
7. the automatic guiding system of a kind of portable device data according to claim 6, it is characterized in that, described processing unit also comprises Unload module, is unloaded by movable storage device when there is not described default verification file name for determining when verification file search module from portable equipment.
8. the automatic guiding system of a kind of portable device data according to claim 6, it is characterized in that, described processing unit also comprises Unload module, for being unloaded from portable equipment by movable storage device when legal determination module judges described check code and default check code is inconsistent.
9. the automatic guiding system of a kind of portable device data according to claim 6, is characterized in that, described cryptographic algorithm is MD5 algorithm, and described check code is MD5 check code.
10. the automatic guiding system of a kind of portable device data according to claim 6, is characterized in that, described verification file is a read states text formatting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310013838.XA CN103116729B (en) | 2013-01-15 | 2013-01-15 | A kind of portable device data derives method and system automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310013838.XA CN103116729B (en) | 2013-01-15 | 2013-01-15 | A kind of portable device data derives method and system automatically |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103116729A CN103116729A (en) | 2013-05-22 |
CN103116729B true CN103116729B (en) | 2016-02-03 |
Family
ID=48415102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310013838.XA Active CN103116729B (en) | 2013-01-15 | 2013-01-15 | A kind of portable device data derives method and system automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103116729B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298933B (en) * | 2014-10-17 | 2018-02-06 | 浪潮(北京)电子信息产业有限公司 | A kind of configuration information safe processing method and system |
CN105426203A (en) * | 2015-11-04 | 2016-03-23 | 福建星海通信科技有限公司 | Rapid function configuration method of vehicle terminal |
CN107580232A (en) * | 2017-09-28 | 2018-01-12 | 郑州云海信息技术有限公司 | A kind of video living transmission system and method |
CN111083001B (en) * | 2018-10-18 | 2021-09-21 | 杭州海康威视数字技术股份有限公司 | Firmware abnormity detection method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2777616Y (en) * | 2004-12-20 | 2006-05-03 | 上海北大方正科技电脑系统有限公司 | Computer encryption structure |
CN101051912A (en) * | 2006-04-05 | 2007-10-10 | 迈世亚(北京)科技有限公司 | Data automatic updating method |
CN102314512A (en) * | 2011-09-16 | 2012-01-11 | 北京理工大学 | Synchronous storage system and method of data file based on Bluetooth technology |
-
2013
- 2013-01-15 CN CN201310013838.XA patent/CN103116729B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2777616Y (en) * | 2004-12-20 | 2006-05-03 | 上海北大方正科技电脑系统有限公司 | Computer encryption structure |
CN101051912A (en) * | 2006-04-05 | 2007-10-10 | 迈世亚(北京)科技有限公司 | Data automatic updating method |
CN102314512A (en) * | 2011-09-16 | 2012-01-11 | 北京理工大学 | Synchronous storage system and method of data file based on Bluetooth technology |
Also Published As
Publication number | Publication date |
---|---|
CN103116729A (en) | 2013-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103116729B (en) | A kind of portable device data derives method and system automatically | |
US9449163B2 (en) | Electronic device and method for logging in application program of the electronic device | |
CN103744824B (en) | One is dispatched from the factory method of testing and test system | |
CN104166621B (en) | A kind of data processing method and device | |
CN103699338B (en) | A kind of method and apparatus downloading data | |
WO2013130630A3 (en) | Listing data objects using a hierarchical dispersed storage index | |
CN103092664A (en) | Processing method and device of data file of android system | |
WO2013119469A8 (en) | System, method, and interfaces for work product management | |
CN103617260A (en) | Index generation method and device for repeated data deletion | |
US8352541B2 (en) | Identifying relevant data from unstructured feeds | |
CN103108033B (en) | File uploading method and system | |
US9817605B2 (en) | Systems and methods of storing data associated with content of a data storage device | |
CN102087604A (en) | Computer and method for acquiring hardware configuration information | |
US20140365445A1 (en) | Server with file managing function and file managing method | |
CN104346102A (en) | Automatic data deleting method based on DICOM | |
CN103403709B (en) | A kind of methods, devices and systems of reading and writing data | |
US20130283186A1 (en) | File uploading method and electronic device for fast file location | |
CN103838782B (en) | A kind of method and device realized file scan and preserved | |
CN103164492A (en) | File copying method between electronic devices and electronic devices | |
US20160179168A1 (en) | Electronic device and method for detecting power usage of electronic device | |
CN105404663A (en) | Android device file list display method and system | |
US20150067192A1 (en) | System and method for adjusting sas addresses of sas expanders | |
CN102043639A (en) | Method and system for starting processing system from NAND (NOT-AND) FLASH | |
CN104268231B (en) | A kind of file access method, device and Intelligent File System | |
US10241708B2 (en) | Storage of a data chunk with a colliding fingerprint |
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 |