CN202584294U - Encryption system for renting soybean milk machines - Google Patents
Encryption system for renting soybean milk machines Download PDFInfo
- Publication number
- CN202584294U CN202584294U CN201220089647.2U CN201220089647U CN202584294U CN 202584294 U CN202584294 U CN 202584294U CN 201220089647 U CN201220089647 U CN 201220089647U CN 202584294 U CN202584294 U CN 202584294U
- Authority
- CN
- China
- Prior art keywords
- flash disk
- making machine
- cpu
- bean milk
- soy bean
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The utility model discloses an encryption system for renting soybean milk machines. The encryption system is characterized by comprising an upper computer, a USB (Universal Serial Bus) flash disk and a target soybean milk machine for renting; the upper computer is provided with a first USB interface; a controller of the target soybean milk machine comprises a CPU (Central Processing Unit), a second USB interface, a human-machine operation interface and a memorizer; and the USB flash disk serves as a transmission medium between the upper computer and the CPU of the controller of the target soybean milk machine. For the USB flash disk, the upper computer writes the user information in a form of encrypted files into the USB flash disk through the first USB interface, and by the second USB interface, the CPU of the controller of the target soybean milk machine reads the encrypted files in the USB flash disk through the second USB interface; and after obtaining the encrypted files, the CPU of the controller of the target soybean milk machine decrypts the files to obtain the new user information including renting conditions, and controls the target soybean milk machine according to the new user information. The encryption system provided by the utility model is convenient and practical, and can effectively guarantee the rights and interests of a manufacturer/dealer.
Description
Technical field
The utility model relates to a kind of encryption system that is used to lease soy bean milk making machine.
Background technology
Because the price of commercial soy bean milk making machine is relatively expensive, and applicable object mainly is small-sized market, restaurant at present.These markets, restaurant consider operating cost; Often take the commercial soy bean milk making machine of renting of the form of leasing; For ensureing commercial soy bean milk making machine manufacturer/dealer's legitimate rights and interests, convenient to renting the management of commercial soy bean milk making machine, need the service condition of agreements such as term of life, number of times to limit to soy bean milk making machine.Corresponding encryption and authorization method is not also arranged in the prior art; So that can utilize this encryption and authorization normal direction soy bean milk making machine controller to write the lease condition such as time limit or access times of lease; Realization is to the encryption authorization of commercial soy bean milk making machine; Make the CPU of commercial soy bean milk making machine controller from encrypt file, read the information that comprises lease condition; CPU judges that according to the lease condition of being obtained only commercial soy bean milk making machine just can be moved when satisfying lease condition, so just can more effectively ensure manufacturer/dealer's rights and interests.
This shows, be necessary to provide a kind of encryption system that is specially adapted to lease soy bean milk making machine.
The utility model content
The task of the utility model is to provide a kind of encryption system that is used to lease soy bean milk making machine.
Its technical solution is:
A kind of encryption system that is used to lease soy bean milk making machine, the target soy bean milk making machine that comprises host computer, USB flash disk and be used to lease; Host computer is provided with first USB interface, and the controller of target soy bean milk making machine comprises the CPU and second USB interface, and USB flash disk is as the transmission medium between the CPU of host computer and target soy bean milk making machine controller.
Above-mentioned USB flash disk is through first USB interface, by host computer user profile write USB flash disk with the form of encrypt file, again through second USB interface, reads the encrypt file in the USB flash disk by the CPU of target soy bean milk making machine controller by means of second USB interface; After the CPU of target soy bean milk making machine controller obtains encrypt file, decipher the new user profile that obtains comprising lease condition, and according to new user information control target soy bean milk making machine.
What above-mentioned second USB interface was selected for use is the CH376 chip.
The utlity model has following useful technique effect:
The utility model is transmission medium with the USB flash disk, writes lease conditions such as rental period and/or access times to the controller of target soy bean milk making machine, has realized the encryption authorization to the commercial soy bean milk making machine that is used to lease; The lease condition that the CPU basis of target soy bean milk making machine controller is obtained is the duty of controlled target soy bean milk making machine in real time; If the target soy bean milk making machine also is in the stage that can satisfy lease condition; Can operate as normal, in case the situation of lease condition occurs satisfying, just can not work.The utility model is convenient and practical, can ensure manufacturer/dealer's rights and interests effectively.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the utility model is described further:
Figure is the structural principle schematic block diagram of a kind of embodiment of the utility model.
Embodiment
In conjunction with accompanying drawing, a kind of encryption system that is used to lease soy bean milk making machine, the target soy bean milk making machine that comprises host computer, USB flash disk and be used to lease.Above-mentioned host computer is provided with first USB interface, host computer can accomplish user profile editor, search, add, deletion and update user information, have the USB flash disk of writing, cryptoguard and password authorization function simultaneously.The controller of target soy bean milk making machine comprises the CPU and second USB interface, and USB flash disk is as the transmission medium between the CPU of host computer and target soy bean milk making machine controller.Above-mentioned USB flash disk is through first USB interface, by host computer user profile write USB flash disk with the form of encrypt file, again through second USB interface, reads the encrypt file in the USB flash disk by the CPU of target soy bean milk making machine controller by means of second USB interface; After the CPU of target soy bean milk making machine controller obtains encrypt file, decipher the new user profile that obtains comprising lease condition, and according to new user information control target soy bean milk making machine.What above-mentioned second USB interface was selected for use is the CH376 chip.
The course of work of the utility model roughly is:
At first USB flash disk is inserted first USB interface of host computer, user profile is write USB flash disk with the form of encrypt file by host computer; Then USB flash disk is consigned to soy bean milk making machine and charter the family; Charter the family by soy bean milk making machine USB flash disk is inserted second USB interface; CPU reads the encrypt file in the USB flash disk by means of second USB interface; After CPU obtains encrypt file, decipher the new user profile that obtains comprising lease condition, lease condition comprises rental period and/or the access times that set to this target soy bean milk making machine; CPU is according to new user information control target soy bean milk making machine, when the target soy bean milk making machine in case when the situation of above-mentioned lease condition occurring satisfying with regard to termination work.Above-mentioned CPU is the encrypt file in the instant USB flash disk of deletion automatically after obtaining encrypt file; CPU upgrades original old user profile with the new user profile that obtains.Above-mentioned host computer can adopt the cipher mode that XOR is encrypted and random number combines; Each numeral among the 0-9 is all corresponding with a character; Utilize the erratic behavior of random number; Effective information is nested in the random number with a definite sequence, and this information sequence is translated into corresponding character according to top mapping function.
In said process; After USB flash disk inserted second USB interface, click the respective keys on the man-machine interface of target soy bean milk making machine, CPU promptly begins to read the encrypt file in the USB flash disk; After CPU obtains encrypt file; User profile is wherein deposited in the storer, and the corresponding pilot lamp in back that finishes to be stored can light, and pulls up the USB flash disk operation this moment and promptly accuses completion; Whether the present operation of real-time judge satisfied lease condition when CPU moved in the target soy bean milk making machine, if satisfy lease condition, the target soy bean milk making machine can operate as normal, otherwise then stops work.
Above-mentioned related content is further specified as follows:
The application program of host computer can be relied on the VC6.0 development environment, by means of a dialog box program of Windows MFC exploitation, is used for accomplishing the maintenance work of target soy bean milk making machine lease user profile.This software comprise user profile editor, search, add, function such as deletion and update user information, contain simultaneously and write USB flash disk, cryptoguard and password authorization function.
The Software Operation password can be divided into administrator's password (level password) and dealer's password (secondary password), through correct input manager person's password authorised dealer's password again, allows different dealers that different separately secondary passwords is arranged.Administrator's password or dealer's password authentification through after all can safeguard user profile.
Software binding a data library file, this document is used for storing user related information.Through this upper computer software, the user can directly edit, add, delete, search the information in the database and operation such as renewal, has made things convenient for the management to user profile.Simultaneously, can user profile be write USB flash disk with the form of encrypt file by means of this software, and give the target soy bean milk making machine with the file transfers of encrypting, with the term of a lease of fresh target soy bean milk making machine storage inside more or allow access times through USB flash disk.
To encryption technology, consider the complexity of CPU decryption work and the security of encryption, system adopts the encryption method that XOR is encrypted and random number combines, and has effectively guaranteed safety of data, can not let decryption work become the burden of CPU again simultaneously.Encipherment scheme is following: digital 0-9 is set up a mapping function; Make each numeral among the 0-9 all corresponding with a character; Utilize the erratic behavior of random number; Effective information is nested in the random number with a definite sequence, and this information sequence is translated into corresponding character according to top mapping function.Through this AES, when valid data are protected, simplify decryption work largely, CPU usage reduces.If the CPU arithmetic speed allows,, can more effective data be protected through setting up a plurality of mapping functions.Facts have proved that this algorithm for encryption is simple, it is difficult to crack, and has obtained cipher round results preferably.
The operation of target soy bean milk making machine controller is following:
After the USB flash disk insertion target soy bean milk making machine that writes encrypt file; Only need click the button on the man-machine interface of soy bean milk making machine controller, just can make CPU crack enciphered message, and wherein useful information such as lease condition (lease zero-time and closing time or permission access times information) are deposited in the storer; Whether the present operation of real-time judge satisfies lease condition; As whether in the lease time, if then soy bean milk making machine can operate as normal; Otherwise soy bean milk making machine termination work waits for that the user renews a contract or the return soy bean milk making machine.Soy bean milk making machine has pilot lamp and lights after the information of having stored, can pull up USB flash disk this moment, accomplishes the operation of soy bean milk making machine controller.
CPU cracks the process of enciphered message and accomplishes through chip CH376.This chip can carry out read-write operation to the file in the USB flash disk under the control of CPU.In software, set the discernible file name of CH376, like " ZHUANLI.DAT " (being the filename that above-mentioned host computer writes the encrypt file of USB flash disk).Cpu command CH376 searches for this document in the USB flash disk always, in case insert USB flash disk, after CH376 searches this encrypt file, can read the content of this document automatically.This content promptly is made up of above-mentioned random number, and valid data embed wherein.The first half valid data are a string identification codes, and the latter half valid data are information such as lease time or access times.At first, CH376 obtains all valid data according to rule, abandons other random numbers.Then, CPU obtains the identification code (first half valid data) that CH376 sends back to, and corresponding one by one with the good identification code of software set.If all correct, confirm that then this encrypt file is effective, write by the host computer of this product really.Incorrect as if having, then abandon this file, and repeat said process.After identification code was all correct, CPU can be stored to non-volatile memory chip 24C02 with lease time or the access times (latter half valid data) that CH376 sends back to, and whether the current operation of real-time judge satisfies lease condition in view of the above.
The relevant technologies content of not addressing in the aforesaid way is taked or is used for reference prior art and can realize.
Need to prove that those skilled in the art can also make such or such easy variation pattern under the instruction of this instructions, such as equivalent way, or obvious mode of texturing.Above-mentioned variation pattern all should be within the protection domain of the utility model.
Claims (2)
1. encryption system that is used to lease soy bean milk making machine, the target soy bean milk making machine that it is characterized in that comprising host computer, USB flash disk and be used to lease; Host computer is provided with first USB interface, and the controller of target soy bean milk making machine comprises the CPU and second USB interface, and USB flash disk is as the transmission medium between the CPU of host computer and target soy bean milk making machine controller.
2. a kind of encryption system that is used to lease soy bean milk making machine according to claim 1 is characterized in that: what said second USB interface was selected for use is the CH376 chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201220089647.2U CN202584294U (en) | 2012-03-12 | 2012-03-12 | Encryption system for renting soybean milk machines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201220089647.2U CN202584294U (en) | 2012-03-12 | 2012-03-12 | Encryption system for renting soybean milk machines |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202584294U true CN202584294U (en) | 2012-12-05 |
Family
ID=47253682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201220089647.2U Expired - Fee Related CN202584294U (en) | 2012-03-12 | 2012-03-12 | Encryption system for renting soybean milk machines |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202584294U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107647773A (en) * | 2016-07-26 | 2018-02-02 | 佛山市顺德区美的电热电器制造有限公司 | The control method and control device of cooking apparatus, cooking apparatus |
CN108492470A (en) * | 2018-03-09 | 2018-09-04 | 迟祥 | The Sharing Management system of dedicated electric appliance equipment |
-
2012
- 2012-03-12 CN CN201220089647.2U patent/CN202584294U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107647773A (en) * | 2016-07-26 | 2018-02-02 | 佛山市顺德区美的电热电器制造有限公司 | The control method and control device of cooking apparatus, cooking apparatus |
CN108492470A (en) * | 2018-03-09 | 2018-09-04 | 迟祥 | The Sharing Management system of dedicated electric appliance equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9529735B2 (en) | Secure data encryption in shared storage using namespaces | |
CN103366797B (en) | By the design method of security U disk of the certification of wireless authentication authorization terminal and encryption and decryption | |
US7971017B1 (en) | Memory card with embedded identifier | |
US20080215881A1 (en) | Method Of Encrypting/Decrypting The Document And A Safety Management Storage Device And System Method Of Its Safety Management | |
US20080022415A1 (en) | Authority limit management method | |
CN105339919A (en) | Device and memory system | |
CN102955746A (en) | Read-only mode mobile storage device and data access method thereof | |
CN103581196A (en) | Distributed file transparent encryption method and transparent decryption method | |
CN101246530A (en) | System and method of storage device data encryption and data access via a hardware key | |
CN104794388B (en) | application program access protection method and application program access protection device | |
CN103955654A (en) | USB (Universal Serial Bus) flash disk secure storage method based on virtual file system | |
CN102693399B (en) | System and method for on-line separation and recovery of electronic documents | |
JP5354001B2 (en) | Information processing apparatus, information processing system, and program | |
CN105027498A (en) | A method, system and device for securely storing data files at a remote location by splitting and reassembling said files | |
CN104573536A (en) | File protection method and device | |
KR101476030B1 (en) | Information storage device, control method of information storage device and recording medium | |
CN104778954A (en) | Optical disc partition encryption method and system | |
CN202584294U (en) | Encryption system for renting soybean milk machines | |
CN101132275B (en) | Safety system for implementing use right of digital content | |
WO2015154469A1 (en) | Database operation method and device | |
CN105279453A (en) | Separate storage management-supporting file partition hiding system and method thereof | |
CN102012874A (en) | USB (universal serial bus) storage device provided with resource manager | |
CN102610039B (en) | Encrypting method for leasehold bean milk machine | |
JP5631251B2 (en) | Information leakage prevention method | |
CN102855419A (en) | Copyright protection method for data files of intelligent terminals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121205 Termination date: 20210312 |
|
CF01 | Termination of patent right due to non-payment of annual fee |