CN105530129B - Router resetting method and device - Google Patents

Router resetting method and device Download PDF

Info

Publication number
CN105530129B
CN105530129B CN201510921189.2A CN201510921189A CN105530129B CN 105530129 B CN105530129 B CN 105530129B CN 201510921189 A CN201510921189 A CN 201510921189A CN 105530129 B CN105530129 B CN 105530129B
Authority
CN
China
Prior art keywords
router
administrator
verification code
parameter
resetting
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.)
Active
Application number
CN201510921189.2A
Other languages
Chinese (zh)
Other versions
CN105530129A (en
Inventor
史大龙
马坤
林锦滨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510921189.2A priority Critical patent/CN105530129B/en
Publication of CN105530129A publication Critical patent/CN105530129A/en
Application granted granted Critical
Publication of CN105530129B publication Critical patent/CN105530129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure relates to a router resetting method and device, the method comprises the following steps: receiving a parameter resetting request of a first router, wherein the parameter resetting request carries a resetting parameter identifier; generating a first verification code according to the parameter resetting request, and inquiring administrator information bound with the first router; sending the first verification code to a corresponding administrator according to the administrator information; and when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, resetting the corresponding parameter in the first router according to the reset parameter identifier. Therefore, the method and the device can reset the parameters specified by the administrator according to the parameter resetting request instead of resetting all the parameters, so that the difficulty and complexity of resetting the router by the administrator are reduced, and meanwhile, the safety of router resetting is ensured through the verification of the parameter resetting request.

Description

Router resetting method and device
Technical Field
The present disclosure relates to the field of network communication technologies, and in particular, to a router resetting method and apparatus.
Background
A Router (Router) is a device for connecting local area networks and wide area networks in the internet, and after the Router is set, a user can access the internet through the Router to inquire various information. In the related art, the settings of the router include wireless network settings, security settings, network dialing settings, and the like, and the router also has a reset function, and when the router is reset, not only the router password restores the factory settings, but also all other router parameters restore the factory settings. Therefore, if the administrator only needs to reset the router password, the router resetting function in the related art resets all the router parameters, thereby increasing the difficulty and complexity of the administrator in resetting the router.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a router reset method and apparatus.
According to a first aspect of embodiments of the present disclosure, there is provided a router reset method, the method including:
receiving a parameter resetting request of a first router, wherein the parameter resetting request carries a resetting parameter identifier;
generating a first verification code according to the parameter resetting request, and inquiring administrator information bound with the first router;
sending the first verification code to a corresponding administrator according to the administrator information;
and when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, resetting the corresponding parameter in the first router according to the reset parameter identifier.
Optionally, the method further includes:
when an administrator sets a first router for the first time, receiving administrator information input by the administrator;
and binding the administrator information with the first router.
Optionally, the binding the administrator information and the first router includes:
generating a third verification code according to the administrator information, and sending the third verification code to a corresponding administrator;
and when a fourth verification code input by the administrator is received and the fourth verification code is the same as the third verification code, binding the administrator information with the first router.
Optionally, the administrator information includes any one of a mobile phone number, a mailbox address, a micro signal, or a QQ number.
Optionally, the reset parameter identifier is a password identifier;
the resetting of the corresponding parameter in the first router according to the parameter identifier includes:
and resetting the password of the first router as a preset password according to the password identification.
According to a second aspect of embodiments of the present disclosure, there is provided a router reset method, the method comprising:
sending a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router;
receiving a second verification code input by an administrator;
and sending the second verification code to the server so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
Optionally, the method further includes:
when an administrator sets a first router for the first time, displaying a first router setting interface, wherein the first router setting interface comprises an administrator information input box;
receiving administrator information input by the administrator;
and sending the administrator information to the server so that the server binds the administrator information with the first router.
Optionally, the administrator information includes any one of a mobile phone number, a mailbox address, a micro signal, or a QQ number.
According to a third aspect of the embodiments of the present disclosure, there is provided a router reset apparatus, the apparatus including:
a first receiving module, configured to receive a parameter resetting request of a first router, where the parameter resetting request carries a resetting parameter identifier;
the verification code generation module is configured to generate a first verification code according to the parameter resetting request received by the first receiving module and inquire administrator information bound with the first router;
a sending module configured to send the first verification code generated by the verification code generating module to a corresponding administrator according to the administrator information;
and the resetting module is configured to reset corresponding parameters in the first router according to the reset parameter identifier when a second verification code input by the administrator is received and the second verification code is the same as the first verification code.
Optionally, the apparatus further comprises:
the second receiving module is configured to receive the administrator information input by an administrator when the administrator sets the first router for the first time;
a binding module configured to bind the administrator information received by the second receiving module with the first router.
Optionally, the binding module includes:
the verification submodule is configured to generate a third verification code according to the administrator information and send the third verification code to a corresponding administrator;
the binding submodule is configured to bind the administrator information with the first router when a fourth verification code input by the administrator is received and the fourth verification code is the same as the third verification code.
Optionally, the administrator information includes any one of a mobile phone number, a mailbox address, a micro signal, or a QQ number.
Optionally, the reset parameter identifier is a password identifier;
the reset module includes:
and the resetting submodule is configured to reset the first router password to a preset password according to the password identification.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a router reset apparatus, the apparatus including:
the first sending module is configured to send a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router;
the first receiving module is configured to receive a second verification code input by an administrator;
the second sending module is configured to send the second verification code received by the first receiving module to the server, so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
Optionally, the apparatus further comprises:
a display module configured to display a first router setting interface when an administrator sets a first router for the first time, the first router setting interface including an administrator information input box;
a second receiving module configured to receive administrator information input by the administrator;
a third sending module configured to send the administrator information received by the second receiving module to the server, so that the server binds the administrator information with the first router.
Optionally, the administrator information includes any one of a mobile phone number, a mailbox address, a micro signal, or a QQ number.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a router reset apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a parameter resetting request of a first router, wherein the parameter resetting request carries a resetting parameter identifier;
generating a first verification code according to the parameter resetting request, and inquiring administrator information bound with the first router;
sending the first verification code to a corresponding administrator according to the administrator information;
and when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, resetting the corresponding parameter in the first router according to the reset parameter identifier.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a router reset apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
sending a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router;
receiving a second verification code input by an administrator;
and sending the second verification code to the server so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the server can receive a parameter resetting request of a first router, the parameter resetting request carries a resetting parameter identifier, a first verification code is generated according to the parameter resetting request, administrator information bound with the first router is inquired, the first verification code is sent to a corresponding administrator according to the administrator information, a second verification code input by the administrator is received, the second verification code is the same as the first verification code, the corresponding parameter in the first router is reset according to the resetting parameter identifier, therefore, the parameter appointed by the administrator is reset according to the parameter resetting request instead of resetting all the parameters, the difficulty and complexity of the administrator for setting the router again are reduced, and meanwhile, the safety of router resetting is guaranteed through verification of the parameter resetting request.
The server in the disclosure can also receive the administrator information input by the administrator when the administrator sets the first router for the first time, and binds the administrator information with the first router, so that the security verification of the received parameter resetting request is facilitated according to the administrator information, and particularly, the security of the router resetting is further ensured through the verification of the administrator information.
According to the router resetting method and the router resetting system, the terminal can send the parameter resetting request of the first router to the server, the parameter resetting request carries the resetting parameter identification, so that the server generates the first verification code according to the parameter resetting request, the first verification code is sent to the corresponding administrator according to the administrator information bound with the first router, the second verification code input by the administrator is received, and the second verification code is sent to the server, so that the administrator can request the server to reset the specified parameters of the first router through the terminal, the difficulty and complexity of resetting the router again by the administrator are reduced, and meanwhile, the resetting safety of the router is improved through verification of the parameter resetting request.
The terminal can also display a first router setting interface when an administrator sets the first router for the first time, the first router setting interface comprises an administrator information input frame, administrator information input by the administrator is received, the administrator information is sent to the server, the server can conveniently conduct security verification on the parameter resetting request according to the administrator information, and therefore the router resetting safety is guaranteed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart of a router reset method shown in accordance with an example embodiment of the present disclosure;
FIG. 2 is a flow chart of another router reset method shown in accordance with an example embodiment of the present disclosure;
FIG. 3 is a flow chart diagram illustrating a router reset method according to an example embodiment of the present disclosure;
FIG. 4 is a flow chart of another router reset method shown in accordance with an example embodiment of the present disclosure;
FIG. 5 is a diagram illustrating an application scenario of a router reset method according to an example embodiment;
FIG. 6 is a block diagram illustrating a router reset apparatus according to an example embodiment;
FIG. 7 is a block diagram of another router reset apparatus shown in accordance with an example embodiment;
FIG. 8 is a block diagram of another router reset apparatus shown in accordance with an example embodiment;
FIG. 9 is a block diagram of another router reset apparatus shown in accordance with an example embodiment;
FIG. 10 is a block diagram illustrating a router reset apparatus according to an example embodiment;
FIG. 11 is a block diagram of another router reset apparatus shown in accordance with an example embodiment;
fig. 12 is a schematic structural diagram illustrating a device for router reset in accordance with an exemplary embodiment of the present disclosure;
fig. 13 is another structural schematic diagram of a router reset apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
As shown in fig. 1, fig. 1 is a flowchart illustrating a router resetting method according to an exemplary embodiment, which may be used on a server, and may include the following steps:
in step 110, a parameter resetting request of the first router is received, where the parameter resetting request carries a resetting parameter identifier.
In the embodiment of the present disclosure, the parameter resetting request of the first router received by the server may be a parameter resetting request triggered by an administrator directly pressing a specific physical key of the first router for a long time, such as: the specific physical key is a password for resetting the first router; it is also possible that the administrator sends a parameter reset request to the server through the terminal.
In addition, the reset parameter identifier carried in the parameter reset request may refer to a parameter identifier of a parameter to be reset, and is used to inform the server of which parameter needs to be reset. The parameter identification may be specified by the server or may be negotiated with the administrator.
Such as: the reset parameter identifier is a password identifier indicating that the user needs to reset the password of the first router.
For another example: the reset parameter identification is a username identification indicating that the user needs to reset the username of the first router.
In step 120, a first verification code is generated according to the parameter reset request, and administrator information bound with the first router is queried. The first verification code may be a verification code randomly generated by the server.
In the embodiment of the present disclosure, after receiving the parameter resetting request, the server does not directly reset the corresponding parameter, but verifies the parameter resetting request first, and resets the corresponding parameter only after the verification is passed. The method adopts the form of the verification code to carry out verification, namely, the verification code is randomly generated and sent to the administrator corresponding to the first router, and the verification is passed only when the verification code input by the administrator is the same as the verification code generated randomly.
In addition, the administrator information bound with the first router may be a contact provided by a user managing the first router, and the server stores the administrator information in the database and binds with the first router. The administrator information includes, but is not limited to, the following four kinds of information:
(1) a mobile phone number; (2) a mailbox address; (3) a micro-signal; (4) number QQ.
In step 130, the first verification code is sent to the corresponding administrator according to the administrator information.
In step 140, when the second verification code input by the administrator is received and the second verification code is the same as the first verification code, the corresponding parameter in the first router is reset according to the reset parameter identifier.
In the embodiment of the disclosure, the second verification code is the verification code input by the administrator according to the received first verification code, and if the administrator inputs the verification code correctly, the second verification code is the same as the first verification code; if the administrator inputs an error, the second verification code is different from the first verification code.
In an embodiment, if the reset parameter identifier is the password identifier, when the corresponding parameter in the first router is reset according to the reset parameter identifier in the step 140, the resetting method is as follows:
and resetting the password of the first router as a preset password according to the password identification. The preset password may be a factory password.
As can be seen from the above embodiments, by receiving a parameter resetting request of a first router, where the parameter resetting request carries a resetting parameter identifier, generating a first verification code according to the parameter resetting request, and querying administrator information bound to the first router, sending the first verification code to a corresponding administrator according to the administrator information, receiving a second verification code input by the administrator, where the second verification code is the same as the first verification code, and resetting a corresponding parameter in the first router according to the resetting parameter identifier, it is achieved that a parameter specified by the administrator is reset according to the parameter resetting request, instead of resetting all parameters, thereby reducing difficulty and complexity of the administrator in resetting the router again, and also ensuring security of router resetting by verifying the parameter resetting request.
As shown in fig. 2, fig. 2 is a flowchart illustrating another router resetting method according to an exemplary embodiment of the present disclosure, which may be used on a server, and based on the method shown in fig. 1, the method may further include the following steps:
in step 210, when an administrator sets up a first router for the first time, administrator information input by the administrator is received. The administrator information may be any one of a mobile phone number, a mailbox address, a micro signal or a QQ number.
In step 220, the administrator information is bound with the first router.
In this embodiment of the disclosure, when the administrator information is bound to the first router, in order to ensure the accuracy of the administrator information, the administrator information may be verified first, and only after the verification is passed, the administrator information is bound to the first router, where the process may include:
(1) and generating a third verification code according to the administrator information, and sending the third verification code to the corresponding administrator. The third verification code may be a verification code randomly generated by the server.
(2) And when a fourth verification code input by the administrator is received and the fourth verification code is the same as the third verification code, binding the administrator information with the first router.
In the embodiment of the disclosure, the fourth verification code is a verification code input by the administrator according to the received third verification code, and if the administrator inputs the verification code correctly, the fourth verification code is the same as the third verification code; if the administrator inputs an error, the fourth verification code is different from the third verification code.
As can be seen from the above embodiments, when an administrator sets the first router for the first time, the administrator information input by the administrator is received, and the administrator information is bound with the first router, so that the security verification of the received parameter resetting request is facilitated according to the administrator information, and particularly, the security of router resetting is further ensured by verifying the administrator information.
As shown in fig. 3, fig. 3 is a flowchart illustrating a router resetting method according to an exemplary embodiment, where the method may be used on a terminal, and the terminal may connect to a server through a first router, and may include the following steps:
in step 310, a parameter resetting request of the first router is sent to the server, where the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request, and sends the first verification code to a corresponding administrator according to administrator information bound to the first router. The first verification code may be a verification code randomly generated by the server.
The terminal in the present disclosure may be any intelligent terminal having an internet access function, and may be specifically a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like. The terminal can access the router through the wireless local area network and access the server on the public network through the router.
In the embodiment of the disclosure, an administrator may send a parameter resetting request of a first router to a server through a terminal, and indicate which parameters need to be reset by using a resetting parameter identifier carried in the parameter resetting request. Such as: the reset parameter identifier is a password identifier, which indicates that the administrator needs the server to reset the password of the first router.
In step 320, a second verification code entered by the administrator is received.
The second verification code is input by the administrator according to the received first verification code, and if the administrator inputs the second verification code correctly, the second verification code is the same as the first verification code; if the administrator inputs an error, the second verification code is different from the first verification code.
In step 330, the second verification code is sent to the server, so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
As can be seen from the above embodiments, by sending a parameter resetting request of a first router to a server, where the parameter resetting request carries a resetting parameter identifier, the server generates a first verification code according to the parameter resetting request, and sends the first verification code to a corresponding administrator according to administrator information bound to the first router, receives a second verification code input by the administrator, and sends the second verification code to the server, so that the administrator can request the server to reset an assigned parameter of the first router through a terminal, thereby reducing difficulty and complexity of resetting the router by the administrator, and improving the security of resetting the router through verification of the parameter resetting request.
As shown in fig. 4, fig. 4 is a flowchart illustrating another router resetting method according to an exemplary embodiment of the present disclosure, which may be used in a terminal, and based on the method shown in fig. 3, the method may further include the following steps:
in step 410, when the administrator sets up the first router for the first time, a first router setup interface is displayed, the first router setup interface including an administrator information input box.
In the embodiment of the present disclosure, when the administrator sets the first router for the first time, the administrator may be required to provide administrator information, that is, a contact manner of the administrator, so that the router setting interface includes an administrator information input box for the administrator to input a contact manner of the administrator. The contact information can be any one of a mobile phone number, a mailbox address, a micro signal or a QQ number.
In step 420, administrator information input by an administrator is received.
In step 430, the administrator information is sent to the server to cause the server to bind the administrator information with the first router.
It can be seen from the above embodiments that, when an administrator sets a first router for the first time, a first router setting interface is displayed, where the first router setting interface includes an administrator information input box, receives administrator information input by the administrator, and sends the administrator information to the server, so that the server can perform security verification on a parameter resetting request according to the administrator information, thereby ensuring security of router resetting.
As shown in fig. 5, fig. 5 is an application scenario diagram illustrating a router resetting method according to an exemplary embodiment of the present disclosure. The application scenario comprises an administrator, a terminal, a first router and a server. Wherein the first router is set or reset by an administrator.
The server may receive a parameter reset request triggered by the administrator pressing a particular physical key of the first router directly for a long time, such as: the specific physical key is a password for resetting the first router; or receiving a parameter resetting request sent by an administrator to the server through the terminal, wherein the parameter resetting request carries a resetting parameter identifier;
the server generates a first verification code according to the received parameter resetting request, inquires administrator information bound with the first router, and sends the first verification code to a corresponding administrator according to the administrator information;
after receiving the first verification code, the administrator sends a second verification code input by the administrator to the server through the terminal.
And after receiving the second verification code, the server judges whether the second verification code is the same as the first verification code, and resets the corresponding parameter in the first router according to the reset parameter identifier carried by the parameter resetting request when the second verification code is the same as the first verification code.
Corresponding to the foregoing router resetting method embodiment, the present disclosure also provides an embodiment of a router resetting apparatus.
As shown in fig. 6, fig. 6 is a block diagram of a router resetting apparatus according to an exemplary embodiment, which is applied to a server and is used to perform the router resetting method shown in fig. 1, and the apparatus may include: a first receiving module 61, a verification code generating module 62, a sending module 63 and a resetting module 64.
The first receiving module 61 is configured to receive a parameter resetting request of the first router, where the parameter resetting request carries a resetting parameter identifier;
an authentication code generating module 62 configured to generate a first authentication code according to the parameter resetting request received by the first receiving module 61, and query administrator information bound to the first router, where the administrator information may include any one of a mobile phone number, a mailbox address, a micro signal, or a QQ number;
a sending module 63 configured to send the first verification code generated by the verification code generating module 62 to a corresponding administrator according to the administrator information;
and the resetting module 64 is configured to, when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, reset a corresponding parameter in the first router according to the reset parameter identifier.
As can be seen from the above embodiments, by receiving a parameter resetting request of a first router, where the parameter resetting request carries a resetting parameter identifier, generating a first verification code according to the parameter resetting request, and querying administrator information bound to the first router, sending the first verification code to a corresponding administrator according to the administrator information, receiving a second verification code input by the administrator, where the second verification code is the same as the first verification code, and resetting a corresponding parameter in the first router according to the resetting parameter identifier, it is achieved that a parameter specified by the administrator is reset according to the parameter resetting request, instead of resetting all parameters, thereby reducing difficulty and complexity of the administrator in resetting the router again, and also ensuring security of router resetting by verifying the parameter resetting request.
As shown in fig. 7, fig. 7 is a block diagram of another router resetting apparatus according to an exemplary embodiment, which is applied to a server and is based on the apparatus shown in fig. 6, and the apparatus may further include: a second receiving module 71 and a binding module 72.
The second receiving module 71 is configured to receive administrator information input by an administrator when the administrator sets the first router for the first time;
a binding module 72 configured to bind the administrator information received by the second receiving module 71 with the first router.
As shown in fig. 8, fig. 8 is a block diagram of another router resetting apparatus according to an exemplary embodiment of the present disclosure, which is applied to a server and is based on the apparatus shown in fig. 7, where the binding module 72 may include: a validation submodule 81 and a binding submodule 82.
The verification submodule 81 is configured to generate a third verification code according to the administrator information, and send the third verification code to a corresponding administrator;
a binding submodule 82 configured to bind the administrator information with the first router when a fourth verification code input by the administrator is received and the fourth verification code is the same as the third verification code.
As can be seen from the above embodiments, when an administrator sets the first router for the first time, the administrator information input by the administrator is received, and the administrator information is bound with the first router, so that the security verification of the received parameter resetting request is facilitated according to the administrator information, and particularly, the security of router resetting is further ensured by verifying the administrator information.
As shown in fig. 9, fig. 9 is a block diagram of another router resetting apparatus according to an exemplary embodiment of the present disclosure, which is applied to a server and is based on the apparatus shown in fig. 6, and if the resetting parameter is identified as a password, the resetting module 64 may include: the sub-module 91 is reset.
The resetting submodule 91 is configured to reset the first router password to a preset password according to the password identifier.
As shown in fig. 10, fig. 10 is a block diagram of a router resetting apparatus according to an exemplary embodiment, which is applied to a terminal and is used to perform the router resetting method shown in fig. 3, and the apparatus may include: a first sending module 101, a first receiving module 102 and a second sending module 103.
The first sending module 101 is configured to send a parameter resetting request of a first router to a server, where the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request, and sends the first verification code to a corresponding administrator according to administrator information bound to the first router;
a first receiving module 102 configured to receive a second verification code input by an administrator;
a second sending module 103, configured to send the second verification code received by the first receiving module 102 to the server, so that the server resets, according to the reset parameter identifier, a corresponding parameter in the first router when the second verification code is the same as the first verification code.
As can be seen from the above embodiments, by sending a parameter resetting request of a first router to a server, where the parameter resetting request carries a resetting parameter identifier, the server generates a first verification code according to the parameter resetting request, and sends the first verification code to a corresponding administrator according to administrator information bound to the first router, receives a second verification code input by the administrator, and sends the second verification code to the server, so that the administrator can request the server to reset an assigned parameter of the first router through a terminal, thereby reducing difficulty and complexity of resetting the router by the administrator, and improving the security of resetting the router through verification of the parameter resetting request.
As shown in fig. 11, fig. 11 is a block diagram of another router resetting apparatus shown in the present disclosure according to an exemplary embodiment, which is applied to a terminal and is based on the apparatus shown in fig. 10, and the apparatus may further include: a display module 111, a second receiving module 112 and a third transmitting module 113.
The display module 111 is configured to display a first router setting interface when an administrator sets a first router for the first time, wherein the first router setting interface comprises an administrator information input box;
a second receiving module 112 configured to receive administrator information input by the administrator;
a third sending module 113 configured to send the administrator information received by the second receiving module 112 to the server, so that the server binds the administrator information with the first router.
The administrator information may include any one of a mobile phone number, a mailbox address, a micro signal, or a QQ number.
It can be seen from the above embodiments that, when an administrator sets a first router for the first time, a first router setting interface is displayed, where the first router setting interface includes an administrator information input box, receives administrator information input by the administrator, and sends the administrator information to the server, so that the server can perform security verification on a parameter resetting request according to the administrator information, thereby ensuring security of router resetting.
Corresponding to fig. 6, the present disclosure also provides another router resetting apparatus, which may be applied to a server, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a parameter resetting request of a first router, wherein the parameter resetting request carries a resetting parameter identifier;
generating a first verification code according to the parameter resetting request, and inquiring administrator information bound with the first router;
sending the first verification code to a corresponding administrator according to the administrator information;
and when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, resetting the corresponding parameter in the first router according to the reset parameter identifier.
Corresponding to fig. 11, the present disclosure also provides another router resetting apparatus, which may be applied to a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
sending a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router;
receiving a second verification code input by an administrator;
and sending the second verification code to the server so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
As shown in fig. 12, fig. 12 is a schematic structural diagram (server-side) illustrating an apparatus 1200 for router reset, e.g., the apparatus 1200 includes a processing component 1222 that further includes one or more processors and memory resources, represented by memory 1232, for storing instructions, e.g., applications, executable by the processing component 1222 according to an exemplary embodiment. The application programs stored in memory 1232 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1222 is configured to execute instructions.
The apparatus 1200 may further include a power supply component 1226 configured to perform power management of the apparatus 1200, a wired or wireless network interface 1250 configured to connect the apparatus 1200 to a network, and an input-output (I/O) interface 1258 the apparatus 1200 may be operable based on an operating system stored in the memory 1232, such as Windows server (tm), MacOS XTM, UnixTM, &lttttranslation = L "&gtt &ltt/t &gttttinx (tm), FreeBSDTM, or the like.
As shown in fig. 13, fig. 13 is another structural diagram (terminal device side) for a router resetting apparatus 1300 shown in the present disclosure according to an exemplary embodiment. For example, the apparatus 1300 may be a mobile phone with routing capability, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 13, the apparatus 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1313, and a communication component 1316.
The processing component 1302 generally controls overall operation of the device 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
The memory 1304 is configured to store various types of data to support operations at the apparatus 1300. Examples of such data include instructions for any application or method operating on device 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 1306 provides power to the various components of device 1300. Power components 1306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1300.
The multimedia component 1308 includes a screen between the device 1300 and a user that provides an output interface, hi some embodiments, the screen may include a liquid crystal display (L CD) and a Touch Panel (TP). if the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
The audio component 1310 is configured to output and/or input audio signals. For example, the audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1313 includes one or more sensors for providing status assessment of various aspects to the apparatus 1300. For example, the sensor assembly 1313 may detect the open/closed state of the apparatus 1300, the relative positioning of components, such as a display and keypad of the apparatus 1300, the sensor assembly 1313 may also detect a change in position of the apparatus 1300 or a component of the apparatus 1300, the presence or absence of user contact with the apparatus 1300, orientation or acceleration/deceleration of the apparatus 1300, and a change in temperature of the apparatus 1300. The sensor assembly 1313 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1313 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1313 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a microwave sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the apparatus 1300 and other devices in a wired or wireless manner. The apparatus 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), programmable logic devices (P L D), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1304 comprising instructions, executable by the processor 1320 of the apparatus 1300 to perform the method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A router reset method, the method comprising:
receiving a parameter resetting request of a first router, wherein the parameter resetting request carries a resetting parameter identifier, and the resetting parameter identifier is a parameter identifier of a parameter to be reset of the first router;
generating a first verification code according to the parameter resetting request, and inquiring administrator information bound with the first router;
sending the first verification code to a corresponding administrator according to the administrator information;
and when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, resetting the corresponding parameter in the first router according to the reset parameter identifier.
2. The method of claim 1, further comprising:
when an administrator sets a first router for the first time, receiving administrator information input by the administrator;
and binding the administrator information with the first router.
3. The method of claim 2, wherein binding the administrator information with the first router comprises:
generating a third verification code according to the administrator information, and sending the third verification code to a corresponding administrator;
and when a fourth verification code input by the administrator is received and the fourth verification code is the same as the third verification code, binding the administrator information with the first router.
4. The method according to any one of claims 1 to 3, wherein the administrator information includes any one of a cell phone number, a mailbox address, a micro signal, or a QQ number.
5. The method of claim 1, wherein the reset parameter identification is a password identification;
the resetting of the corresponding parameter in the first router according to the parameter identifier includes:
and resetting the password of the first router as a preset password according to the password identification.
6. A router reset method, the method comprising:
sending a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router, and the resetting parameter identifier is the parameter identifier of part of parameters to be reset of the first router;
receiving a second verification code input by an administrator;
and sending the second verification code to the server so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
7. The method of claim 6, further comprising:
when an administrator sets a first router for the first time, displaying a first router setting interface, wherein the first router setting interface comprises an administrator information input box;
receiving administrator information input by the administrator;
and sending the administrator information to the server so that the server binds the administrator information with the first router.
8. The method of claim 7, wherein the administrator information comprises any one of a cell phone number, a mailbox address, a micro signal, or a QQ number.
9. A router reset apparatus, the apparatus comprising:
a first receiving module, configured to receive a parameter resetting request of a first router, where the parameter resetting request carries a resetting parameter identifier, and the resetting parameter identifier is a parameter identifier of a parameter to be reset of the first router;
the verification code generation module is configured to generate a first verification code according to the parameter resetting request received by the first receiving module and inquire administrator information bound with the first router;
a sending module configured to send the first verification code generated by the verification code generating module to a corresponding administrator according to the administrator information;
and the resetting module is configured to reset corresponding parameters in the first router according to the reset parameter identifier when a second verification code input by the administrator is received and the second verification code is the same as the first verification code.
10. The apparatus of claim 9, further comprising:
the second receiving module is configured to receive the administrator information input by an administrator when the administrator sets the first router for the first time;
a binding module configured to bind the administrator information received by the second receiving module with the first router.
11. The apparatus of claim 10, wherein the binding module comprises:
the verification submodule is configured to generate a third verification code according to the administrator information and send the third verification code to a corresponding administrator;
the binding submodule is configured to bind the administrator information with the first router when a fourth verification code input by the administrator is received and the fourth verification code is the same as the third verification code.
12. The apparatus according to any one of claims 9 to 11, wherein the administrator information includes any one of a cell phone number, a mailbox address, a micro signal, or a QQ number.
13. The apparatus of claim 9, wherein the reset parameter flag is a password flag;
the reset module includes:
and the resetting submodule is configured to reset the first router password to a preset password according to the password identification.
14. A router reset apparatus, the apparatus comprising:
the first sending module is configured to send a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router, and the resetting parameter identifier is a parameter identifier of a part of parameters to be reset of the first router;
the first receiving module is configured to receive a second verification code input by an administrator;
the second sending module is configured to send the second verification code received by the first receiving module to the server, so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
15. The apparatus of claim 14, further comprising:
a display module configured to display a first router setting interface when an administrator sets a first router for the first time, the first router setting interface including an administrator information input box;
a second receiving module configured to receive administrator information input by the administrator;
a third sending module configured to send the administrator information received by the second receiving module to the server, so that the server binds the administrator information with the first router.
16. The apparatus of claim 15, wherein the administrator information comprises any one of a cell phone number, a mailbox address, a micro signal, or a QQ number.
17. A router reset apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a parameter resetting request of a first router, wherein the parameter resetting request carries a resetting parameter identifier, and the resetting parameter identifier is a parameter identifier of a parameter to be reset of the first router;
generating a first verification code according to the parameter resetting request, and inquiring administrator information bound with the first router;
sending the first verification code to a corresponding administrator according to the administrator information;
and when a second verification code input by the administrator is received and the second verification code is the same as the first verification code, resetting the corresponding parameter in the first router according to the reset parameter identifier.
18. A router reset apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
sending a parameter resetting request of a first router to a server, wherein the parameter resetting request carries a resetting parameter identifier, so that the server generates a first verification code according to the parameter resetting request and sends the first verification code to a corresponding administrator according to administrator information bound with the first router; wherein the reset parameter identifier is a parameter identifier of a parameter to be reset of the first router portion;
receiving a second verification code input by an administrator;
and sending the second verification code to the server so that the server resets the corresponding parameter in the first router according to the reset parameter identifier when the second verification code is the same as the first verification code.
CN201510921189.2A 2015-12-11 2015-12-11 Router resetting method and device Active CN105530129B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510921189.2A CN105530129B (en) 2015-12-11 2015-12-11 Router resetting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510921189.2A CN105530129B (en) 2015-12-11 2015-12-11 Router resetting method and device

Publications (2)

Publication Number Publication Date
CN105530129A CN105530129A (en) 2016-04-27
CN105530129B true CN105530129B (en) 2020-07-10

Family

ID=55772133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510921189.2A Active CN105530129B (en) 2015-12-11 2015-12-11 Router resetting method and device

Country Status (1)

Country Link
CN (1) CN105530129B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107404720B (en) * 2016-05-18 2021-11-23 荣耀终端有限公司 Method for resetting wireless setting information and related equipment
EP3291121B1 (en) * 2016-08-31 2022-04-20 Axis AB Restore of headless electronic device
CN107404521B (en) * 2017-07-20 2020-12-04 北京小米移动软件有限公司 Method, device and system for resetting equipment
CN109873770A (en) * 2019-03-07 2019-06-11 上海市共进通信技术有限公司 The method for the function of preventing user login information from forgeing is realized in route system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019373A (en) * 2004-12-28 2007-08-15 中兴通讯股份有限公司 A method and device for controlling the configuration of configuration parameter set of the remote device
CN102215518A (en) * 2011-06-02 2011-10-12 深圳市共进电子有限公司 Method for backing-up and restoring configuration of network access equipment according to user permission
CN103888290A (en) * 2014-02-20 2014-06-25 小米科技有限责任公司 Configuration information recovery method and device
CN103957444A (en) * 2013-04-16 2014-07-30 鸿富锦精密工业(深圳)有限公司 System and method for data sharing through cloud
CN103971239A (en) * 2014-05-28 2014-08-06 中国农业银行股份有限公司 Verification method and device
CN104104514A (en) * 2014-07-25 2014-10-15 小米科技有限责任公司 Method and device for identifying by using verification code
CN104125067A (en) * 2014-06-26 2014-10-29 小米科技有限责任公司 Account and token secret key binding method and device
CN104992088A (en) * 2015-06-30 2015-10-21 小米科技有限责任公司 Device security protection method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1468526B1 (en) * 2002-01-15 2007-05-23 Matsushita Electric Industrial Co., Ltd. Routing device and startup method thereof in a home network
CN101546223B (en) * 2008-03-28 2012-04-04 西门子公司 Device and method for controlling information display
CN101551702B (en) * 2008-04-01 2011-08-31 西门子公司 Device and method for information display control device of transducer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019373A (en) * 2004-12-28 2007-08-15 中兴通讯股份有限公司 A method and device for controlling the configuration of configuration parameter set of the remote device
CN102215518A (en) * 2011-06-02 2011-10-12 深圳市共进电子有限公司 Method for backing-up and restoring configuration of network access equipment according to user permission
CN103957444A (en) * 2013-04-16 2014-07-30 鸿富锦精密工业(深圳)有限公司 System and method for data sharing through cloud
CN103888290A (en) * 2014-02-20 2014-06-25 小米科技有限责任公司 Configuration information recovery method and device
CN103971239A (en) * 2014-05-28 2014-08-06 中国农业银行股份有限公司 Verification method and device
CN104125067A (en) * 2014-06-26 2014-10-29 小米科技有限责任公司 Account and token secret key binding method and device
CN104104514A (en) * 2014-07-25 2014-10-15 小米科技有限责任公司 Method and device for identifying by using verification code
CN104992088A (en) * 2015-06-30 2015-10-21 小米科技有限责任公司 Device security protection method and apparatus

Also Published As

Publication number Publication date
CN105530129A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
EP3119054B1 (en) Method for controlling smart apparatus, terminal and server
EP3151507B1 (en) Methods and apparatuses for controlling device
EP3076716A1 (en) Method and apparatus for network access
CN105847243B (en) Method and device for accessing intelligent camera
EP2961128B1 (en) Method, system, computer program and computer program product for binding a token key to an account
CN109219036B (en) Method and device for unbinding equipment and electronic equipment
CN106209800B (en) Equipment Authority sharing method and apparatus
CN104703252B (en) Terminal device accesses the method and device of wireless network
KR101735235B1 (en) Method and apparatus for accessing network, program and recording medium
US20170171321A1 (en) Methods and devices for managing accounts
CN105491229B (en) The method and apparatus of remote control mobile terminal
CN104460365A (en) Equipment control method and device
KR101642019B1 (en) Method, apparatus, program, and recording medium of verifying terminal
CN104468329A (en) Member adding method and device based on instant messaging
CN104954371A (en) Equipment information display method and device
KR20170126388A (en) Method, device and system for executing business process
CN105530129B (en) Router resetting method and device
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN107395624B (en) Information processing method and device
CN111031124B (en) Home equipment networking deployment method and device, electronic equipment and storage medium
CN105282162A (en) Processing method and device for account management business
CN105491518A (en) Method and device for social reminding based on wearable devices
CN104618987B (en) Access the method and device of network
CN107911380B (en) Identity verification method and device
CN110121148B (en) Interphone team method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant