CN106919827B - Wireless unlocking method, computer equipment and network server - Google Patents
Wireless unlocking method, computer equipment and network server Download PDFInfo
- Publication number
- CN106919827B CN106919827B CN201510983245.5A CN201510983245A CN106919827B CN 106919827 B CN106919827 B CN 106919827B CN 201510983245 A CN201510983245 A CN 201510983245A CN 106919827 B CN106919827 B CN 106919827B
- Authority
- CN
- China
- Prior art keywords
- computer device
- password
- user
- random password
- random
- 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.)
- Expired - Fee Related
Links
Images
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/31—User authentication
- G06F21/34—User authentication involving the use of external additional devices, e.g. dongles or smart cards
- G06F21/35—User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明提供一种无线解锁的方法、计算机设备和网络服务器。该方法包括:在检测到计算机设备启动时,建立网络连接;向网络服务器发送所述计算机设备的标识和所述计算机设备的管理员账号;接收所述网络服务器根据所述计算机设备的标识和所述管理员账号生成的随机密码;其中,所述随机密码的使用权限为一次;判断用户输入的密码是否与所述随机密码匹配;若所述用户输入的密码与所述随机密码匹配,则所述计算机设备解锁成功。本发明实施例的方法,可以有效的减少小孩使用计算机设备的次数,并且无需大人更改计算机设备本身的固定密码,其大大降低了用户记错密码或者遗忘密码的概率。
The present invention provides a wireless unlocking method, computer equipment and network server. The method includes: establishing a network connection when it is detected that a computer device is started; sending an identifier of the computer device and an administrator account of the computer device to a network server; The random password generated by the administrator account; wherein, the use authority of the random password is one time; determine whether the password entered by the user matches the random password; if the password entered by the user matches the random password, then the The computer device is successfully unlocked. The method of the embodiment of the present invention can effectively reduce the number of times children use computer equipment, and does not require adults to change the fixed password of the computer equipment itself, which greatly reduces the probability of users remembering wrong passwords or forgetting passwords.
Description
技术领域technical field
本发明涉及通信技术,尤其涉及一种无线解锁的方法、计算机设备和网络服务器。The present invention relates to communication technology, in particular to a wireless unlocking method, computer equipment and network server.
背景技术Background technique
随着生活水平的不断提高,电脑成为人们生活或者企业运营中不可或缺的工具,人们可以通过电脑进行工作、娱乐、购物等一系列的业务。并且,小孩接触电脑的年龄段也越来越早,其可以通过电脑涉猎课堂外的知识、查询学习资料等。With the continuous improvement of living standards, computers have become an indispensable tool in people's lives or business operations. People can use computers to conduct a series of businesses such as work, entertainment, and shopping. In addition, the age group of children who are exposed to computers is also getting earlier and earlier, and they can use computers to dabble in knowledge outside the classroom and inquire about learning materials.
但是,由于小孩对电脑的克制力不够,电脑上的网络游戏、联机游戏容易让小孩荒废学习,但是由于学校布置的课后作业有时需要通过电脑完成,因此也不能完全禁止小孩使用电脑。故,家长往往面对这样一个困扰:在电脑上设置了开机密码,并且除了管理员账号,在电脑上不添加任何用户账号,也就是说要进入电脑只能通过管理员账号进入,但是,当小孩需要用电脑查询资料或者做课后作业而家长又在外时,家长又需要把密码告诉给小孩,等小孩用完电脑之后,家长回到家又给电脑重新设置一新的密码,防止小孩将之前的密码记住后避开家长登录电脑玩游戏。这样导致家长需要不断的设置新密码,容易造成密码过多而记错或者忘记的情况的发生。However, due to children's lack of restraint on the computer, online games and online games on the computer are easy for children to waste their studies. However, because the after-school homework assigned by the school sometimes needs to be completed through the computer, it is not completely forbidden for children to use the computer. Therefore, parents often face such a problem: a power-on password is set on the computer, and no user account is added to the computer except for the administrator account, that is to say, the only way to enter the computer is through the administrator account. When the child needs to use the computer to check information or do after-school homework and the parent is away, the parent needs to tell the child the password. After remembering the password, avoid parents to log in to the computer to play games. In this way, parents need to constantly set new passwords, which may easily lead to the occurrence of too many passwords and misremembering or forgetting.
因此,如何在不过多的设置新密码的情况下有效的减少小孩使用电脑的次数成为目前亟待解决的技术问题。Therefore, how to effectively reduce the number of times children use computers without setting too many new passwords has become a technical problem that needs to be solved urgently.
发明内容SUMMARY OF THE INVENTION
本发明提供一种无线解锁的方法、计算机设备和网络服务器,用以解决相关技术在减少小孩使用电脑的次数时需要用户过多的设置新密码,造成用户的密码混乱或者遗忘,给用户带来不便的技术问题。The present invention provides a wireless unlocking method, computer equipment and network server, which are used to solve the problem that in the related art, when reducing the number of times children use computers, users need to set new passwords too much, causing users' passwords to be confused or forgotten, and bring about problems to users. inconvenient technical issues.
第一方面,本发明提供一种无线解锁的方法,包括:In a first aspect, the present invention provides a method for wireless unlocking, comprising:
在检测到计算机设备启动时,建立网络连接;Establish a network connection when the computer device is detected to be activated;
向网络服务器发送计算机设备的标识和该计算机设备的管理员账号;Send the identification of the computer device and the administrator account of the computer device to the network server;
接收网络服务器根据计算机设备的标识和管理员账号生成的随机密码;其中,随机密码的使用权限为一次;Receive a random password generated by the network server according to the identification of the computer device and the administrator account; wherein, the use authority of the random password is one time;
判断用户输入的密码是否与随机密码匹配;Determine whether the password entered by the user matches the random password;
若用户输入的密码与随机密码匹配,则计算机设备解锁成功。If the password entered by the user matches the random password, the computer device is successfully unlocked.
进一步地,若判断用户输入的密码与随机密码不匹配,则上述方法还包括:Further, if it is judged that the password input by the user does not match the random password, the above method also includes:
判断用户输入的密码是否为管理员账号对应的固定密码;Determine whether the password entered by the user is the fixed password corresponding to the administrator account;
若用户输入的密码是固定密码,则计算机设备解锁成功。If the password input by the user is a fixed password, the computer device is successfully unlocked.
更进一步地,若用户输入的密码与随机密码匹配,则屏蔽计算机设备中添加用户账号的功能;Further, if the password entered by the user matches the random password, the function of adding a user account in the computer device is shielded;
或者;or;
若用户输入的密码是固定密码,则为用户开通管理员权限。If the password entered by the user is a fixed password, the administrator privilege is enabled for the user.
第二方面,本发明提供一种无线解锁的方法,包括:In a second aspect, the present invention provides a method for wireless unlocking, comprising:
接收计算机设备发送的计算机设备的标识和该计算机设备的管理员账号;Receive the identifier of the computer device and the administrator account of the computer device sent by the computer device;
根据计算机设备的标识和管理员账号生成随机密码;其中,该随机密码的使用权限为一次;Generate a random password according to the identification of the computer equipment and the administrator account; wherein, the use authority of the random password is one time;
将随机密码发送给计算机设备,并根据预设的映射关系将随机密码发送给管理员账号对应的用户身份标识SIM卡号;其中,该映射关系包括不同的管理员账号和不同的SIM卡号之间的对应关系。Send the random password to the computer equipment, and send the random password to the user identity ID SIM card number corresponding to the administrator account according to the preset mapping relationship; wherein, the mapping relationship includes different administrator accounts and different SIM card numbers. Correspondence.
进一步地,上述接收计算机设备发送的计算机设备的标识和计算机设备的管理员账号之前,上述方法还包括:Further, before receiving the identifier of the computer device and the administrator account of the computer device sent by the computer device, the method further includes:
接收用户发送的注册请求;其中,该注册请求包括用户的管理员账号和用户的SIM卡号;Receive a registration request sent by the user; wherein, the registration request includes the user's administrator account and the user's SIM card number;
根据该注册请求建立映射关系。A mapping relationship is established according to the registration request.
第三方面,本发明提供一种计算机设备,包括:In a third aspect, the present invention provides a computer device, comprising:
网络连接模块,用于在检测到计算机设备启动时,建立网络连接;The network connection module is used to establish a network connection when it is detected that the computer device is started;
发送模块,用于向网络服务器计算机设备的标识和该计算机设备的管理员账号;A sending module, used to send the identification of the computer device to the network server and the administrator account of the computer device;
接收模块,用于接收网络服务器根据计算机设备的标识和管理员账号生成的随机密码;其中,该随机密码的使用权限为一次;The receiving module is used to receive the random password generated by the network server according to the identification of the computer device and the administrator account; wherein, the use authority of the random password is one time;
判断模块,用于判断用户输入的密码是否与随机密码匹配;The judgment module is used to judge whether the password input by the user matches the random password;
处理模块,用于在判断模块判断用户输入的密码与随机密码匹配时,确定计算机设备解锁成功。The processing module is configured to determine that the computer device is unlocked successfully when the determination module determines that the password input by the user matches the random password.
进一步地,当判断模块判断用户输入的密码与随机密码不匹配时,上述判断模块还用于判断用户输入的密码是否为管理员账号对应的固定密码;Further, when the judging module judges that the password input by the user does not match the random password, the above judging module is also used to judge whether the password input by the user is a fixed password corresponding to the administrator account;
则上述处理模块,还用于在判断模块判断用户输入的密码是固定密码时,确定计算机设备解锁成功。The above processing module is further configured to determine that the computer device is unlocked successfully when the determination module determines that the password input by the user is a fixed password.
更进一步地,上述计算机设备还包括:权限控制模块;Further, the above-mentioned computer equipment also includes: an authority control module;
权限控制模块,用于在判断模块判断用户输入的密码与随机密码匹配时,屏蔽计算机设备中添加用户账号的功能;an authority control module, used for shielding the function of adding a user account in the computer equipment when the judgment module judges that the password input by the user matches the random password;
或者,or,
权限控制模块,用于在判断模块判断用户输入的密码是固定密码时,为用户开通管理员权限。The authority control module is used to activate the administrator authority for the user when the judgment module judges that the password input by the user is a fixed password.
第四方面,本发明提供一种网络服务器,包括:In a fourth aspect, the present invention provides a network server, comprising:
接收模块,用于接收计算机设备发送的计算机设备的标识和该计算机设备的管理员账号;a receiving module, configured to receive the identifier of the computer device and the administrator account of the computer device sent by the computer device;
密码生成模块,用于根据计算机设备的标识和管理员账号生成随机密码;其中,该随机密码的使用权限为一次;The password generation module is used to generate a random password according to the identification of the computer equipment and the administrator account; wherein, the use authority of the random password is one time;
发送模块,用于将随机密码发送给计算机设备,并根据预设的映射关系将随机密码发送给管理员账号对应的用户身份标识SIM卡号;其中,该映射关系包括不同的管理员账号和不同的SIM卡号之间的对应关系。The sending module is used to send the random password to the computer equipment, and send the random password to the user identity ID SIM card number corresponding to the administrator account according to the preset mapping relationship; wherein, the mapping relationship includes different administrator accounts and different Correspondence between SIM card numbers.
进一步地,上述网络服务器还包括:处理模块;Further, the above-mentioned network server also includes: a processing module;
接收模块,还用于接收用户发送的注册请求;其中,该注册请求包括用户的管理员账号和用户的SIM卡号;The receiving module is also used to receive the registration request sent by the user; wherein, the registration request includes the user's administrator account and the user's SIM card number;
上述处理模块,用于根据接收模块接收的注册请求建立映射关系。The above processing module is configured to establish a mapping relationship according to the registration request received by the receiving module.
本发明实施例提供的无线解锁的方法、计算机设备和网络服务器,通过计算机设备在启动阶段与网络建立连接,并通过网络向网络服务器发送计算机设备的标识和管理员账号,从而使得网络服务器根据该计算机设备的标识和管理员账号为该计算机设备生成随机密码,并将所生成的随机密码分别发送给对应的计算机设备和第二用户的SIM卡号,进而第一用户就可以利用第二用户所告知的随机密码解锁计算机设备,并且由于该随机密码只有一次使用权限,因此,第一用户(例如小孩)即使记住该随机密码也是无效的,故,本发明实施例提供的方法,可以有效的减少第一用户使用计算机设备的次数,并且无需第二用户更改计算机设备本身的固定密码,其大大降低了用户记错密码或者遗忘密码的概率,在减少第一用户使用计算机设备的次数的同时为第二用户提供了非常大的便利,大大提高了用户的体验效果。The wireless unlocking method, computer device, and network server provided by the embodiments of the present invention establish a connection with the network through the computer device during the startup phase, and send the computer device's identification and administrator account to the network server through the network, so that the network server can be based on the network server. The identifier of the computer device and the administrator account generate a random password for the computer device, and the generated random password is sent to the corresponding computer device and the SIM card number of the second user respectively, and then the first user can use the information notified by the second user. The random password is used to unlock the computer device, and since the random password has only one use right, even if the first user (such as a child) remembers the random password, it is invalid. Therefore, the method provided by the embodiment of the present invention can effectively reduce The number of times the first user uses the computer device, and the second user does not need to change the fixed password of the computer device itself, which greatly reduces the probability that the user remembers the wrong password or forgets the password, and reduces the number of times the first user uses the computer device. The second user provides great convenience and greatly improves the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without any creative effort.
图1为本发明提供的网络架构示意图;1 is a schematic diagram of a network architecture provided by the present invention;
图2为本发明提供的无线解锁的方法实施例一的信令流程图;2 is a signaling flow chart of Embodiment 1 of the method for wireless unlocking provided by the present invention;
图3为本发明提供的无线解锁的方法实施例二的流程示意图;3 is a schematic flowchart of Embodiment 2 of a method for wireless unlocking provided by the present invention;
图4为本发明提供的无线解锁的方法实施例三的流程示意图;4 is a schematic flowchart of Embodiment 3 of the method for wireless unlocking provided by the present invention;
图5为本发明提供的计算机设备实施例一的结构示意图;5 is a schematic structural diagram of Embodiment 1 of a computer device provided by the present invention;
图6为本发明提供的计算机设备实施例二的结构示意图;6 is a schematic structural diagram of Embodiment 2 of a computer device provided by the present invention;
图7为本发明提供的网络服务器实施例一的结构示意图;7 is a schematic structural diagram of Embodiment 1 of a network server provided by the present invention;
图8为本发明提供的网络服务器实施例二的结构示意图。FIG. 8 is a schematic structural diagram of Embodiment 2 of a network server provided by the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例所涉及的终端,可以是手机、固定电话等具有通话功能的设备,本发明实施例所涉及的计算机设备,可以是笔记本、台式电脑、平板电脑等设备。The terminal involved in the embodiment of the present invention may be a device with a call function, such as a mobile phone and a fixed phone, and the computer device involved in the embodiment of the present invention may be a notebook, a desktop computer, a tablet computer, and other devices.
本发明适用于图1所示的网络架构图,参见图1所示,用户A指的是对于计算机设备的使用缺乏自制力的用户,例如小孩,这一类用户在本发明实施例中称为第一用户,用户B指的是计算机设备的管理员,例如成年人,这一类用户在本发明实施例中称为第二用户,图1中示出的一台计算机设备,当然,其可以适用于多台计算机设备,这里只是一种示例。The present invention is applicable to the network architecture diagram shown in FIG. 1 . Referring to FIG. 1 , user A refers to a user who lacks self-control in the use of computer equipment, such as a child. This type of user is referred to as a user in this embodiment of the present invention. The first user, user B, refers to the administrator of the computer device, such as an adult, and this type of user is referred to as the second user in this embodiment of the present invention. The computer device shown in FIG. 1, of course, can be Applies to multiple computer devices, this is just an example.
本发明实施例所涉及的方法旨在解决相关技术中家长在减少小孩使用电脑的次数时需要过多的设置新密码从而导致密码设置过多造成的混乱或者遗忘,给用户带来不便的技术问题。The method involved in the embodiments of the present invention aims to solve the technical problem in the related art that parents need to set too many new passwords when reducing the number of times children use computers, which leads to confusion or forgetting caused by too many password settings, and brings inconvenience to users .
下面以具体地实施例对本发明的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The technical solutions of the present invention will be described in detail below with specific examples. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
图2为本发明提供的无线解锁的方法实施例一的信令流程图。本实施例涉及的是第二用户通过无线解锁计算机设备,从而无需过多的设置新密码以达到限制第一用户使用计算机设备的目的的具体过程。如图2所示,该方法包括:FIG. 2 is a signaling flow chart of Embodiment 1 of the method for wireless unlocking provided by the present invention. This embodiment relates to a specific process in which the second user unlocks the computer device wirelessly, so as to achieve the purpose of restricting the use of the computer device by the first user without excessively setting new passwords. As shown in Figure 2, the method includes:
S101:计算机设备在检测到计算机设备启动时,建立网络连接。S101: The computer device establishes a network connection when detecting that the computer device is started.
具体的,本发明实施例中,当计算机设备检测到计算机设备启动时,计算机设备可以向其内部的网络连接模块发送网络连接请求,使得计算机设备在启动阶段就可以与网络连接,也就是说,计算机设备在进入到开机界面之前,计算机设备已经与网络建立了连接。Specifically, in this embodiment of the present invention, when the computer device detects that the computer device is started, the computer device can send a network connection request to its internal network connection module, so that the computer device can be connected to the network during the startup phase, that is, Before the computer device enters the boot interface, the computer device has established a connection with the network.
S102:计算机设备向网络服务器发送所述计算机设备的标识和所述计算机设备的管理员账号。S102: The computer device sends the identifier of the computer device and the administrator account of the computer device to the network server.
S103:网络服务器接收计算机设备发送的所述计算机设备的标识和所述计算机设备的管理员账号。S103: The network server receives the identifier of the computer device and the administrator account of the computer device sent by the computer device.
S104:网络服务器根据所述计算机设备的标识和所述管理员账号生成随机密码;其中,所述随机密码的使用权限为一次。S104: The network server generates a random password according to the identifier of the computer device and the administrator account; wherein, the use right of the random password is one time.
具体的,网络服务器在接收到计算机设备的标识和管理员账号后,首先根据该计算机设备的标识和管理员账号,为该管理员账号对应的该计算机设备生成一随机密码;由于用户家中可能具有多台计算机设备,并且多台计算机设备均开机,即均向网络服务器发送了各自的标识和各自的管理员账号,因此,网络服务器只有获知哪一个管理员账号对应哪一个计算机设备,进而才能为对应的计算机设备生成随机避免,并将该随机密码记录在该管理员账号下。可选的,本发明是实力的随机密码可以是任意字符构成的密码,其只有一次的使用权限。Specifically, after receiving the identification of the computer device and the administrator account, the network server first generates a random password for the computer device corresponding to the administrator account according to the identification of the computer device and the administrator account; Multiple computer devices, and multiple computer devices are all powered on, that is, they all send their respective identities and respective administrator accounts to the network server. Therefore, the network server can only know which administrator account corresponds to which computer device, and then can The corresponding computer device generates a random password, and records the random password under the administrator account. Optionally, the strong random password of the present invention can be a password composed of arbitrary characters, which has only one use right.
S105:网络服务器将所述随机密码发送给所述计算机设备。S105: The network server sends the random password to the computer device.
具体的,由于网络服务器根据上述映射关系已经获知当前是为哪一个管理员账号的哪一个计算机设备生成的随机密码,因此,网络服务器就会将所生成的随机密码发送给对应的计算机设备。Specifically, since the network server already knows the random password currently generated for which computer device of which administrator account according to the above mapping relationship, the network server will send the generated random password to the corresponding computer device.
S106:网络服务器根据预设的映射关系将所述随机密码发送给所述管理员账号对应的用户身份标识SIM卡号;其中,所述映射关系包括不同的管理员账号和不同的SIM卡号之间的对应关系。S106: The network server sends the random password to the user identity ID SIM card number corresponding to the administrator account according to a preset mapping relationship; wherein, the mapping relationship includes the difference between different administrator accounts and different SIM card numbers. Correspondence.
具体的,由于网络服务器已经获知上述所生成的随机密码是针对哪一个管理员账号的哪一个计算机设备的,因此,网络服务器可以根据预设的映射关系确定该管理员账号对应的SIM卡号,进而将所生成的随机密码发送给所对应的SIM卡号,该管理员账号对应的SIM卡号即为第二用户的终端的SIM卡号。可选的,上述映射关系可以是用户直接将自身的管理员账号和用户的SIM卡号绑定好发送给网络服务器的,还可以是网络服务器根据用户发送的理员账号和用户的SIM卡号自己建立对应关系并保存的。Specifically, since the network server has already learned which computer device of which administrator account the generated random password is for, the network server can determine the SIM card number corresponding to the administrator account according to the preset mapping relationship, and then The generated random password is sent to the corresponding SIM card number, and the SIM card number corresponding to the administrator account is the SIM card number of the terminal of the second user. Optionally, the above-mentioned mapping relationship can be that the user directly binds his own administrator account and the user's SIM card number and sends it to the network server, or the network server can establish itself according to the administrator account and the user's SIM card number sent by the user. Correspondence and saved.
S107:计算机设备接收网络服务器发送的随机密码。S107: The computer device receives the random password sent by the network server.
S108:第二用户接收网络服务器发送的随机密码。S108: The second user receives the random password sent by the network server.
S109:第二用户将所述随机密码发送给第一用户,以使第一用户在所述计算机设备上输入该随机密码。S109: The second user sends the random password to the first user, so that the first user inputs the random password on the computer device.
S110:计算机设备判断第一用户输入的密码是否与所述随机密码匹配。S110: The computer device determines whether the password input by the first user matches the random password.
S111:若计算机设备判断第一用户输入的密码与所述随机密码匹配,则计算机设备解锁成功。S111: If the computer device determines that the password input by the first user matches the random password, the computer device is successfully unlocked.
具体的,当网络服务器分别将随机密码发送给对应的计算机设备和第二用户的SIM卡号时,计算机设备将该随机密码进行缓存,该随机密码缓存的有效期为直至计算机设备解锁成功为止这一段时间,同时,第二用户将所得到的随机密码通过第二用户的终端发送给第一用户的终端,从而使得第一用户将接收到的随机密码输入至计算机设备中。进而,计算机设备在判断第一用户输入的密码与计算机所缓存的密码匹配时,计算机设备确定其解锁成功,进入主页面。需要说明的是,该随机密码只有一次的使用权限,当使用该随机密码解锁成功后,计算机设备如果再次上锁,则利用该随机密码就无法成功解锁该计算机设备,这样可以保证第一用户即使记住该随机密码也是无效的,因此,本发明实施例提供的方法,可以有效的减少第一用户使用计算机设备的次数,并且无需第二用户更改计算机设备本身的固定密码,也就是说其无需第二用户过多的设置新密码,因此,其大大降低了用户记错密码或者遗忘密码的概率,在减少第一用户使用计算机设备的次数的同时为第二用户提供了非常大的便利。Specifically, when the network server sends the random password to the corresponding computer device and the SIM card number of the second user respectively, the computer device caches the random password, and the validity period of the random password cache is until the computer device is successfully unlocked. At the same time, the second user sends the obtained random password to the terminal of the first user through the terminal of the second user, so that the first user inputs the received random password into the computer device. Furthermore, when the computer device determines that the password input by the first user matches the password cached by the computer, the computer device determines that the password is unlocked successfully and enters the home page. It should be noted that the random password has only one use authority. After the random password is used to unlock the computer device successfully, if the computer device is locked again, the computer device cannot be successfully unlocked by using the random password. Remembering the random password is also invalid. Therefore, the method provided by the embodiment of the present invention can effectively reduce the number of times the first user uses the computer device, and does not require the second user to change the fixed password of the computer device itself, that is, it does not require The second user sets too many new passwords, therefore, it greatly reduces the probability that the user remembers the wrong password or forgets the password, and provides great convenience for the second user while reducing the number of times the first user uses the computer device.
本发明实施例提供的无线解锁的方法,通过计算机设备在启动阶段与网络建立连接,并通过网络向网络服务器发送计算机设备的标识和管理员账号,从而使得网络服务器根据该计算机设备的标识和管理员账号为该计算机设备生成随机密码,并将所生成的随机密码分别发送给对应的计算机设备和第二用户的SIM卡号,进而第一用户就可以利用第二用户所告知的随机密码解锁计算机设备,并且由于该随机密码只有一次使用权限,因此,第一用户即使记住该随机密码也是无效的,故,本发明实施例提供的方法,可以有效的减少第一用户使用计算机设备的次数,并且无需第二用户更改计算机设备本身的固定密码,其大大降低了用户记错密码或者遗忘密码的概率,在减少第一用户使用计算机设备的次数的同时为第二用户提供了非常大的便利,大大提高了用户的体验效果。In the wireless unlocking method provided by the embodiment of the present invention, a computer device establishes a connection with a network in a startup phase, and sends an identifier of the computer device and an administrator account to a network server through the network, so that the network server can manage and manage the computer device according to the identifier of the computer device. The user account generates a random password for the computer device, and sends the generated random password to the corresponding computer device and the SIM card number of the second user, so that the first user can use the random password notified by the second user to unlock the computer device. , and because the random password has only one use authority, even if the first user remembers the random password, it is invalid. Therefore, the method provided by the embodiment of the present invention can effectively reduce the number of times the first user uses the computer device, and There is no need for the second user to change the fixed password of the computer device itself, which greatly reduces the probability of the user remembering the wrong password or forgetting the password, and provides great convenience for the second user while reducing the number of times the first user uses the computer device. Improve user experience.
图3为本发明提供的无线解锁的方法实施例二的流程示意图。本实施例涉及的是网络服务器建立映射关系的具体过程。在上述实施例的基础上,进一步地,如图3所示,在上述S101之前,该方法还包括:FIG. 3 is a schematic flowchart of Embodiment 2 of the method for wireless unlocking provided by the present invention. This embodiment relates to the specific process of establishing the mapping relationship by the network server. On the basis of the foregoing embodiment, further, as shown in FIG. 3, before the foregoing S101, the method further includes:
S201:接收用户发送的注册请求;其中,所述注册请求包括用户的管理员账号和所述用户的SIM卡号。S201: Receive a registration request sent by a user; wherein the registration request includes the user's administrator account and the user's SIM card number.
具体的,本步骤中的用户可以为上述第二用户,第二用户通过终端向网络服务器发送注册请求,以建立第二用户的解锁账号,在注册请求中包括用户的管理员账号和该用户的SIM卡号;之后用户可以通过该解锁账号的登录网络服务器。Specifically, the user in this step may be the above-mentioned second user, the second user sends a registration request to the network server through the terminal to establish the unlocking account of the second user, and the registration request includes the user's administrator account and the user's account. SIM card number; then the user can log in to the web server through the unlocked account.
S202:根据所述注册请求建立所述映射关系。S202: Establish the mapping relationship according to the registration request.
具体的,网络服务器可以根据该注册请求经用户的管理账号和该用户的SIM卡号建立对应关系,可选的,网络服务器可以接收多个第二用户发送的注册请求,进而可以建立多个对应关系,进而网络服务器就可以获得不同的管理员账号和不同的SIM卡号之间的对应关系,从而得到上述映射关系。Specifically, the network server may establish a correspondence between the user's management account and the user's SIM card number according to the registration request. Optionally, the network server may receive registration requests sent by multiple second users, and then may establish multiple correspondences , and then the network server can obtain the corresponding relationship between different administrator accounts and different SIM card numbers, so as to obtain the above-mentioned mapping relationship.
图4为本发明提供的无线解锁的方法实施例三的流程示意图。本实施例涉及的是当计算机设备判断用户输入的密码与随机密码不匹配时,计算机设备的具体操作过程。在上述实施例的基础上,如图4所示,该方法还可以包括:FIG. 4 is a schematic flowchart of Embodiment 3 of the method for wireless unlocking provided by the present invention. This embodiment relates to the specific operation process of the computer device when the computer device determines that the password input by the user does not match the random password. On the basis of the foregoing embodiment, as shown in FIG. 4 , the method may further include:
S301:判断所述用户输入的密码是否为所述管理员账号对应的固定密码。若是,则执行S302,若否,则执行S303。S301: Determine whether the password input by the user is a fixed password corresponding to the administrator account. If yes, execute S302, if not, execute S303.
S302:若所述用户输入的密码是固定密码,则确定所述计算机设备解锁成功。S302: If the password input by the user is a fixed password, determine that the computer device is successfully unlocked.
S303:若所述用户输入的密码不是固定密码,则确定所述计算机设备解锁失败。S303: If the password input by the user is not a fixed password, determine that the computer device fails to be unlocked.
具体的,本发明实施例中,计算机设备可以通过两种方式实现解锁,一种是通过随机密码解锁,一种是通过计算机设备本身所固有的固定密码解锁。当用户输入的密码与随机密码匹配时,计算机设备通过该随机密码解锁成功,虽然用户可以使用计算机,但计算机设备会屏蔽计算机设备中添加用户账号的功能,此时小孩不能随意添加新的用户账号以方便后期不输入密码使用计算机设备,其没有管理员权限。当用户输入的密码与固定密码匹配时,计算机设备解锁成功,则此时计算机设备为正常使用状态,即计算机设备为用户开通了管理员权限;当用户输入的密码既与随机密码不匹配,也与固定密码不匹配时,计算机设备确定解锁失败,可选的,其可以向用户输出密码输入错误的提示。Specifically, in the embodiment of the present invention, the computer device can be unlocked in two ways, one is unlocking through a random password, and the other is unlocking through a fixed password inherent in the computer device itself. When the password entered by the user matches the random password, the computer device is successfully unlocked through the random password. Although the user can use the computer, the computer device will block the function of adding user accounts in the computer device. At this time, children cannot add new user accounts at will. In order to facilitate the use of computer equipment without entering a password later, it does not have administrator rights. When the password entered by the user matches the fixed password, the computer device is successfully unlocked, and the computer device is in a normal use state at this time, that is, the computer device has opened administrator rights for the user; when the password entered by the user does not match the random password, it is also When it does not match the fixed password, the computer device determines that the unlocking fails, and optionally, it can output a prompt that the password is entered incorrectly to the user.
本发明实施例提供的无线解锁的方法,在判断用户输入的密码与随机密码不匹配时,进一步通过判断用户输入的密码是否是管理员账号对应的固定密码,来确定解锁是否成功,提高了计算机解锁判定的准确性;并且,在判定用户通过随机密码解锁成功时,屏蔽计算机设备上的添加用户账号的功能,避免小孩随意添加新的用户账号以方便后期不输入密码使用计算机设备的情况发生,进一步减少了小孩使用计算机设备的次数;另外,在判定用户通过固定密码解锁成功时,为用户开通管理员权限,使得用户能够正常使用计算机设备,提高用户的体验。In the wireless unlocking method provided by the embodiment of the present invention, when it is judged that the password input by the user does not match the random password, it is further determined whether the unlocking is successful by judging whether the password input by the user is a fixed password corresponding to the administrator account, and the computer is improved. The accuracy of the unlocking determination; and, when it is determined that the user is successfully unlocked through a random password, the function of adding a user account on the computer device is shielded, so as to prevent children from adding a new user account at will to facilitate the use of the computer device without entering a password later. This further reduces the number of times that children use computer equipment; in addition, when it is determined that the user has successfully unlocked with a fixed password, the administrator authority is opened for the user, so that the user can use the computer equipment normally, and the user experience is improved.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by program instructions related to hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps including the above method embodiments are executed; and the foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
图5为本发明提供的计算机设备实施例一的结构示意图。在计算机设备中所涉及的模块或者单元可以通过软件、硬件或者二者结合的方式实现。如图5所示,该计算机设备可以包括:网络连接模块10、发送模块11、接收模块12、判断模块13和处理模块14。FIG. 5 is a schematic structural diagram of Embodiment 1 of a computer device provided by the present invention. The modules or units involved in the computer equipment can be implemented by software, hardware or a combination of the two. As shown in FIG. 5 , the computer device may include: a
其中,网络连接模块10,用于在检测到计算机设备启动时,建立网络连接;Wherein, the
发送模块11,用于向网络服务器发送所述计算机设备的标识和所述计算机设备的管理员账号;A sending module 11, configured to send the identifier of the computer device and the administrator account of the computer device to the network server;
接收模块12,用于接收所述网络服务器根据所述计算机设备的标识和所述管理员账号生成的随机密码;其中,所述随机密码的使用权限为一次;A receiving
判断模块13,用于判断用户输入的密码是否与所述随机密码匹配;Judging
处理模块14,用于在所述判断模块13判断所述用户输入的密码与所述随机密码匹配时,确定所述计算机设备解锁成功。The
本发明实施例提供的计算机设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The computer equipment provided by the embodiments of the present invention can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
进一步地,当所述判断模块13判断所述用户输入的密码与所述随机密码不匹配时,所述判断模块13还用于判断所述用户输入的密码是否为所述管理员账号对应的固定密码;Further, when the judging
则所述处理模块14,还用于在所述判断模块13判断所述用户输入的密码是固定密码时,确定所述计算机设备解锁成功。Then, the
图6为本发明提供的计算机设备实施例二的结构示意图。在上述实施例的基础上,进一步地,如图6所示,该计算机设备还可以包括:权限控制模块15。所述权限控制模块15,用于在所述判断模块13判断所述用户输入的密码与所述随机密码匹配时,屏蔽所述计算机设备中添加用户账号的功能;或者,所述权限控制模块15,用于在所述判断模块13判断所述用户输入的密码是固定密码时,为所述用户开通管理员权限。FIG. 6 is a schematic structural diagram of Embodiment 2 of a computer device provided by the present invention. On the basis of the above embodiment, further, as shown in FIG. 6 , the computer device may further include: an
本发明实施例提供的计算机设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The computer equipment provided by the embodiments of the present invention can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
图7为本发明提供的网络服务器实施例一的结构示意图。在网络服务器中所涉及的模块或者单元可以通过软件、硬件或者二者结合的方式实现。如图7所示,该网络服务器可以包括:接收模块20、密码生成模块21和发送模块22。FIG. 7 is a schematic structural diagram of Embodiment 1 of a network server provided by the present invention. The modules or units involved in the network server can be implemented by software, hardware or a combination of the two. As shown in FIG. 7 , the network server may include: a receiving
其中,接收模块20,用于接收计算机设备发送的所述计算机设备的标识和所述计算机设备的管理员账号;Wherein, the receiving
密码生成模块21,用于根据所述计算机设备的标识和所述管理员账号生成随机密码;其中,所述随机密码的使用权限为一次;The
发送模块22,用于将所述随机密码发送给所述计算机设备,并根据预设的映射关系将所述随机密码发送给所述管理员账号对应的用户身份标识SIM卡号;其中,所述映射关系包括不同的管理员账号和不同的SIM卡号之间的对应关系。The sending
本发明实施例提供的网络服务器,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The network server provided by the embodiments of the present invention can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
图8为本发明提供的网络服务器实施例二的结构示意图。在上述图7所示实施例的基础上,进一步地,如图8所示,该网络服务器还可以包括:处理模块23;则所述接收模块20,还用于接收用户发送的注册请求;其中,所述注册请求包括用户的管理员账号和所述用户的SIM卡号;FIG. 8 is a schematic structural diagram of Embodiment 2 of a network server provided by the present invention. On the basis of the above-mentioned embodiment shown in FIG. 7, further, as shown in FIG. 8, the network server may further include: a
所述处理模块23,用于根据所述接收模块20接收的所述注册请求建立所述映射关系。The
本发明实施例提供的网络服务器,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The network server provided by the embodiments of the present invention can execute the above method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510983245.5A CN106919827B (en) | 2015-12-24 | 2015-12-24 | Wireless unlocking method, computer equipment and network server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510983245.5A CN106919827B (en) | 2015-12-24 | 2015-12-24 | Wireless unlocking method, computer equipment and network server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106919827A CN106919827A (en) | 2017-07-04 |
CN106919827B true CN106919827B (en) | 2020-04-17 |
Family
ID=59457608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510983245.5A Expired - Fee Related CN106919827B (en) | 2015-12-24 | 2015-12-24 | Wireless unlocking method, computer equipment and network server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106919827B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7222229B2 (en) * | 2018-11-30 | 2023-02-15 | 富士電機株式会社 | Vending machine door opening/closing system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1879071A (en) * | 2003-11-07 | 2006-12-13 | 意大利电信股份公司 | Method and system for the authentication of a user of a data processing system |
CN101997824A (en) * | 2009-08-20 | 2011-03-30 | 中国移动通信集团公司 | Identity authentication method based on mobile terminal as well as device and system thereof |
CN101998387A (en) * | 2009-08-14 | 2011-03-30 | 中国移动通信集团公司 | Client authentication method, password agent device and system |
CN102566559A (en) * | 2012-02-29 | 2012-07-11 | 深圳市赛格导航科技股份有限公司 | Short message unlocking method and system for engineering vehicle |
CN103249045A (en) * | 2013-05-13 | 2013-08-14 | 华为技术有限公司 | Identification method, device and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8041954B2 (en) * | 2006-12-07 | 2011-10-18 | Paul Plesman | Method and system for providing a secure login solution using one-time passwords |
CN103209443A (en) * | 2013-01-25 | 2013-07-17 | 刘俊 | Public private wireless internet broadband resource distribution method and system |
CN104079409A (en) * | 2014-06-10 | 2014-10-01 | 百度在线网络技术(北京)有限公司 | Account login method and device |
-
2015
- 2015-12-24 CN CN201510983245.5A patent/CN106919827B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1879071A (en) * | 2003-11-07 | 2006-12-13 | 意大利电信股份公司 | Method and system for the authentication of a user of a data processing system |
CN101998387A (en) * | 2009-08-14 | 2011-03-30 | 中国移动通信集团公司 | Client authentication method, password agent device and system |
CN101997824A (en) * | 2009-08-20 | 2011-03-30 | 中国移动通信集团公司 | Identity authentication method based on mobile terminal as well as device and system thereof |
CN102566559A (en) * | 2012-02-29 | 2012-07-11 | 深圳市赛格导航科技股份有限公司 | Short message unlocking method and system for engineering vehicle |
CN103249045A (en) * | 2013-05-13 | 2013-08-14 | 华为技术有限公司 | Identification method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN106919827A (en) | 2017-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11522866B2 (en) | Account access recovery system, method and apparatus | |
US8978130B2 (en) | Method and system for child authentication | |
US10044705B2 (en) | Session management for internet of things devices | |
US10230722B2 (en) | Trusted status transfer between associated devices | |
US20160183092A1 (en) | Online account access control by mobile device | |
US12026294B2 (en) | Security adjustments in mobile devices | |
CN111433770B (en) | Method and apparatus for user authentication and computer readable medium | |
CN107426169A (en) | A kind of method for processing business and device based on authority | |
WO2012088974A1 (en) | Method and device for unlocking operating system | |
CN110365483B (en) | Cloud platform authentication method, client, middleware and system | |
CA2944794A1 (en) | Limiting user interaction with a computing device based on proximity of a user | |
US9485255B1 (en) | Authentication using remote device locking | |
CN106341379B (en) | Information processing method, device and system | |
CN106294027A (en) | A data backup method, device, operator server and mobile terminal | |
CN106656985A (en) | Backup account login method, device and system | |
CN106919827B (en) | Wireless unlocking method, computer equipment and network server | |
CN116743472A (en) | Resource access method, device, equipment and medium | |
US20120159168A1 (en) | Authenticated communication association | |
US11716426B2 (en) | Techniques for implementing phone number-based user accounts with permissions to access varying levels of services utilizing visible and hidden contact addresses | |
US20160352837A1 (en) | Terminal device | |
CN105227584A (en) | A kind of method and system facilitating user management switch | |
CN106161371A (en) | A kind of methods, devices and systems giving account for change |
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 |
Granted publication date: 20200417 Termination date: 20211224 |
|
CF01 | Termination of patent right due to non-payment of annual fee |