Router web management page access method and device and storage medium

Through the password-free login mechanism and device type adaptive page adjustment between the router side and the cloud platform, the problem of users forgetting or losing their passwords is solved, and the function of multiple accesses to the router web page without a password is realized, and the MAC address is used to whiten the page. Lists ensure security.

CN118802438AActive Publication Date: 2024-10-18CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1

Patent Information

Application Number
CN202410301212.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-15
Publication Date
2024-10-18
Estimated Expiration
2044-03-15

AI Technical Summary

Technical Problem

Access to the router's web page requires password login, making it easy for users to forget or lose their passwords, and restoring factory settings will delete other configuration information.

Method used

By establishing an IOT long connection between the router side and the cloud platform, it receives password-free login instructions from the user terminal, sends login audit information to the administrator terminal, decides whether to allow password-free access based on the reply information, and adaptively adjusts the page according to the device type. Access paths and front-end templates.

Benefits of technology

It enables you to access the router web page multiple times without memorizing the password, which simplifies the user interaction process and avoids the problem of password forgetting and loss. At the same time, access security is ensured through the MAC address whitelist.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802438A_ABST
    Figure CN118802438A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a router web management page access method and device and a storage medium, and the method applied to a router side comprises the steps: receiving a password-free login instruction for accessing a router web management page sent by a second user terminal in a scene that a router is connected with an external network; when the second user terminal does not exist in the password-free access white list, sending a network request to the cloud platform to drive the cloud platform to send login auditing information to the first user terminal serving as a router side administrator; receiving reply information fed back by the first user terminal; the reply information comprises rejection, single agreement or multiple agreement; and adding the second user terminal to the password-free access white list when the reply information is agreement for multiple times. According to the method and the device, the router web access white list is managed and maintained through the administrator equipment, so that the second user terminal which is not in the white list originally can access the router web page in a password-free manner, multiple access can be realized, and the interaction process is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device and storage medium for accessing a router web management page. Background Art

[0002] Generally, home users use routers to access the Internet, modify Wi-Fi, select channels, etc. The following steps are required: first obtain the router's LAN port IP address, then access the IP through a browser, then log in with the username and password, and finally configure it in the form of a web menu.

[0003] The factory default web password of the router is a random combination of letters / numbers and special characters, which is affixed to the nameplate on the back. On the one hand, the nameplate information will wear out over time, resulting in the loss of the factory password. On the other hand, due to the small number of usage scenarios of the web page and the low login frequency, users often forget their usernames and passwords after changing them and cannot log in. Although the original nameplate password can be reset by restoring the device to factory settings, other user configuration information will also be deleted. Summary of the invention

[0004] The embodiments of the present application provide a method, device and storage medium for accessing a router web management page, so as to solve the technical problem that accessing a router web page requires a password to log in but the password is easily forgotten or lost.

[0005] In the first aspect, an embodiment of the present application provides a method for accessing a router web management page, which is applied to the router side, including: in a scenario where the router is connected to an external network, receiving a password-free login instruction for accessing the router web management page sent by a second user terminal; when the second user terminal does not exist in the password-free access whitelist, sending a network request to a cloud platform; the network request is used to drive the cloud platform to send login review information to a first user terminal that is an administrator on the router side; receiving reply information from the first user terminal based on the login review information feedback through the cloud platform; wherein the reply information includes rejection, single consent or multiple consents; when the reply information is rejection, the second user terminal is not allowed to access the web management page this time; when the reply information is a single consent, the second user terminal is allowed to access the web management page this time, but the second user terminal is not added to the password-free access whitelist; when the reply information is multiple consents, the second user terminal is allowed to access the web management page this time, and the second user terminal is added to the password-free access whitelist.

[0006] In one embodiment, the password-free access whitelist is a MAC address whitelist; after receiving a password-free login instruction for accessing a web management page of a router sent by a second user terminal, the method includes: obtaining a MAC address of the second user terminal by parsing the password-free login instruction; comparing the MAC address of the second user terminal with the MAC address whitelist; when the MAC address of the second user terminal does not match the MAC address whitelist, determining that the second user terminal does not exist in the password-free access whitelist.

[0007] In one embodiment, the method further includes: receiving a password-free login instruction for accessing a web management page of a router sent by a third user terminal; obtaining a MAC address of the third user terminal by parsing the password-free login instruction; comparing the MAC address of the third user terminal with a MAC address whitelist; when the MAC address of the second user terminal matches the MAC address whitelist, determining that the second user terminal does not exist in the password-free access whitelist; and allowing the third user terminal to access the password-free access.

[0008] In one embodiment, allowing the second user terminal to access the page without password includes: determining the device type of the second user terminal; wherein the device type includes a computer terminal and a mobile terminal; adaptively adjusting the URL path of the page access according to the device type; and adaptively adjusting the front-end template of the page access according to the device type.

[0009] In one embodiment, the router side and the cloud platform establish an IOT long connection through the Internet; and / or, the router side and any user terminal communicate through a local short-distance protocol.

[0010] In a second aspect, an embodiment of the present application provides a method for accessing a router web management page, which is applied to a first user terminal that is an administrator on the router side, comprising: in a scenario where the router is connected to an external network, receiving login review information sent by a cloud platform; wherein the login review information is generated by the cloud platform in response to a network request; the network request is generated by the router side in response to a password-free login instruction issued by a second user terminal; the second user terminal does not exist in the password-free access whitelist on the router side; in response to the login review information, feedback information to the cloud platform; wherein the reply information includes rejection, single consent or multiple consents; when the reply information is rejection, the router side does not allow the second user terminal to access the router's web management page without a password this time; when the reply information is a single consent, the router side allows the second user terminal to access the router's web management page without a password this time, but does not add the second user terminal to the password-free access whitelist; when the reply information is multiple consents, the router side allows the second user terminal's password-free access this time, and adds the second user terminal to the password-free access whitelist.

[0011] In the third aspect, an embodiment of the present application provides a method for accessing a router web management page, which is applied to a second user terminal, including: in a scenario where the router is connected to an external network, sending a password-free login instruction for accessing the router web management page to the router side; wherein the password-free login instruction is used to drive the router side to send a network request to the cloud platform; the network request is used to drive the cloud platform to send login review information to the first user terminal which is the administrator of the router side; the second user terminal does not exist in the password-free access whitelist on the router side; receiving the password-free login result fed back by the router side; wherein the password-free login result includes rejection, single consent or multiple consents; when the password-free login result is rejection, this password-free login fails; when the password-free login result is single consent, this password-free login is successful; when the password-free login result is multiple consents, this password-free login is successful and is added to the password-free access whitelist.

[0012] In a fourth aspect, an embodiment of the present application provides a method for accessing a router web management page, which is applied to a cloud platform, including: in a scenario where the router is connected to an external network, receiving a network request sent by the router side; wherein the network request is generated by the router side in response to a password-free login instruction issued by a second user terminal; the second user terminal does not exist in the password-free access whitelist on the router side; in response to the network request, generating login review information, and sending the login review information to a first user terminal that is an administrator on the router side; receiving feedback reply information from the first user terminal; wherein the reply information includes rejection, single consent or multiple consents; forwarding the reply information to the router side, so that the router side generates a password-free login result; when the reply information is rejection, the router side does not allow the second user terminal to access the router's web management page without a password this time; when the reply information is a single consent, the router side allows the second user terminal to access the router's web management page without a password this time, but does not add the second user terminal to the password-free access whitelist; when the reply information is multiple consents, the router side adds the second user terminal to the password-free access whitelist.

[0013] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory storing a computer program, wherein when the processor executes the program, the method for accessing the router web management page described in the first to fourth aspects is implemented.

[0014] In a sixth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for accessing the router web management page described in the first to fourth aspects.

[0015] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for accessing the router web management page described in the first to fourth aspects.

[0016] The access method, device and storage medium of the router web management page provided by the embodiment of the present application, the method applied to the router side includes: receiving a password-free login instruction for accessing the router web management page sent by the second user terminal in a scenario where the router is connected to the external network; when the second user terminal does not exist in the password-free access whitelist, sending a network request to the cloud platform to drive the cloud platform to send login review information to the first user terminal as the administrator of the router side; receiving the reply information of the first user terminal based on the login review information feedback through the cloud platform; when the reply information is a rejection, not allowing the second user terminal's current password-free access; when the reply information is a single consent, allowing the second user terminal's current password-free access, but not adding the second user terminal to the password-free access whitelist; when the reply information is multiple consents, allowing the second user terminal's current password-free access, and adding the second user terminal to the password-free access whitelist. Through the above-mentioned method, the present application manages and maintains the router web access whitelist through the administrator device, so that the second user terminal that was not originally in the whitelist can also achieve password-free access to the router web page and can achieve multiple accesses, eliminating the login username and password, avoiding the scenario of the user forgetting or losing the password, and simplifying the interaction process. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 This is one of the flow charts of the method for accessing the router web management page provided in the embodiment of the present application;

[0019] Figure 2 This is a schematic diagram of a process of adapting a web front-end page to a device type according to an embodiment of the present application;

[0020] Figure 3 This is the second flow chart of the method for accessing the router web management page provided in the embodiment of the present application;

[0021] Figure 4 This is a flowchart of a method for accessing a router web management page provided in an embodiment of the present application;

[0022] Figure 5 This is a fourth flow chart of a method for accessing a router web management page provided in an embodiment of the present application;

[0023] Figure 6 This is a schematic diagram of device interaction of a router web management page provided in an embodiment of the present application;

[0024] Figure 7 It is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] In order to enable users to configure routers more quickly and conveniently, some methods are also provided in the related art. For example, the configuration request method is accessed through a browser, and the configuration page of the WIFI router can be directly opened. However, this method does not verify and distinguish users, which poses a security risk; and users cannot manage and maintain the router access permission list, and cannot achieve administrator privileges.

[0027] Based on this, the present application embodiment provides a method for accessing a router web management page. Figure 1 , Figure 1 This is one of the flow charts of the method for accessing the web management page of a router provided in an embodiment of the present application. The method for accessing the web management page of a router in this embodiment is applied to the router side, and includes steps S110 to S130, each of which is as follows:

[0028] S110: When the router is connected to an external network, receiving a password-free login instruction for accessing a web management page of the router sent by a second user terminal.

[0029] S120: When the second user terminal does not exist in the password-free access whitelist, send a network request to the cloud platform.

[0030] S130: Receiving reply information from the first user terminal based on the login review information feedback through the cloud platform.

[0031] In the method for accessing the router web management page of this embodiment, the execution entities involved may include the router side, the first user terminal, the second user terminal and the cloud platform (device server side). In some other embodiments, other STA terminals and third user terminals may also be involved.

[0032] It should be noted that, in the definition of this embodiment, the first user terminal is an administrator on the router side, may exist in the whitelist of password-free access on the router side, and may manage the whitelist of password-free access; the second user terminal in the initial state does not exist in the whitelist of password-free access on the router side, but may perform a single password-free access or multiple password-free accesses according to the reply information of the first user terminal; the third user terminal is an ordinary user who exists in the whitelist of password-free access on the router side but does not have management functions.

[0033] When the second user terminal performs a single password-free access, the router side does not need to add the second user terminal to the password-free access whitelist. When the second user terminal needs to perform password-free access next time, the first user terminal still needs to review and confirm.

[0034] When the second user terminal performs multiple password-free accesses, the router side can add the second user terminal to the password-free access whitelist. When the second user terminal needs to perform password-free access next time, the first user terminal does not need to perform review and confirmation.

[0035] Furthermore, multiple password-free accesses may include permanent password-free access or password-free access with a time limit or a number limit.

[0036] The network request is used to drive the cloud platform to send login review information to the first user terminal that is the router side administrator.

[0037] Optionally, the router side and the cloud platform establish an IOT long connection through the Internet; and / or, the router side and any user terminal communicate through a local short-distance protocol without relying on the Internet.

[0038] The reply information includes rejection, single consent or multiple consents. When the reply information is rejection, the second user terminal is not allowed to access the system without passwords; when the reply information is single consent, the second user terminal is allowed to access the system without passwords, but the second user terminal is not added to the whitelist of ...

[0039] This embodiment provides a method for accessing a web management page of a router, which is applied to the router side, and includes: receiving a password-free login instruction for accessing the web management page of the router sent by a second user terminal in a scenario where the router is connected to an external network; when the second user terminal does not exist in the password-free access whitelist, sending a network request to a cloud platform to drive the cloud platform to send login review information to a first user terminal as an administrator of the router side; receiving a reply information based on the login review information feedback from the first user terminal through the cloud platform; when the reply information is a rejection, not allowing the second user terminal to access the web management page of the router; when the reply information is a single consent, allowing the second user terminal to access the web management page of the router, but not adding the second user terminal to the password-free access whitelist; when the reply information is multiple consents, allowing the second user terminal to access the web management page of the router, and adding the second user terminal to the password-free access whitelist. In the above manner, this embodiment manages and maintains the router web access whitelist through the administrator device, so that the second user terminal that was not originally in the whitelist can also access the router web page without a password and can access it multiple times, eliminating the login username and password, avoiding the scenario of the user forgetting or losing the password, and simplifying the interaction process.

[0040] In one embodiment, the password-free access whitelist is a MAC address whitelist; after receiving a password-free login instruction for accessing a web management page of a router sent by a second user terminal, the method includes: obtaining a MAC address of the second user terminal by parsing the password-free login instruction; comparing the MAC address of the second user terminal with the MAC address whitelist; when the MAC address of the second user terminal does not match the MAC address whitelist, determining that the second user terminal does not exist in the password-free access whitelist.

[0041] In one embodiment, the method further includes: receiving a password-free login instruction for accessing a web management page of a router sent by a third user terminal; obtaining a MAC address of the third user terminal by parsing the password-free login instruction; comparing the MAC address of the third user terminal with a MAC address whitelist; when the MAC address of the second user terminal matches the MAC address whitelist, determining that the second user terminal does not exist in the password-free access whitelist; and allowing the third user terminal to access the password-free access.

[0042] Optionally, the user terminal in this embodiment can be regarded as a client with a preset APP installed.

[0043] Any user terminal connects to the home router wifi and binds to the home router through local short-distance protocols (such as coap / MQTT, etc.) and private interfaces, and automatically synchronizes its MAC to the router side when binding.

[0044] A MAC address whitelist can be configured on the router side. For example, the MAC address of the terminal where the app is located can be saved locally and added to the web access whitelist. Only the specified device MAC address can directly access the router's web page without a password.

[0045] When a user accesses the router web page through the terminal where the app is located, the router parses and identifies the source MAC address of the message and compares it with the MAC address whitelist. When the MAC matches, the user can directly access the router's web page without logging in with an account and password.

[0046] When the user uses other terminals (such as sta_unbind) to access the router web page, the MAC address whitelist does not pass, and jumps to the web login page, displaying the username and password input fields, and the "Login without password" button.

[0047] It should be noted that in the scenario where the router has no external network, the "Login without password" button is grayed out, and non-app-bound terminals are required to pass strong password verification.

[0048] Exemplarily, in the scenario where the router is connected to the external network, the access process includes:

[0049] 1) The user can click the "Login without Password" button, and the router will send a network request to the cloud platform. The cloud platform will push a message to the user's app based on the binding relationship.

[0050] 2) The user app chooses whether to agree to "password-free login". If "reject" is selected, the platform will push a message to the router side, and the web page will display "password-free login failed";

[0051] 3) If you select "Always Agree", the app sends a message to the cloud platform, updates the MAC address book in the cloud synchronously, adds its MAC, and pushes a message to the router;

[0052] After the router receives the message, the web server responds to the terminal sta_unbind to redirect the management page; at the same time, it saves its MAC to the local flash and updates the MAC address book. Later, the device can directly access the router's web page without a password.

[0053] 4) If you select "Agree once", the app sends a message to the cloud platform and then pushes it to the router; the router will jump to the management page but will not add its MAC.

[0054] In summary, the method for accessing the web management page of the router provided in this embodiment is that when the router is not connected to the external network or is connected to the external network, based on the local short-distance protocol, the home router binds the user app action and automatically synchronizes its MAC to the web whitelist, so as to achieve non-sensitive and password-free access to the web management page in the intranet environment; when the router is connected to the external network, the user can manage and maintain the router web access whitelist through the app, dynamically add and delete other connected terminals, and realize whether the device can log in to the router web page without password. Therefore, the user terminal can access the router web page without password, eliminating the login username and password, avoiding the scenario of the user forgetting or losing the password, and simplifying the interaction process; and the router implements the web access whitelist through the MAC address filtering rule to achieve the security of password-free access and login.

[0055] In one embodiment, allowing the second user terminal to access the page without password includes: determining the device type of the second user terminal; wherein the device type includes a computer terminal and a mobile terminal; adaptively adjusting the URL path of the page access according to the device type; and adaptively adjusting the front-end template of the page access according to the device type.

[0056] The web page of the router is designed for PC by default and cannot be well adapted to mobile browsing. With the popularization and development of mobile Internet, more and more users are accustomed to surfing the Internet on mobile terminals, but users are not considered to access web pages and configure routers on mobile terminals. Considering that the mobile terminal and PC front-end have their own characteristics and there are many mobile terminal models, there is currently no universal front-end display that can adapt to both.

[0057] Some solutions have also been proposed in related technologies, such as reusing a set of web pages for PC and mobile terminals. However, this may cause problems in layout, page design, and SEO, resulting in a poor user experience; for example, converting a PC terminal to a mobile terminal page, but this will result in longer page loading time and degraded performance.

[0058] The router web front-end page adaptation solution proposed in this embodiment is to optimize and improve the wireless access of mobile terminals to router web pages, intelligently determine the device type through various methods, thereby confirming different URL paths, and deploying multiple sets of web front-end templates to achieve adaptive mobile and PC front-ends.

[0059] See also Figure 2 , Figure 2 This is a flow chart of the web front-end page adaptive device type provided in the embodiment of the present application. In this embodiment, steps S210 to S250 are included, and each step is specifically as follows:

[0060] S210: The user terminal accesses the router web page.

[0061] The user terminal in this embodiment may be any one of a first user terminal, a second user terminal or a third user terminal.

[0062] S220: Determine the device type of the user terminal.

[0063] Optionally, the type of the downstream STA device can be identified by: obtaining the hostname of the device when it is connected, if not, it is defaulted, if it contains fields such as "phone", "desktop", "PC", etc.; parsing option 12 based on OPTION in the DHCP protocol to obtain the downstream device type (Statype).

[0064] Alternatively, you can use the IP address range to determine: the PC is connected via wired Ethernet (usually LAN1-LAN4 ports), and the mobile terminal is connected via wireless WiFi (ra0 / raw). Different LAN ports correspond to their own IP address segments, so the PC and mobile terminals will be assigned different IP address segments.

[0065] Optionally, different terminal types can be identified by obtaining the IP address of the downstream terminal, querying the LAN port IP address segment configuration, and comparing it with the IP address range of the PC and mobile terminals.

[0066] Optionally, you can use User Agent detection to determine: Check the User Agent header of the user's HTTP request to obtain device type information, thereby determining the device type and operating system. For example, common User Agents on PCs may contain keywords such as "Windows" and "Macintosh", while mobile terminals may contain keywords such as "Android" and "iOS". By analyzing the User Agent, you can determine whether the user is accessing the web page from a PC or a mobile terminal.

[0067] Alternatively, the device resolution can be used for judgment: PC and mobile devices usually have different screen resolutions and display characteristics. PC devices usually have higher resolutions, such as 1920x1080, while mobile devices usually have lower resolutions, such as 800x480. The router can distinguish the device type based on the screen resolution information carried in the request of the connected device.

[0068] S230: Adaptively modify the URL path.

[0069] In some embodiments, the default access path is / pc. When the intelligent identification is a mobile terminal, the default / pc in the path is changed to / mobile.

[0070] S240: Access different front-end templates of the router.

[0071] S250: The router web page responds.

[0072] This embodiment deploys different front-end templates, intelligently identifies different terminal device types, and adds URL paths to differentiate access to the front end, thereby achieving adaptation of web pages. By combining various methods, different terminal device types can be intelligently identified, and the web management page can adapt to PC and mobile terminals, which can effectively distinguish different terminals and provide users with similar layouts, navigation, and functions, thereby reducing users' learning costs and confusion.

[0073] See also Figure 3 , Figure 3 This is the second flow chart of the method for accessing the web management page of a router provided in an embodiment of the present application. The method for accessing the web management page of a router in this embodiment is applied to a first user terminal as a router side administrator, and includes steps S310 to S320, each of which is specifically as follows:

[0074] S310: When the router is connected to the external network, receiving login review information sent by the cloud platform.

[0075] The login audit information is generated by the cloud platform in response to a network request; the network request is generated by the router side in response to a password-free login instruction issued by the second user terminal; the second user terminal does not exist in the password-free access whitelist on the router side.

[0076] S320: In response to the login review information, feedback reply information is sent to the cloud platform.

[0077] The reply information includes rejection, single consent or multiple consents; when the reply information is rejection, the router side does not allow the second user terminal to access the router's web management page without a password this time; when the reply information is single consent, the router side allows the second user terminal to access the router's web management page without a password this time, but does not add the second user terminal to the whitelist for password-free access; when the reply information is multiple consents, the router side allows the second user terminal to access the router without a password this time, and adds the second user terminal to the whitelist for password-free access.

[0078] See also Figure 4 , Figure 4 This is the third flow chart of the method for accessing the web management page of a router provided in the embodiment of the present application. The method for accessing the web management page of a router in this embodiment is applied to the second user terminal, and includes steps S410 to S420, each of which is as follows:

[0079] S410: When the router is connected to the external network, a password-free login instruction for accessing the router web management page is sent to the router side.

[0080] The password-free login instruction is used to drive the router to send a network request to the cloud platform; the network request is used to drive the cloud platform to send login review information to the first user terminal that is the administrator of the router; the second user terminal does not exist in the password-free access whitelist on the router side.

[0081] S420: Receive the password-free login result fed back by the router.

[0082] The results of password-free login include rejection, single consent or multiple consents; when the result of password-free login is rejection, this password-free login fails; when the result of password-free login is single consent, this password-free login is successful; when the result of password-free login is multiple consents, this password-free login is successful and is added to the password-free access whitelist.

[0083] See also Figure 5 , Figure 5 This is the fourth flow chart of the method for accessing the web management page of a router provided in the embodiment of the present application. The method for accessing the web management page of a router in this embodiment is applied to a cloud platform, and includes steps S510 to S540, each of which is specifically as follows:

[0084] S510: When the router is connected to an external network, a network request sent by the router is received.

[0085] The network request is generated by the router side in response to a password-free login instruction issued by the second user terminal; the second user terminal does not exist in the password-free access whitelist on the router side.

[0086] S520: In response to the network request, generate login audit information, and send the login audit information to the first user terminal that is the administrator of the router side.

[0087] S530: Receive feedback reply information from the first user terminal.

[0088] The response information includes rejection, single consent or multiple consents.

[0089] S540: Forward the reply information to the router side, so that the router side generates a password-free login result.

[0090] When the reply message is rejection, the router side does not allow the second user terminal to access the router's web management page without a password this time; when the reply message is a single consent, the router side allows the second user terminal to access the router's web management page without a password this time, but does not add the second user terminal to the whitelist for password-free access; when the reply message is multiple consents, the router side adds the second user terminal to the whitelist for password-free access.

[0091] See also Figure 6 , Figure 6 It is a device interaction diagram of the router web management page provided in an embodiment of the present application.

[0092] In this embodiment, the interacting devices include an APP (administrator, equivalent to a first user terminal), a router, and other terminals (ordinary users, equivalent to a second user terminal).

[0093] The APP requests binding from the router, the router saves the corresponding MAC address, and returns a message of successful binding to the APP. The APP accesses the web page of the router, and the router MAC whitelist (equivalent to the whitelist for password-free access) is verified, so the APP can log in without a password and directly jump to the management page.

[0094] When other terminals access the router's web page and the router whitelist verification fails, the router needs to request verification from the APP and push the message to the APP. At this time, the APP administrator selects permissions, such as rejection, temporary consent, and permanent consent, and jumps to the management page.

[0095] In addition, during daily maintenance, the APP administrator can add / delete MAC addresses to update the whitelist. When the update is successful, the router will return a message to the APP.

[0096] On the other hand, an embodiment of the present application further provides an electronic device, Figure 7 is a schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the electronic device may include: the electronic device may include a memory 720, a processor 710, and a computer program stored in the memory 720 and executable on the processor 710. When the processor 710 executes the program, the access method of the router web management page provided by the above methods is implemented.

[0097] Optionally, the electronic device may further include a communication bus 730 and a communication interface (CommunicationsInterface) 740, wherein the processor 710, the communication interface 740, and the memory 720 communicate with each other through the communication bus 730. The processor 710 may call a computer program in the memory 720 to execute a method for accessing the web management page of the router, and the details may refer to the above embodiment.

[0098] In addition, the logic instructions in the above-mentioned memory 720 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0099] On the other hand, an embodiment of the present application also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the method for accessing the router web management page provided in the above embodiments. The steps and principles have been described in detail in the above methods and will not be repeated here.

[0100] On the other hand, the present application also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the access method of the router web management page provided by the above methods. Its steps and principles have been introduced in detail in the above methods and will not be repeated here.

[0101] Non-transitory computer-readable storage media can be any available media or data storage devices that can be accessed by a processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drives (SSDs)), etc.

[0102] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0104] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for accessing a router web management page, characterized in that: Applied to the router side, including: In a scenario where the router is connected to an external network, receiving a password-free login instruction for accessing a web management page of the router sent by a second user terminal; When the second user terminal does not exist in the whitelist of password-free access, a network request is sent to the cloud platform; the network request is used to drive the cloud platform to send login review information to the first user terminal as the router side administrator; Receiving, through the cloud platform, reply information from the first user terminal based on the login review information feedback; wherein the reply information includes rejection, single consent or multiple consents; When the reply information is a rejection, the second user terminal is not allowed to access the website without password; when the reply information is a single consent, the second user terminal is allowed to access the website without password, but the second user terminal is not added to the whitelist for access without password; when the reply information is multiple consents, the second user terminal is allowed to access the website without password, and the second user terminal is added to the whitelist for access without password.

2. The method for accessing a router web management page according to claim 1, characterized in that: The password-free access whitelist is a MAC address whitelist; after receiving the password-free login instruction for accessing the web management page of the router sent by the second user terminal, the method includes: Obtaining the MAC address of the second user terminal by parsing the password-free login instruction; Comparing the MAC address of the second user terminal with the MAC address whitelist; When the MAC address of the second user terminal does not match the MAC address whitelist, it is determined that the second user terminal does not exist in the password-free access whitelist.

3. The method for accessing a router web management page according to claim 2, characterized in that: Also includes: Receiving a password-free login instruction for accessing a web management page of a router sent by a third user terminal; Obtaining the MAC address of the third user terminal by parsing the password-free login instruction; Comparing the MAC address of the third user terminal with the MAC address whitelist; When the MAC address of the second user terminal matches the MAC address whitelist, determining that the second user terminal does not exist in the password-free access whitelist; The third user terminal is allowed to access without password.

4. The method for accessing a router web management page according to claim 1, characterized in that: The allowing the second user terminal to access the device without requiring a password includes: Determine the device type of the second user terminal; wherein the device type includes a computer terminal and a mobile terminal; Adaptively adjust the URL path of page access according to the device type; The front-end template for page access is adaptively adjusted according to the device type.

5. The method for accessing a router web management page according to any one of claims 1 to 4, characterized in that: The router side and the cloud platform establish an IOT long connection via the Internet; and / or, the router side and any user terminal communicate via a local short-distance protocol.

6. A method for accessing a router web management page, characterized in that: The method is applied to a first user terminal as a router side administrator, comprising: In a scenario where the router is connected to an external network, receiving login audit information sent by a cloud platform; wherein the login audit information is generated by the cloud platform in response to a network request; the network request is generated by the router side in response to a password-free login instruction issued by a second user terminal; the second user terminal does not exist in a password-free access whitelist on the router side; In response to the login review information, feedback reply information to the cloud platform; wherein the reply information includes rejection, single consent or multiple consents; When the reply information is a rejection, the router side does not allow the second user terminal to access the web management page of the router without a password this time; when the reply information is a single consent, the router side allows the second user terminal to access the web management page of the router without a password this time, but does not add the second user terminal to the whitelist of password-free access; when the reply information is multiple consents, the router side allows the second user terminal to access the web management page of the router without a password this time, and adds the second user terminal to the whitelist of password-free access.

7. A method for accessing a router web management page, characterized in that: Applied to a second user terminal, comprising: In a scenario where the router is connected to an external network, a password-free login instruction for accessing a web management page of the router is sent to the router side; wherein the password-free login instruction is used to drive the router side to send a network request to the cloud platform; the network request is used to drive the cloud platform to send login review information to a first user terminal that is an administrator of the router side; the second user terminal does not exist in the password-free access whitelist of the router side; Receive a password-free login result fed back by the router side; wherein the password-free login result includes rejection, single consent or multiple consents; When the password-free login result is rejection, this password-free login fails; when the password-free login result is single approval, this password-free login is successful; when the password-free login result is multiple approvals, this password-free login is successful and is added to the password-free access whitelist.

8. A method for accessing a router web management page, characterized in that: Applied to cloud platforms, including: In a scenario where the router is connected to an external network, receiving a network request sent by the router side; wherein the network request is generated by the router side in response to a password-free login instruction issued by a second user terminal; and the second user terminal does not exist in a password-free access whitelist on the router side; In response to the network request, generating login audit information, and sending the login audit information to a first user terminal that is a router-side administrator; Receive reply information fed back by the first user terminal; wherein the reply information includes rejection, single consent or multiple consents; Forwarding the reply information to the router side so that the router side generates a password-free login result; When the reply information is a rejection, the router side does not allow the second user terminal to access the web management page of the router without a password this time; when the reply information is a single consent, the router side allows the second user terminal to access the web management page of the router without a password this time, but does not add the second user terminal to the whitelist for password-free access; when the reply information is multiple consents, the router side adds the second user terminal to the whitelist for password-free access.

9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the method for accessing the router web management page according to any one of claims 1 to 8 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for accessing the router web management page as described in any one of claims 1 to 8 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for accessing the router web management page according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Processing method of wireless network equipment, wireless network equipment and processor

    CN103765855A

  • Embedded certificate security authentication communication mechanism for commercial WiFi

    CN106982191A

  • Router connection method and system

    CN107454557A

  • Router, method for router, computer readable medium and device

    CN114095424A

  • Router, method for router, computer readable medium, and apparatus

    US20220046026A1

Cited By

  • Network access method and device, electronic equipment and storage medium

    CN119561792A