CN110474693A - A kind of optical mode block encryption method, optical mode block identifying method and identification device - Google Patents
A kind of optical mode block encryption method, optical mode block identifying method and identification device Download PDFInfo
- Publication number
- CN110474693A CN110474693A CN201910770995.2A CN201910770995A CN110474693A CN 110474693 A CN110474693 A CN 110474693A CN 201910770995 A CN201910770995 A CN 201910770995A CN 110474693 A CN110474693 A CN 110474693A
- Authority
- CN
- China
- Prior art keywords
- optical module
- encryption algorithm
- identification code
- encrypted
- encryption
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/80—Optical aspects relating to the use of optical transmission for specific applications, not provided for in groups H04B10/03 - H04B10/70, e.g. optical power feeding or optical transmission through water
- H04B10/85—Protection from unauthorised access, e.g. eavesdrop protection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Storage Device Security (AREA)
Abstract
The present invention relates to a kind of optical mode block encryption method, optical mode block identifying method and identification devices, Encryption Algorithm table is established using different Encryption Algorithm, the method for carrying out secondary encryption to Encryption Algorithm when to optical mode block encryption improves encryption level and illegally cracks difficulty, it avoids the occurrence of and uses single Encryption Algorithm, once Encryption Algorithm is revealed, then complete set product is likely to the problem of being copied appearance.
Description
Technical field
The present invention relates to technical field of photo communication, and in particular to a kind of optical mode block encryption method, optical mode block identifying method and
Identification device.
Background technique
In communication apparatus, a large amount of media carried out data transmission using optical fiber can't do without the use of optical module naturally.In
In early stage equipment, using be all that optical module is directly welded on veneer by the way of, if optical module break down, need by
Veneer is entirely replaced.With the development of technology, pluggable optical module is largely used on current communication apparatus, in equipment
On there are corresponding optical module slots, only need optical module being inserted into slot in actual use i.e. usable.
As technology develops, pluggable optical module is widely used, and can thus draw following problem: due to current
Produce pluggable optical module producer it is very much, many optical modules can directly commercially, these optical modules on interface,
It may can accomplish reliability that is completely compatible, but not can guarantee these modules;In addition in terms of actual maintenance angle, Ge Gechang
More or less there are some differences in the optical module of family, equipment manufacturer can not accomplish to examine optical module all producers
It surveys, it is therefore necessary to a kind of means are provided, a label is done to the optical module that can be used, expression can be used in equipment, and
And equipment can be with this label of automatic identification.
Summary of the invention
The present invention for the technical problems in the prior art, provides a kind of optical mode block encryption method, optical module identification
Method and identification device.
The technical scheme to solve the above technical problems is that
In a first aspect, the embodiment of the present invention provides a kind of optical mode block encryption method, comprising the following steps:
Encryption Algorithm table is established, includes a variety of different Encryption Algorithm in the Encryption Algorithm table;The Encryption Algorithm table
In the corresponding unique number of each Encryption Algorithm;
The a certain Encryption Algorithm in the Encryption Algorithm table is randomly selected, optical module identification code is encrypted.
The beneficial effect of the embodiment of the present invention is: being usually in the prior art merely with same Encryption Algorithm to optical module
Identification code is encrypted, then in decryption it is only necessary to know that Encryption Algorithm is, so that it may knowledge be decrypted to optical module
Not, this method is time saving and energy saving, can be realized the simple encryption to optical module, once but Encryption Algorithm leakage, then complete set production
Product are likely to be copied.And encryption method provided by the invention, Encryption Algorithm table is established, it is random to select when being encrypted
It takes Encryption Algorithm to encrypt identification code, enhances decryption difficulty, while reducing due to algorithm leakage and bring risk.
Encryption Algorithm table can store on local terminal, also can store on the remote server.If being stored in remote service
On device, can further increase imitator cracks difficulty, to reinforce the safety of optical mode block encryption.
Further, in a certain Encryption Algorithm randomly selected in the Encryption Algorithm table, to optical mode block identification
After code is encrypted, further includes:
Preset Encryption Algorithm is selected to encrypt the number of the Encryption Algorithm for encrypting optical module identification code, and will
Encrypted number is combined with encrypted optical module identification code, generates optical module identifier;
Optical module is written into the optical module identifier.
Beneficial effect using above-mentioned further technical solution is, by preset Encryption Algorithm to for encrypting optical module
The number of the Encryption Algorithm of identification code is encrypted, and will be numbered the form of expression not theed least concerned that disguises oneself as, is confused imitator, even if
Imitator, which has taken Encryption Algorithm table by other approach, also can not know which kind of Encryption Algorithm be specifically chosen.And for certain
Local terminal can also be arranged to identify that wrong primary lock immediately sets according to above-mentioned design by top-secret application environment
Standby mode prevents illegal optical module access local terminal.
It further, can phase with the Encryption Algorithm for encrypting optical module identifier for encrypting the Encryption Algorithm of number
Same algorithm can also be different algorithm.
Further, described to be combined with encrypted optical module identification code encrypted number, including to adding
Number and encrypted optical module identification code after close carry out arithmetical operation or logical operation or arithmetical operation and logical operation
Combination.
Further, the optical module identification code includes at least manufacturer's identifier, optical module sequence number, module type, speed
One of rate is a variety of.
Second aspect, the embodiment of the present invention provide a kind of optical mode block identifying method, comprising the following steps:
The optical module identifier for obtaining the optical module of access, and is parsed, obtain encrypted optical module identification code with
Number;
The number is decrypted using predetermined encryption algorithm;
Encryption Algorithm table is inquired, the number after choosing decryption corresponds to Encryption Algorithm and carries out to the optical module identification code
Decryption;
The optical module identification code after decryption is matched with legal optical module identification code, determines to work as if matching
Otherwise front optical module carries out abnormality processing to when front optical module.
The beneficial effect of the embodiment of the present invention is: being usually in the prior art merely with same Encryption Algorithm to optical module
Identification code is encrypted, then in decryption it is only necessary to know that Encryption Algorithm is, so that it may knowledge be decrypted to optical module
Not, this method is time saving and energy saving, can be realized the simple encryption to optical module, once but Encryption Algorithm leakage, then complete set production
Product are likely to be copied.And recognition methods provided by the invention establishes Encryption Algorithm table when optical module is encrypted,
It is utilized respectively similar and different Encryption Algorithm respectively to encrypt optical module identification code and Encryption Algorithm number, decrypt
When, it needs to select corresponding decipherment algorithm that identification code and number is decrypted respectively, enhances decryption difficulty, reduce simultaneously
The bring risk due to algorithm leakage.Encryption Algorithm table can store on local terminal, also can store long-range
On server.If storage is on the remote server, can further increase imitator cracks difficulty, adds to reinforce optical module
Close safety.
It is encrypted by number of the preset Encryption Algorithm to the Encryption Algorithm for encrypting optical module identification code, it can be with
The form of expression not theed least concerned that disguises oneself as will be numbered, confuse imitator, calculated even if imitator has taken encryption by other approach
Method table also can not know which kind of Encryption Algorithm be specifically chosen.And for the application environment of certain top secrets, it can also be according to above-mentioned
Local terminal is arranged to identify the wrong primary mode for locking equipment immediately, prevents illegal optical module from accessing this by design
Ground terminal device.
The third aspect, the present invention provide a kind of optical module identification device, comprising:
Identifier obtains and parsing module, the optical module identifier of the optical module for obtaining access, and is parsed, and obtains
To encrypted optical module identification code and number;
First deciphering module, for the number to be decrypted using predetermined encryption algorithm;
Second deciphering module, for inquiring Encryption Algorithm table, the number after choosing decryption corresponds to Encryption Algorithm to institute
Optical module identification code is stated to be decrypted;
Identification module, for matching the optical module identification code after decryption with legal optical module identification code.
Detailed description of the invention
Fig. 1 is a kind of optical mode block encryption method flow chart that the embodiment of the present invention one provides;
Fig. 2 is a kind of optical mode block identifying method flow chart provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of optical module identification device structure chart that the embodiment of the present invention three provides.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and
It is non-to be used to limit the scope of the invention.
Embodiment one
As shown in Figure 1, the embodiment of the present invention provides a kind of optical mode block encryption method, comprising the following steps:
S101 establishes Encryption Algorithm table, includes a variety of different Encryption Algorithm in the Encryption Algorithm table;The encryption is calculated
The corresponding unique number of each Encryption Algorithm in method table;
S102 randomly selects a certain Encryption Algorithm in the Encryption Algorithm table, encrypts to optical module identification code.
The beneficial effect of the embodiment of the present invention is: being usually in the prior art merely with same Encryption Algorithm to optical module
Identification code is encrypted, then in decryption it is only necessary to know that Encryption Algorithm is, so that it may knowledge be decrypted to optical module
Not, this method is time saving and energy saving, can be realized the simple encryption to optical module, once but Encryption Algorithm leakage, then complete set production
Product are likely to be copied.And encryption method provided by the invention, Encryption Algorithm table is established, it is random to select when being encrypted
It takes Encryption Algorithm to encrypt identification code, enhances decryption difficulty, while reducing due to algorithm leakage and bring risk.
Encryption Algorithm table can store on local terminal, also can store on the remote server.If being stored in remote service
On device, can further increase imitator cracks difficulty, to reinforce the safety of optical mode block encryption.
Further, in a certain Encryption Algorithm randomly selected in the Encryption Algorithm table, to optical mode block identification
After code is encrypted, further includes:
S103 selects preset Encryption Algorithm to add the number of the Encryption Algorithm for encrypting optical module identification code
It is close, and encrypted number is combined with encrypted optical module identification code, generate optical module identifier;
Optical module is written in the optical module identifier by S104.
Beneficial effect using above-mentioned further technical solution is, by preset Encryption Algorithm to for encrypting optical module
The number of the Encryption Algorithm of identification code is encrypted, and will be numbered the form of expression not theed least concerned that disguises oneself as, is confused imitator, even if
Imitator, which has taken Encryption Algorithm table by other approach, also can not know which kind of Encryption Algorithm be specifically chosen.And for certain
Local terminal can also be arranged to identify that wrong primary lock immediately sets according to above-mentioned design by top-secret application environment
Standby mode prevents illegal optical module access local terminal.
It further, can phase with the Encryption Algorithm for encrypting optical module identifier for encrypting the Encryption Algorithm of number
Same algorithm can also be different algorithm.
Further, described to be combined with encrypted optical module identification code encrypted number, including to adding
Number and encrypted optical module identification code after close carry out arithmetical operation or logical operation or arithmetical operation and logical operation
Combination.
Further, the optical module identification code includes at least manufacturer's identifier, optical module sequence number, module type, speed
One of rate is a variety of.
Embodiment two
As shown in Fig. 2, the embodiment of the present invention provides a kind of optical mode block identifying method, comprising the following steps:
S201, obtains the optical module identifier of the optical module of access, and is parsed, and encrypted optical mode block identification is obtained
Code and number;
S202 is decrypted the number using predetermined encryption algorithm;
S203 inquires Encryption Algorithm table, and the number after choosing decryption corresponds to Encryption Algorithm to the optical mode block identification
Code is decrypted;
S204 matches the optical module identification code after decryption with legal optical module identification code, if matching
Front optical module is worked as in judgement, otherwise carries out abnormality processing to when front optical module.
The beneficial effect of the embodiment of the present invention is: being usually in the prior art merely with same Encryption Algorithm to optical module
Identification code is encrypted, then in decryption it is only necessary to know that Encryption Algorithm is, so that it may knowledge be decrypted to optical module
Not, this method is time saving and energy saving, can be realized the simple encryption to optical module, once but Encryption Algorithm leakage, then complete set production
Product are likely to be copied.And recognition methods provided by the invention establishes Encryption Algorithm table when optical module is encrypted,
It is utilized respectively similar and different Encryption Algorithm respectively to encrypt optical module identification code and Encryption Algorithm number, decrypt
When, it needs to select corresponding decipherment algorithm that identification code and number is decrypted respectively, enhances decryption difficulty, reduce simultaneously
The bring risk due to algorithm leakage.Encryption Algorithm table can store on local terminal, also can store long-range
On server.If storage is on the remote server, can further increase imitator cracks difficulty, adds to reinforce optical module
Close safety.
It is encrypted by number of the preset Encryption Algorithm to the Encryption Algorithm for encrypting optical module identification code, it can be with
The form of expression not theed least concerned that disguises oneself as will be numbered, confuse imitator, calculated even if imitator has taken encryption by other approach
Method table also can not know which kind of Encryption Algorithm be specifically chosen.And for the application environment of certain top secrets, it can also be according to above-mentioned
Local terminal is arranged to identify the wrong primary mode for locking equipment immediately, prevents illegal optical module from accessing this by design
Ground terminal device.
Embodiment three
As shown in figure 3, the present invention provides a kind of optical module identification device, comprising:
Identifier obtains and parsing module, the optical module identifier of the optical module for obtaining access, and is parsed, and obtains
To encrypted optical module identification code and number;
First deciphering module, for the number to be decrypted using predetermined encryption algorithm;
Second deciphering module, for inquiring Encryption Algorithm table, the number after choosing decryption corresponds to Encryption Algorithm to institute
Optical module identification code is stated to be decrypted;
Identification module, for matching the optical module identification code after decryption with legal optical module identification code.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (7)
1. a kind of optical mode block encryption method, which comprises the following steps:
Encryption Algorithm table is established, includes a variety of different Encryption Algorithm in the Encryption Algorithm table;In the Encryption Algorithm table
The corresponding unique number of each Encryption Algorithm;
The a certain Encryption Algorithm in the Encryption Algorithm table is randomly selected, optical module identification code is encrypted.
2. the method according to claim 1, wherein in certain randomly selected in the Encryption Algorithm table
One Encryption Algorithm, after being encrypted to optical module identification code, further includes:
Preset Encryption Algorithm is selected to encrypt the number of the Encryption Algorithm for encrypting optical module identification code, and will encryption
Number afterwards is combined with encrypted optical module identification code, generates optical module identifier;
Optical module is written into the optical module identifier.
3. according to the method described in claim 2, it is characterized in that, for encrypting the Encryption Algorithm numbered and being used to encrypt optical mode
The Encryption Algorithm of block identifier can also be for different algorithms with identical algorithm.
4. according to the method described in claim 2, it is characterized in that, described by encrypted number and encrypted optical module
Identification code is combined, including carries out arithmetical operation or logic fortune to encrypted number and encrypted optical module identification code
The combination of calculation or arithmetical operation and logical operation.
5. method according to claim 1-4, which is characterized in that the optical module identification code includes at least manufacturer
One of identifier, optical module sequence number, module type, rate are a variety of.
6. a kind of optical mode block identifying method characterized by comprising
The optical module identifier of the optical module of access is obtained, and is parsed, encrypted optical module identification code and number are obtained;
The number is decrypted using predetermined encryption algorithm;
Encryption Algorithm table is inquired, the number after choosing decryption corresponds to Encryption Algorithm and solves to the optical module identification code
It is close;
The optical module identification code after decryption is matched with legal optical module identification code, determines current light if matching
Otherwise module carries out abnormality processing to when front optical module.
7. a kind of optical module identification device characterized by comprising
Identifier obtains and parsing module, the optical module identifier of the optical module for obtaining access, and is parsed, and is added
Optical module identification code and number after close;
First deciphering module, for the number to be decrypted using predetermined encryption algorithm;
Second deciphering module, for inquiring Encryption Algorithm table, the number after choosing decryption corresponds to Encryption Algorithm to the light
Module id code is decrypted;
Identification module, for matching the optical module identification code after decryption with legal optical module identification code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910770995.2A CN110474693A (en) | 2019-08-20 | 2019-08-20 | A kind of optical mode block encryption method, optical mode block identifying method and identification device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910770995.2A CN110474693A (en) | 2019-08-20 | 2019-08-20 | A kind of optical mode block encryption method, optical mode block identifying method and identification device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110474693A true CN110474693A (en) | 2019-11-19 |
Family
ID=68513089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910770995.2A Pending CN110474693A (en) | 2019-08-20 | 2019-08-20 | A kind of optical mode block encryption method, optical mode block identifying method and identification device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110474693A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136699A (en) * | 2006-09-01 | 2008-03-05 | 中兴通讯股份有限公司 | Automatic recognition method and encryption method of pluggable optical module |
US20080123859A1 (en) * | 2006-11-27 | 2008-05-29 | Rajesh Mamidwar | Method and system for encrypting and decrypting a transport stream using multiple algorithms |
CN102523087A (en) * | 2011-12-14 | 2012-06-27 | 百度在线网络技术(北京)有限公司 | Method and equipment for carrying out encrypting treatment on self-execution network information |
CN104410616A (en) * | 2014-11-20 | 2015-03-11 | 广州日滨科技发展有限公司 | Method and system for encrypting, decrypting and transmitting data |
CN105577379A (en) * | 2014-10-16 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Information processing method and apparatus thereof |
CN105763315A (en) * | 2014-12-16 | 2016-07-13 | 展讯通信(深圳)有限公司 | Data encryption and decryption method and apparatus thereof, and communication system |
CN106714146A (en) * | 2015-11-13 | 2017-05-24 | 广西咪付网络技术有限公司 | Communication encryption method for Bluetooth BLE devices |
CN107104969A (en) * | 2017-04-27 | 2017-08-29 | 山西大学 | The method that the individual privacy information in express delivery is protected with dynamic encryption mechanism |
CN107609622A (en) * | 2017-08-28 | 2018-01-19 | 深圳市金天速科技有限公司 | Encryption method and system based on multi-code unification |
CN108173602A (en) * | 2018-03-20 | 2018-06-15 | 索尔思光电(成都)有限公司 | A kind of optical mode block encryption method and device |
CN108259171A (en) * | 2018-01-12 | 2018-07-06 | 武汉斗鱼网络科技有限公司 | The guard method of Shader files and device |
CN109474583A (en) * | 2018-10-26 | 2019-03-15 | 温州博盈科技有限公司 | A kind of data safety management system |
-
2019
- 2019-08-20 CN CN201910770995.2A patent/CN110474693A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101136699A (en) * | 2006-09-01 | 2008-03-05 | 中兴通讯股份有限公司 | Automatic recognition method and encryption method of pluggable optical module |
US20080123859A1 (en) * | 2006-11-27 | 2008-05-29 | Rajesh Mamidwar | Method and system for encrypting and decrypting a transport stream using multiple algorithms |
CN102523087A (en) * | 2011-12-14 | 2012-06-27 | 百度在线网络技术(北京)有限公司 | Method and equipment for carrying out encrypting treatment on self-execution network information |
CN105577379A (en) * | 2014-10-16 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Information processing method and apparatus thereof |
CN104410616A (en) * | 2014-11-20 | 2015-03-11 | 广州日滨科技发展有限公司 | Method and system for encrypting, decrypting and transmitting data |
CN105763315A (en) * | 2014-12-16 | 2016-07-13 | 展讯通信(深圳)有限公司 | Data encryption and decryption method and apparatus thereof, and communication system |
CN106714146A (en) * | 2015-11-13 | 2017-05-24 | 广西咪付网络技术有限公司 | Communication encryption method for Bluetooth BLE devices |
CN107104969A (en) * | 2017-04-27 | 2017-08-29 | 山西大学 | The method that the individual privacy information in express delivery is protected with dynamic encryption mechanism |
CN107609622A (en) * | 2017-08-28 | 2018-01-19 | 深圳市金天速科技有限公司 | Encryption method and system based on multi-code unification |
CN108259171A (en) * | 2018-01-12 | 2018-07-06 | 武汉斗鱼网络科技有限公司 | The guard method of Shader files and device |
CN108173602A (en) * | 2018-03-20 | 2018-06-15 | 索尔思光电(成都)有限公司 | A kind of optical mode block encryption method and device |
CN109474583A (en) * | 2018-10-26 | 2019-03-15 | 温州博盈科技有限公司 | A kind of data safety management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2697931B1 (en) | Qkd key management system | |
CN105245505A (en) | Data transmitting method and device, data receiving method and device, and receiving-transmitting system | |
CN104113534B (en) | The login system and method for application APP | |
CN100550005C (en) | The method and apparatus of managing digital content | |
US20110258451A1 (en) | Method for updating mobile terminal software and mobile terminal | |
CN101605326B (en) | Method for encrypting and decrypting mobile terminal network locking/card locking unlock code | |
CN108259162A (en) | A kind of method for storing cipher key | |
CN106100834B (en) | A kind of generation and update method in algorithm secret key library | |
CN103746815A (en) | Secure communication method and device | |
CN108667784B (en) | System and method for protecting internet identity card verification information | |
CN108898008A (en) | The operation method and device of application program | |
CN105337722A (en) | Data encryption method and apparatus | |
CN111914225A (en) | Source code protection system and source code encryption method | |
CN102982263A (en) | Application program protection method and equipment | |
CN102647279A (en) | Encryption method, encryption card, terminal equipment and machine-card interlocking device | |
CN105577361A (en) | Information processing method and device thereof | |
JP4891933B2 (en) | Access control device, access control method and program | |
KR20160149457A (en) | Plant data transmission managing device and method | |
CN110474693A (en) | A kind of optical mode block encryption method, optical mode block identifying method and identification device | |
CN115412444B (en) | Safety networking system and method for power plant inspection equipment | |
CN106453300A (en) | Data encryption and decryption method and device, and data transmission system | |
CN110445764A (en) | It is a kind of to communicate close insurance system and method and encryption and decryption server | |
CN100550735C (en) | The method of multifunction intelligent key equipment and security control thereof | |
CN106487509B (en) | A kind of method and host equipment generating key | |
CN112929169B (en) | Key negotiation method and system |
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: 20191119 |
|
RJ01 | Rejection of invention patent application after publication |