CN106330979B - Router login method and device - Google Patents

Router login method and device Download PDF

Info

Publication number
CN106330979B
CN106330979B CN201610988801.2A CN201610988801A CN106330979B CN 106330979 B CN106330979 B CN 106330979B CN 201610988801 A CN201610988801 A CN 201610988801A CN 106330979 B CN106330979 B CN 106330979B
Authority
CN
China
Prior art keywords
login
information
router
account
browser
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
CN201610988801.2A
Other languages
Chinese (zh)
Other versions
CN106330979A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610988801.2A priority Critical patent/CN106330979B/en
Publication of CN106330979A publication Critical patent/CN106330979A/en
Application granted granted Critical
Publication of CN106330979B publication Critical patent/CN106330979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources

Abstract

The invention discloses a login method and a login device of a router. Wherein, the method comprises the following steps: receiving a login request for requesting to login a router, wherein the login request comprises account information of a browser; searching target login information matched with the account information from prestored login information, wherein the prestored login information comprises an association relation between the account information of the browser and the target login information; and logging in the router according to the target login information. The invention solves the technical problem that the way of logging in the router is more complicated.

Description

Router login method and device
Technical Field
The invention relates to the technical field of internet, in particular to a login method and a login device of a router.
Background
At present, routers are widely used in life of people, however, security problems of wireless local area networks based on routers are increasingly highlighted, and when users feel that the network speed is slow, want to modify router passwords, or enhance the security performance of routers through relevant operations provided by the routers, the routers need to be managed.
for ordinary user families, because the router login mode is more complicated, the routing management is difficult to realize, firstly, the router IP login address or the website is related to the brand or the model of the router, and is difficult to memorize, such as: 192.168.1.1; secondly, the router management has low use frequency and is long in time, and the login user name and the password of the router can be forgotten.
in view of the above problems, no effective solution has been proposed.
disclosure of Invention
The embodiment of the invention provides a method and a device for logging in a router, which at least solve the technical problem of complicated mode for logging in the router.
According to an aspect of an embodiment of the present invention, there is provided a login method for a router, including: receiving a login request for requesting to login a router, wherein the login request comprises account information of a browser; searching target login information matched with the account information from prestored login information, wherein the prestored login information comprises an incidence relation between the account information of the browser and the target login information; and logging in the router according to the target login information.
According to another aspect of the embodiments of the present invention, there is also provided a login apparatus for a router, including: the router comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a login request for requesting to login a router, and the login request comprises account information of a browser; the searching unit is used for searching target login information matched with the account information from prestored login information, wherein the prestored login information comprises an association relation between the account information of the browser and the target login information; and the login unit is used for logging in the router according to the target login information.
In the embodiment of the invention, a mode of receiving a router login request is adopted, the login request comprises account information of a browser, and the target login information of the router is searched through the pre-stored association relationship between the target login information of the router and the account information of the browser, so that the purposes of obtaining the router login information and logging in the router according to the target login information are achieved, the technical effect of logging in the router by means of the account information of the browser is realized, and the technical problem that the mode of logging in the router is complicated is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
Fig. 1 is a flowchart of an alternative router registration method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of storing browser account information and router identity and login information and their association according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative router login apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal according to an embodiment of the present invention.
Detailed Description
in order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
example 1
In accordance with an embodiment of the present invention, there is provided an embodiment of a method that may be performed by an embodiment of the apparatus of the present application, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
According to the embodiment of the invention, the login method of the router is provided.
fig. 1 is a flowchart of an optional router login method according to an embodiment of the present invention, and the router login method provided in the embodiment of the present invention is specifically described below with reference to fig. 1, as shown in fig. 1, the router login method mainly includes the following steps S102 to S106:
Step S102, a login request for requesting to login the router is received, wherein the login request comprises account information of the browser.
a router login entry is arranged in a browser or a wireless network management module of the browser, when a user needs to manage the router, the router login entry is clicked, a login request for logging in the router is sent, and the login request is used for indicating that the user needs to log in the router and also comprises login account information of the browser.
And step S104, searching target login information matched with the account information from the pre-stored login information, wherein the pre-stored login information comprises the association relationship between the account information of the browser and the target login information.
The method comprises the steps that login information is stored in a browser background program or a cloud server in advance, the login information comprises the association relationship between browser account information and target login information of a router, and after the browser receives a router login request, the target login information of the router can be found according to the association relationship between the browser account information and the target login information of the router according to the browser account information in the login request.
and step S106, logging in the router according to the target login information.
in the embodiment of the invention, a mode of receiving a router login request is adopted, the login request comprises account information of a browser, and the target login information of the router is searched through the pre-stored association relationship between the target login information of the router and the account information of the browser, so that the purposes of obtaining the router login information and logging in the router according to the target login information are achieved, the technical effect of logging in the router by means of the account information of the browser is realized, and the technical problem that the mode of logging in the router is complicated is solved.
Optionally, the pre-stored login information includes login information of a plurality of routers, and searching for target login information matching the account information from the pre-stored login information includes: acquiring identity information of the router according to the login request; and searching target login information matched with the account information and the identity information from the login information of the routers.
Optionally, searching for target login information matched with the account information and the identity information from the login information of the plurality of routers includes: acquiring account information of a browser; searching login information which is related to the account information and matched with the identity information according to the association relation; and taking the searched login information as target login information.
The login information pre-stored in the browser background or cloud may include login information of multiple routers, the login information includes account information of the browser, association relationship between the identity information of the routers and the login information of the multiple routers, the account information of the browser may be associated with the identity information of the multiple routers or the login information of the multiple routers, and the identity information of the routers and the login information of the routers have a one-to-one association relationship. When the browser receives a router login request, the account information of the browser and the identity information of a router to be logged in are acquired at the same time, the login information of the router, which is associated with the account information of the browser and matched with the identity information of the router, is found according to the association relationship between the account information of the browser, the identity information of the router and the login information of a plurality of routers, the login information is the login information of the router to be logged in, namely target login information, and the router can be logged in according to the target login information. By the method, the plurality of routers can be logged in through the browser.
optionally, the target login information includes a login account and a login password, and before searching for the target login information matching the account information and the identity information from the login information of the plurality of routers, the method further includes: acquiring a login address of a router and identity information of the router; receiving a login account and a login password of the router through a login page corresponding to the login address; establishing an association relation among the identity information, the login account, the login password and the account information of the browser; and recording the received login account and the login password according to the association relation.
The login information of the router comprises a login account and a login password required by the router, when a user logs in the router for the first time, the login information of the router is not stored in a background or a cloud of the browser, and the browser cannot find the login information of the router according to the association relationship after receiving a request of the user for logging in the router. Therefore, when the router is logged in for the first time, after the browser receives a request for logging in the router, the login address of the router and the identity information of the router are obtained firstly, the router jumps to the login page of the router according to the login address of the router, and a user inputs a login account and a login password required by logging in the router on the login page of the router so as to complete the first login of the router; at the moment, the browser establishes an association relationship among the router identity information, the router login account, the login password and the account information of the browser according to the login account and the login password of the router input by the user and the identity information of the router which is obtained at the beginning, records the login account and the login password of the router according to the association relationship, stores the login account and the login password in a background or a cloud of the browser, and can obtain the login information of the router by searching the account information of the browser and the identity information of the router when logging in the router again.
fig. 2 is a schematic diagram illustrating storage of browser account information, router identity, login information, and association relationship between the browser account information and the router identity and the login information according to an embodiment of the present invention, where as shown in the drawing, the browser account information is used to log in a browser, and when a user inputs the browser account information and logs in the browser, a browser UI can acquire and record the browser account information and provide the browser account information to a browser background; the browser UI can also automatically acquire the identity information and the login address of the router, and provide a one-key router login entry for the user, when the user needs to login the browser, the user can directly enter a login interface of the router through the entry (the user can enter the login interface for the first time and directly enter a management interface when logging in again); after a user logs in an interface of the router, the login information of the router is input, and the method comprises the following steps: the method comprises the steps that a login account and a login password of a router can be used for logging in a management interface of the router, and a browser kernel acquires the login account and the login password of the router in the process that a user inputs login information and reports the login account and the login password, the router identity information and the login address to a browser background; the browser background establishes an association relation according to the acquired account information of the browser, the acquired identity information of the router, the login address of the router, the login account of the router and the login password, and stores the association relation as the login information of the router. When the user logs in the router again by using the browser, the browser can automatically search a login account and a password required by the login of the router according to the account information of the browser and the identity information of the router, and the user can directly log in the router without inputting again. An example of router login information stored behind a browser is as follows:
ID (browser identity): GUID, RouterType (router identity information): TPLink, routeracount (router login account): admin, rounder password (router login password): admin, rounderaddress (router entry address): http:// 192.168.1.1/.
Optionally, the obtaining the login address of the router includes: acquiring a gateway address, and taking the gateway address as a login address; or searching an address matched with the identity information according to the identity information of the router to be used as a login address.
The login address of the router is usually consistent with the gateway address, and when the browser runs, the gateway address can be automatically acquired and used as the login address of the router; if the login address of the router is inconsistent with the gateway address, the browser searches the login address matched with the identity information of the router in a networking mode according to the acquired identity information of the router if the login address of the router cannot enter the login interface of the router through the gateway address.
Optionally, after receiving a login request for requesting to login to the router and before searching for target login information matched with the account information from the pre-stored login information and receiving the login request for requesting to login to the router, the method further includes: and extracting account information of the browser from the login request, wherein the account information is information of an account adopted by the login browser, and the account adopted by the login browser comprises a browser account or a third-party application account.
In the embodiment provided by the present invention, the account information of the browser may be a login account registered by the browser, or may be an account of a third-party application that can be identified by the browser, such as: the authorization of the QQ or WeChat application can be realized, and the account number of the QQ or WeChat application is allowed to be used as the browser account number for logging in the browser; the browser account is included in a login request for logging in a router, and after the login request is received, the account information of the browser can be obtained through extraction.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
according to an embodiment of the present invention, there is further provided a router login apparatus for implementing the router login method, where the router login apparatus is mainly used to execute the router login method provided in the foregoing description of the embodiment of the present invention, and the router login apparatus provided in the embodiment of the present invention is specifically described as follows:
Fig. 3 is a schematic diagram of an optional router registration apparatus according to an embodiment of the present invention, and as shown in fig. 3, the router registration apparatus mainly includes:
a first receiving unit 301, configured to receive a login request requesting to login to a router, where the login request includes account information of a browser;
a router login entry is arranged in a browser or a wireless network management module of the browser, when a user needs to manage the router, the router login entry is clicked, a login request for logging in the router is sent, and the login request is used for indicating that the user needs to log in the router and also comprises login account information of the browser.
A searching unit 302, configured to search target login information matched with the account information from pre-stored login information, where the pre-stored login information includes an association relationship between the account information of the browser and the target login information;
The method comprises the steps that login information is stored in a browser background program or a cloud server in advance, the login information comprises the association relationship between browser account information and target login information of a router, and after the browser receives a router login request, the target login information of the router can be found according to the association relationship between the browser account information and the target login information of the router according to the browser account information in the login request.
a login unit 303, configured to log in the router according to the target login information.
In the embodiment of the invention, a mode of receiving a router login request is adopted, the login request comprises account information of a browser, and the target login information of the router is searched through the pre-stored association relationship between the target login information of the router and the account information of the browser, so that the purposes of obtaining the router login information and logging in the router according to the target login information are achieved, the technical effect of logging in the router by means of the account information of the browser is realized, and the technical problem that the mode of logging in the router is complicated is solved.
Optionally, the pre-stored login information includes login information of a plurality of routers, and the searching unit includes: the first acquisition module is used for acquiring the identity information of the router according to the login request; and the first searching module is used for searching target login information matched with the account information and the identity information from the login information of the plurality of routers.
Optionally, the lookup module includes: the acquisition submodule is used for acquiring account information of the browser; the searching submodule is used for searching login information which is related to the account information and matched with the identity information according to the association relation; and the information submodule is used for taking the searched login information as target login information.
the login information pre-stored in the browser background or cloud may include login information of multiple routers, the login information includes account information of the browser, association relationship between the identity information of the routers and the login information of the multiple routers, the account information of the browser may be associated with the identity information of the multiple routers or the login information of the multiple routers, and the identity information of the routers and the login information of the routers have a one-to-one association relationship. When the browser receives a router login request, the account information of the browser and the identity information of a router to be logged in are acquired at the same time, the login information of the router, which is associated with the account information of the browser and matched with the identity information of the router, is found according to the association relationship between the account information of the browser, the identity information of the router and the login information of a plurality of routers, the login information is the login information of the router to be logged in, namely target login information, and the router can be logged in according to the target login information. By the method, the plurality of routers can be logged in through the browser.
Optionally, the target login information includes a login account and a login password, and the apparatus further includes: the acquisition unit is used for acquiring the login address of the router and the identity information of the router before searching target login information matched with the account information and the identity information from the login information of the routers; the second receiving unit is used for receiving a login account and a login password of the router through a login page corresponding to the login address; the association unit is used for establishing an association relationship among the identity information, the login account, the login password and the account information of the browser; and the recording unit is used for recording the received login account and the login password according to the association relationship.
the login information of the router comprises a login account and a login password required by the router, when a user logs in the router for the first time, the login information of the router is not stored in a background or a cloud of the browser, and the browser cannot find the login information of the router according to the association relationship after receiving a request of the user for logging in the router. Therefore, when the router is logged in for the first time, after the browser receives a request for logging in the router, the login address of the router and the identity information of the router are obtained firstly, the router jumps to the login page of the router according to the login address of the router, and a user inputs a login account and a login password required by logging in the router on the login page of the router so as to complete the first login of the router; at the moment, the browser establishes an association relationship among the router identity information, the router login account, the login password and the account information of the browser according to the login account and the login password of the router input by the user and the identity information of the router which is obtained at the beginning, records the login account and the login password of the router according to the association relationship, stores the login account and the login password in a background or a cloud of the browser, and can obtain the login information of the router by searching the account information of the browser and the identity information of the router when logging in the router again.
Fig. 2 is a schematic diagram illustrating storage of browser account information, router identity, login information, and association relationship between the browser account information and the router identity and the login information according to an embodiment of the present invention, where as shown in the drawing, the browser account information is used to log in a browser, and when a user inputs the browser account information and logs in the browser, a browser UI can acquire and record the browser account information and provide the browser account information to a browser background; the browser UI can also automatically acquire the identity information and the login address of the router, and provide a one-key router login entry for the user, when the user needs to login the browser, the user can directly enter a login interface of the router through the entry (the user can enter the login interface for the first time and directly enter a management interface when logging in again); after a user logs in an interface of the router, the login information of the router is input, and the method comprises the following steps: the method comprises the steps that a login account and a login password of a router can be used for logging in a management interface of the router, and a browser kernel acquires the login account and the login password of the router in the process that a user inputs login information and reports the login account and the login password, the router identity information and the login address to a browser background; the browser background establishes an association relation according to the acquired account information of the browser, the acquired identity information of the router, the login address of the router, the login account of the router and the login password, and stores the association relation as the login information of the router. When the user logs in the router again by using the browser, the browser can automatically find a login account and a password required by the login of the router according to the account information of the browser and the identity information of the router, and the user can directly log in the router without inputting again. An example of router login information stored behind a browser is as follows:
ID (browser identity): GUID, RouterType (router identity information): TPLink, routeracount (router login account): admin, rounder password (router login password): admin, rounderaddress (router entry address): http:// 192.168.1.1/.
Optionally, the obtaining unit includes: the second acquisition module is used for acquiring the gateway address and taking the gateway address as a login address; or the second searching module is used for searching the address matched with the identity information according to the identity information of the router to be used as the login address.
The login address of the router is usually consistent with the gateway address, and when the browser runs, the gateway address can be automatically acquired and used as the login address of the router; if the login address of the router is inconsistent with the gateway address, the browser searches the login address matched with the identity information of the router in a networking mode according to the acquired identity information of the router if the login address of the router cannot enter the login interface of the router through the gateway address.
optionally, the apparatus further comprises: the extracting unit is used for extracting account information of the browser from the login request after the login request for requesting to login the router is received and before target login information matched with the account information is searched from the pre-stored login information and the login request for requesting to login the router is received, wherein the account information is information of an account adopted by the login browser, and the account adopted by the login browser comprises a browser account or a third-party application account.
In the embodiment provided by the present invention, the account information of the browser may be a login account registered by the browser, or may be an account of a third-party application that can be identified by the browser, such as: the authorization of the QQ or WeChat application can be realized, and the account number of the QQ or WeChat application is allowed to be used as the browser account number for logging in the browser; the browser account is included in a login request for logging in a router, and after the login request is received, the account information of the browser can be obtained through extraction.
Example 3
According to an embodiment of the present invention, there is also provided a terminal for implementing the login method of the router, as shown in fig. 4, the terminal mainly includes a processor 401, a display 402, a memory 403, and a network interface 404, where:
The memory 403 is mainly used for storing account information of the browser and login information of the router.
The network interface 404 is mainly used for performing network communication with the server and the router, and acquiring data contents such as a login address and identity information of the router.
The display 402 is mainly used for displaying a login interface of the router and a management interface of the router.
The processor 401 is mainly configured to perform the following operations:
Receiving a login request for requesting to login a router, wherein the login request comprises account information of a browser; searching target login information matched with the account information from prestored login information, wherein the prestored login information comprises an association relation between the account information of the browser and the target login information; and logging in the router according to the target login information.
The processor 401 is further configured to obtain identity information of the router according to the login request; and searching target login information matched with the account information and the identity information from the login information of the routers.
the processor 401 is further configured to obtain account information of the browser; searching login information which is related to the account information and matched with the identity information according to the association relation; and taking the searched login information as target login information.
The processor 401 is further configured to obtain a login address of the router and identity information of the router; receiving a login account and a login password of the router through a login page corresponding to the login address; establishing an association relation among the identity information, the login account, the login password and the account information of the browser; and recording the received login account and the login password according to the association relation.
the processor 401 is further configured to obtain a gateway address, and use the gateway address as a login address; or searching an address matched with the identity information according to the identity information of the router to be used as a login address.
The processor 401 is further configured to extract account information of the browser from the login request, where the account information is information of an account used for logging in the browser, and the account used for logging in the browser includes a browser account or a third-party application account.
Optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
Example 4
The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the storage medium may be configured to store a program code of a login method of a router according to the embodiment of the present invention.
Optionally, in this embodiment, the storage medium may be located in at least one of a plurality of network devices in a network of a mobile communication network, a wide area network, a metropolitan area network, or a local area network.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
S1, receiving a login request for logging in the router, wherein the login request comprises account information of the browser;
S2, searching target login information matched with the account information from the pre-stored login information, wherein the pre-stored login information comprises the association relationship between the account information of the browser and the target login information;
S3, according to the target login information, login router.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Optionally, in this embodiment, the processor executes, according to the program code stored in the storage medium, acquiring the identity information of the router according to the login request; and searching target login information matched with the account information and the identity information from the login information of the routers.
Optionally, in this embodiment, the processor executes, according to program codes stored in the storage medium, to acquire account information of the browser; searching login information which is related to the account information and matched with the identity information according to the association relation; and taking the searched login information as target login information.
Optionally, in this embodiment, the processor performs, according to the program code stored in the storage medium, acquiring a login address of the router and the identity information of the router; receiving a login account and a login password of the router through a login page corresponding to the login address; establishing an association relation among the identity information, the login account, the login password and the account information of the browser; and recording the received login account and the login password according to the association relation.
optionally, in this embodiment, the processor executes to acquire a gateway address according to a program code stored in the storage medium, and uses the gateway address as a login address; or searching an address matched with the identity information according to the identity information of the router to be used as a login address.
Optionally, in this embodiment, the processor executes, according to program codes stored in the storage medium, to extract account information of the browser from the login request, where the account information is information of an account used for logging in the browser, and the account used for logging in the browser includes a browser account or a third-party application account.
optionally, the specific examples in this embodiment may refer to the examples described in embodiment 1 and embodiment 2, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
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 units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (8)

1. a login method of a router is characterized by comprising the following steps:
receiving a login request for requesting to login a router, wherein the login request comprises account information of a browser;
Searching target login information matched with the account information from prestored login information, wherein the prestored login information comprises an incidence relation between the account information of the browser and the target login information;
logging in the router according to the target login information;
The pre-stored login information comprises login information of a plurality of routers, and searching target login information matched with the account information from the pre-stored login information comprises: acquiring the identity information of the router according to the login request; searching target login information matched with the account information and the identity information from the login information of the routers;
the target login information comprises a login account and a login password, and before searching for the target login information matched with the account information and the identity information from the login information of the plurality of routers, the method further comprises the following steps: acquiring a login address of the router and identity information of the router; receiving a login account and a login password of the router through a login page corresponding to the login address; establishing an association relation among the identity information, the login account, the login password and account information of a browser; and recording the received login account and the login password according to the association relation.
2. the method of claim 1, wherein searching for target login information matching the account information and the identity information from the login information of the plurality of routers comprises:
Acquiring account information of the browser;
Searching login information which is related to the account information and matched with the identity information according to the association relation;
and taking the searched login information as the target login information.
3. The method of claim 1, wherein obtaining the login address of the router comprises:
Acquiring a gateway address, and taking the gateway address as the login address; or
and searching an address matched with the identity information according to the identity information of the router to be used as the login address.
4. the method according to any one of claims 1 to 3, wherein after receiving a login request requesting to login to a router and before searching for target login information matching the account information from pre-stored login information to receive a login request requesting to login to a router, the method further comprises:
Extracting the account information of the browser from the login request, wherein the account information is information of an account adopted for logging in the browser, and the account adopted for logging in the browser comprises a browser account or a third-party application account.
5. A router login apparatus, comprising:
the router comprises a first receiving unit, a second receiving unit and a third receiving unit, wherein the first receiving unit is used for receiving a login request for requesting to login a router, and the login request comprises account information of a browser;
the searching unit is used for searching target login information matched with the account information from prestored login information, wherein the prestored login information comprises an association relation between the account information of the browser and the target login information;
A login unit, configured to log in the router according to the target login information;
Wherein the pre-stored login information includes login information of a plurality of routers, and the search unit includes: the first acquisition module is used for acquiring the identity information of the router according to the login request; the first searching module is used for searching target login information matched with the account information and the identity information from the login information of the routers;
The target login information comprises a login account and a login password, and the device further comprises: an obtaining unit, configured to obtain a login address of the router and identity information of the router before searching for target login information that matches the account information and the identity information from the login information of the multiple routers; the second receiving unit is used for receiving the login account and the login password of the router through a login page corresponding to the login address; the association unit is used for establishing an association relationship among the identity information, the login account, the login password and the account information of the browser; and the recording unit is used for recording the received login account and the login password according to the association relationship.
6. The apparatus of claim 5, wherein the first lookup module comprises:
The acquisition submodule is used for acquiring account information of the browser;
The searching submodule is used for searching login information which is related to the account information and matched with the identity information according to the association relation;
And the information submodule is used for taking the searched login information as the target login information.
7. the apparatus of claim 5, wherein the obtaining unit comprises:
The second acquisition module is used for acquiring a gateway address and taking the gateway address as the login address; or
And the second searching module is used for searching an address matched with the identity information according to the identity information of the router to be used as the login address.
8. The apparatus of any of claims 5 to 7, further comprising:
The extraction unit is used for extracting the account information of the browser from the login request after receiving the login request for requesting to login the router and before searching target login information matched with the account information from the pre-stored login information and receiving the login request for requesting to login the router, wherein the account information is information of an account used for logging in the browser, and the account used for logging in the browser comprises a browser account or a third-party application account.
CN201610988801.2A 2016-11-09 2016-11-09 Router login method and device Active CN106330979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610988801.2A CN106330979B (en) 2016-11-09 2016-11-09 Router login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610988801.2A CN106330979B (en) 2016-11-09 2016-11-09 Router login method and device

Publications (2)

Publication Number Publication Date
CN106330979A CN106330979A (en) 2017-01-11
CN106330979B true CN106330979B (en) 2019-12-17

Family

ID=57816866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610988801.2A Active CN106330979B (en) 2016-11-09 2016-11-09 Router login method and device

Country Status (1)

Country Link
CN (1) CN106330979B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483490B (en) * 2017-09-18 2019-03-05 维沃移动通信有限公司 A kind of login method and terminal of application
CN109462602B (en) * 2018-12-13 2022-11-01 平安普惠企业管理有限公司 Login information storage method, login verification method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932471A (en) * 2012-11-12 2013-02-13 北京奇虎科技有限公司 Method and system for login server by browser and for achieving browser login
CN103647746A (en) * 2013-11-01 2014-03-19 北京奇虎科技有限公司 User login method, device and system
CN104580074A (en) * 2013-10-14 2015-04-29 阿里巴巴集团控股有限公司 Logging method of client end application and corresponding server of logging method
CN105049410A (en) * 2015-05-28 2015-11-11 北京奇艺世纪科技有限公司 Method, device and system for logging in account
CN105871841A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Method and device for logging in target equipment and generating login information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9208298B2 (en) * 2012-06-18 2015-12-08 Google Inc. Pass through service login to application login
US10313264B2 (en) * 2014-05-28 2019-06-04 Apple Inc. Sharing account data between different interfaces to a service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932471A (en) * 2012-11-12 2013-02-13 北京奇虎科技有限公司 Method and system for login server by browser and for achieving browser login
CN104580074A (en) * 2013-10-14 2015-04-29 阿里巴巴集团控股有限公司 Logging method of client end application and corresponding server of logging method
CN103647746A (en) * 2013-11-01 2014-03-19 北京奇虎科技有限公司 User login method, device and system
CN105049410A (en) * 2015-05-28 2015-11-11 北京奇艺世纪科技有限公司 Method, device and system for logging in account
CN105871841A (en) * 2016-03-31 2016-08-17 乐视控股(北京)有限公司 Method and device for logging in target equipment and generating login information

Also Published As

Publication number Publication date
CN106330979A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN110380954B (en) Data sharing method and device, storage medium and electronic device
CN108809895B (en) Method and device for detecting weak password
EP2882157B1 (en) Network accessing method, application server and system
US20170041307A1 (en) Identity authentication method and device
CN108469972B (en) Method and device for supporting display of multiple windows in WEB page
EP2830283B1 (en) User behavior analysis method, and related equipment and system
JP7029003B2 (en) Password protection Question setting method and device
US9021085B1 (en) Method and system for web filtering
US20230362120A1 (en) System and methods for integrating social network information
CN111353136B (en) Method and device for processing operation request
CN106330979B (en) Router login method and device
CN105491094B (en) Method and device for processing HTTP (hyper text transport protocol) request
US9160807B2 (en) System and method for deriving a name for association with a device
CN103761469A (en) Method and device for actuating password management in input method application
CN107220262B (en) Information processing method and device
CN103716419B (en) The domain name processing method and system of a kind of cross-terminal
CN108737350B (en) Information processing method and client
CN111800547A (en) Method and device for acquiring user identity information, storage medium and processor
US10762238B2 (en) Ascertaining network devices used with anonymous identifiers
Satrya et al. Identifying artefact on Microsoft OneDrive client to support Android forensics
CN106803830B (en) Method, device and system for identifying internet access terminal and User Identity Module (UIM) card
KR101578284B1 (en) Integrated logout method, authentication processing server, and user device
JP5069168B2 (en) Network operation monitoring system, manager device, and network operation monitoring method
Ali et al. User profiling through browser finger printing
CN104144417A (en) Mobile Internet surfing user number checking method, device and system

Legal Events

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