CN105930719A - Encryption method of control panel of numerically-controlled machine tool - Google Patents

Encryption method of control panel of numerically-controlled machine tool Download PDF

Info

Publication number
CN105930719A
CN105930719A CN201610290329.5A CN201610290329A CN105930719A CN 105930719 A CN105930719 A CN 105930719A CN 201610290329 A CN201610290329 A CN 201610290329A CN 105930719 A CN105930719 A CN 105930719A
Authority
CN
China
Prior art keywords
slave station
main website
station
random factor
user
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
Application number
CN201610290329.5A
Other languages
Chinese (zh)
Other versions
CN105930719B (en
Inventor
胡友前
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Chengda industrial Internet Co.,Ltd.
Original Assignee
Nanjing Chengda Motion Control System Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Chengda Motion Control System Co Ltd filed Critical Nanjing Chengda Motion Control System Co Ltd
Priority to CN201610290329.5A priority Critical patent/CN105930719B/en
Publication of CN105930719A publication Critical patent/CN105930719A/en
Application granted granted Critical
Publication of CN105930719B publication Critical patent/CN105930719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The invention discloses an encryption method of a control panel of a numerically-controlled machine tool. The encryption method comprises the following steps: 1) a master station and a slave station carry out identity matching, 2) is started if the identity of the master station and the identity of the slave station are consistent, and an alarm is given; 2) the slave station inquires locking state information stored in the slave station, 5) is started if unlocking is carried out, and 3) is carried out under an encryption state; 3) the slave station calculates a random factor and sends the random factor to the master station, the master station prompts a user to input a decryption password input according to the random factor, and transmits data input by the user to the slave station; 4) the slave station verifies the data input by the user, the master station is notified if the password is wrong, the master station continues to maintain the locking state, the slave station unlocks equipment if the password is correct, the master station is notified to unlock, a decryption number of days is displayed, and 5) is started; and 5) the slave station updates locking state information, the master station and the slave station are communicated, and the master station enters a normal scanning period. The method has a good encryption effect.

Description

A kind of Digit Control Machine Tool control panel encryption method
Technical field
The invention belongs to automation equipment control field, particularly to the encryption side of a kind of Digit Control Machine Tool control panel Method.
Background technology
Modern cnc technology develops rapidly, and lathe manufacturer and Digit Control Machine Tool control panel manufacturer are for technology Protection, function limit, regain the consideration of remaining fund etc., can be encrypted control panel, according to the payment of user The use authority of control panel is managed by situation, thus controls user's use authority to lathe.
The existing rights management to control panel is typically all by increasing extra encryption hardware and software next real Existing, as encryption subplate coordinates control panel, this not only can increase system complexity and cost, also as add Extra accessory is it is necessary to through loaded down with trivial details step, such as in Default Value, encryption and decrypting process, need to burn Record different firmwares and complete corresponding operation, prepare different encrypted firmwares and it needs to by serial ports update the time, The data that date and encryption and decryption are correlated with;And, the framework of this kind of encryption system can be analyzed gently by simple Easily grasp, and then easily encryption system is cracked, or by direct removable parts spare and accessory parts, as directly Connect one piece of control panel do not encrypted of replacing, thus shield encryption function, and change the one-tenth of one piece of control panel Originally compare whole Digit Control Machine Tool much lower, thus it is the lowest to crack cost.
Analyzing based on above, the most this authorization privilege management system existed independent of digital control system can not Meeting use demand and the Vaporous atomization of dough-making powder plate producer of lathe producer, this case thus produces.
Summary of the invention
The purpose of the present invention, is to provide a kind of Digit Control Machine Tool control panel encryption method, its simple in construction, behaviour Making easily, cipher round results is good.
In order to reach above-mentioned purpose, the solution of the present invention is:
A kind of Digit Control Machine Tool control panel encryption method, comprises the steps:
Step 1, main website and slave station carry out identities match, if coupling is consistent, go to step 2, if mating inconsistent, Reporting to the police, now main website and slave station all cannot work;
Step 2, the lock machine status information of self storage of slave station inquiry, if the most unlocked, then go to step 5, if It is in encrypted state, then goes to step 3;
Step 3, slave station calculates random factor, and random factor is sent to main website, main website prompting user according to Random factor input clear crytpographic key, and password transmission user inputted is to slave station;
Step 4, the data that user is inputted by slave station are verified, if code error, notify that main website, main website continue The continuous lock machine state that maintains, and prompt cipher mistake;If password is correct, slave station unlocker device, and notifies that main website enters Row unlocks, and shows deciphering natural law, goes to step 5;
Step 5, slave station updates lock machine status information, and main website and slave station carry out communication, and main website enters normal scan Cycle.
The detailed content of above-mentioned steps 1 is: main website sends the serial number of self to slave station by profinet, After slave station receives this serial number, the main website serial number of the binding with self storage contrasts, if coupling one Causing, slave station sends matched signal to main website, after main website receives matched signal, proceeds to step 2;If coupling is not Unanimously, then slave station locking device function, and send mismatch signal by profinet to main website, main website connects After receiving mismatch signal, at operation interface, user is pointed out, the function of locking applications simultaneously, this Time Digit Control Machine Tool enter lock machine state, it is impossible to normally work.
In above-mentioned steps 1, after mating inconsistent warning, it is necessary to revert to factory state or contact sets The serial number of main website and slave station are carried out matching operation by standby manufacturer.
In above-mentioned steps 3, after main website receives random factor, the random factor received is entered at operation interface Row display, prompting user inputs corresponding clear crytpographic key according to random factor simultaneously.
Above-mentioned clear crytpographic key is according to random factor, generating random number code, current decryption time and user identification code Superposition and obtain.
In above-mentioned steps 4, slave station also sets up the deciphering time limit, starts timing when requiring user to input clear crytpographic key, If being less than regular hour threshold value in the distance deciphering time limit also do not receive the data of master station transmission, then report to the police; And if after exceeding the deciphering time limit, also do not receive the data of master station transmission, then the automatic lock machine of slave station, and passing through Profinet carries out time-sharing communication and notifies main website lock machine.
After using such scheme, the invention have the characteristics that:
(1) serial number of master device is bound by encryption and decryption information with slave station controlled plant, master and slave station Between need to after identities match could communication, if binding information does not mates, slave station controlled plant function can be locked And primary application program function, thus improve cipher round results, enhance system security and crack difficulty;Particularly, More can design the function of slave station controlled plant within the deciphering time limit effectively, will report to the police in limited time close to the decryption period and Exceed the functions such as deciphering time limit finger lock repertoire, strengthen cipher round results;
(2) configuration and the associative operation of encryption and decryption is carried out in Upper system, eliminates number compared to existing technology The unnecessary additional devices such as code display, button, it is not necessary to increase any equipment cost, it is not necessary to by modes such as serial ports Arrange such as parameters such as user identification code, generating random number code, current times so that no matter system is in overall structure Above or it is obtained for the biggest simplification in user operation;
(3) secret key originally realized by PC is calculated, identification code is arranged, parameter is arranged etc. function change by PLC process, simplifies operation so that system is departing from the dependence to PC, all relevant to encryption and decryption Operation can complete in existing system, and function is easily transplanted to the related application field of other profinet In conjunction.
Accompanying drawing explanation
Fig. 1 is the integrated stand composition of encryption system of the present invention;
Fig. 2 is the flow chart of encryption method of the present invention.
Detailed description of the invention
Below with reference to accompanying drawing, technical scheme is described in detail.
As it is shown in figure 1, the present invention provides a kind of Digit Control Machine Tool control panel encryption system, based on main website and slave station And arrange, wherein main website is provided with operation interface, is provided with main control chip, clock chip and storage chip in slave station, Introduce separately below.
Main website carries out profinet communication with the main control chip in slave station, for transmission sequence number, does not mate letter Number etc. various data.
Main control chip can use MCU, DSP or FPGA, uses Ertec200 chip in the present embodiment, its It is responsible for the transmission dissection process work of profinet communication realization and encryption data, according to generating random number code Generate random factor, password authentification and the function such as when system lock machine, system time pair.
Clock chip is connected with main control chip, in order to provide correct temporal information, uses in the present embodiment DS1305 clock chip, after being gated by chip selection signal, through tri-signal ends of SDI, SDO, SCLK time Between information be sent in main control chip, when after panel power-off, clock chip can be powered timing by battery.
Storage chip is connected with main control chip, can use EEPROM storage chip 25LC08, by SDI, SDO, It is mutual that SCLK interface and main control chip carry out information, preserves licensing status and deadline, preservation rights management Deng.
As in figure 2 it is shown, the present invention provides a kind of Digit Control Machine Tool control panel encryption method, comprise the steps:
Step 1, main website and slave station carry out identities match: the serial number of self is passed by main website by profinet Giving slave station, after slave station receives this serial number, the main website serial number of the binding with self storage contrasts, If coupling is consistent, slave station sends matched signal to main website, after main website receives matched signal, proceeds to step 2; If mating inconsistent, then it represents that employ unwarranted equipment, report to the police, slave station locking device function, And send mismatch signal by profinet to main website, and after main website receives mismatch signal, can be in operation User is pointed out by interface, simultaneously the function of locking applications (such as PLC program), now Digit Control Machine Tool Enter lock-out state, it is impossible to normally work, it is necessary to equipment is reverted to factory state or contact equipment factory The serial number of main website and slave station are carried out matching operation by family, could normally work after deciphering;
Step 2, the lock machine status information of self storage of slave station inquiry, if the most unlocked, then go to step 5, if It is in encrypted state, then goes to step 3;
Step 3, slave station and main website carry out communication, slave station calculating random factor, and are sent to by random factor main Standing, the random factor received is shown by main website at operation interface, and prompting user is according to random factor simultaneously Inputting corresponding clear crytpographic key, described clear crytpographic key is that random factor combines current decryption time, user's identification Code and generating random number code carry out specific computing and obtain, and wherein, user identification code and random number are raw Becoming code to be configured by equipment manufacturer, concrete mathematical algorithm is set by equipment manufacturer, very Difficulty is cracked, thus substantially increases cipher round results, and user must be authorized by purchase or contact equipment factory Family could obtain correct clear crytpographic key, and wherein, user identification code is managing customer for convenience, while in order to Prevent exchanging clear crytpographic key between different client and arrange (arranging decryption time such as A client is permanent deciphering, and It is 3 months that B client arranges decryption time, and two clients of AB have different user identification code, also imply that The mathematical algorithm of their clear crytpographic key is different, even if A is supplied to B, B the clear crytpographic key of oneself Also cannot be used for unlocking the equipment of oneself), generating random number code is used in time standing in deciphering calculating random factor, Guarantee the safety of encryption;After user inputs password, the data that user is inputted by main website are transmitted to slave station;
Step 4, random factor is combined the current decryption time by slave station, user identification code carries out specific computing and Obtaining clear crytpographic key, and verify the password received, if code error, then notify main website, main website exists Operation interface prompt code error, and continue to lock machine state;If password is correct, then slave station unlocker device, And notify that main website is unlocked, and at main website display deciphering natural law, go to step 5;Step 5, slave station updates lock (storage lock machine status information is mainly used for after device powers down re-powers machine status information, the most unlocked Equipment is without again unlocking), main website and slave station carry out communication, and main website enters normal scan period.
Particularly, in the present embodiment, in order to strengthen cipher round results, also it is set at slave station the deciphering time limit, when needing Want user when main website input clear crytpographic key, just start timing, if in the distance deciphering time limit less than the regular hour Threshold value does not also receive the data of master station transmission, then report to the police;And if also not receiving master after exceeding the deciphering time limit Stand the data of transmission, then the automatic lock machine of slave station, and carry out time-sharing communication by profinet and notify main website lock machine.
Above example is only the technological thought that the present invention is described, it is impossible to limit protection scope of the present invention with this, Every technological thought proposed according to the present invention, any change done on the basis of technical scheme, each fall within this Within invention protection domain.

Claims (6)

1. a Digit Control Machine Tool control panel encryption method, it is characterised in that comprise the steps:
Step 1, main website and slave station carry out identities match, if coupling is consistent, go to step 2, if mating inconsistent, Reporting to the police, now main website and slave station all cannot work;
Step 2, the lock machine status information of self storage of slave station inquiry, if the most unlocked, then go to step 5, if It is in encrypted state, then goes to step 3;
Step 3, slave station calculates random factor, and random factor is sent to main website, main website prompting user according to Random factor input clear crytpographic key, and password transmission user inputted is to slave station;
Step 4, the data that user is inputted by slave station are verified, if code error, notify that main website, main website continue The continuous lock machine state that maintains, and prompt cipher mistake;If password is correct, slave station unlocker device, and notifies that main website enters Row unlocks, and shows deciphering natural law, goes to step 5;
Step 5, slave station updates lock machine status information, and main website and slave station carry out communication, and main website enters normal scan Cycle.
2. a kind of Digit Control Machine Tool control panel encryption method as claimed in claim 1, it is characterised in that: institute The detailed content stating step 1 is: main website sends the serial number of self to slave station, slave station by profinet After receiving this serial number, the main website serial number of the binding with self storage contrasts, if coupling is consistent, Slave station sends matched signal to main website, after main website receives matched signal, proceeds to step 2;If mating inconsistent, Then slave station locking device function, and send mismatch signal by profinet to main website, main website receives not After matched signal, at operation interface, user is pointed out, the function of locking applications, now numerical control simultaneously Lathe enters lock machine state, it is impossible to normally work.
3. a kind of Digit Control Machine Tool control panel encryption method as claimed in claim 1 or 2, it is characterised in that: In described step 1, after mating inconsistent warning, it is necessary to revert to factory state or contact equipment is raw Produce producer and the serial number of main website and slave station are carried out matching operation.
4. a kind of Digit Control Machine Tool control panel encryption method as claimed in claim 1, it is characterised in that: institute State in step 3, after main website receives random factor, the random factor received shown at operation interface, Prompting user inputs corresponding clear crytpographic key according to random factor simultaneously.
5. a kind of Digit Control Machine Tool control panel encryption method as claimed in claim 4, it is characterised in that: institute Stating clear crytpographic key is to transport according to random factor, generating random number code, current decryption time and user identification code superposition Calculate and obtain.
6. a kind of Digit Control Machine Tool control panel encryption method as claimed in claim 1, it is characterised in that: institute Stating in step 4, slave station also sets up the deciphering time limit, starts timing when requiring user to input clear crytpographic key, if The distance deciphering time limit does not also receive the data of master station transmission less than regular hour threshold value, then report to the police;And if After exceeding the deciphering time limit, also do not receive the data of master station transmission, the then automatic lock machine of slave station, and pass through profinet Carry out time-sharing communication and notify main website lock machine.
CN201610290329.5A 2016-05-04 2016-05-04 A kind of numerically-controlled machine tool control panel encryption method Active CN105930719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610290329.5A CN105930719B (en) 2016-05-04 2016-05-04 A kind of numerically-controlled machine tool control panel encryption method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610290329.5A CN105930719B (en) 2016-05-04 2016-05-04 A kind of numerically-controlled machine tool control panel encryption method

Publications (2)

Publication Number Publication Date
CN105930719A true CN105930719A (en) 2016-09-07
CN105930719B CN105930719B (en) 2019-06-11

Family

ID=56834523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610290329.5A Active CN105930719B (en) 2016-05-04 2016-05-04 A kind of numerically-controlled machine tool control panel encryption method

Country Status (1)

Country Link
CN (1) CN105930719B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681663A (en) * 2018-05-22 2018-10-19 广东润星科技有限公司 A kind of encipher-decipher method having with the novel matrix formula operation panel of numerically-controlled machine tool binding function
CN111090852A (en) * 2019-12-17 2020-05-01 成都锦胜雾森环保科技有限公司 Automatic locking and unlocking method and system for electric appliance control system
CN114697020A (en) * 2022-03-17 2022-07-01 浙江中广电器集团股份有限公司 Encryption control method of electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009251737A (en) * 2008-04-02 2009-10-29 Oki Electric Ind Co Ltd Personal identification number input device, and method for changing encrypting function of personal identification number input device
CN103809517A (en) * 2014-02-21 2014-05-21 深圳市大族激光科技股份有限公司 Control system of numerically-controlled machine tool and encryption method thereof
CN104216742A (en) * 2014-08-25 2014-12-17 小米科技有限责任公司 Upgrade control method and device based on password
CN104819097A (en) * 2015-04-03 2015-08-05 北京天诚同创电气有限公司 Protection method and device for programmable controller program of wind generating set

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009251737A (en) * 2008-04-02 2009-10-29 Oki Electric Ind Co Ltd Personal identification number input device, and method for changing encrypting function of personal identification number input device
CN103809517A (en) * 2014-02-21 2014-05-21 深圳市大族激光科技股份有限公司 Control system of numerically-controlled machine tool and encryption method thereof
CN104216742A (en) * 2014-08-25 2014-12-17 小米科技有限责任公司 Upgrade control method and device based on password
CN104819097A (en) * 2015-04-03 2015-08-05 北京天诚同创电气有限公司 Protection method and device for programmable controller program of wind generating set

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108681663A (en) * 2018-05-22 2018-10-19 广东润星科技有限公司 A kind of encipher-decipher method having with the novel matrix formula operation panel of numerically-controlled machine tool binding function
CN111090852A (en) * 2019-12-17 2020-05-01 成都锦胜雾森环保科技有限公司 Automatic locking and unlocking method and system for electric appliance control system
CN114697020A (en) * 2022-03-17 2022-07-01 浙江中广电器集团股份有限公司 Encryption control method of electronic equipment

Also Published As

Publication number Publication date
CN105930719B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN106023360A (en) Intelligent system management method of Bluetooth intelligent lock
CN104823221B (en) Key technology of sharing based on near-field communication
CN102625939B (en) System and method for managing electronic assets
CN103530924B (en) A kind of dynamic puzzle-lock system for Possum network management and method
CN103973437B (en) The method, apparatus and system of RSA key mandate are obtained when a kind of terminal locking
CN105261096A (en) Network smart lock system
CN106652109A (en) Intelligent lock control method, device and lock management server
CN112163896B (en) Federated learning system
CN109840975A (en) Remote authorization unlocking system and method without networking
CN105930719A (en) Encryption method of control panel of numerically-controlled machine tool
CN104318650A (en) Dynamic coded lock management and control system
CN109147109A (en) Lockset, mobile terminal, lockset control method and Lock control system
CN107564159A (en) A kind of smart bluetooth locks group's management control system
CN103198265A (en) Method for starting root permission of mobile device
CN103809517A (en) Control system of numerically-controlled machine tool and encryption method thereof
CN110163995A (en) Remote control electric lock system and its encipher-decipher method
CN103186723A (en) Digital content security cooperation method and system
CN108628242A (en) A kind of machine tool encryption and decryption and authorization method based on PLC control platforms
CN1877060B (en) Digital cipher lock with secure secondary authorization unlocking function
CN108388791A (en) A kind of shield machine uses authentication management system
CN109830065A (en) A kind of bluetooth or the charging controller of password interaction
CN108769004A (en) A kind of industry internet smart machine remote operation safe verification method
CN1988437A (en) System and method for managing credible calculating platform key authorization data
CN107370761B (en) LCA system security and secrecy management method
CN104103107A (en) Time-varying password and time-varying password lock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Encryption method of control panel of numerically-controlled machine tool

Effective date of registration: 20200602

Granted publication date: 20190611

Pledgee: Zijin Branch of Nanjing Bank Co.,Ltd.

Pledgor: NANJING CHENGDA MOTION CONTROL SYSTEM Co.,Ltd.

Registration number: Y2020980002705

PE01 Entry into force of the registration of the contract for pledge of patent right
CP03 Change of name, title or address

Address after: 210000 room 312, block B, high tech building, No.8 Xuejin Road, Xianlin University Town, Xianlin street, Qixia District, Nanjing City, Jiangsu Province

Patentee after: Nanjing Chengda industrial Internet Co.,Ltd.

Address before: 211100 B9, moling scientific innovation center, No. 2, qingshuiting West Road, Jiangning District, Nanjing City, Jiangsu Province

Patentee before: NANJING CHENGDA MOTION CONTROL SYSTEM Co.,Ltd.

CP03 Change of name, title or address