CN103116729A - Method and system of automatic export of data of portable device - Google Patents
Method and system of automatic export of data of portable device Download PDFInfo
- Publication number
- CN103116729A CN103116729A CN201310013838XA CN201310013838A CN103116729A CN 103116729 A CN103116729 A CN 103116729A CN 201310013838X A CN201310013838X A CN 201310013838XA CN 201310013838 A CN201310013838 A CN 201310013838A CN 103116729 A CN103116729 A CN 103116729A
- Authority
- CN
- China
- Prior art keywords
- check code
- portable equipment
- storage device
- verification file
- default
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a method of an automatic export of data of a portable device. The method comprises the following steps: S1, detecting mounting configuration files of the portable device, and obtaining a mounting catalogue of at least one mobile storage device in the mounting configuration files; S2, searching whether a preset check file name exists in the mounting catalogue; S3, when the preset check file name is confirmed to exist, using a encryption algorithm to process a check file corresponding to the preset check file name in the mobile storage device to obtain a check code; S4, comparing the check code with a preset check code of the portable device to judge whether the check code and the preset check code are the same; and S5, when the check code and the preset check code are judged to be the same, exporting the data from a storage unit of the portable device to a mobile storage device. The invention further discloses a system of the automatic export of the data of the portable device.
Description
Technical field
The present invention relates to computer application field, particularly a kind of portable equipment data derive method and system automatically.
Background technology
Various user requested datas have been deposited in the storer of portable equipment, for the data that will leave in portable equipment export in outside movable storage device, for example in common USB flash disk or portable hard drive.
But, lack the occasion of display terminal or commissioning device at some, or be inconvenient to carry in the situation of display terminal and commissioning device, how will leave desired data in portable equipment in and copy out and just become a difficult problem.
Summary of the invention
The problem to be solved in the present invention is, provides a kind of portable equipment data automatically to derive method and system, can be in the situation that lack display terminal or commissioning device, and the data that leave in portable equipment required the user export in movable storage device automatically.
For addressing the above problem, the technical scheme that the present invention adopts is:
Provide a kind of portable equipment data automatic deriving method, comprising: the carry configuration file of S1, detection portable equipment, obtain the mount directory of at least one movable storage device in the carry configuration file; Whether there is default verification file name in S2, the described mount directory of search; S3, when determining to have described default verification file name, utilize cryptographic algorithm that verification file corresponding with described default verification file name in movable storage device is processed and obtain check code; S4, the default check code of this check code and portable equipment is compared and judged whether consistent; S5, when judging that described check code is consistent with default check code, data are exported to movable storage device from the storage unit of portable equipment.
Wherein, also comprise after described step S2: when determining not have described default verification file name, movable storage device is unloaded and return step S1 from portable equipment.
Wherein, also comprise after described step S4: when judging that described check code and default check code unload and return step S1 with movable storage device from portable equipment when inconsistent.
Wherein, described cryptographic algorithm is the MD5 algorithm, and described check code is the MD5 check code.
Wherein, described verification file is a read states text formatting.
Another technical solution used in the present invention is:
Provide a kind of portable equipment data automatic guiding system, comprise that portable equipment and at least one carry are at the movable storage device of portable equipment, described portable equipment comprises storage unit and the processing unit for the storage data, described storage unit also stores default check code, store verification file in described movable storage device, described processing unit comprises: the mount directory acquisition module, for detection of the carry configuration file of portable equipment, obtain the mount directory of at least one movable storage device in the carry configuration file; The verification file search module is used for searching for described mount directory and whether has default verification file name; The check code generation module is used for utilizing cryptographic algorithm that verification file corresponding with described default verification file name in movable storage device is processed and obtaining check code when described verification file search module is determined to have default verification file name; Legal determination module is used for the default check code of this check code and portable equipment is compared and judged whether consistent; Data derive module, are used for when described legal determination module judges that described check code is consistent with default check code, data being exported to movable storage device from the storage unit of portable equipment.
Wherein, described processing unit also comprises Unload module, is used for when the verification file search module is determined not have described default verification file name, movable storage device being unloaded from portable equipment.
Wherein, described processing unit also comprises Unload module, for judging that when legal determination module described check code and default check code unload movable storage device when inconsistent from portable equipment.
Wherein, described cryptographic algorithm is the MD5 algorithm, and described check code is the MD5 check code.
Wherein, described verification file is a read states text formatting.
Portable equipment data of the present invention derive method and system automatically, by detecting the verification file that whether exists in movable storage device with default verification file name coupling, and the verification file encryption of coupling is obtained check code, and the further Inspection code access rights of confirming movable storage device consistent with default check code whether, thereby can be in the situation that lack display terminal or commissioning device, the data that the user is left in portable equipment export in the movable storage device with authority automatically.
Description of drawings
Fig. 1 is the entire block diagram of the automatic guiding system of a kind of portable equipment 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 equipment data in an embodiment of the present invention.
The 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; Data derive module 125; Unload module 126.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized purpose and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
See also Fig. 1, be the entire block diagram of the automatic guiding system of a kind of portable equipment data in an embodiment of the present invention.The automatic guiding system of a kind of portable equipment data comprises that portable equipment 10 and at least one carry are at the movable storage device 20 of portable equipment 10, described portable equipment 10 comprises storage unit 11 and the processing unit 12 for the storage data, described storage unit 11 also stores default check code, store verification file in described movable storage device 20, in the present embodiment, described verification file is a read states text formatting.
Described processing unit 12 comprises that mount directory acquisition module 121, verification file search module 122, check code generation module 123, legal determination module 124, data derive module 125.Mount directory acquisition module 121 obtains the mount directory of at least one movable storage device 20 in the carry configuration file for detection of the carry configuration file of portable equipment.Verification file search module 122 is used for searching for described mount directory and whether has default verification file name.Check code generation module 123 is used for when described verification file search module 122 is determined to have default verification file name, utilize cryptographic algorithm that verification file corresponding with described default verification file name in movable storage device 20 is processed and obtain check code, in the present embodiment, described cryptographic algorithm is the MD5 algorithm, and described check code is the MD5 check code.Legal determination module 124 is used for this check code is compared and judged whether consistent with the default check code of the storage unit 11 of portable equipment 10.Data derive module 125 and are used for when described legal determination module 124 judges that described check code is consistent with default check code, data being exported to movable storage device 20 from the storage unit 11 of portable equipment 10.
Described processing unit 12 also comprises Unload module 126, is used for when verification file search module 122 is determined not have described default verification file name, movable storage device 20 being unloaded from portable equipment 10.Described Unload module 126 is also for judging that when legal determination module 124 described check codes and default check code unload movable storage device 20 when inconsistent from portable equipment 10.
Seeing also Fig. 2, is the process flow diagram of the automatic deriving method of a kind of portable equipment data in an embodiment of the present invention.The automatic deriving method of a kind of portable equipment data runs in the automatic guiding system of above-mentioned portable equipment data, comprising:
The carry configuration file of step S1, detection portable equipment obtains the mount directory of at least one movable storage device in the carry configuration file;
Whether there is default verification file name in step S2, the described mount directory of search;
Step S3, when determining to have described default verification file name, utilize cryptographic algorithm that verification file corresponding with described default verification file name in movable storage device is processed and obtain check code, in the present embodiment, described cryptographic algorithm is the MD5 algorithm, described check code is the MD5 check code, and described verification file is a read states text formatting;
Step S4, the default check code of this check code and portable equipment is compared and judged whether consistent;
Step S5, when judging that described check code is consistent with default check code, data are exported to movable storage device from the storage unit of portable equipment.
Wherein, also comprise after described step S2: when determining not have described default verification file name, movable storage device is unloaded and return step S1 from portable equipment.
Wherein, also comprise after described step S4: when judging that described check code and default check code unload and return step S1 with movable storage device from portable equipment when inconsistent.
Portable equipment data of the present invention derive method and system automatically, by detecting the verification file that whether exists in movable storage device with default verification file name coupling, and the verification file encryption of coupling is obtained check code, and further Inspection code and the default check code consistent access rights of confirming movable storage device whether, thereby can be in the situation that lack display terminal or commissioning device, the data that the user is left in portable equipment export in the movable storage device with authority automatically.
The above is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.
Claims (10)
1. the automatic deriving method of portable equipment data, is characterized in that, comprising:
The carry configuration file of S1, detection portable equipment obtains the mount directory of at least one movable storage device in the carry configuration file;
Whether there is default verification file name in S2, the described mount directory of search;
S3, when determining to have described default verification file name, utilize cryptographic algorithm that verification file corresponding with described default verification file name in movable storage device is processed and obtain check code;
S4, the default check code of this check code and portable equipment is compared and judged whether consistent;
S5, when judging that described check code is consistent with default check code, data are exported to movable storage device from the storage unit of portable equipment.
2. the automatic deriving method of a kind of portable equipment data according to claim 1, is characterized in that, also comprises after described step S2: when determining not have described default verification file name, movable storage device is unloaded and return step S1 from portable equipment.
3. the automatic deriving method of a kind of portable equipment data according to claim 1, is characterized in that, also comprises after described step S4: when judging that described check code and default check code unload and return step S1 with movable storage device from portable equipment when inconsistent.
4. the automatic deriving method of a kind of portable equipment data according to claim 1, is characterized in that, described cryptographic algorithm is the MD5 algorithm, and described check code is the MD5 check code.
5. the automatic deriving method of a kind of portable equipment data according to claim 1, is characterized in that, described verification file is a read states text formatting.
6. automatic guiding system of portable equipment data, comprise that portable equipment and at least one carry are at the movable storage device of portable equipment, described portable equipment comprises storage unit and the processing unit for the storage data, it is characterized in that, described storage unit also stores default check code, store verification file in described movable storage device, described processing unit comprises:
The mount directory acquisition module for detection of the carry configuration file of portable equipment, obtains the mount directory of at least one movable storage device in the carry configuration file;
The verification file search module is used for searching for described mount directory and whether has default verification file name;
The check code generation module is used for utilizing cryptographic algorithm that verification file corresponding with described default verification file name in movable storage device is processed and obtaining check code when described verification file search module is determined to have default verification file name;
Legal determination module is used for the default check code of this check code and portable equipment is compared and judged whether consistent;
Data derive module, are used for when described legal determination module judges that described check code is consistent with default check code, data being exported to movable storage device from the storage unit of portable equipment.
7. the automatic guiding system of a kind of portable equipment data according to claim 6, it is characterized in that, described processing unit also comprises Unload module, is used for when the verification file search module is determined not have described default verification file name, movable storage device being unloaded from portable equipment.
8. the automatic guiding system of a kind of portable equipment data according to claim 6, it is characterized in that, described processing unit also comprises Unload module, for judging that when legal determination module described check code and default check code unload movable storage device when inconsistent from portable equipment.
9. the automatic guiding system of a kind of portable equipment data according to claim 6, is characterized in that, described cryptographic algorithm is the MD5 algorithm, and described check code is the MD5 check code.
10. the automatic guiding system of a kind of portable equipment 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 true CN103116729A (en) | 2013-05-22 |
CN103116729B 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) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298933A (en) * | 2014-10-17 | 2015-01-21 | 浪潮(北京)电子信息产业有限公司 | Configuration information safety 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 |
CN111083001A (en) * | 2018-10-18 | 2020-04-28 | 杭州海康威视数字技术股份有限公司 | 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 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298933A (en) * | 2014-10-17 | 2015-01-21 | 浪潮(北京)电子信息产业有限公司 | Configuration information safety processing method and system |
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 |
CN111083001A (en) * | 2018-10-18 | 2020-04-28 | 杭州海康威视数字技术股份有限公司 | Firmware abnormity detection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103116729B (en) | 2016-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468642A (en) | Data storage method and apparatus | |
CN103092664A (en) | Processing method and device of data file of android system | |
CN105677742A (en) | Method and apparatus for storing files | |
US8352541B2 (en) | Identifying relevant data from unstructured feeds | |
US9817605B2 (en) | Systems and methods of storing data associated with content of a data storage device | |
WO2013119469A8 (en) | System, method, and interfaces for work product management | |
CN103108033B (en) | File uploading method and system | |
CN103617260A (en) | Index generation method and device for repeated data deletion | |
CN103116729A (en) | Method and system of automatic export of data of portable device | |
CN103577310A (en) | Method and device for recording software debugging logs | |
CN102087604A (en) | Computer and method for acquiring hardware configuration information | |
US20170199889A1 (en) | Method and device for identifying junk picture files | |
CN104268291A (en) | Data consistency processing method and system | |
CN106776105B (en) | System startup file checking and compiling method | |
US20140365445A1 (en) | Server with file managing function and file managing method | |
WO2017107679A1 (en) | Historical information display method and apparatus | |
US20130283186A1 (en) | File uploading method and electronic device for fast file location | |
US8521791B2 (en) | Electronic device and file management method | |
CN104346102A (en) | Automatic data deleting method based on DICOM | |
CN104461622A (en) | System update method and system update device for intelligent terminal | |
CN105610596B (en) | Resource directory management method and network terminal | |
US20170206209A1 (en) | Junk directory identification method and apparatus | |
KR101111400B1 (en) | Apparatus and method for recovering the data of embeded system | |
CN111143293B (en) | Metadata acquisition method, device, equipment and computer readable storage medium | |
CN102945342A (en) | Method, device and terminal equipment for progress identification |
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 |