CN110197060A - 一种批量制作u盘系统的方法 - Google Patents
一种批量制作u盘系统的方法 Download PDFInfo
- Publication number
- CN110197060A CN110197060A CN201910292264.1A CN201910292264A CN110197060A CN 110197060 A CN110197060 A CN 110197060A CN 201910292264 A CN201910292264 A CN 201910292264A CN 110197060 A CN110197060 A CN 110197060A
- Authority
- CN
- China
- Prior art keywords
- usb flash
- flash disk
- factory
- chained list
- dispatched
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/44—Program or device authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开一种批量制作U盘系统的方法,包括如下步骤:步骤1,设计未出厂链表用于记录未出厂U盘信息,设计已出厂链表用于记录已出厂U盘信息;步骤2,根据某一U盘设备码搜索存储U盘信息的数据库,判断该U盘是否已注册,若已注册则将该U盘信息添加到已出厂链表,转而搜索下一U盘设备码;若未注册则将该U盘信息添加到未出厂链表,并转步骤3;步骤3,循环制作未出厂链表里的U盘,制作完毕后,将U盘信息添加到已出厂链表。此种方法可批量制作相同内容的U盘系统,节省时间,提高效率。
Description
技术领域
本发明涉及一种USB设备数据读取与存储技术,特别涉及一种批量制作U盘系统的方法。
背景技术
目前在制作U盘系统时,一次只能制作一个U盘系统,如果需要制作多个相同内容的U盘,必须要重复操作,一个个拔插、制作,过程很繁琐。
发明内容
本发明的目的,在于提供一种批量制作U盘系统的方法,其可批量制作相同内容的U盘系统,节省时间,提高效率。
为了达成上述目的,本发明的解决方案是:
一种批量制作U盘系统的方法,包括如下步骤:
步骤1,设计未出厂链表用于记录未出厂U盘信息,设计已出厂链表用于记录已出厂U盘信息;
步骤2,根据某一U盘设备码搜索存储U盘信息的数据库,判断该U盘是否已注册,若已注册则将该U盘信息添加到已出厂链表,转而搜索下一U盘设备码;若未注册则将该U盘信息添加到未出厂链表,并转步骤3;
步骤3,循环制作未出厂链表里的U盘,制作完毕后,将U盘信息添加到已出厂链表。
上述步骤2中,将U盘盘符作为唯一限定标志,用API获取U盘的信息,该信息中包含U盘设备码。
采用上述方案后,本发明根据数据是否有U盘设备码,将批量读取的U盘信息分为已制作和未制作,并分别存在两个链表里,相应进行改客户制作或正常制作,通过批量制作U盘系统,能够节省时间,提高效率。
具体实施方式
以下将结合具体实施例,对本发明的技术方案及有益效果进行详细说明。
本发明提供一种批量制作U盘系统的方法,设计两条链表记录,其中,未出厂链表用于记录未出厂U盘信息,而已出厂链表用于记录已出厂U盘信息;所述方法包括如下步骤:
步骤1,枚举读取所有待制作U盘的盘符,将U盘盘符作为唯一限定标志,用API获取对应U盘的信息,该信息中包含U盘设备码,根据该U盘设备码搜索专门存储U盘信息的Mysql数据库,根据搜索结果判断该U盘是否已注册,如果在数据库中搜到对应设备码的信息,表示该U盘已经注册过,将该U盘信息添加到已出厂链表;若未搜到,说明未注册,将该U盘信息添加到未出厂链表;
步骤2,根据未出厂链表记录的U盘盘符与信息,循环制作未出厂链表里的U盘,当制作完毕后,再次读取U盘,将制作完毕的U盘信息添加到已出厂链表。
以上实施例仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明保护范围之内。
Claims (2)
1.一种批量制作U盘系统的方法,其特征在于包括如下步骤:
步骤1,设计未出厂链表用于记录未出厂U盘信息,设计已出厂链表用于记录已出厂U盘信息;
步骤2,根据某一U盘设备码搜索存储U盘信息的数据库,判断该U盘是否已注册,若已注册则将该U盘信息添加到已出厂链表,转而搜索下一U盘设备码;若未注册则将该U盘信息添加到未出厂链表,并转步骤3;
步骤3,循环制作未出厂链表里的U盘,制作完毕后,将U盘信息添加到已出厂链表。
2.如权利要求1所述的方法,其特征在于:所述步骤2中,将U盘盘符作为唯一限定标志,用API获取U盘的信息,该信息中包含U盘设备码。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910292264.1A CN110197060A (zh) | 2019-04-12 | 2019-04-12 | 一种批量制作u盘系统的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910292264.1A CN110197060A (zh) | 2019-04-12 | 2019-04-12 | 一种批量制作u盘系统的方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110197060A true CN110197060A (zh) | 2019-09-03 |
Family
ID=67751870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910292264.1A Pending CN110197060A (zh) | 2019-04-12 | 2019-04-12 | 一种批量制作u盘系统的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110197060A (zh) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070211310A1 (en) * | 2006-03-13 | 2007-09-13 | Brother Kogyo Kabushiki Kaisha | Scanner control system and scanner driver program |
CN101667934A (zh) * | 2009-08-25 | 2010-03-10 | 中国工程物理研究院电子工程研究所 | Usb接口设备网络化的集中监管装置及监管方法 |
CN101901633A (zh) * | 2009-05-27 | 2010-12-01 | 深圳芯邦科技股份有限公司 | 一种移动存储设备生产方案 |
US20100306450A1 (en) * | 2009-05-28 | 2010-12-02 | Hewlett-Packard Development Company, L.P. | Secure delivery of digital media via flash device |
CN102236618A (zh) * | 2011-06-15 | 2011-11-09 | 深圳市江波龙电子有限公司 | 一种usb设备的量产方法及系统 |
CN102842001A (zh) * | 2012-07-20 | 2012-12-26 | 西安邮电大学 | 一种基于u盘认证的计算机安全信息检测系统及方法 |
CN106790243A (zh) * | 2017-01-21 | 2017-05-31 | 厦门天锐科技股份有限公司 | 一种安全u盘的密码重置方法 |
CN107491323A (zh) * | 2017-07-07 | 2017-12-19 | 深圳芯邦科技股份有限公司 | 一种智能设备更新方法和系统 |
-
2019
- 2019-04-12 CN CN201910292264.1A patent/CN110197060A/zh active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070211310A1 (en) * | 2006-03-13 | 2007-09-13 | Brother Kogyo Kabushiki Kaisha | Scanner control system and scanner driver program |
CN101901633A (zh) * | 2009-05-27 | 2010-12-01 | 深圳芯邦科技股份有限公司 | 一种移动存储设备生产方案 |
US20100306450A1 (en) * | 2009-05-28 | 2010-12-02 | Hewlett-Packard Development Company, L.P. | Secure delivery of digital media via flash device |
CN101667934A (zh) * | 2009-08-25 | 2010-03-10 | 中国工程物理研究院电子工程研究所 | Usb接口设备网络化的集中监管装置及监管方法 |
CN102236618A (zh) * | 2011-06-15 | 2011-11-09 | 深圳市江波龙电子有限公司 | 一种usb设备的量产方法及系统 |
CN102842001A (zh) * | 2012-07-20 | 2012-12-26 | 西安邮电大学 | 一种基于u盘认证的计算机安全信息检测系统及方法 |
CN106790243A (zh) * | 2017-01-21 | 2017-05-31 | 厦门天锐科技股份有限公司 | 一种安全u盘的密码重置方法 |
CN107491323A (zh) * | 2017-07-07 | 2017-12-19 | 深圳芯邦科技股份有限公司 | 一种智能设备更新方法和系统 |
Non-Patent Citations (2)
Title |
---|
丁俊 等: "《计算机操作系统安装与维护》", 31 October 2016, 西南交通大学出版社 * |
张萌: ""一种移动存储设备量产工具的开发"", 《中国科技信息》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102663090B (zh) | 元数据查询方法和装置 | |
CN110321344B (zh) | 关联数据的信息查询方法、装置、计算机设备及存储介质 | |
CN102541757B (zh) | 写缓存方法、缓存同步方法和装置 | |
US20070124277A1 (en) | Index and Method for Extending and Querying Index | |
CN104794123A (zh) | 一种为半结构化数据构建NoSQL数据库索引的方法及装置 | |
US9996271B2 (en) | Storage controller and method of operating the same | |
CN102135995A (zh) | 一种etl数据清洗设计方法 | |
CN103200293A (zh) | 一种导入通讯录文件过程中自动合并重名联系人的方法 | |
CN101057294A (zh) | 存储包括元数据的视听数据的存储介质、以及使用所述元数据搜索视听数据的再现设备和方法 | |
CN110569390B (zh) | 基于区分存储介质的海量案件数据高效检索方法 | |
CN103955514A (zh) | 一种基于Lucene倒排索引的图像特征索引方法 | |
US20090216813A1 (en) | Method and system for generating a transaction-bound sequence of records in a relational database table | |
BR0208783A (pt) | Métodos para reorganizar dados e para registrar mudanças por um sistema de administração de banco de dados, aparelho para reorganizar dados, e, meio de armazenamento legivel por computador | |
CN109254971A (zh) | 资源编目方法及装置 | |
CN106021985A (zh) | 一种基因组数据压缩方法 | |
WO2015108521A1 (en) | Latch-free concurrent searching | |
Lomet | Digital B-trees | |
CN102959548A (zh) | 数据存储方法、查找方法及装置 | |
CN101661415A (zh) | 一种保存快照数据的方法及存储快照系统 | |
CN104166736A (zh) | 倒排索引文件的存储方法和装置 | |
CN101963993B (zh) | 一种数据库单表记录快速查找的方法 | |
CN110197060A (zh) | 一种批量制作u盘系统的方法 | |
CN116662327B (zh) | 一种用于数据库的数据融合清理方法 | |
CN106776702B (zh) | 一种处理主从式数据库系统中的索引的方法和装置 | |
CN105354149B (zh) | 一种内存数据查找方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190903 |
|
RJ01 | Rejection of invention patent application after publication |