CN110110519A - Password remapping method, password resetting equipment and the readable storage medium storing program for executing of safety device - Google Patents
Password remapping method, password resetting equipment and the readable storage medium storing program for executing of safety device Download PDFInfo
- Publication number
- CN110110519A CN110110519A CN201910365196.7A CN201910365196A CN110110519A CN 110110519 A CN110110519 A CN 110110519A CN 201910365196 A CN201910365196 A CN 201910365196A CN 110110519 A CN110110519 A CN 110110519A
- Authority
- CN
- China
- Prior art keywords
- password
- check code
- code
- resetting
- safety device
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 230000005540 biological transmission Effects 0.000 claims abstract description 10
- 238000012795 verification Methods 0.000 claims description 18
- 238000004891 communication Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012360 testing method Methods 0.000 claims description 7
- 238000012790 confirmation Methods 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims 1
- 238000012806 monitoring device Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000007493 shaping process Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of password remapping methods of safety device, comprising steps of after receiving the password resetting application of user's transmission, the device password reset cell of check code acquisition instruction to safety device is sent, and receives the check code that the device password reset cell is returned according to the check code acquisition instruction;It sends the check code and password resetting is requested to server, and receive the answer code that the server is returned according to the check code and password resetting request;The answer code and password reset indication are sent to the device password reset cell, after being verified with the device password reset cell in the safety device to received answer code, the resetting password that the device password reset cell is returned according to the password reset indication is received.The invention also discloses a kind of password resetting equipment and readable storage medium storing program for executing.When the present invention carries out password resetting to safety device, only carrying out resetting to password will not influence safety device existing equipment parameter.
Description
Technical field
The present invention relates to the password remapping method of monitoring technology field more particularly to safety device, password resetting equipment and
Readable storage medium storing program for executing.
Background technique
When user is using monitoring devices such as security protection, households, user transfers monitoring device and locally records a video or be monitored system
Parameter configuration etc. needs to input password set by user when operating, but related behaviour can not be just carried out when user forgets Password
Make.User can make monitoring device be restored to default setting, user can set again by pressing the reset button of monitoring device
Password is set, but monitoring device is restored to default setting while can also lose the relevant device parameter in monitoring device, user
Also need to re-start the setting of device parameter while resetting password.
Summary of the invention
Password remapping method, password resetting equipment and the readable storage medium storing program for executing of a kind of safety device proposed by the present invention, purport
Safety device existing equipment parameter is influenced when solving the problems, such as that user carries out password resetting to safety device.
To achieve the above object, the present invention provides a kind of password remapping method of safety device, the method includes the steps:
After receiving the password resetting application of user's transmission, the equipment for sending check code acquisition instruction to safety device is close
Code reset cell, and receive the check code that the device password reset cell is returned according to the check code acquisition instruction;
The check code and password resetting request are sent to server, and receive the server according to the check code and
The answer code that password resetting request returns;
The answer code and password reset indication are sent to the device password reset cell, in the safety device
After device password reset cell is verified received answer code, the device password reset cell is received according to the password
The resetting password that reset indication returns.
Optionally, the check code acquisition instruction includes random number;
Described the step of receiving the check code that the device password reset cell is returned according to the check code acquisition instruction
Include:
It receives the password reset cell and passes through random number, the default sequence of the safety device in check code acquisition instruction
Row number and the time for receiving check code acquisition instruction check code generated.
Optionally, the reception password reset cell passes through the random number in check code acquisition instruction, the security protection
The step of predetermined sequence number of device and the time for receiving check code acquisition instruction check code generated includes:
The password reset cell is received by the default sequence of random number, the safety device in check code acquisition instruction
After row number and the time for receiving check code acquisition instruction are encrypted, check code generated.
Optionally, the step for receiving the answer code that the server is returned according to the check code and password resetting request
Suddenly include:
The server is received to decrypt to check code to obtain the predetermined sequence number and after the time according to institute
State the answer code that the one-to-one identification code of check code, the time and the predetermined sequence number generates.
Optionally, after the device password reset cell in the safety device is verified received answer code,
The step of receiving the resetting password that the device password reset cell is returned according to the password reset indication include:
In the identification code, described that the device password reset cell receives answer code and obtains to decryption answer code
After time and the check code are verified, receive the device password reset cell and returned according to the password reset indication
The resetting password returned.
Optionally, described after receiving the password resetting request of user's transmission, check code acquisition instruction is sent to security protection
Before the step of device password reset cell of device, further includes:
Obtain the corresponding device information of all safety devices;
A mounting device is at least selected to carry out password resetting according to the corresponding device information.
To achieve the above object, the present invention also provides a kind of password remapping methods of safety device, are applied to safety device
Device password reset cell, the method includes the steps:
Device password reset cell receives the check code acquisition instruction that client is sent after getting password resetting application,
And check code is generated according to the check code acquisition instruction;
The check code is sent to the client by the device password reset cell, so that the client is in high-ranking officers
It tests code and password resetting request is sent to server and is followed by receiving what server was returned according to the check code and password resetting request
Answer code;
The device password reset cell receives the answer code that client is sent after getting answer code and password resetting
Instruction, and resetting password is sent to the client according to password reset indication after answer code is verified.
Optionally, the device password reset cell receives answer code that client is sent after getting answer code and close
After the step of code reset indication, further includes:
The device password reset cell decryption answer code is to obtain the corresponding identification code of predetermined sequence number, receive verification
The time of code acquisition instruction and check code;
Device password reset cell judges whether the time for receiving check code acquisition instruction and the sum of preset time are small
In the default verification time;
It is described when the sum of the time for receiving check code acquisition instruction and preset time are not less than the default verification time
Device password reset cell confirms that the answer code is not out of date, and judges that the check code is with local last updated check code
It is no consistent;
When the check code is consistent with the last updated check code in local, the device password reset cell confirmation verification
Code is verified and judges whether the corresponding identification code and the identification code locally saved are consistent;
When the corresponding identification code is consistent with the identification code locally saved, the device password reset cell confirms institute
It states corresponding identification code to be verified, executes step: resetting password is sent to the client according to password reset indication.
In addition, to achieve the above object, the present invention also provides a kind of passwords to reset equipment, the password resets equipment packet
It includes: communication module, memory, processor and being stored in the computer that can be run on the memory and on the processor
Program, the computer program realize the step of the password remapping method of safety device as described above when being executed by the processor
Suddenly.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing
Computer program is contained, the computer program realizes the password resetting side of safety device as described above when being executed by processor
The step of method.
The present invention sends check code acquisition instruction to safety device after receiving the password resetting application of user's transmission
Device password reset cell, and receive the verification that the device password reset cell is returned according to the check code acquisition instruction
Code;It sends the check code and password resetting is requested to server, and receive the server according to the check code and password
The answer code that resetting request returns;The answer code and password reset indication are sent to the device password reset cell, with
After the device password reset cell of the safety device is verified received answer code, it is single to receive the device password resetting
The resetting password that member is returned according to the password reset indication.The present invention will not when user carries out password resetting to safety device
The device parameter of safety device is set to be restored to default setting, user does not need by making to pacify by the hardware reset button of safety device
Make password recovery to password default while anti-device factory reset.
Detailed description of the invention
Fig. 1 is the structural schematic diagram for the password resetting equipment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the password remapping method first embodiment of safety device of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Fig. 1 is please referred to, Fig. 1 is the hardware structural diagram that password provided by the present invention resets equipment.The password weight
Installing standby may include communication module 10, memory 20 and processor 30.In password resetting equipment, the processor
30 connect with the memory 20 and the communication module 10 respectively, are stored with computer program on the memory 20, institute
The step of stating computer program while being executed by processor 30, following methods embodiment is realized when the computer program executes.
Communication module 10 can be connect by network with external communications equipment.Communication module 10 can receive external communication and set
The request that preparation goes out, can also send request, instruction and information to the external communications equipment.The external communications equipment can be with
It is that other passwords reset equipment and/or other equipment terminal, other equipment terminal are, for example, ustomer premises access equipment, the user terminal is set
It is standby to can be computer or smart phone.
Memory 20 can be used for storing software program and various data.Memory 20 can mainly include storing program area
The storage data area and, wherein storing program area can application program needed for storage program area, at least one function (for example send out
Send check code acquisition instruction) etc.;Storage data area may include database, and storage data area, which can be stored, resets equipment according to password
Use created data or information etc..In addition, memory 20 may include high-speed random access memory, it can also include non-
Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 30 is the control centre of password resetting equipment, is reset using various interfaces and the entire password of connection
The various pieces of equipment, by running or executing the software program and/or module that are stored in memory 20, and calling storage
Data in memory 20 execute the various functions and processing data of password resetting equipment, to reset equipment station to password
Carry out integral monitoring.Processor 30 may include one or more processing units;Optionally, processor 30 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc., modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 30.
Although Fig. 1 is not shown, above-mentioned password resetting equipment can also include circuit control module, for connecting with power supply
It connects, guarantees the normal work of other component;When configurating terminal is safety device, it can receive client and receiving user's hair
The check code acquisition instruction sent after the password resetting application sent, and according to check code acquisition instruction back-checking code to client
End;The answer code and password reset indication that client is sent after getting answer code can also be received, and is verified in answer code
Resetting password is sent to the client according to password reset indication by rear.When configurating terminal is client, can send
Check code acquisition instruction to safety device device password reset cell, receive the device password reset cell of safety device according to
The check code that the check code acquisition instruction returns;The check code can also be sent and password resetting is requested to server, and
Receive the answer code that the server is returned according to the check code and password resetting request;Can also send the answer code and
Password reset indication to safety device device password reset cell, in the device password reset cell pair of the safety device
After received answer code is verified, the resetting that the device password reset cell is returned according to the password reset indication is received
Password.It will be understood by those skilled in the art that password shown in Fig. 1 resetting equipment not structure paired secret resetting equipment limit
It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Based on above-mentioned hardware configuration, each embodiment of the method for the present invention is proposed.
Referring to figure 2., Fig. 2 is the flow diagram of the password remapping method first embodiment of safety device of the present invention,
In the embodiment, which comprises
Step S10 sends check code acquisition instruction to safety device after receiving the password resetting application of user's transmission
Device password reset cell, and receive the verification that the device password reset cell is returned according to the check code acquisition instruction
Code;
User is transferred using security monitoring device and locally records a video or be monitored the behaviour such as systematic parameter configuration in the present embodiment
As when need to input password set by user to carrying out relevant operation, there is user at this time and forget Password or password loss etc.
Situation, at this moment user can not operate safety device, need to reset password.User can reset equipment to security protection with login password
Device carries out password reset operation, and password resetting equipment can be mounted in the password resetting tool of client, and user can step on
The password of record client, which resets tool and inputs user's login account information, is logged in (the user name used including login account
And password), user can be used password resetting tool and realize the data interaction with safety device to carry out password resetting;Password
Resetting equipment, which can also be, to be integrated in safety device, has effect identical with device password reset cell.
Device password reset cell is provided in this implementation in safety device, can with the password of client reset tool into
Row data interaction, user's trigger password resetting application in the password resetting tool of client, the password of client reset tool
After receiving the password resetting application that user sends, the password resetting tool of client sends check code acquisition instruction to security protection and fills
The device password reset cell set, the device password reset cell of safety device receive check code acquisition instruction and return to corresponding school
Test code to client password reset tool, wherein check code include safety device receive check code acquisition instruction time,
The predetermined sequence number and random number of safety device, the device password reset cell of safety device refer to check code acquisition is received
The time of order, the predetermined sequence number of safety device and random number obtain check code by Encryption Algorithm.User can trigger visitor
The password resetting application of password resetting tool at family end and the device password reset cell of safety device carry out data interaction, obtain
Password resetting further can be carried out to safety device after check code.
Step S20, sends the check code and password resetting is requested to server, and receives the server according to
The answer code that check code and password resetting request return;
The password resetting tool of client can carry out data interaction with server in the present embodiment, first by check code and
Password resetting request is sent to server, after server receives check code and password resetting request, first to the transmission password
User's login account information that the user of resetting request uses is verified, and judges whether user has the permission of resetting password,
If user has the permission of resetting password, check code is decrypted in server, and encryption obtains answer code again, will respond
Code is back to the password resetting tool of client;If user does not have the permission of resetting password, inform user without this permission.Its
It is provided with equipment information database in middle server, the sequence number of all safety devices and right is saved in equipment information database
The identification code answered further includes the corresponding user's login account information of each safety device, after user buys safety device, management
The safety device that member can buy user's login account information with user is associated, while opening the password resetting of the user
Permission.
Step S30 sends the answer code and password reset indication to the device password reset cell, in the peace
After the device password reset cell of anti-device is verified received answer code, receive the device password reset cell according to
The resetting password that the password reset indication returns.
Answer code and password reset indication are sent to safety device by the password resetting tool of client in the present embodiment
Device password reset cell, device password reset cell are decrypted answer code and verify to the answer code after parsing,
After answer code after parsing is verified, safety device will reset password, and by the password and safety device pair of safety device
The user name answered is sent to client, wherein the password after resetting can be the factory password of safety device.
The present embodiment sends school by after the resetting application of user's trigger password, being mounted on the password resetting tool of client
The device password reset cell of yard acquisition instruction to safety device is tested, and receiving device password reset cell is obtained according to check code
The check code returned is instructed, check code and password resetting request are sent to server by the password resetting tool of client, and are connect
Receive the answer code that server is returned according to check code and password resetting request, the password resetting tool of client is by answer code and close
Code reset indication is sent to device password reset cell, to connect after password reset cell is verified received answer code
The resetting password that receiving unit password reset cell is returned according to password reset indication.Wherein server is receiving the close of client
After verification and password resetting request that code resetting tool is sent, first determine whether the user for sending password resetting request has
The permission that password resetting is carried out to the safety device, when the user has password resetting permission, server just can be according to verification
The password for resetting request returning response code to client with password resets tool, only believes with user's login account of safety device
The permission that corresponding user just has resetting password is ceased, the safety of safety device password resetting is improved.Client respectively with
The device password reset cell and server of safety device carry out data interaction, so that the password of safety device is reset, in user
The all devices Parameter reconstruction of safety device will not be made to default setting when carrying out password resetting to safety device, user does not need
By making to make while safety device factory reset password recovery to password default by the hardware reset button of safety device,
Password will not influence the existing equipment parameter of safety device when resetting.
Further, the first embodiment of the password remapping method based on safety device of the present invention proposes security protection dress of the present invention
The second embodiment for the password remapping method set, in the present embodiment, the check code acquisition instruction include random number, step
The step of check code that the reception device password reset cell described in S10 is returned according to the check code acquisition instruction, wraps
It includes:
Step S11 receives the password reset cell and passes through the random number in check code acquisition instruction, the safety device
Predetermined sequence number and receive the time check code generated of check code acquisition instruction.
It includes random number that code instruction is verified in the present embodiment, and random number can be user when sending check code acquisition instruction
The device password reset cell of the shaping number of stochastic inputs, safety device obtains safety device when receiving check code acquisition instruction
Sequence number, and record and receive time of check code acquisition instruction.
Further, step S11 further include:
Step S110 receives the password reset cell and fills by the random number in check code acquisition instruction, the security protection
After the predetermined sequence number set and the time for receiving check code acquisition instruction are encrypted, check code generated.
The device password reset cell of safety device by random shaping number, sequence number and receives verification in the present embodiment
The time of code acquisition instruction is encrypted by data encryption algorithm, check code is obtained after encryption, device password reset cell returns
The password for returning check code to client resets tool.It is equivalent to and is had recorded by the time that record receives check code acquisition instruction
The time that the corresponding check code of the instruction generates, and random number and time are different every time, will receive check code and obtain
The sequence number of time of instruction fetch, random number and safety device are encrypted, it can be ensured that the check code generated every time is also not
With.
Further, check code acquisition instruction is sent after receiving the password resetting request of user's transmission in step S10
To safety device device password reset cell the step of before, further includes:
Step S100 obtains the corresponding device information of all safety devices;
Step S200 at least selects a mounting device to carry out password resetting according to the corresponding device information.
User is using when forgetting Password or the case where password loss, user be can trigger when safety device in the present embodiment
Password resets tool scans safety device, is carried out in a manner of multicast wherein scanning, and the password of client resets tool transmission group
Broadcast message all safety devices related to user into local area network, safety device related to user, which receives, in local area network disappears
After breath, safety device information is sent to client in the form of unicast, the password resetting tool of client receives safety device
Device information is simultaneously presented to the user by the device information of feedback, and user can select to need to carry out password resetting according to device information
Safety device, user can choose one or more safety device information and carries out password resettings, and wherein device information includes dress
Set the information such as IP.
Further, the first embodiment of the password remapping method based on safety device of the present invention proposes security protection dress of the present invention
The 3rd embodiment for the password remapping method set, in the present embodiment, the receipts server described in step S20 are according to the school
Test code and password resetting request return answer code the step of include:
Step S21 receives the server and decrypts to check code to obtain the predetermined sequence number and the time
The answer code generated afterwards according to the one-to-one identification code of the check code, the time and the predetermined sequence number.
Each safety device is equipped with unique sequence number and identification code when leaving the factory in the present embodiment, sets in the server
There is equipment information database, records the sequence number and corresponding equipment mark code of all safety devices.Server is receiving visitor
After the check code and password resetting that the password resetting tool at family end is sent are requested, when the user for sending password resetting request has
When resetting the permission of password, check code is decrypted after recording check code to obtain the sequence number of safety device, device password
Reset cell receives time and the random number of check code acquisition instruction, and server is by sequence number in equipment information database
In can find equipment mark code corresponding with the sequence number, server according to the check code of record, identification code and will be set
The time that standby password reset cell receives check code acquisition instruction is encrypted by data encryption algorithm, is rung after encryption
It answers, and the password that answer code is sent to client is reset into tool, after answer code is by verifying, user can be reset
Password can also modify to resetting password.The sequence number of safety device and corresponding identification code be all it is unique, pass through by when
Between, check code and identification code encrypted, it can be ensured that the answer code that user obtains every time is all different, it is ensured that is made in the past
Used answer code can not reuse, and improve the safety of safety device password resetting.
Further, the first embodiment of the password remapping method based on safety device of the present invention proposes security protection dress of the present invention
The fourth embodiment for the password remapping method set, it is in the present embodiment, close in the equipment of the safety device described in step S30
After code reset cell is verified received answer code, receives the device password reset cell and referred to according to password resetting
Enable return resetting password the step of include:
Step S31, in the mark that the device password reset cell receives answer code and obtains to decryption answer code
After knowledge code, the time and the check code are verified, the device password reset cell is received according to the password
The resetting password that reset indication returns.
The device password reset cell of safety device is after receiving answer code in the present embodiment, by decrypting to answer code
The identification code of safety device can be obtained, device password reset cell receives time and the check code of check code acquisition instruction,
And to identification code, receive the time of check code acquisition instruction and check code is verified, when identification code, receive check code
After the time of acquisition instruction and check code are proved to be successful, safety device resets device password, can reset to equipment factory
Password and by after resetting password and the corresponding user name of equipment be sent to client, the password resetting tool of client receives peace
The resetting password that the equipment replacement password unit of anti-device is returned according to password reset indication, user are receiving resetting password
Afterwards, setting password can be reset according to their own needs because the factory password of most of equipment be all it is identical, in order to security protection dress
The security consideration set, user can remodify password, to ensure that password is not stolen.In the password weight for carrying out safety device
It when setting, can only modify to the password of equipment, all devices parameter will not be made after factory password because of by password recovery
Factory reset, resetting password will not influence safety device existing equipment parameter.
The present invention also proposes a kind of password remapping method of safety device, and the device password applied to safety device resets single
Member, in this embodiment, the method includes the steps:
Step S001, device password reset cell receive the check code that client is sent after getting password resetting application
Acquisition instruction, and check code is generated according to the check code acquisition instruction;
Step S002, the check code is sent to the client by the device password reset cell, for the visitor
Family end is reset according to the check code and password check code and password resetting request are sent to server being followed by receiving server
Request the answer code returned;
Step S003, the device password reset cell receive the answer code that client is sent after getting answer code and
Password reset indication, and resetting password is sent to the client according to password reset indication after answer code is verified.
The device password reset cell of safety device receives the school that the password resetting tool of client is sent in the present embodiment
A yard acquisition instruction is tested, obtains random number from verification code instruction, random number can be random integers type.Device password reset cell
Specific temporal information is recorded when receiving check code acquisition instruction and obtains the local sequence number for saving safety device, it will be with
Machine integer type, the time for receiving check code acquisition instruction and sequence number are encrypted by data encryption algorithm, generate school
Test code and by check code be sent to client password reset tool, by random number and record receive check code time and
Sequence number encrypts together, it can be ensured that the check code encrypted each time is all different, it is ensured that the check code used in the past is not
It can reuse, improve the safety of password resetting.
Further, in the present embodiment, device password reset cell described in step S003 receives client and is obtaining
After the step of answer code and password reset indication for being sent after to answer code, further includes:
Step S004, the device password reset cell decryption answer code with obtain the corresponding identification code of predetermined sequence number,
Receive time and the check code of check code acquisition instruction;
Step S005, device password reset cell judge it is described receive check code acquisition instruction time and preset time it
Whether default verification time is less than;
Step S006, when the sum of the time for receiving check code acquisition instruction and preset time are not less than default verifying
Between when, the device password reset cell confirms that the answer code is not out of date, and judges the check code and local latest update
Check code it is whether consistent;
Step S007, when the check code is consistent with the last updated check code in local, the device password resetting is single
Member confirmation check code is verified and judges whether the corresponding identification code and the identification code locally saved are consistent;
Step S008, when the corresponding identification code is consistent with the identification code locally saved, the device password resetting
Unit confirms that the corresponding identification code is verified, and executes step: sending resetting password to described according to password reset indication
Client.
The password that the device password reset cell of safety device sends check code to client in the present embodiment resets tool
Afterwards, check code and password resetting request are sent to server by client, judge whether the user for sending the password request has
The permission of password resetting, if the user has password resetting permission, server is returned and is rung according to check code and password resetting request
Answer code, the password resetting tool of client receives and answer code and password reset indication are sent to setting for safety device after answer code
Standby password reset cell.After device password reset cell receives answer code and password reset indication, to answer code be decrypted with
The corresponding identification code of safety device sequence number, the time for receiving check code acquisition instruction and check code are obtained, and to mark
Code receives the time of check code acquisition instruction and check code is verified, and first determines whether to receive check code acquisition instruction
Time plus preset time whether be less than the default verification time (wherein, preset time can be for for 24 hours, and the default verification time is
Current time), if it is not, it is expired to illustrate that answer code does not have, confirmation answer code is verified;If so, illustrating that answer code is expired, inform
User response code is out of date, can not carry out password resetting.When the sum of the time and preset time for receiving check code acquisition instruction
When not less than the default verification time, device password reset cell continues to judge that check code is to be with local last updated check code
It is no consistent, namely judge whether the check code is the last generation, the check code that local record is newly generated and the school
It tests code to be compared, if the check code is consistent with the check code being newly generated, confirms that the check code is verified;If the verification
When code and the inconsistent check code being newly generated, informs that user's check code does not pass through, password resetting can not be carried out.When check code with
When local last updated check code is consistent, device password reset cell continue judge to parse obtained identification code whether with local
The identification code of preservation is consistent, if the identification code is consistent with the identification code locally saved, confirmation identification code is verified, and resets security protection
The password of device, the password may be configured as password when safety device factory, and by the password and use of the safety device of resetting
Name in an account book is sent to user, informs that user password is reset successfully;If the identification code and the identification code locally saved are inconsistent, inform and use
Family identification code is not inconsistent, unverified, can not carry out password resetting, wherein to the corresponding identification code of safety device, receiving school
Test the sequencing of the time of yard acquisition instruction and the verifying of check code without limitation.
After the device password reset cell of safety device receives answer code in the present embodiment, according to specific decoding rule
The identification code of safety device, the time for receiving check code acquisition instruction and check code are parsed, triple verifications are then passed through
Mode, respectively to the corresponding identification code of safety device sequence number, the time for receiving check code acquisition instruction and check code
It is verified, if verifying does not pass through, returns to error result, inform user password failing-resetting;If safety device sequence number
Corresponding identification code, the time for receiving check code acquisition instruction and check code pass through verifying, then triggering safety device will
Device password resets to factory password (password default), returns to password and resets successfully as a result, informing user's factory user name and going out
Factory's password, after user receives username and password, modification logging resets the password of tool or homepage modification safety device.By
All be in the factory username and password of most of safety devices it is identical, for the safety for ensuring safety device, user is being obtained
It can be modified accordingly after taking resetting password.Client carries out data friendship with device password reset cell and server respectively
Mutually, to reset the password of safety device, the equipment that will not make safety device when password resetting is carried out to safety device in user
To default setting, user does not need to set by making safety device restore factory by the hardware reset button of safety device Parameter reconstruction
Make password recovery to password default while setting, password will not influence the existing equipment parameter of safety device when resetting.
The present invention also proposes a kind of computer readable storage medium, is stored thereon with computer program.The computer can
Reading storage medium can be the memory in the terminal of Fig. 1, be also possible to such as ROM (Read-Only Memory, read-only storage
Device)/RAM (Random Access Memory, random access memory), magnetic disk, at least one of CD, the computer
Readable storage medium storing program for executing includes that some instructions are used so that a terminal device with processor (can be mobile phone, computer, clothes
Business device, terminal or the network equipment etc.) execute method described in each embodiment of the present invention.
In the present invention, term " first " " second " " third " " the 4th " " the 5th " is only used for the purpose of description, and cannot
It is interpreted as indication or suggestion relative importance, for the ordinary skill in the art, can be understood as the case may be
The concrete meaning of above-mentioned term in the present invention.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Although the embodiments of the present invention has been shown and described above, the scope of protection of the invention is not limited thereto,
It is understood that above-described embodiment is exemplary, it is not considered as limiting the invention, the ordinary skill people of this field
Member can be changed above-described embodiment, modify and replace within the scope of the invention, these variations, modification and replacement are all answered
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope of claim.
Claims (10)
1. a kind of password remapping method of safety device, which is characterized in that the method includes the steps:
After receiving the password resetting application of user's transmission, the device password weight of check code acquisition instruction to safety device is sent
Unit is set, and receives the check code that the device password reset cell is returned according to the check code acquisition instruction;
It sends the check code and password resetting is requested to server, and receive the server according to the check code and password
The answer code that resetting request returns;
The answer code and password reset indication are sent to the device password reset cell, in the equipment of the safety device
After password reset cell is verified received answer code, receives the device password reset cell and reset according to the password
Instruct the resetting password returned.
2. the password remapping method of safety device as described in claim 1, which is characterized in that the check code acquisition instruction packet
Include random number;
Described the step of receiving the check code that the device password reset cell is returned according to the check code acquisition instruction includes:
It receives the password reset cell and passes through the predetermined sequence number of random number, the safety device in check code acquisition instruction
And receive the time check code generated of check code acquisition instruction.
3. the password remapping method of safety device as claimed in claim 2, which is characterized in that described to receive the password resetting
Unit is by the predetermined sequence number of random number, the safety device in check code acquisition instruction and receives check code acquisition
The step of time of instruction check code generated includes:
The password reset cell is received by the predetermined sequence number of random number, the safety device in check code acquisition instruction
And receive check code acquisition instruction time encrypted after, check code generated.
4. the password remapping method of safety device as claimed in claim 3, which is characterized in that described to receive the server root
Include: according to the step of check code and answer code of password resetting request return
The server is received to decrypt to check code to obtain the predetermined sequence number and after the time according to the school
Test the answer code that the one-to-one identification code of code, the time and the predetermined sequence number generates.
5. the password remapping method of safety device as claimed in claim 4, which is characterized in that described in the safety device
After device password reset cell is verified received answer code, the device password reset cell is received according to the password
Reset indication return resetting password the step of include:
Answer code is received in the device password reset cell and to the identification code of decryption answer code acquisition, the time
And after the check code is verified, receive what the device password reset cell was returned according to the password reset indication
Reset password.
6. the password remapping method of safety device as claimed in claim 5, which is characterized in that described to receive user's transmission
Password resetting request after, send check code acquisition instruction to safety device device password reset cell the step of before, also
Include:
Obtain the corresponding device information of all safety devices;
A mounting device is at least selected to carry out password resetting according to the corresponding device information.
7. a kind of password remapping method of safety device, the device password reset cell applied to safety device, which is characterized in that
The method includes the steps:
Device password reset cell receives the check code acquisition instruction that client is sent after getting password resetting application, and root
Check code is generated according to the check code acquisition instruction;
The check code is sent to the client by the device password reset cell, so that the client is by check code
Server, which is sent to, with password resetting request is followed by the response that receipts server is returned according to the check code and password resetting request
Code;
The device password reset cell receives the answer code and password reset indication that client is sent after getting answer code,
And resetting password is sent to the client according to password reset indication after answer code is verified.
8. the password remapping method of safety device as claimed in claim 7, which is characterized in that the device password reset cell
After the step of receiving answer code and password reset indication that client is sent after getting answer code, further includes:
The device password reset cell decryption answer code is obtained with obtaining the corresponding identification code of predetermined sequence number, receiving check code
The time of instruction fetch and check code;
It is pre- that device password reset cell judges whether the sum of the time for receiving check code acquisition instruction and preset time are less than
If the verification time;
When the sum of the time for receiving check code acquisition instruction and preset time are not less than the default verification time, the equipment
Password reset cell confirms that the answer code is not out of date, and judge the check code and local last updated check code whether one
It causes;
When the check code is consistent with the last updated check code in local, the device password reset cell confirmation check code is tested
Card passes through and judges whether the corresponding identification code and the identification code locally saved are consistent;
When the corresponding identification code is consistent with the identification code locally saved, the device password reset cell confirmation is described right
The identification code answered is verified, and executes step: sending resetting password to the client according to password reset indication.
9. a kind of password resets equipment, which is characterized in that the password resetting equipment includes: communication module, memory, processor
And it is stored in the computer program that can be run on the memory and on the processor, the computer program is described
The step of password remapping method such as the described in any item safety devices of claim 1-8 is realized when processor executes.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing
It realizes when calculation machine program is executed by processor such as the password remapping method of safety device of any of claims 1-8
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910365196.7A CN110110519B (en) | 2019-04-30 | 2019-04-30 | Password resetting method and device for security device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910365196.7A CN110110519B (en) | 2019-04-30 | 2019-04-30 | Password resetting method and device for security device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110110519A true CN110110519A (en) | 2019-08-09 |
CN110110519B CN110110519B (en) | 2020-10-30 |
Family
ID=67488035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910365196.7A Expired - Fee Related CN110110519B (en) | 2019-04-30 | 2019-04-30 | Password resetting method and device for security device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110110519B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355708A (en) * | 2020-02-17 | 2020-06-30 | 浙江大华技术股份有限公司 | Equipment password resetting method and device |
CN112652096A (en) * | 2020-12-14 | 2021-04-13 | 珠海格力电器股份有限公司 | NB door lock information synchronization method, device, equipment and medium |
CN112836195A (en) * | 2021-03-26 | 2021-05-25 | 中国工商银行股份有限公司 | Password modification method and device for enterprise bank authentication medium |
CN113645033A (en) * | 2021-10-15 | 2021-11-12 | 天聚地合(苏州)数据股份有限公司 | Interface key resetting method, device, storage medium and server |
CN114826567A (en) * | 2022-03-17 | 2022-07-29 | 北京旷视科技有限公司 | Terminal password updating method and device, electronic equipment, medium and product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179098A (en) * | 2011-12-23 | 2013-06-26 | 阿里巴巴集团控股有限公司 | Method and device for retrieving password of network account number |
CN104883255A (en) * | 2015-06-24 | 2015-09-02 | 郑州悉知信息技术有限公司 | Password resetting method and device |
US20150294106A1 (en) * | 2012-08-01 | 2015-10-15 | Rowem Inc. | System For Processing Lost Password Using Password Long-Term Memory Of User, and Method For Processing Lost Password |
CN109344581A (en) * | 2018-08-06 | 2019-02-15 | 阿里巴巴集团控股有限公司 | Method of calibration and device |
CN109672645A (en) * | 2017-10-13 | 2019-04-23 | 中国移动通信有限公司研究院 | A kind of identity identifying method, user terminal and authentication management server |
-
2019
- 2019-04-30 CN CN201910365196.7A patent/CN110110519B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179098A (en) * | 2011-12-23 | 2013-06-26 | 阿里巴巴集团控股有限公司 | Method and device for retrieving password of network account number |
US20150294106A1 (en) * | 2012-08-01 | 2015-10-15 | Rowem Inc. | System For Processing Lost Password Using Password Long-Term Memory Of User, and Method For Processing Lost Password |
CN104883255A (en) * | 2015-06-24 | 2015-09-02 | 郑州悉知信息技术有限公司 | Password resetting method and device |
CN109672645A (en) * | 2017-10-13 | 2019-04-23 | 中国移动通信有限公司研究院 | A kind of identity identifying method, user terminal and authentication management server |
CN109344581A (en) * | 2018-08-06 | 2019-02-15 | 阿里巴巴集团控股有限公司 | Method of calibration and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111355708A (en) * | 2020-02-17 | 2020-06-30 | 浙江大华技术股份有限公司 | Equipment password resetting method and device |
CN111355708B (en) * | 2020-02-17 | 2022-06-24 | 浙江大华技术股份有限公司 | Equipment password resetting method and device |
CN112652096A (en) * | 2020-12-14 | 2021-04-13 | 珠海格力电器股份有限公司 | NB door lock information synchronization method, device, equipment and medium |
CN112836195A (en) * | 2021-03-26 | 2021-05-25 | 中国工商银行股份有限公司 | Password modification method and device for enterprise bank authentication medium |
CN112836195B (en) * | 2021-03-26 | 2024-03-26 | 中国工商银行股份有限公司 | Password modification method and device for enterprise bank authentication medium |
CN113645033A (en) * | 2021-10-15 | 2021-11-12 | 天聚地合(苏州)数据股份有限公司 | Interface key resetting method, device, storage medium and server |
CN114826567A (en) * | 2022-03-17 | 2022-07-29 | 北京旷视科技有限公司 | Terminal password updating method and device, electronic equipment, medium and product |
Also Published As
Publication number | Publication date |
---|---|
CN110110519B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110110519A (en) | Password remapping method, password resetting equipment and the readable storage medium storing program for executing of safety device | |
CN104657643B (en) | Method for protecting privacy, wearable device and mobile terminal | |
CN104205923B (en) | For correcting the method and apparatus with the associated error event of identity supply | |
US8200193B2 (en) | Detection of anomalies in traffic transmitted by a mobile terminal within a radiocommunication network | |
CN108683510A (en) | A kind of user identity update method of encrypted transmission | |
CN105103488A (en) | Policy enforcement with associated data | |
CN105813072B (en) | A kind of terminal authentication method, system and cloud server | |
Pal et al. | IoT technical challenges and solutions | |
CN106453331B (en) | Intelligent household central control system and method based on user control level | |
CN106127888B (en) | Intelligent lock operation method and smart lock operating system | |
CN104521213A (en) | Manipulation and restoration of authentication challenge parameters in network authentication procedures | |
CN105706416A (en) | Network access | |
CN108848495A (en) | A kind of user identity update method using preset key | |
CN1826810B (en) | Procedure for monitoring the usage of a broadcasted content | |
CN108200037A (en) | A kind of method and system that safety operation is performed using safety equipment | |
CN108322507A (en) | A kind of method and system executing safety operation using safety equipment | |
CN112764913A (en) | Service fusing method and device, storage medium and electronic equipment | |
CN105792095A (en) | Secret key negotiation method and system for MTC (Machine Type Communication) packet communication and network entity | |
US10959094B2 (en) | Method of replacing at least one authentication parameter for authenticating a security element and corresponding security element | |
CN106909826A (en) | Password is for action and system | |
CN114039726A (en) | Key generation method, key acquisition method, related device and medium | |
CN110188517A (en) | A kind of the user account number login method and device of based role mode | |
CN109673012B (en) | Control method, control system, control equipment and computer storage medium | |
US8887310B2 (en) | Secure consumer programming device | |
Ortiz-Yepes | Balsa: Bluetooth low energy application layer security add-on |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201030 |