CN106354523A - Breathing machine configuration upgrading method - Google Patents
Breathing machine configuration upgrading method Download PDFInfo
- Publication number
- CN106354523A CN106354523A CN201510416308.9A CN201510416308A CN106354523A CN 106354523 A CN106354523 A CN 106354523A CN 201510416308 A CN201510416308 A CN 201510416308A CN 106354523 A CN106354523 A CN 106354523A
- Authority
- CN
- China
- Prior art keywords
- code
- configuration
- respirator
- obtains
- true form
- 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
Abstract
The invention provides a breathing machine configuration upgrading method. The method comprises the steps of obtaining a configuration code from a breathing machine to be upgraded; obtaining configuration information from the configuration code, modifying the configuration information according to an upgrading request, and then encrypting the modified configuration information and a time factor to generate a registration code; when the breathing machine is upgraded, comparing the time factor in the registration code with the time factor in the configuration code on the breathing machine, and if comparison is successful, upgrading the breathing machine by means of the registration code. The registration code generated through the method contains the time factor information, and the defect that one registration code achieves configuration upgrading of multiple breathing machines can be effectively overcome; the registration code is generated by means of encryption of a shifting encryption algorithm and is not likely to be decoded.
Description
Technical field
The invention belongs to respirator field, particularly to a kind of configuration upgrade method of respirator.
Background technology
Respirator has a variety of breathing patterns and function on hardware, but according to buying the demand of user, not every pattern and function all can be opened, and when client needs pattern and the function that these do not open, needs the configuration information of respirator to be modified and upgrades.
In order to prevent user from arbitrarily changing the configuration information of respirator, the pattern that Free Acquisition respirator is not opened and function, need the configuration information on every respirator is encrypted.The reliability of current displacement AES is not high, easily decodes.
Content of the invention
It is an object of the invention to when overcoming current respirator to carry out configuration change, the multiple users existing all can change the problem of respirator configuration using a registration code;Propose a kind of configuration upgrade method of respirator, the method is encrypted to registration code based on time factor, using multiple shift AES, increase decoding difficulty, improve safety.
To achieve these goals, the invention provides a kind of configuration upgrade method of respirator, methods described includes: obtains configuration code from respirator to be upgraded;Obtain configuration information from configuration code, and require described configuration information is modified according to upgrading, then the configuration information after change and time factor encryption are generated registration code;When respirator is upgraded, the time factor in the configuration code in the time factor and respirator in described registration code is compared, compare successfully, then using registration code, respirator is upgraded.
In technique scheme, methods described specifically includes:
Step 1) obtain configuration code from respirator to be upgraded;
Step 2) to step 1) configuration code that obtains is decoded, obtains configuration information, and require described configuration information is modified according to upgrading, after the configuration information after change and time factor encryption are generated registration code;
Step 3) to step 2) registration code that obtains rejects the random number adding, then find the number of times of encryption, it is decoded obtaining three unit code;
Step 4) judge step 3) whether the three unit code that obtains identical with the time factor in the configuration code of described respirator;If a determination be made that certainly, proceed to step 5);Otherwise, proceed to step 6);
Step 5) to step 3) three unit code that obtains is encrypted, obtains encrypted code, and preserved, upgrade successfully;
Step 6) this respirator can not be carried out with configuration upgrading.
In technique scheme, described step 1) specifically include:
Step 101) read described respirator encrypted code;
Step 102) to step 101) encrypted code that obtains is decoded obtaining the first true form, and obtain the configuration information of described respirator from the first true form;
Step 103) with time factor and configuration information for the second true form, based on displacement AES, the second true form is encrypted, wherein encryption number of times is a random number, thus obtains the configuration code of described respirator.
In technique scheme, described step 2) specifically include:
Step 201) to step 103) configuration code that obtains is decoded obtaining described second true form;
Step 202) configuration information in modification the second true form is required according to upgrading;
Step 203) amended second true form is encrypted, wherein encryption number of times is a random number;The second true form after being encrypted;
Step 204) according to step 203) the second true form after the encryption that obtains, encryption number of times and a generating random number registration code.
In technique scheme, described three unit code is amended second true form.
It is an advantage of the current invention that:
1st, the configuration upgrade method of respirator of the present invention can effectively prevent the registration code from realizing the defect of multiple stage respirator configuration upgrading;
2nd, the registration code of the present invention is to be generated it is not easy to be decrypted using displacement AES encryption.
3rd, the method for the present invention adopts multiple shift to encrypt, that is, according to being which time encryption, using the corresponding code table of different displacements.Increase decoding difficulty, improve safety.
Brief description
Fig. 1 is the flow chart of the configuration upgrade method of respirator of the present invention.
Specific embodiment
The present invention will be further described in detail below in conjunction with the accompanying drawings.
As shown in figure 1, a kind of configuration upgrade method of respirator, methods described includes:
Step 1) obtain configuration code from respirator to be upgraded;
Step 101) read described respirator encrypted code;
Step 102) to step 101) encrypted code that obtains is decoded obtaining the first true form, and obtain the configuration information of described respirator from the first true form;
Step 103) with time factor and configuration information for the second true form, based on displacement AES, the second true form is encrypted, wherein encryption number of times is a random number, thus obtains the configuration code of described respirator.
Step 2) to step 1) configuration code that obtains is decoded, obtains configuration information, and require described configuration information is modified according to upgrading, after the configuration information after change and time factor encryption are generated registration code;
Step 201) to step 103) configuration code that obtains is decoded obtaining described second true form;
Step 202) configuration information in modification the second true form is required according to upgrading;
Step 203) amended second true form is encrypted, wherein encryption number of times is a random number;The second true form after being encrypted;
Step 204) according to step 203) the second true form after the encryption that obtains, encryption number of times and a generating random number registration code.
Step 3) to step 2) registration code that obtains rejects the random number adding, then find the number of times of encryption, it is decoded obtaining three unit code;
Described three unit code is amended second true form.
Step 4) judge step 3) whether the three unit code that obtains identical with the time factor in the configuration code of described respirator;If a determination be made that certainly, proceed to step 5);Otherwise, proceed to step 6);
Step 5) to step 3) three unit code that obtains is encrypted, obtains encrypted code, and preserved, upgrade successfully;
Step 6) this respirator can not be carried out with configuration upgrading.
Claims (5)
1. the configuration upgrade method of a kind of respirator, methods described includes: obtains configuration from respirator to be upgraded
Code;Obtain configuration information from configuration code, and require described configuration information is modified according to upgrading, then will more
Configuration information after changing and time factor encryption generate registration code;When respirator is upgraded, by described registration code
Time factor and respirator on configuration code in time factor compare, compare successfully, then utilize registration code pair
Respirator is upgraded.
2. the configuration upgrade method of respirator according to claim 1 is it is characterised in that methods described is concrete
Including:
Step 1) obtain configuration code from respirator to be upgraded;
Step 2) to step 1) configuration code that obtains is decoded, obtains configuration information, and required to institute according to upgrading
State configuration information to be modified, after by change after configuration information and time factor encryption generate registration code;
Step 3) to step 2) registration code that obtains rejects the random number adding, then find the number of times of encryption, solved
Code obtains three unit code;
Step 4) judge step 3) time factor in the configuration code of the three unit code that obtains and described respirator whether phase
With;If a determination be made that certainly, proceed to step 5);Otherwise, proceed to step 6);
Step 5) to step 3) three unit code that obtains is encrypted, obtains encrypted code, and preserved, upgrading
Success;
Step 6) this respirator can not be carried out with configuration upgrading.
3. the configuration upgrade method of respirator according to claim 2 is it is characterised in that described step 1)
Specifically include:
Step 101) read described respirator encrypted code;
Step 102) to step 101) encrypted code that obtains is decoded obtaining the first true form, and obtain from the first true form
Take the configuration information of described respirator;
Step 103) with time factor and configuration information for the second true form, based on displacement AES, the second true form is entered
Row encryption, wherein encryption number of times is a random number, thus obtains the configuration code of described respirator.
4. the configuration upgrade method of respirator according to claim 3 is it is characterised in that described step 2)
Specifically include:
Step 201) to step 103) configuration code that obtains is decoded obtaining described second true form;
Step 202) configuration information in modification the second true form is required according to upgrading;
Step 203) amended second true form is encrypted, wherein encryption number of times is a random number;Encrypted
The second true form afterwards;
Step 204) according to step 203) the second true form after the encryption that obtains, encryption number of times and a generating random number
Registration code.
5. the configuration upgrade method of respirator according to claim 4 is it is characterised in that described three unit code
For amended second true form.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510416308.9A CN106354523A (en) | 2015-07-15 | 2015-07-15 | Breathing machine configuration upgrading method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510416308.9A CN106354523A (en) | 2015-07-15 | 2015-07-15 | Breathing machine configuration upgrading method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106354523A true CN106354523A (en) | 2017-01-25 |
Family
ID=57842466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510416308.9A Pending CN106354523A (en) | 2015-07-15 | 2015-07-15 | Breathing machine configuration upgrading method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106354523A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116489A (en) * | 2012-11-15 | 2013-05-22 | 深圳中兴网信科技有限公司 | Registration code acquisition device and registration code acquisition method |
CN103902323A (en) * | 2012-12-28 | 2014-07-02 | 北京谊安医疗系统股份有限公司 | Breathing machine software upgrading method and system |
CN103916241A (en) * | 2012-12-29 | 2014-07-09 | 北京谊安医疗系统股份有限公司 | Respiratory machine function selection encryption method |
CN104426978A (en) * | 2013-09-03 | 2015-03-18 | 北京谊安医疗系统股份有限公司 | Sending method and sending system for shared data of breathing machine |
-
2015
- 2015-07-15 CN CN201510416308.9A patent/CN106354523A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116489A (en) * | 2012-11-15 | 2013-05-22 | 深圳中兴网信科技有限公司 | Registration code acquisition device and registration code acquisition method |
CN103902323A (en) * | 2012-12-28 | 2014-07-02 | 北京谊安医疗系统股份有限公司 | Breathing machine software upgrading method and system |
CN103916241A (en) * | 2012-12-29 | 2014-07-09 | 北京谊安医疗系统股份有限公司 | Respiratory machine function selection encryption method |
CN104426978A (en) * | 2013-09-03 | 2015-03-18 | 北京谊安医疗系统股份有限公司 | Sending method and sending system for shared data of breathing machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10902096B2 (en) | Protecting media items using a media security controller | |
TWI621360B (en) | Electronic subscriber identity module provisioning | |
CN106714139B (en) | Pre-personalization of electronic subscriber identity modules | |
KR101744748B1 (en) | Contents protection, encryption and decryption apparatus using white-box cryptography | |
CN103546576B (en) | A kind of embedded device remote automatic upgrading method and system | |
US20170302646A1 (en) | Identity authentication method and apparatus | |
CN108200028B (en) | Method and system for safely acquiring trusted data of server by using block chain | |
US8700897B2 (en) | Method and terminal equipment for applying digital rights management | |
CN102082784A (en) | Method for upgrading software on line | |
WO2012172832A3 (en) | Authenticator, authenticatee and authentication method | |
CN104518865B (en) | A kind of data ciphering method based on code book | |
WO2016032975A1 (en) | Generating a device identification key from a base key for authentication with a network | |
CN108170461B (en) | Differential upgrade package generation method, differential upgrade method and device | |
CN104753679B (en) | User authen method and system and intelligent wearable device | |
CN105379172B (en) | Device and method for the key updating used in Tuber yield | |
CN109758629B (en) | Dialysis data transmission method, device, equipment and storage medium | |
CN108768938B (en) | A kind of web data encryption and decryption method and device | |
MY159284A (en) | A method for encrypting and decrypting data and a system therefor | |
US10897363B2 (en) | Authenticating a secondary device based on encrypted tables | |
CN102426637B (en) | A kind of embedded database cryptographic storage method | |
CN105357665A (en) | Encryption method for sensitive data of mobile phone and off-line decryption method based on same | |
CN107278357B (en) | Cryptographic system and method | |
CN106354523A (en) | Breathing machine configuration upgrading method | |
KR20160109891A (en) | Apparatus and Method for Generating Cryptographic Key based on PUF | |
KR102045843B1 (en) | Method and apparatus for block encryption algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20170125 |
|
RJ01 | Rejection of invention patent application after publication |