CN110866267B - Control method of password card time management system of beauty equipment - Google Patents
Control method of password card time management system of beauty equipment Download PDFInfo
- Publication number
- CN110866267B CN110866267B CN201911140099.4A CN201911140099A CN110866267B CN 110866267 B CN110866267 B CN 110866267B CN 201911140099 A CN201911140099 A CN 201911140099A CN 110866267 B CN110866267 B CN 110866267B
- Authority
- CN
- China
- Prior art keywords
- password
- value
- address
- area
- decoding
- 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
- 230000003796 beauty Effects 0.000 title claims abstract description 18
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000005336 cracking Methods 0.000 claims description 23
- 238000004364 calculation method Methods 0.000 claims description 6
- 239000002537 cosmetic Substances 0.000 claims 4
- 230000006855 networking Effects 0.000 abstract description 8
- 238000011161 development Methods 0.000 abstract description 3
- 238000012795 verification Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 5
- 239000003990 capacitor Substances 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000013078 crystal Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- 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/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention relates to a control method of a password card time management system of beauty equipment, which comprises the following steps: through a password algorithm, the single chip microcomputer writes the random number and the authority value into the memory in advance, the display screen inputs and decodes the password and sends the password to the single chip microcomputer, and the single chip microcomputer decodes and verifies the decoded password, so that equipment can allocate the random password under the condition of no networking, the problems of password management verification development cost, remote password management caused by instability of the Internet of things and the like are solved, and the working efficiency is improved; due to the adoption of the excel formula, different equipment key ID numbers can be set, and password libraries corresponding to different equipment can be automatically generated, so that the requirement of large-scale equipment management is met.
Description
Technical Field
The invention relates to a control method of a password card time management system of beauty equipment, in particular to a method for matching random passwords and managing and controlling the use time of the beauty equipment under the condition of no networking.
Background
Before the invention is made, the technical problem about management of the password card of the beauty equipment in the market can only be solved under the condition of no networking, the use duration of the beauty equipment is controlled by adopting a fixed password, and the management requirement of a password library can be met only by manual butt joint or development of an APP (application program); the randomness of the password and the visibility of password library management cannot be fully exerted under the condition of no networking.
Disclosure of Invention
The invention aims to provide a control method of a management system when a password card of beauty equipment is used, a random number and a weight limit value are written into a memory in advance through a single chip microcomputer, a display screen inputs a cracking password and sends the cracking password to the single chip microcomputer, and the single chip microcomputer decodes and verifies the cracking password, so that the equipment can be allocated with the random password under the condition of no networking, the problems of password management verification development cost, remote password management and the like caused by instability of the Internet of things are solved, and the working efficiency is improved; due to the adoption of the excel formula, the setting of different equipment key ID numbers can be realized, the password libraries corresponding to different equipment can be automatically generated, and the requirement of large-batch equipment management can be met.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention relates to a control method of a password card time management system of beauty equipment, which comprises the following steps:
1) Through a cryptographic algorithm, the singlechip writes the random number and the authority value into a 24C512 memory in the hardware storage circuit in advance;
2) Providing a cracking password through a password configuration generation mode;
3) Carrying out password cracking operation, carrying out man-machine touch operation on a serial port screen, and automatically inputting 8-bit data and sending the data to a single chip microcomputer;
4) The input 8-bit data is sent to the single chip microcomputer through the serial port screen, and the high 5-bit data is decoded by adopting a cryptographic algorithm to obtain an address N; then the singlechip addresses a random number address N and an authority address N +20000 corresponding to the 24C512 memory in the hardware storage circuit, judges whether the value of the authority address is an authority value 0xAA, and if the value of the authority address is not the authority value 0xAA, the solution is failed, and an error is displayed on a serial port screen; if the authority value is 0xAA, continuously adopting a cryptographic algorithm, subtracting the random number on addressing from the corresponding 4-bit secret key ID number of the equipment, taking the lower three bits for decoding to generate three-bit data, comparing the three-bit data with the lower three bits of the input 8-bit data one by one to determine whether the three-bit data is consistent, if so, indicating that the password is successfully cracked, and displaying 'OK' on a serial port screen; if the password is inconsistent with the password, the password is failed to be cracked, and the error is displayed on the serial port screen.
The cryptographic algorithm uses srad () to set the random number seed when rand () generates random number, thereby generating 20000 random numbers, to write the random number seed in the first 20000 addresses of 24C512 in advance, then writes authority value 0XAA in the addresses 20000 to 39999 of 24C512, sets the random number seed when rand () generates random number by srad (data 1+ byteCnt 128), and writes random number and authority value 0XAA in the address corresponding to 24C512 by I2C _ WriteStr (0 xa0, (byteCnt 128), seed, 128) and I2C _ WriteStr (0 xa0, (20096 byteCnt 128), seed, 128).
The configuration generation mode of the password is that Microsoft excel 2007 of Microsoft corporation is used as a tool, 20000 pseudo random numbers are placed in cells corresponding to the area a in the excel in advance in a certain arrangement mode; setting device key IDs in 20000 cells corresponding to the area B in the excel through one cell M; adopting an excel calculation formula IMSUB, subtracting the numerical values in the 20000 cells in the area A from the 20000 equipment secret key IDs in the area B, taking three lower bits, and arranging the lower bits in the 20000 cells in the area C one by one; the 20000 data in the region C are arranged in the 20000 cells in the region D one by one in the following coding mode: hundred digit numerical coding mode
Before decoding | After decoding |
0 | 7 |
1 | 3 |
2 | 9 |
3 | 8 |
4 | 5 |
5 | 2 |
6 | 1 |
7 | 6 |
8 | 4 |
9 | 0 |
Ten digit numerical coding mode
Value before decoding | Decoded value |
0 | 1 |
1 | 2 |
2 | 5 |
3 | 7 |
4 | 0 |
5 | 3 |
6 | 4 |
7 | 6 |
8 | 9 |
9 | 8 |
Bit number coding mode
And placing 0-19999 in 20000 cells corresponding to the region E in the excel in a certain arrangement mode by adopting the following coding mode:
ten thousand digit number coding mode
Value before decoding | Decoded value |
0 | 3 |
1 | 7 |
2 | 5 |
3 | 8 |
4 | 2 |
5 | 4 |
6 | 1 |
7 | 9 |
8 | 6 |
9 | 0 |
Thousand-digit numerical value coding mode
Hundred digit numerical coding mode
Value before decoding | Decoded value |
0 | 7 |
1 | 1 |
2 | 9 |
3 | 2 |
4 | 8 |
5 | 3 |
6 | 0 |
7 | 5 |
8 | 6 |
9 | 4 |
Ten digit numerical coding mode
Bit number coding mode
Value before decoding | Decoded value |
0 | 4 |
1 | 0 |
2 | 2 |
3 | 9 |
4 | 3 |
5 | 1 |
6 | 5 |
7 | 8 |
8 | 7 |
9 | 6 |
And adding the numerical values of the D area and the E area in a one-to-one correspondence manner into 20000 cells in the area F. Thus, by setting the key ID in the cell M, different 20000 cryptographic databases in the area F can be obtained.
The hardware storage circuit is controlled by a HWL-A5120-01V1.2 circuit board of the company, so that the SST89E516RD single chip microcomputer can address and read data on the corresponding address of the 24C512 memory, whether the random number and the weight value corresponding to the number input by the display screen are consistent with the data on the corresponding address of the 24C512 memory is judged through the logical relationship of the single chip microcomputer, and the purpose of verifying whether the decrypted password is correct is achieved.
The password cracking operation is implemented by adopting a serial port screen DMT10600C101-06WT of Beijing Divintech Limited company to perform man-machine touch operation, automatically inputting data and sending the data to an SST89E516RD single chip, and the purpose of password cracking is achieved by a mode of reversely decoding through a single chip microcomputer.
Due to the adoption of the technical scheme, the invention has the advantages that:
1. in order to realize management and configuration of the beauty equipment through the random password under the condition of no networking, the invention adopts the allocation of the random number password seeds of the singlechip, the logical decoding of the singlechip and the calculation of the excel formula, has strong logical capability and improves the safety and the reliability of the limited use of the beauty equipment.
2. The invention has the unique function of writing the random number into the memory in advance under the condition of no networking, greatly improves the safety and the efficiency of the password and enables the effective management of mass beauty equipment under the condition of no networking to be possible.
3. The automatic generation and calibration of the singlechip password library provides guarantee for the reliability and the efficient operation of password cracking of equipment.
4. Due to the adoption of a novel password management scheme of the beauty equipment, the requirement of large-batch beauty equipment management can be met.
Drawings
FIG. 1 is a block diagram of the working principle of the present invention;
FIG. 2 is a schematic diagram of a hardware memory circuit of the present invention;
Detailed Description
The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
The control method of the password card time management system of the beauty equipment comprises the following steps:
1) Through a cryptographic algorithm, a singlechip with the model SST89E516RD writes a random number and an authority value into a 24C512 memory in a hardware storage circuit in advance;
2) Providing a cracking password through a password configuration generation mode;
3) Carrying out password cracking operation, carrying out man-machine touch operation on a serial port screen, and automatically inputting 8-bit data to send to a single chip microcomputer;
4) The input 8-bit data is sent to the single chip microcomputer through the serial port screen, and the high 5-bit data is decoded by adopting a cryptographic algorithm to obtain an address N; then the singlechip addresses a random number address N and an authority address N +20000 corresponding to the 24C512 memory in the hardware storage circuit, judges whether the value of the authority address is an authority value 0xAA, and if the value of the authority address is not the authority value 0xAA, the solution is failed, and an error is displayed on a serial port screen; if the authority value is 0xAA, continuously adopting a cryptographic algorithm, subtracting the random number on addressing from the corresponding 4-bit secret key ID number of the equipment, taking the lower three bits for decoding to generate three-bit data, comparing the three-bit data with the lower three bits of the input 8-bit data one by one to determine whether the three-bit data is consistent, if so, indicating that the password is successfully cracked, and displaying 'OK' on a serial port screen; if the password is inconsistent with the password, the password is not cracked, and the error is displayed on the serial port screen.
The cryptographic algorithm uses srand () to set a random number seed when rand () generates a random number, thereby generating 20000 pseudo random numbers to be written into the first 20000 address of 24C512 in advance, and then writes the authority value 0XAA into the address 20000 to 39999 of 24C 512. The random number seed when rand () generates a random number is set by srad (data 1+ byteCnt 128), and the random number and the weight value 0xAA are written into the address corresponding to 24C512 by I2C _ WriteStr (0 xa0, (byteCnt 128), seed, 128) and I2C _ WriteStr (0 xa0, (20096 + byteCnt 128), seed, 128). The 8 bit data of input are sent to the singlechip through the display screen serial ports, and the five high-order digits are through following decoding mode:
ten thousand bit numerical value coding mode
Thousand-digit numerical value coding mode
Value before decoding | Decoded value |
0 | 4 |
1 | 5 |
2 | 0 |
3 | 3 |
4 | 9 |
5 | 1 |
6 | 2 |
7 | 7 |
8 | 8 |
9 | 6 |
Hundred digit numerical coding mode
Ten digit numerical coding mode
Value before decoding | Decoded value |
0 | 3 |
1 | 4 |
2 | 7 |
3 | 5 |
4 | 0 |
5 | 9 |
6 | 2 |
7 | 6 |
8 | 1 |
9 | 8 |
Bit number coding mode
Value before decoding | Decoded value |
0 | 1 |
1 | 5 |
2 | 2 |
3 | 4 |
4 | 0 |
5 | 6 |
6 | 9 |
7 | 8 |
8 | 7 |
9 | 3 |
Generating an address N for addressing 24C512 so that the singlechip can address a corresponding random number address N and an authority address N +20000, and judging whether the authority value on the address is an authority value 0xAA; subtracting the random number on the addressing address from the corresponding device key ID, and taking the lower three-digit number, and decoding by the following method:
ten thousand digit number coding mode
Value before decoding | DecodingRear value |
0 | 3 |
1 | 7 |
2 | 5 |
3 | 8 |
4 | 2 |
5 | 4 |
6 | 1 |
7 | 9 |
8 | 6 |
9 | 0 |
Thousand-digit numerical value coding mode
Hundred digit numerical coding mode
Value before decoding | Decoded value |
0 | 7 |
1 | 1 |
2 | 9 |
3 | 2 |
4 | 8 |
5 | 3 |
6 | 0 |
7 | 5 |
8 | 6 |
9 | 4 |
Ten digit numerical coding mode
Value before decoding | Decoded value |
0 | 4 |
1 | 8 |
2 | 6 |
3 | 0 |
4 | 1 |
5 | 3 |
6 | 7 |
7 | 2 |
8 | 9 |
9 | 5 |
Bit number coding mode
Value before decoding | Decoded value |
0 | 4 |
1 | 0 |
2 | 2 |
3 | 9 |
4 | 3 |
5 | 1 |
6 | 5 |
7 | 8 |
8 | 7 |
9 | 6 |
Three-bit data is generated, and the three-bit data is compared with the lower three-bit of the input 8-bit data one by one to see whether the three-bit data is consistent with the input 8-bit data. If the weight value judgment and the low three-digit judgment are both correct, the password cracking success is indicated.
The configuration generation mode of the password is that Microsoft excel 2007 of Microsoft corporation is used as a tool, and 20000 random numbers are placed in a cell corresponding to the area A in the excel in advance in a certain arrangement mode; setting device key IDs in 20000 cells corresponding to the area B in the excel through one cell M; adopting an excel calculation formula IMSUB, subtracting the numerical values in the 20000 cells in the area A from the 20000 equipment key IDs in the area B, taking three lower bits, and arranging the lower bits in the 20000 cells in the area C one by one; the 20000 data in the region C are arranged in the 20000 cells in the region D one by one in the following coding mode:
hundred digit numerical coding mode
Ten digit numerical coding mode
Value before decoding | Decoded value |
0 | 1 |
1 | 2 |
2 | 5 |
3 | 7 |
4 | 0 |
5 | 3 |
6 | 4 |
7 | 6 |
8 | 9 |
9 | 8 |
Bit number coding mode
And placing 0-19999 in 20000 cells corresponding to the region E in the excel in a certain arrangement mode by adopting the following coding mode:
ten thousand digit number coding mode
Value before decoding | Decoded value |
0 | 3 |
1 | 7 |
2 | 5 |
3 | 8 |
4 | 2 |
5 | 4 |
6 | 1 |
7 | 9 |
8 | 6 |
9 | 0 |
Thousand-digit numerical value coding mode
Hundred digit numerical coding mode
Value before decoding | Decoded value |
0 | 7 |
1 | 1 |
2 | 9 |
3 | 2 |
4 | 8 |
5 | 3 |
6 | 0 |
7 | 5 |
8 | 6 |
9 | 4 |
Ten digit numerical coding mode
Bit number coding mode
Value before decoding | Decoded value |
0 | 4 |
1 | 0 |
2 | 2 |
3 | 9 |
4 | 3 |
5 | 1 |
6 | 5 |
7 | 8 |
8 | 7 |
9 | 6 |
And adding the numerical values of the D area and the E area in a one-to-one correspondence manner into 20000 cells in the area F. Thus, by setting the key ID in the cell M, different 20000 cryptographic databases in the area F can be obtained.
The hardware storage circuit is used for enabling a single chip microcomputer with the model SST89E516RD to address and read data on a corresponding address of the 24C512 memory, and judging whether a random number and a weight value corresponding to a number input by the display screen are consistent with data on the corresponding address of the 24C512 memory through the logic relation of the single chip microcomputer, so that the purpose of judging whether a password is correct is achieved. The hardware storage circuit adopts a circuit board of model HWL-A5120-01V1.2 of Wuhan Haowei science and technology Limited. In the description, in the attached figure 2: u1 is SST89E516RD singlechip, U5 is 24C512 external memory, D18 is IN4733 zener diode, LS1 is buzzer, Q1 is S9013 triode, C1 and C12 are capacitors with the capacity value of 100nF, C10 and C11 are high-frequency capacitors with the capacity value of 15pF, C7 is an electrolytic capacitor with the capacity value of 10uF and the withstand voltage of 16V, C17 is a capacitor with the capacity value of 2.2nF, Y1 is 22.1184M crystal oscillator, D1 is a light emitting diode, RB2 is 9-pin exclusion with the single resistance value of 10K ohm, R5 is a resistance with the resistance value of 10K ohm, R7 is a resistance with the resistance value of 470 ohm, R8 is a resistance with the resistance value of 1K ohm, R10 is a resistance with the resistance value of 2.7K ohm, and J1 is 5V direct current power supply interface. The clock oscillation circuit consisting of Y1, C1 and C12 provides clock frequency required by work for U1; r10, R8, C17, Q1 and LS1 form a buzzer driving circuit, and the buzzer can be directly controlled through U1; u5 can enable U1 to read and write data from and to U5 through IIC communication protocol by connecting three pins of U1; the TTL serial port communication mode that the serial port screen adopted can directly be connected with U1's pin, makes U1 can send serial port data to the serial port screen and receive the instruction data from the serial port screen.
The password cracking operation adopts a serial port screen to perform man-machine touch operation, data is automatically input and sent to the single chip microcomputer, and the password cracking purpose is achieved through a reverse decoding mode of the single chip microcomputer. The serial port screen adopts DMT10600C101-06WT model of Beijing Diwen technology.
Further description of the invention: 20000 random databases generated by rand () are fixed databases, but can be configured to random password databases corresponding to different devices through different device secret key IDs, so that the passwords of different devices are independent and do not intersect with each other, and the success rate of cracking the passwords of the devices is almost 0 on the premise that no password administrator provides help. Where the above-mentioned rand () is a function in the header file < stdlib. H > in C language, and the rand () generates a pseudo random number between 0 and 255. And srand () is the next "seed" for generating pseudo-random numbers for rand (). The so-called 'seed' is to give an initial value to the pseudo-random generator, because if the initial value is the same, the law of the pseudo-random number generated later is the same, and the purpose of 'random' cannot be achieved. So srand () is generally started by real time in the machine, because the value of real time changes every moment, so that the pseudo-random number sequence generated by the started rand () function can achieve the effect of false or false. 24C512 is an external memory chip of ATMEL corporation, which has 65536 bytes of memory space and can store 65536 bytes of data.
Before equipment leaves a factory, the invention uses singlechip logic (exemplified by C language) in advance:
20096 random numbers are written into 24C512 through IIC communication, wherein only 20000 random numbers are used, and the other 96 random numbers can be used as equipment configuration upgrade.
Then, the logic of the single chip microcomputer (the C language is used for example here)
20096 authority values 0xAA are written into 24C512 through IIC communication, wherein only 20000 authority values are used, and the other 96 authority values can be used as equipment configuration upgrading;
when the passwords are cracked, the input numerical values are logically decoded by the single chip microcomputer and then compared with the random number of the corresponding address reading 24C512 memory and whether the weight values are consistent, after each cracking, the weight value of the corresponding address of the 24C512 memory is written into 0x55, so that 20000 passwords in the excel password library can be used as cracked passwords only once, and the service life of the equipment can be accumulated when each cracked password is input.
The invention does not need to be networked, and the equipment manager can remotely manage and configure the equipment only through the excel password library, thereby meeting the requirements of renting or other sale modes. The passwords in the password library are random numbers, the 8-bit passwords formed randomly are 10^8 in total and 20000 in total correct passwords according to the probability calculation of the random numbers, so the normal cracking rate is 20000/(10 ^ 8) =0.0002, namely two ten thousand, namely, the successful cracking is possible only by averagely inputting random 5000 passwords, but the password is recorded by GBK touch control of a Di Wen Chuankou screen, the calculation is carried out according to 1 minute of the time of one operation, the time of 5000 times of operation is more than 83 hours, namely, the successful cracking is possible only three or four days of the operation without sleep, the cracking is almost 0 on the premise of no excel password library, and meanwhile, the safety and reliability of equipment are ensured.
The invention provides a set of complete password management scheme, and a password library of different secret key ID devices can be established only through common office software excel, so that visual password management is carried out, and the equipment leasing, classification management and the like are facilitated. The invention can realize that: under the condition that the beauty equipment does not have the function of internet of things, the beauty equipment is used in a limited time and is configured with function upgrading.
It should be understood that the above-described embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. Not all embodiments are exhaustive. Obvious changes and modifications of the technical scheme of the invention are included in the protection scope of the invention.
Claims (5)
1. A control method of a password card time management system of a beauty device is characterized in that: the method comprises the following steps:
1) Through a cryptographic algorithm, the singlechip writes the random number and the authority value into a 24C512 memory in the hardware storage circuit in advance;
2) Providing a cracking password through a password configuration generation mode;
3) Carrying out password cracking operation, carrying out man-machine touch operation on a serial port screen, and automatically inputting 8-bit data and sending the data to a single chip microcomputer;
4) The input 8-bit data is sent to the single chip microcomputer through the serial port screen, and the high 5-bit data is decoded by adopting a cryptographic algorithm to obtain an address N; then the singlechip addresses a random number address N and an authority address N +20000 corresponding to the 24C512 memory in the hardware storage circuit, judges whether the value of the authority address is an authority value 0xAA, if not, the solution fails, and displays 'error' on a serial port screen; if the authority value is 0xAA, continuously adopting a cryptographic algorithm, subtracting the random number on addressing from the ID number of the 4-bit cryptographic key of the corresponding equipment, taking the lower three bits for decoding to generate three-bit data, comparing the three-bit data with the lower three bits of the input 8-bit data one by one to determine whether the three-bit data is consistent, if so, indicating that the password is successfully cracked, and displaying 'OK' on a serial port screen; if the password is inconsistent with the password, the password is not cracked, and the error is displayed on the serial port screen.
2. The control method of the password card timing management system of the cosmetic device according to claim 1, wherein: the cryptographic algorithm uses srand () to set the random number seed when rand () generates random number, so as to generate 20000 pseudo random numbers to be written into the first 20000 address of 24C512 in advance, and then write the authority value 0XAA into the address 20000 to the address 39999 of 24C512 memory.
3. The control method of the password card timing management system of the cosmetic device according to claim 1, wherein: the configuration generation mode of the password is that Microsoft excel 2007 is used as a tool, 20000 pseudo random numbers are placed in the cells corresponding to the area A in the excel in sequence according to the sequence of generation, 100 random numbers are placed in each row from left to right, and the arrangement mode of 200 rows is total; setting device key IDs in 20000 cells corresponding to the area B in the excel through one cell M, wherein the arrangement mode of data in the area B is the same as that of the area A; adopting an excel calculation formula IMSUB, subtracting the numerical values in the 20000 cells in the area A from the 20000 key IDs in the area B, taking three lower bits, and arranging the lower bits in the 20000 cells in the area C one by one; 20000 data in the region C are arranged in 20000 cells in the region D one by one in the following coding mode;
hundred digit encoding:
before decoding, 01 2 3 4 6 7 8;
73, 9, 8, 2, 1, 6 and 4 after decoding;
ten-digit numerical coding mode:
pre-decoding value: 01 2 3 4 6 7 8;
decoded value: 12 5 70 3 4 6 8;
bit value encoding method:
pre-decoding value: 01 2 3 4 6 7 8;
decoded value: 2 17 3 4 5 6 8;
placing 100 coding modes of 0-19999 in each row from left to right in sequence, wherein the coding modes are 200 rows in total, and are placed in 20000 cells corresponding to the region E in the excel;
ten thousand digit numerical value coding mode:
pre-decoding value: 01 2 3 4 6 7 8;
decoded values: 3 7 5 8 2 19 0;
thousand-digit numerical value coding mode:
pre-decoding value: 01 2 3 4 6 7 8;
decoded values: 25 6 3 01 9 7 4;
hundred digit encoding:
pre-decoding value: 01 2 3 4 6 7 8;
decoded value: 7 19 2 3 0 5 4;
ten-digit numerical coding mode:
pre-decoding value: 01 2 3 4 6 7 8;
decoded values: 4 8 60 13 2 9;
bit value encoding method:
pre-decoding value: 01 2 3 4 6 7 8;
decoded values: 4 02 9 3 18 7;
adding the numerical values of the D area and the E area in a one-to-one correspondence manner and placing the numerical values in 20000 cells in the area F; thus, by setting the key ID in the cell M, different 20000 cryptographic databases in the area F can be obtained.
4. The control method of the password card timing management system of cosmetic apparatus according to claim 1, wherein: the hardware storage circuit is used for enabling the single chip microcomputer to address and read and write data on the corresponding address of the 24C512 memory, and judging whether the random number and the weight value corresponding to the decoded data input by the display screen are consistent with the data on the corresponding address of the 24C512 memory through the logic relation of the single chip microcomputer, so that the aim of verifying whether the decrypted password is correct is fulfilled.
5. The control method of the password card timing management system of the cosmetic device according to claim 1, wherein: the password cracking operation is characterized in that a serial port screen is used for man-machine touch operation, data are automatically input and sent to the single chip, and the purpose of cracking the password is achieved through a reverse decoding mode of the single chip microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911140099.4A CN110866267B (en) | 2019-11-20 | 2019-11-20 | Control method of password card time management system of beauty equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911140099.4A CN110866267B (en) | 2019-11-20 | 2019-11-20 | Control method of password card time management system of beauty equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110866267A CN110866267A (en) | 2020-03-06 |
CN110866267B true CN110866267B (en) | 2023-04-18 |
Family
ID=69654969
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911140099.4A Active CN110866267B (en) | 2019-11-20 | 2019-11-20 | Control method of password card time management system of beauty equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110866267B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268447A (en) * | 2014-09-25 | 2015-01-07 | 深圳市亚特尔科技有限公司 | Encryption method of embedded software |
CN108121903A (en) * | 2016-11-30 | 2018-06-05 | 钛能科技股份有限公司 | A kind of cipher management method of logic-based encrypted card and data encryption method for expressing |
CN109842488A (en) * | 2017-11-28 | 2019-06-04 | 中天安泰(北京)信息技术有限公司 | For the key generation component in phy chip |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080218373A1 (en) * | 2007-03-06 | 2008-09-11 | Lanigan William P | Intelligent keyfob management system |
US20110010763A1 (en) * | 2009-07-13 | 2011-01-13 | Beardslee Charles E | Tool and method for generating passwords |
-
2019
- 2019-11-20 CN CN201911140099.4A patent/CN110866267B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104268447A (en) * | 2014-09-25 | 2015-01-07 | 深圳市亚特尔科技有限公司 | Encryption method of embedded software |
CN108121903A (en) * | 2016-11-30 | 2018-06-05 | 钛能科技股份有限公司 | A kind of cipher management method of logic-based encrypted card and data encryption method for expressing |
CN109842488A (en) * | 2017-11-28 | 2019-06-04 | 中天安泰(北京)信息技术有限公司 | For the key generation component in phy chip |
Non-Patent Citations (1)
Title |
---|
梁海滨.Excel在密码破解和解幻方中的应用.《现代商贸工业》.2013,(第23期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN110866267A (en) | 2020-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109005040B (en) | Dynamic multi-key confusion PUF (physical unclonable function) structure and authentication method thereof | |
CN106549750A (en) | With computer-implemented method and the system and computer program using which | |
CN110430055A (en) | Offline cryptogram generation method, offline cryptogram verification method and door lock management server | |
CN104079686A (en) | Setting method and distributing method for terminal equipment MAC address | |
CN108868367B (en) | Intelligent lock device | |
CN112836221B (en) | Multi-security-level partition portable solid state disk and design method thereof | |
CN104573572B (en) | The method of read write chip identifier through encrypting | |
CN104992129A (en) | Encryption USB flash drive for OSX system and implementing method thereof | |
CN110866267B (en) | Control method of password card time management system of beauty equipment | |
CN107368401A (en) | management system and management method | |
CN111984986A (en) | Database field encryption method, electronic device and computer readable storage medium | |
US20200004971A1 (en) | Collection of uncorrelated entropy during a power down sequence | |
CN104459519A (en) | Chip safety testing method and device | |
JP2019220128A (en) | Network system for identifying cable connection and method of authenticating cable id | |
CN107872315A (en) | Data processing method and intelligent terminal | |
CN109901664A (en) | Method, apparatus, system, equipment and the readable storage medium storing program for executing of clock signal are provided | |
CN101156361B (en) | Method, communications assembly and communications device for controlling the access to at least one communications device | |
CN102163269A (en) | Method for preventing singlechip program from being decrypted and reused | |
CN105373442B (en) | Method and apparatus for supervisory memory data error states | |
CN103281172A (en) | Pooling communication method between highway electronic prepaid card and encryption machine | |
WO2020082811A1 (en) | Storage method and apparatus having hidden partition, and host device | |
CN108574863B (en) | Management method and management system for set top box positioning module | |
CN209690916U (en) | A kind of OTP encrypted circuit construction showing equipment | |
CN211956462U (en) | Vending machine based on IIC bus protocol EEPROM read-write function | |
CN107547544A (en) | A kind of method of refreshing network interface card Mac addresses |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |