The management method and system of electronic equipment control authorityTechnical field
The present invention relates to field of electronic device more particularly to the management methods and system of a kind of electronic equipment control authority.
Background technique
As electronic utility is more and more flourishing, electronic equipment using more and more extensive more particularly to security applicationThe management operation of electronic equipment, control authority is also more and more important.The operation being specifically related to is that the resetting of password is arrangedManagement.
Password, which is arranged, can determine quantity, permission of operator of electronic equipment etc..The management peace of traditional setting passwordFull property is very low, when user password is lost, or is attacked by attacker, it is only necessary to take reset to operate, factory reset is closeCode can reset setting password.If electronic equipment is lost or is attacked by attacker, it will bring certain damage to userIt loses.
Summary of the invention
The purpose of the present invention is in view of the drawbacks of the prior art, providing the management method of a kind of electronic equipment and system, withRealize the permission control for safely advantageously managing electronic equipment.
To achieve the above object, in a first aspect, the present invention provides the management methods of electronic equipment control authority, when describedElectronic equipment is locked, and when needing to reset setting password, which includes:
The electronic equipment generates request data, and the request data is sent to terminal;
The terminal obtains the solicited message, and the solicited message is sent to server, and state the terminal withThe belonging relation of the electronic equipment;
The server judges whether the request data is correct, corresponding reply data is calculated, and answer by described inAnswer evidence is sent to the terminal;
The terminal receives the reply data, and the reply data is sent to the electronic equipment;
The electronic equipment judges whether the reply data is correct, if so, setting initial setting up password.
Further, after the electronic equipment judges whether the reply data is correct, the management method is also wrappedIt includes: if it is not, then the electronic equipment reacquires the reply data, and judging whether the reply data is correct;Wherein, whenAfter misjudgment number transfinites, the electronic equipment needs to generate new request data, repeat request process.
Further, after the setting initial setting up password, the management method further include: the electronic equipment is protectedThe historical record of resetting setting password is deposited, in order to historical record described in query display.
Preferably, described that the request data is sent to terminal, specifically: by showing and being manually entered, near field it is logicalThe request data is sent to terminal by the modes such as letter connection, wireless transmission or network connection.
Preferably, the request data includes the electronic equipment ID, request random number and is handled by first keySafe packet.
Further, before the terminal obtains the solicited message, the management method further include: the terminal withStrong authentication game server.
Further, after the reply data is sent to the terminal, the management method further include: the clothesDevice preservation setting password request of being engaged in records.
Second aspect, the present invention provides the management systems of a kind of electronic equipment control authority, which is characterized in that the pipeReason system includes:
Electronic equipment, the electronic equipment have ID, and first key relevant to the ID;
Terminal, the terminal are connect with the electronic equipment;
Server, with the terminal by network connection, the server has the ID, and relevant to the IDSecond key, the first key are answered by pre-defined algorithm and second key pair, in order to which the server is to the electricitySub- equipment carries out the management of the control authority.
Preferably, the terminal connect with the electronic equipment and specifically includes: near-field communication connects, wireless transmission connects,It is manually entered connection or network connection.
It is an advantage of the invention that electronic equipment realizes the communication with server by terminal, and then server is to electronic equipmentThe management of control authority is carried out, the control authority for safely advantageously managing electronic equipment is realized, improves user experience.
Detailed description of the invention
Fig. 1 is the flow chart of the management method for the electronic equipment control authority that the embodiment of the present invention one provides;
Fig. 2 is the structural schematic diagram of the management system of electronic equipment control authority provided by Embodiment 2 of the present invention.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
The management method and system of electronic equipment control authority of the invention improve electronic equipment control authority managementSafety and convenience.
When electronic equipment because user forgets Password, perhaps wrong input password reaches restriction number or is attackedWhen the attack for the person of hitting, electronic equipment will be locked, and can not carry out relevant operation.In order to obtain the operation control of electronic equipmentLimit, resetting setting password, can be realized by following management method and system.
Embodiment one
Fig. 1 is the flow chart of the management method for the electronic equipment control authority that the embodiment of the present invention one provides, as shown,Method includes the following steps:
Step 101, electronic equipment generates request data, and is sent to terminal.
Specifically, when electronic equipment is locked, needs to reset setting password, electronic equipment generates request data, and leads toCross show be manually entered, near-field communication connects, be wirelessly transferred or request data is sent to terminal by the modes such as network transmission.ItsIn, request data is specially electronic equipment ID, requests random number and by the processed safe packet of first key.
Wherein, electronic equipment can for electronic lock, automotive lock or to operation control security requirement it is higher otherElectronic equipment;Terminal can be the application software on PC, the application program on smart phone or tablet computer(Application, APP) etc..
Step 102, terminal acquisition request information, and it is sent to server.
Specifically, terminal by taking pictures, scanning, being manually entered, near-field communication connection, wireless transmission or the side such as network transmissionFormula acquisition request information, and solicited message is sent to server;Meanwhile it being declared described in terminal and electronic equipment to serverRelationship.
Wherein, server can include electronic equipment ID, correlation for the application system of load on the server, the serverKey and electronic equipment ID correspond to the information of manufacturer.
Step 103, server judges whether request data is correct, obtains reply data, is sent to terminal.
Specifically, the request data that server receiving terminal is sent, server is according to the id information and the in request dataOne key judges whether safe packet is correct in request data, and calculate with oneself ID of storage and the correlation of the second keyObtain reply data;Meanwhile reply data is sent to terminal by server, and saves the request record of resetting setting password.
Step 104, terminal receives reply data, and is sent to electronic equipment.
Specifically, terminal receive server send reply data, and by reply data to be manually entered, near-field communication connectIt connects, be wirelessly transferred or the modes such as network transmission send electronic equipment to.
Step 105, electronic equipment judges whether reply data is correct, if so, setting initial setting up password.
Specifically, electronic equipment calculates according to preset algorithm and judges whether reply data is correct, if judgement is justReally, then initial setting up password is set, i.e. resetting password.Wherein, initial setting up password can be designed as simple catchy, and mustIt must just can be used after modification, to increase the safety of electronic equipment, modification setting password needs 2 inputs, to addHypermnesia is recalled and prevents input error.After the completion of modification, electronic equipment reset after setting password;Meanwhile electronic equipment is protectedThe historical record of resetting setting password is deposited, in order to query display historical record.
Preferably, after electronic equipment judges whether reply data is correct, management method further include: if it is not, then electronicsEquipment reacquires reply data, and judges whether reply data is correct;Wherein, after the number that judges incorrectly transfinites, such asAt most allow mistake 10 times, electronic equipment generates new request data, repeats the process of step 101 to step 105.
Preferably, before step 102, terminal acquisition request information, management method further include: terminal is logged in strong authenticationServer.Specifically, terminal is with strong authentication game server, strong authentication may include: hardware (or mobile phone),The mode that short message verification code (or Subscriber Number), password (or select permeability is registered and answered) etc. combine authenticates.
The management method of electronic equipment control authority of the invention, by terminal access server, to realize that electronics is setThe standby communication with server, and then locked electronic equipment is made to reset setting password, carry out the management of control authority.It solvesElectronic equipment is lost or attacks the problem of bringing to user by attacker, safely advantageously manages electronic equipment to realizeControl authority, improve user experience.
Embodiment two
Fig. 2 is the structural schematic diagram of the management system of electronic equipment control authority provided by Embodiment 2 of the present invention, is such as schemedShown, which includes: electronic equipment 21, terminal 22 and server 23.
Electronic equipment 21 has electronic equipment ID, and first key relevant to ID.Wherein, electronic equipment 21 can be withFor electronic lock, automotive lock or other the higher electronic equipments of security requirement controlled operation.
Terminal 22 is connect with electronic equipment 21.Specifically, electronic equipment 21 passes through display, near-field communication connection, wireless biographyThe modes such as defeated or network transmission send the data to terminal 22;Terminal 22 is by taking pictures, scanning, being manually entered, near-field communication connectsIt connects, be wirelessly transferred or the modes such as network transmission receive data.Wherein, terminal can be the application software on PC, smart phone orApplication program (Application, APP) on person's tablet computer etc..Terminal 22 can inquire electronic equipment with login service device 2321 history setting record information, can also inquire some or all of other electronic equipments of specified ID setting record information.
Server 23, with terminal by network connection, server 23 has the ID of electronic equipment, and relevant to ID theTwo keys, first key are answered by preset algorithm and the second key pair, in order to server 23 to electronic equipment 21 intoThe management of row control authority.Wherein, server 23 can be the application system of load on the server.
When electronic equipment 21 because user forgets Password, perhaps wrong input password reach restriction number or byWhen the attack of attacker, electronic equipment 21 will be locked, and can not carry out relevant operation.The tool of the resetting setting password of electronic equipment 21Body process is as follows:
Electronic equipment 21 generates request data, and by display be manually entered, near-field communication connects, is wirelessly transferred or netRequest data is sent to terminal 22 by the modes such as network transmission;Terminal 22 is by taking pictures, scanning, being manually entered, near-field communication connects,The modes acquisition request information such as wireless transmission or network transmission, and solicited message is sent to server 23;Server 23 receivesThe request data that terminal 22 is sent, ID of the server 23 according to the id information and first key in request data, with oneself storageWith the correlation of the second key, judge whether safe packet is correct in request data, and reply data is calculated;Meanwhile it takingReply data is sent to terminal 22 by business device 2, and saves the request record of resetting setting password;Terminal 22 receives server and sendsReply data, and reply data is sent to be manually entered, in a manner of near-field communication connection, wireless transmission or network transmission etc.Electronic equipment 21;Electronic equipment 21 calculates according to preset algorithm and judges whether reply data is correct, if correct judgment,Then reset initial setting up password.
The management system of electronic equipment control authority of the invention, by terminal access server, to realize that electronics is setThe standby communication with server realizes that server carries out the management of control authority to electronic equipment.Solve electronic equipment lose orPerson is attacked by attacker and gives user's bring safety problem, to realize the control for safely advantageously managing electronic equipmentLimit, improves user experience.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosureUnit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrateThe interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Professional technician can use different methods to achieve the described function each specific application, but this realizationIt should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processorThe combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical fieldIn any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effectsIt is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the inventionProtection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all includeWithin protection scope of the present invention.