CN111949976A - Product enabling method and device based on offline secret key and storage medium - Google Patents

Product enabling method and device based on offline secret key and storage medium Download PDF

Info

Publication number
CN111949976A
CN111949976A CN202010828659.1A CN202010828659A CN111949976A CN 111949976 A CN111949976 A CN 111949976A CN 202010828659 A CN202010828659 A CN 202010828659A CN 111949976 A CN111949976 A CN 111949976A
Authority
CN
China
Prior art keywords
password
product
blacklist
received
prepaid
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
CN202010828659.1A
Other languages
Chinese (zh)
Other versions
CN111949976B (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.)
Boyang Energy Technology Co ltd
Original Assignee
Boyang Energy Technology 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 Boyang Energy Technology Co ltd filed Critical Boyang Energy Technology Co ltd
Priority to CN202010828659.1A priority Critical patent/CN111949976B/en
Publication of CN111949976A publication Critical patent/CN111949976A/en
Application granted granted Critical
Publication of CN111949976B publication Critical patent/CN111949976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The invention provides a product enabling method, equipment and a storage medium based on an offline key, which comprises the steps of 1) receiving and judging whether the password length input by a user conforms to one of a plurality of preset forms; if yes, carrying out the next step; 2) if the password length is judged to be in accordance with the password length corresponding to the prepayment mode, the received password is further compared with a current blacklist of the product system; 3) if the received password is not in the current blacklist, regular decoding is carried out; if the received password is consistent with a certain password in the current blacklist, the received password is indicated to be used, and corresponding 'error' information is pushed to be presented on a display interface; 4) if the decoding result is successfully matched with the preset valid password, the device function is unlocked and enabled, and meanwhile, the password received this time is put into a blacklist. Compared with the prior art, the product can safely and stably run under an off-line condition and can be used in time.

Description

Product enabling method and device based on offline secret key and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a storage medium for enabling a product based on an offline key.
Background
The current society's mode of sale is diversified, like shop goods mode, prepayment mode etc. just correspondingly needs the product to have safe auto-lock function, prepayment function etc..
The prior art cannot effectively, timely and safely use subsequent off-line of sold products, so that a lot of inconvenience is caused.
Disclosure of Invention
To this end, the present invention provides a product enabling method, apparatus and storage medium based on an offline key. The product off-line enabling can be effectively, timely and safely managed and used.
In a first aspect, the present invention provides an offline key-based product enabling method, including:
step 1) receiving and judging whether the password length input by a user conforms to one of a plurality of preset forms; if yes, carrying out the next step; the preset multiple forms comprise a prepaid mode, and the prepaid mode presets a plurality of valid passwords in a product system;
step 2) if the password length is judged to accord with the password length corresponding to the prepayment mode, the received password is further compared with a current blacklist of the equipment system;
step 3) if the received password is not in the current blacklist, regular decoding is carried out; if the received password is consistent with a certain password in the current blacklist, the received password is indicated to be used, and corresponding 'error' information is pushed to be presented on a display interface;
and 4) if the decoding result is successfully matched with the preset valid password, unlocking the function of the equipment to enable, and meanwhile, putting the password received at the time into a blacklist.
Firstly, receiving a password length input by a user, then judging whether the password length is consistent with preset password forms, if not, entering a blacklist or a corresponding display interface to display error prompt information; if the password is consistent with the blacklist password, the password is indicated to be used before, and a corresponding display interface displays error prompt information; if the comparison result is not in the blacklist, regular decoding is carried out, if the decoding result is successfully matched with the preset valid password, the equipment function is unlocked and enabled, and meanwhile the password received this time is placed in the blacklist. Thereby guaranteed that equipment enables safe handling and in time use under the off-line condition.
Optionally, in step 1), if the determination is negative, pushing "error" information to be presented on the display interface.
Optionally, in step 1), if the judgment result is negative, counting the number of input errors at the same time; when the set times are reached, the equipment system is locked within the set time length. The product can be enabled safely, and the product is prevented from being damaged intentionally.
Optionally, regarding the password length, the preset multiple forms further include a factory version password and a full-open version password. The various versions of the password form can meet different requirements of different customers.
Optionally, the blacklist is provided with an upper limit N of the number of passwords, and the device system is pre-configured with N different passwords corresponding to the prepaid mode; putting the received password into a blacklist in the step 4), and simultaneously recording the number of passwords in the current blacklist; and 2) if the number of the passwords in the current blacklist reaches N, indicating that the function of the equipment is forcibly locked, and pushing corresponding 'error' information to be presented on a display interface. Thereby ensuring the enabling benefits of manufacturers and clients.
Optionally, the password corresponding to the prepaid mode is obtained by calculating according to a set rule based on a set number of bits of data, prepaid conversion times, prepaid conversion time interval, and version code in the S/N number of the device. And setting a corresponding password according to a corresponding rule, thereby ensuring the security of the enabling benefits of the manufacturer and the client.
Optionally, before step 1), user attribute verification is further performed; if the current user is the operator, detecting whether the operator inputs the prepayment password, if so, starting an offline prepayment function, and entering the step 1). The verification of the user attribute not only ensures the benefit of a manufacturer, the benefit of an operator and the benefit of a client, but also improves the safety of the use of the prepayment function.
Optionally, in step 4), after the device function is enabled to be unlocked, the prepaid time corresponding to the current password is acquired and corresponding timing is started, and when the timing is ended, the device function is locked again. Thereby ensuring the use safety of the product.
The following provides an apparatus enabling device, an apparatus, a storage medium and a computer program product based on an offline key, and the effects thereof can refer to the effects corresponding to the above method, which are not described herein again.
In a second aspect, the present invention provides an apparatus comprising:
the receiving and judging module is used for receiving and judging whether the password length input by the user conforms to one of a plurality of preset forms; if yes, carrying out the next step; the preset multiple forms comprise a prepaid mode, and the prepaid mode presets a plurality of valid passwords in a product system;
the comparison module is used for further comparing the received password with the current blacklist of the equipment system if the password length is judged to accord with the password length corresponding to the prepayment mode;
the decoding pushing module is used for carrying out rule decoding if the received password is not in the current blacklist; if the received password is consistent with a certain password in the current blacklist, the received password is indicated to be used, and corresponding 'error' information is pushed to be presented on a display interface;
and the unlocking module is used for enabling the unlocking of the equipment function if the decoding result is successfully matched with the preset effective password and simultaneously putting the received password into a blacklist.
In a third aspect, the present invention provides an apparatus comprising: a memory and a processor;
the memory is used for storing computer instructions; causing the processor to execute the offline key-based product enabling method as described in the first aspect or an alternative of the first aspect.
In a fourth aspect, the present invention provides a storage medium comprising: readable storage media and computer instructions, the computer instructions stored in the readable storage media; the computer instructions are for implementing an offline key-based product-enabling method as the first aspect or an alternative to the first aspect.
In a fifth aspect, the present invention provides a computer program product comprising: computer instructions for implementing the offline key-based product-enabling method of the first aspect or an alternative form of the first aspect.
The invention provides a product enabling method, equipment and a storage medium based on an offline key.A password length input by a user is received at first, then whether the password length is consistent with several preset password forms or not is judged, if not, a blacklist or a corresponding display interface is entered to display error prompt information; if the password is consistent with the blacklist password, the password is indicated to be used before, and a corresponding display interface displays error prompt information; if the comparison result is not in the blacklist, regular decoding is carried out, if the decoding result is successfully matched with the preset valid password, the equipment function is unlocked and enabled, and meanwhile the password received this time is placed in the blacklist. Thereby guaranteed that equipment enables safe handling and in time use under the off-line condition.
Furthermore, the invention also counts the input error times; when the set times are reached, the equipment system is locked within the set time, so that the enabling safety of the product can be ensured, and the product is prevented from being damaged intentionally.
Furthermore, the invention also provides various versions of password forms, thereby meeting different requirements of different customers.
Furthermore, the password upper limit value and the operator authority are set, so that the benefits of manufacturers, the benefits of operators and the benefits of customers are guaranteed, and the safety of off-line use of the prepayment function is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of an offline key-based product enabling method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an apparatus enabling device based on an offline key according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a flowchart of a method for enabling a product based on an offline key according to an embodiment of the present application. The execution subject involved in the method is a processing device of the product or a product with the processing device, and the application is not limited to this. The product enabling method based on the offline key is described below with the processing device of the product as an execution subject. As shown in fig. 1, the method comprises the steps of:
step S101: the processing equipment receives and judges whether the password length input by the user conforms to one of a plurality of preset forms; if yes, carrying out the next step;
step S102: and if the processing equipment judges that the password length accords with the password length corresponding to the prepayment mode, the processing equipment further compares the received password with the current blacklist of the equipment system.
Step S103: if the received password is not in the current blacklist, the processing equipment carries out rule decoding; if the received password is consistent with a certain password in the current blacklist, the received password is indicated to be used, and corresponding 'error' information is pushed to be presented on a display interface.
Step S104: and if the decoding result of the processing equipment is successfully matched with the preset effective password, unlocking the function of the equipment to enable, and meanwhile, putting the received password into a blacklist.
Steps S101, S102, S103, and S104 are explained as follows:
wherein the predetermined plurality of formats includes a prepaid mode, the prepaid mode predetermined a plurality of valid passwords in the product system.
The processing equipment in the current product can receive the password input by the user, judge whether the current password is in a password form input into the product in advance according to the password input by the user, and compare the password form with the processing equipment. Illustratively, the product is provided with three forms of passwords, a prepaid form of 12 bits, a full open form of 10 bits, a factory version of 6 bits,
if the processing device judges that the password input by the current user is the same as the password corresponding to the prepaid mode, the processing device further compares whether the current password is in a blacklist of the prepaid mode, and the blacklist is the password used.
And if the received password is not in the current blacklist after the comparison of the processing equipment, carrying out rule decoding. The rule codes, for example: setting a plurality of bits of data to cover 2 bits after the product model, 2 bits in month, 2 bits in day share and 3 bits in serial number.
If the decoding result of the processing equipment is successfully matched with the preset effective password, the product function is unlocked and enabled, and meanwhile, the received password is put into a blacklist, so that the stability and the safety of the product in the using process are ensured.
Preferably, in step S101, if the processing device determines that the password is incorrect, the processing device pushes an "error" message to be presented on the display interface of the current product, so as to prompt the current user that the current password is incorrect.
Preferably, in step S101, if the processing device determines that the product is not a product, the processing device also inputs an error number, and when the set number is reached, the processing device locks the product system.
Preferably, the preset multiple forms further include a factory version password and a full-open version password with respect to the password length.
Exemplarily, the following steps are carried out: the factory version password is 6 bits, for example, the factory version password is set to 654321, the output of 90s is maintained, the output function is temporarily closed, the password can be repeatedly input, and the time for closing the output function is 90s each time.
Exemplarily, the following steps are carried out: the full-open version password is 10 bits, 9 bits of data are extracted from the product S/N number in total and are coded into the S/N password component: respectively 2 bits after the product model, 2 bits in month, 2 bits in day share and 3 bits in serial number;
version number (Max: 3): 2 position '10';
run No. (Max: 999): 10 plant count _ bit;
daily parts (Max: 31): 5 bits Days _ bit;
month (Max: 12): 4 bits of Months _ bit;
product model (Max: 99): 7-bit Model _ bit;
code reversal of full-open version: 2 position '01';
full open version cipher combination form:
′10′(2)&PlantCount(10)&Days_bit(5)&Months_bit(4)&Model_bit(7)&′01′(2):
30 bits (no matter what kind of data appears, the binary bit length is kept unchanged in the process of converting the 10-system into the 2-system, data combination is carried out, finally, the 30-bit length is ensured to be unchanged) is less than 4 (circularly leftwards shifting 4 bits), and the data after being leftwards shifted by 4 bits is converted into the 10-system number from the 2-system and is output as a password (10 bits in length); the maximum value 1073741823 of the converted 12-bit data length is the highest maximum value of +3(+ 3000000000) on the original basis, and is used as 4073741823 (the password length does not change) password output.
Exemplarily, the following steps are carried out: the prepaid version password is 12 bits, totally 9 bits of data are extracted from the S/N number of the product and are coded into the S/N password component: respectively 2 bits after the product model, 2 bits in month, 2 bits in day share and 3 bits in serial number;
version number (Max: 3): 2 position '01';
run No. (Max: 999): 10 plant count _ bit;
prepaid conversion count (Max: 32): 5-bit PayCount _ bit;
daily parts (Max: 31): 5 bits Days _ bit;
prepaid conversion interval (Max: 64): 6 bits Unitim _ bit;
month (Max: 12): 4 bits of Months _ bit;
product model (Max: 99): 7-bit Model _ bit;
prepaid version password combination form:
′01′(2)&PlantCount_bit(10)&PayCnt_bit(5)&Days_bit(5)&Unitim_bit(6)&Months_bit(4)&Model_bit(7);
the total 39 bits (no matter what kind of data appears, the binary bit length is kept unchanged in the process of converting the 10 system into the 2 system, data combination is carried out, finally, the 39bit length is ensured to be unchanged) and less than 4 (circularly leftwards shifting 4 bits), the 2 system data after being leftwards shifted by 4 bits is converted into the 10 system data to be output as a password (12 bit length), the maximum value 549755813887 of the converted 12 bit data length is the maximum value of the highest bit +3(+ 300000000000) on the original basis and is used as 849755813887 (the password length is not changed) to be output as the password.
Preferably, the blacklist is provided with an upper limit N of the number of the passwords, and the product system is pre-configured with N different passwords corresponding to the prepayment mode; step 104, the number of the passwords in the current blacklist is recorded while the received passwords are put into the blacklist; in step 102, if the number of the passwords in the current blacklist reaches N, it indicates that the function of the device has been forcibly locked, and pushes corresponding "error" information to be presented on the display interface.
Exemplarily, the following steps are carried out: 24 prepayment password systems are arranged in the prepayment password system and used for two years, the prepayment password system can be used for 30 days when an effective prepayment password is input, the effective prepayment password needs to be input again when the effective prepayment password is due, if the input surface reaches the upper limit value of 24, the product processing equipment can be automatically locked, then error information is pushed to be displayed on the current display interface, and then the current user is prompted to need to renew the fee and the like.
Preferably, the password corresponding to the prepaid mode is obtained by calculating according to a set rule based on a plurality of set bits of data in the S/N number of the product, the prepaid conversion times, the prepaid conversion time interval and the version code. Exemplarily, the following steps are carried out: 20003040121001, wherein 20 represents year 2, 003 represents product model 3, 04 represents month 2, 01 represents manufacturer code 2, 21 represents day 2, and 001 represents serial number 3.
Preferably, before step S101, the method further includes performing user attribute verification, and if the current user is verified to be the operator, detecting whether the operator inputs the prepaid password, and if so, starting the offline prepaid function, and entering step S101.
For example, if the processing device is authenticated as the operator, the operator may be allowed to have the activation function of the prepaid password in order to guarantee the benefit of the operator.
Preferably, after step 104, the prepaid time corresponding to the current password is acquired and corresponding timing is started, and when the timing is ended, the product function is locked again.
Exemplarily, the following steps are carried out: 24 prepayment password systems are arranged in the prepayment password system and used for two years, the prepayment password system can be used for 30 days when an effective prepayment password is input, the effective prepayment password needs to be input again when the effective prepayment password is due, if the input surface reaches the upper limit value of 24, the product processing equipment can be automatically locked, then error information is pushed to be displayed on the current display interface, and then the current user is prompted to need to renew the fee and the like.
In summary, compared with the prior art, the product enabling method based on the offline key provided by the invention firstly receives the password length input by the user, then judges whether the password length is consistent with several preset password forms, and if not, enters a blacklist or a corresponding display interface to display an error prompt message; if the password is consistent with the blacklist password, the password is indicated to be used before, and a corresponding display interface displays error prompt information; if the comparison result is not in the blacklist, regular decoding is carried out, if the decoding result is successfully matched with the preset valid password, the equipment function is unlocked and enabled, and meanwhile the password received this time is placed in the blacklist. Thereby guaranteed that equipment enables safe handling and in time use under the off-line condition.
Furthermore, the invention also counts the input error times; when the set times are reached, the equipment system is locked within the set time, so that the enabling safety of the product can be ensured, and the product is prevented from being damaged intentionally.
Furthermore, the invention also provides various versions of password forms, thereby meeting different requirements of different customers.
Furthermore, the password upper limit value and the operator authority are set, so that the benefits of manufacturers, the benefits of operators and the benefits of customers are guaranteed, and the safety of off-line use of the prepayment function is further improved.
Fig. 2 is a schematic structural diagram of an apparatus enabling device based on an offline key according to an embodiment of the present disclosure. The device includes:
a receiving and judging module 201, configured to receive and judge whether a password length input by a user conforms to one of multiple preset forms; if yes, carrying out the next step; the preset multiple forms comprise a prepaid mode, and the prepaid mode presets a plurality of valid passwords in a product system;
a comparison module 202, configured to further compare the received password with a current blacklist of the device system if it is determined that the password length matches the password length corresponding to the prepaid mode;
the decoding pushing module 203 is used for performing rule decoding if the received password is not listed in the current blacklist; if the received password is consistent with a certain password in the current blacklist, the received password is indicated to be used, and corresponding 'error' information is pushed to be presented on a display interface;
and the unlocking module 204 is configured to enable unlocking of the device function if the decoding result is successfully matched with the preset valid password, and meanwhile, place the received password in a blacklist.
Optionally, the receiving and determining module 201 further includes pushing an "error" message to be presented on the display interface if the determination is negative.
Optionally, the receiving and determining module 201 further includes counting the number of input errors if the determination is negative; when the set times are reached, the equipment system is locked within the set time length.
Optionally, the comparison module 202 further includes the preset multiple forms further including a factory version password and a full-open version password.
Optionally, the comparison module 202 further includes that the blacklist is provided with an upper limit N of the number of passwords, and the device system is preconfigured with N different passwords corresponding to the prepaid mode; the unlocking module 204 also includes that the number of the passwords in the current blacklist is recorded while the received passwords are put into the blacklist; the comparing module 202 further includes if the number of the passwords in the current blacklist reaches N, indicating that the device function is forcibly locked, and pushing corresponding "error" information to be presented on the display interface.
Optionally, the comparing module 202 further includes that the password corresponding to the prepaid mode is obtained by calculating according to a set rule based on a set number of bits of data, prepaid conversion times, prepaid conversion time interval, and version code in the S/N number of the product.
Optionally, the apparatus further includes a starting module 2001, configured to perform user attribute verification; if the current user is the operator, detecting whether the operator inputs the prepayment password, and if so, starting an offline prepayment function.
The enabling device provided in the embodiment of the present application may be configured to execute the product enabling method based on the offline key, and the implementation principle and the technical effect of the enabling device may refer to the method embodiment section, which is not described herein again.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method for enabling a product based on an offline key according to any one of the above embodiments is performed.
The present application further provides a computer program product, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the computer executable instructions are configured to implement any one of the above-mentioned offline key-based product enabling methods.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape, floppy disk, optical disk, and any combination thereof.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for enabling a product based on an offline key, comprising:
step 1) receiving and judging whether the password length input by a user conforms to one of a plurality of preset forms; if yes, carrying out the next step; the preset multiple forms comprise a prepaid mode, and the prepaid mode presets a plurality of valid passwords in a product system;
step 2) if the password length is judged to accord with the password length corresponding to the prepayment mode, the received password is further compared with a current blacklist of the product system;
step 3) if the received password is not in the current blacklist, regular decoding is carried out; if the received password is consistent with a certain password in the current blacklist, the received password is indicated to be used, and corresponding 'error' information is pushed to be presented on a display interface;
and 4) if the decoding result is successfully matched with the preset valid password, unlocking the function of the equipment to enable, and meanwhile, putting the password received at the time into a blacklist.
2. The offline key-based product enabling method according to claim 1, wherein in step 1), if the determination is negative, an "error" message is pushed to be presented on the display interface.
3. The off-line key-based product enabling method according to claim 2, wherein in step 1), if the judgment result is negative, the number of input errors is counted; when the set number of times is reached, the product system is locked for a set length of time.
4. The method of claim 2, wherein the predetermined plurality of formats further comprises a factory version password and a full-open version password.
5. The product enabling method based on the offline key as claimed in claim 1, wherein the blacklist has an upper limit N of the number of passwords, and the product system is pre-configured with N different passwords corresponding to the prepaid mode; putting the received password into a blacklist in the step 4), and simultaneously recording the number of passwords in the current blacklist; and 2) if the number of the passwords in the current blacklist reaches N, indicating that the function of the equipment is forcibly locked, and pushing corresponding 'error' information to be presented on a display interface.
6. The method as claimed in claim 1, wherein the password corresponding to the prepaid mode is calculated according to a set rule based on a set number of bits of data in the S/N number of the product, the number of prepaid conversions, the interval of prepaid conversions, and the version number.
7. The product enabling method based on the offline key as recited in claim 1, wherein before step 1), user attribute verification is further performed; if the current user is the operator, detecting whether the operator inputs the prepayment password, if so, starting an offline prepayment function, and entering the step 1).
8. The product enabling method based on the offline key as claimed in claim 1, wherein step 4) obtains the prepaid time corresponding to the current password and starts corresponding timing after the device function is enabled for unlocking, and when the timing is over, the product function is locked again.
9. An apparatus, comprising: a memory and a processor;
the memory is to store computer instructions; the processor is configured to execute the computer instructions stored by the memory to implement the offline key-based product enabling method of any one of claims 1 to 8.
10. A storage medium, comprising: a readable storage medium and computer instructions stored in the readable storage medium; the computer instructions are for implementing the offline key-based product-enabling method of any of claims 1 to 8.
CN202010828659.1A 2020-08-17 2020-08-17 Product enabling method, device and storage medium based on offline key Active CN111949976B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010828659.1A CN111949976B (en) 2020-08-17 2020-08-17 Product enabling method, device and storage medium based on offline key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010828659.1A CN111949976B (en) 2020-08-17 2020-08-17 Product enabling method, device and storage medium based on offline key

Publications (2)

Publication Number Publication Date
CN111949976A true CN111949976A (en) 2020-11-17
CN111949976B CN111949976B (en) 2024-01-16

Family

ID=73343542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010828659.1A Active CN111949976B (en) 2020-08-17 2020-08-17 Product enabling method, device and storage medium based on offline key

Country Status (1)

Country Link
CN (1) CN111949976B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096942A (en) * 2016-06-28 2016-11-09 深圳前海澔勉离网电器有限公司 A kind of pre-paying method and system, terminal, server
CN106204016A (en) * 2016-06-28 2016-12-07 深圳前海澔勉离网电器有限公司 A kind of pre-paying method and system, terminal, server
CN109299586A (en) * 2018-08-15 2019-02-01 广州市保伦电子有限公司 It is a kind of to decrypt Activiation method, system and storage medium offline
CN110430055A (en) * 2019-08-13 2019-11-08 北京百佑科技有限公司 Offline cryptogram generation method, offline cryptogram verification method and door lock management server
CN110941816A (en) * 2019-11-26 2020-03-31 珠海格力电器股份有限公司 Password verification method
CN111538961A (en) * 2020-04-26 2020-08-14 云知声智能科技股份有限公司 Software activation method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096942A (en) * 2016-06-28 2016-11-09 深圳前海澔勉离网电器有限公司 A kind of pre-paying method and system, terminal, server
CN106204016A (en) * 2016-06-28 2016-12-07 深圳前海澔勉离网电器有限公司 A kind of pre-paying method and system, terminal, server
CN109299586A (en) * 2018-08-15 2019-02-01 广州市保伦电子有限公司 It is a kind of to decrypt Activiation method, system and storage medium offline
CN110430055A (en) * 2019-08-13 2019-11-08 北京百佑科技有限公司 Offline cryptogram generation method, offline cryptogram verification method and door lock management server
CN110941816A (en) * 2019-11-26 2020-03-31 珠海格力电器股份有限公司 Password verification method
CN111538961A (en) * 2020-04-26 2020-08-14 云知声智能科技股份有限公司 Software activation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111949976B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US8001383B2 (en) Secure serial number
US7506171B2 (en) Method and systems for securely supporting password change
US20120282880A1 (en) Method and apparatus for unlocking a mobile communication device
CN106899409A (en) Identity identifying method and device
US7395551B2 (en) Method and apparatus for managing software use
CN110519056B (en) Login method, password generation method and related devices thereof
JP2015514269A (en) Offline authentication with built-in authorization attributes
CN113704718B (en) Computer data protection system based on identity authentication
CN110443927B (en) Visitor password generation method, visitor password verification method, server and intelligent door lock
CN115348037A (en) Identity authentication method, device and equipment of terminal equipment
CN109166199B (en) Password generation method, device and equipment
CN111949976A (en) Product enabling method and device based on offline secret key and storage medium
CN116756761B (en) Method and device for encrypting data
CN117494102A (en) Method for detecting weak password of system
CN111080233A (en) Method, device and storage medium for generating subscription information
CN111680279B (en) Login verification method, device and system
CN113569204B (en) Remote production authorization management system and method
CN109376516A (en) More fingerprint typings and authentication method, device, electronic equipment and storage medium
CN104318461A (en) Anti-counterfeiting code generation and verification method based on cipher machine and USBKey
CA2714830C (en) Method and apparatus for unlocking a mobile communication device
CN113626837A (en) Parameter management method, equipment and computer readable storage medium
CN114417317A (en) Dynamic verification stop-and-repeat system
CN114978723B (en) Safety authentication method for programmable logic controller
CN111930605B (en) Service time control method, device, equipment and medium of intelligent terminal
CN114357538A (en) Authorization management method, system and storage medium for shield machine

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Product enablement method, device, and storage medium based on offline keys

Granted publication date: 20240116

Pledgee: Shaanxi Qinnong Rural Commercial Bank Co Ltd University City Sub branch

Pledgor: Boyang Energy Technology Co.,Ltd.

Registration number: Y2024980031244

PE01 Entry into force of the registration of the contract for pledge of patent right