Remote control method and device for a router

By implementing the remote control method of the router on mobile terminals and servers, users can remotely configure the router, solving the problem that the router can only modify the configuration locally and improving the user experience.

CN115550339BActive Publication Date: 2025-06-13TIANJIN HUALAI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211321218.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-26
Publication Date
2025-06-13
Estimated Expiration
2042-10-26

AI Technical Summary

Technical Problem

The existing router configuration can only be performed locally, and users cannot configure it remotely, resulting in poor user experience. Especially for users who are not familiar with network configuration, technical personnel are required to provide door-to-door services.

Method used

By implementing the remote control method of the router on the mobile terminal and the server, establishing a TCP encryption authentication connection, receiving basic information of the router, determining the networking status, performing binding, receiving signaling sent by the server, obtaining user configuration information, and sending it to the router to perform configuration operations.

Benefits of technology

The remote configuration of the router is realized, which solves the problem that the router can only modify the configuration locally, improves the user experience, and reduces dependence on technicians.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550339B_ABST
    Figure CN115550339B_ABST
Patent Text Reader

Abstract

The present invention provides a method and apparatus for remotely controlling a router, including: after establishing a TCP encrypted authentication connection with the router, receiving basic information sent by the router; determining the network connection status of the router and binding to the router according to the network connection status; receiving a signaling sent by a server and sending it to the router, so that the server compares the signaling received from the router with the pre-stored signaling, and receiving parameter information sent by the router; if the comparison result is consistent, receiving a successful binding response message sent by the server to the router; obtaining router configuration information set by a user on an interface; sending the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information; polling whether the router has completed the configuration operation; if so, receiving a successful configuration result sent by the router through the server; it is possible to remotely operate the configuration of the router, improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of software technology, and in particular to a method and device for remotely controlling a router. Background Art

[0002] Currently, the configuration of a router is the system default factory configuration. If a user needs to configure the router, generally, the user needs to connect to the router's Wi-Fi or network cable and log in to the router's local server to modify the relevant configuration of the router. That is to say, the configuration of the router can only be modified locally and cannot be remotely configured. This is quite inconvenient for users who are not familiar with network router configuration and requires technical personnel to provide on-site service to solve, resulting in a poor user experience. Summary of the Invention

[0003] In view of this, an object of the present invention is to provide a method and device for remotely controlling a router, which can remotely operate the configuration of the router, solve the defect that the router can only be configured locally, and improve the user experience.

[0004] In a first aspect, an embodiment of the present invention provides a method for remotely controlling a router, which is applied to a mobile terminal. The method includes:

[0005] After establishing a TCP encrypted authentication connection with the router, receiving basic information sent by the router;

[0006] Determining the networking status of the router and binding to the router according to the networking status;

[0007] Receiving a signaling sent by a server and sending the signaling to the router, so that the server compares the signaling received from the router with a pre-stored signaling to obtain a comparison result, and receiving parameter information sent by the router;

[0008] If the comparison result is consistent, receiving a successful binding response message sent by the server to the router;

[0009] Obtaining router configuration information set by a user on an interface;

[0010] Sending the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information;

[0011] Polling whether the router has completed the configuration operation;

[0012] If so, receiving a successful configuration result sent by the router through the server.

[0013] Further, after establishing a TCP encrypted authentication connection with the router, receive the basic information sent by the router, including:

[0014] After establishing a WiFi connection with the router, send a TCP connection request for encrypted authentication to the router, so that the router authenticates successfully and sends the basic information.

[0015] Further, determine the network connection status of the router and bind to the router according to the network connection status, including:

[0016] Query the network connection status of the router;

[0017] If the network connection status is no network, send network configuration information to the router so that the router configures according to the network configuration information;

[0018] Poll the network connection status of the router, and after the router is configured, receive the binding status sent by the router, where the binding status includes the status of not being bound to the user;

[0019] Bind to the router according to the status of not being bound to the user.

[0020] Further, before obtaining the router configuration information set by the user on the interface, the method further includes:

[0021] When the parameter information of the router is updated, send a request message for obtaining configuration to the server;

[0022] Receive the updated configuration information sent by the server.

[0023] In a second aspect, an embodiment of the present invention provides a method for remotely controlling a router, which is applied to a server. The method includes:

[0024] Send a signaling to a mobile terminal so that the mobile terminal sends the signaling to the router;

[0025] Receive the signaling sent by the router, compare the signaling with the pre-stored signaling to obtain a comparison result, and receive the parameter information sent by the router;

[0026] If the comparison result is consistent, send a successful binding response message to the mobile terminal;

[0027] Receive the router configuration information sent by the mobile terminal;

[0028] Send the router configuration information to the router so that the router performs corresponding configuration operations according to the router configuration information;

[0029] After the router configuration operation is completed, receive the configuration success result sent by the router.

[0030] Further, the method further includes:

[0031] Receive the pre-configuration information sent by the operator management platform and save it;

[0032] When the router is in an online state, receive the request information sent by the router;

[0033] Send the pre-configuration information to the router according to the request information, so that the router loads according to the pre-configuration information.

[0034] In a third aspect, an embodiment of the present invention provides a remote control device for a router, which is applied to a mobile terminal. The device includes:

[0035] A connection establishment unit, configured to receive the basic information sent by the router after establishing a TCP encrypted authentication connection with the router;

[0036] A determination unit, configured to determine the network connection status of the router and bind to the router according to the network connection status;

[0037] A signaling receiving unit, configured to receive the signaling sent by the server and send the signaling to the router, so that the server compares the received signaling sent by the router with the pre-stored signaling to obtain a comparison result, and receive the parameter information sent by the router;

[0038] A binding success response information receiving unit, configured to receive the binding success response information sent by the server to the router when the comparison result is consistent;

[0039] An acquisition unit, configured to acquire the router configuration information set by the user on the interface;

[0040] A configuration information sending unit, configured to send the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information;

[0041] A polling unit, configured to poll whether the router has completed the configuration operation;

[0042] A first configuration success receiving unit, configured to receive the configuration success result sent by the router through the server when the configuration operation is completed.

[0043] In a fourth aspect, an embodiment of the present invention provides a remote control device for a router, which is applied to a server. The device includes:

[0044] A signaling sending unit, configured to send a signaling to a mobile terminal, so that the mobile terminal sends the signaling to a router;

[0045] A comparison unit, configured to receive the signaling sent by the router, compare the signaling with a pre-stored signaling to obtain a comparison result, and receive parameter information sent by the router;

[0046] A successful binding response information sending unit, configured to send a successful binding response information with the router to the mobile terminal when the comparison result is consistent;

[0047] A configuration information receiving unit, configured to receive router configuration information sent by the mobile terminal;

[0048] A configuration operation execution unit, configured to send the router configuration information to the router, so that the router performs corresponding configuration operations according to the router configuration information;

[0049] A second successful configuration receiving unit, configured to receive a successful configuration result sent by the router when the router configuration operation is completed.

[0050] In a fifth aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where a computer program that can run on the processor is stored on the memory, and when the processor executes the computer program, the method described above is implemented.

[0051] In a sixth aspect, an embodiment of the present invention provides a computer-readable medium having non-volatile program code executable by a processor, and the program code causes the processor to execute the method described above.

[0052] An embodiment of the present invention provides a method and a device for remotely controlling a router, which are applied to a mobile terminal, and include: after establishing a TCP encrypted authentication connection with the router, receiving basic information sent by the router; determining the networking status of the router, and binding with the router according to the networking status; receiving a signaling sent by a server and sending the signaling to the router, so that the server compares the signaling received from the router with a pre-stored signaling to obtain a comparison result, and receiving parameter information sent by the router; if the comparison result is consistent, receiving a successful binding response information with the router sent by the server; obtaining router configuration information set by a user on an interface; sending the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information; polling whether the router has completed the configuration operation; if so, receiving a successful configuration result sent by the router through the server; the configuration of the router can be remotely operated, solving the defect that the router can only be locally configured and improving the user experience.

[0053] Other features and advantages of the present invention will be set forth in the following description, and in part will be obvious from the description, or may be learned by practice of the present invention. The objectives and other advantages of the present invention are achieved and attained by the structure particularly pointed out in the specification, claims and drawings.

[0054] In order to make the above objectives, features and advantages of the present invention more comprehensible, the following specific preferred embodiments are given, in conjunction with the accompanying drawings, and are described in detail as follows. Description of the Drawings

[0055] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0056] Figure 1 Flowchart of the remote control method for the router provided in the first embodiment of the present invention;

[0057] Figure 2 Flowchart of the remote control method for another router provided in the first embodiment of the present invention;

[0058] Figure 3 Flowchart of the remote control method for the router provided in the second embodiment of the present invention;

[0059] Figure 4 Flowchart of the remote control method for another router provided in the second embodiment of the present invention;

[0060] Figure 5 Schematic diagram of the remote control device for the router provided in the third embodiment of the present invention;

[0061] Figure 6 Schematic diagram of the remote control device for the router provided in the fourth embodiment of the present invention.

[0062] Icons:

[0063] 1 - Connection establishment unit; 2 - Determination unit; 3 - Signaling receiving unit; 4 - Binding success response information receiving unit; 5 - Acquisition unit; 6 - Configuration information sending unit; 7 - Polling unit; 8 - First configuration success receiving unit; 9 - Signaling sending unit; 10 - Comparison unit; 11 - Binding success response information sending unit; 12 - Configuration information receiving unit; 13 - Configuration operation execution unit; 14 - Second configuration success receiving unit. Detailed Embodiments

[0064] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0065] For ease of understanding of this embodiment, the embodiments of the present invention will be introduced in detail below.

[0066] Embodiment 1:

[0067] Figure 1 It is a flowchart of the remote control method for the router provided in Embodiment 1 of the present invention.

[0068] Referring to Figure 1 , the execution entity is a mobile terminal, and the method includes the following steps:

[0069] Step S101: After establishing a TCP (Transmission Control Protocol) encrypted authentication connection with the router, receive the basic information sent by the router;

[0070] Step S102: Determine the network connection status of the router and bind it according to the network connection status;

[0071] Step S103: Receive the signaling sent by the server and send the signaling to the router, so that the server compares the received signaling from the router with the pre-stored signaling to obtain a comparison result, and receive the parameter information sent by the router;

[0072] Step S104: If the comparison result is consistent, receive the successful binding response information sent by the server to the router;

[0073] Here, during the process of the server making the comparison and receiving the parameter information sent by the router, the mobile terminal polls the binding process to determine whether the router and the server are successfully bound; if the binding is successful, the mobile terminal receives the successful binding response information sent by the server to the router.

[0074] Step S105: Obtain the router configuration information set by the user on the interface;

[0075] Step S106: Send the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information;

[0076] Step S107: Poll whether the router has completed the configuration operation;

[0077] Step S108, if so, receive the configuration success result sent by the router through the server.

[0078] Here, the user can use the APP (Application) of the mobile terminal to bind their own router. When the router is connected to the network, without connecting to the router's Wi-Fi, the user can modify the router's configuration, including the Internet access method, modify the Wi-Fi (Wireless Fidelity) and password, guest mode, Internet access prohibition for external devices, etc., so as to obtain the router configuration information.

[0079] In addition, using the router's built-in default configuration, most users can directly use it after powering on and plugging in the network cable. The mobile terminal can also configure the router by connecting to the router's Wi-Fi.

[0080] Further, step S101 includes the following steps:

[0081] After connecting to the router via WiFi, send an encrypted authentication TCP connection request to the router so that the router authenticates successfully and sends basic information.

[0082] Further, step S102 includes the following steps:

[0083] Step S201, query the Internet connection status of the router;

[0084] Step S202, if the Internet connection status is the no-network status, send the network configuration information to the router so that the router configures according to the network configuration information;

[0085] Step S203, poll the Internet connection status of the router, and after the router configuration is completed, receive the binding status sent by the router, where the binding status includes the status of not being bound to the user;

[0086] Step S204, bind to the router according to the status of not being bound to the user.

[0087] Further, before step S105, the method further includes the following steps:

[0088] Step S301, when the parameter information of the router is updated, send a request message for obtaining configuration to the server;

[0089] Step S302, receive the updated configuration information sent by the server.

[0090] Figure 2 This is the flowchart of another remote control method for a router provided by Embodiment 1 of the present invention.

[0091] Refer to Figure 2, the method includes the following steps:

[0092] Step S401, after connecting to the router via WiFi, the mobile terminal sends an encrypted authentication TCP connection request to the router;

[0093] Step S402, after the connection authentication between the router and the mobile terminal is successful, the router sends basic information to the mobile terminal;

[0094] Step S403, the mobile terminal queries the Internet connection status of the router;

[0095] Step S404, if the Internet connection status is no network, the mobile terminal sends network configuration information to the router, and the router configures according to the network configuration information;

[0096] Step S405, when the router is in the configuration process, the mobile terminal polls the network status of the router;

[0097] Step S406, receive the binding status sent by the router, and the binding status includes the status of not being bound to the user;

[0098] Here, when the router configuration is successful, at this time the router is already in an Internet-connected state, and the router will send to the mobile terminal whether to bind with the user. If not bound to the user, it will send the status of not being bound to the user to the mobile terminal, thus realizing the binding between the mobile terminal and the router.

[0099] Step S407, the mobile terminal sends a request binding signaling to the server;

[0100] Step S408, the server returns a binding signaling to the mobile terminal;

[0101] Step S409, the mobile terminal sends the signaling and other binding information to the router, and the router returns a response after receiving it;

[0102] Step S410, after receiving the signaling, the router sends a request binding to the server, and the server returns a response after receiving it;

[0103] Here, the server compares the signaling received from the router with the pre-stored signaling to obtain a comparison result, and receives the parameter information sent by the router; among them, the pre-stored signaling is the signaling sent by the server to the mobile terminal, and the mobile terminal, router, and server are authenticated through the signaling. When the server is comparing and receiving the parameter information sent by the router, the mobile terminal polls the binding process to determine whether the router and the server are successfully bound.

[0104] Step S411, when the router and the server are successfully bound, the server returns a result to the mobile terminal.

[0105] Embodiment 2:

[0106] Figure 3 This is the flowchart of the remote control method for the router provided in Embodiment 2 of the present invention.

[0107] Referring to Figure 3 , the execution entity is the server, and the method includes the following steps:

[0108] Step S501: Send a signaling to the mobile terminal so that the mobile terminal sends the signaling to the router;

[0109] Step S502: Receive the signaling sent by the router, compare the signaling with the pre-stored signaling to obtain a comparison result, and receive the parameter information sent by the router;

[0110] Step S503: If the comparison result is consistent, send a successful binding response message to the mobile terminal;

[0111] Step S504: Receive the router configuration information sent by the mobile terminal;

[0112] Step S505: Send the router configuration information to the router so that the router performs corresponding configuration operations according to the router configuration information;

[0113] Step S506: When the router configuration operation is completed, receive the successful configuration result sent by the router.

[0114] Furthermore, the method further includes the following steps:

[0115] Step S601: Receive the pre-configuration information sent by the operator management platform and save it;

[0116] Step S602: When the router is in an online state, receive the request information sent by the router;

[0117] Step S603: Send the pre-configuration information to the router according to the request information so that the router loads according to the pre-configuration information.

[0118] Specifically, before the router is connected to the network, the operator management platform of the router can be used to perform pre-configuration for network connection, and the pre-configuration information will be automatically loaded after the router is connected to the network.

[0119] Before the router is connected to the network, the operator management platform of the router can be used to perform pre-configuration for network connection. If the router needs to load the pre-configuration information to correctly connect to the network, the APP of the mobile terminal can be used to download the pre-configuration information in advance, and after connecting to the Wi-Fi of the router, the pre-configuration information is sent to the router.

[0120] The operator management platform supports remote operations on the router, including network connection configuration, Wi-Fi configuration, etc. The router itself supports retaining the operator's pre-configured information after reset; the operator management platform can also operate on the user router through the operator's mobile terminal to achieve mobile office on the phone.

[0121] Figure 4 It is a flowchart of another method for remotely controlling a router provided in the second embodiment of the present invention.

[0122] Refer to Figure 4 , the method includes the following steps:

[0123] Step S701, when the parameter information of the router is updated, the router sends the updated configuration information to the server, and the server returns a response to the router;

[0124] Step S302, the mobile terminal sends a request message for obtaining the updated configuration to the server, and the server returns the updated configuration information;

[0125] Step S702, the mobile terminal sets the configuration of the router on the interface, obtains the router configuration information, and sends it to the server;

[0126] Step S703, the server distributes the router configuration information to the router;

[0127] Step S704, the router performs corresponding configuration operations according to the router configuration information. During the execution process, the mobile terminal polls the execution process of the router;

[0128] Step S705, when the router configuration operation is completed, the server receives the configuration success result sent by the router;

[0129] Step S706, the server sends the configuration success result to the mobile terminal.

[0130] In this embodiment, ordinary users can configure the router on the mobile terminal through the app of the mobile terminal without logging in to the system web page of the router; ordinary users can also remotely configure the router through the app of the mobile terminal without connecting to the Wi-Fi of the router; in addition to the characteristics of ordinary users, operator users can remotely batch-configure the router through the operator management platform, greatly improving the efficiency of the staff.

[0131] Embodiment Three:

[0132] Figure 5 It is a schematic diagram of a device for remotely controlling a router provided in the third embodiment of the present invention.

[0133] Refer to Figure 5 , applied to a mobile terminal, the device includes:

[0134] A connection establishment unit 1, configured to receive basic information sent by a router after establishing a TCP encrypted authentication connection with the router;

[0135] A determination unit 2, configured to determine the networking status of the router and bind to the router according to the networking status;

[0136] A signaling receiving unit 3, configured to receive a signaling sent by a server and send the signaling to the router, so that the server compares the signaling received from the router with the pre-stored signaling to obtain a comparison result, and receive parameter information sent by the router;

[0137] A binding success response information receiving unit 4, configured to receive a binding success response information sent by the server to the router when the comparison result is consistent;

[0138] An obtaining unit 5, configured to obtain router configuration information set by a user on an interface;

[0139] A configuration information sending unit 6, configured to send the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information;

[0140] A polling unit 7, configured to poll whether the router has completed configuration operations;

[0141] A first configuration success receiving unit 8, configured to receive a configuration success result sent by the router through the server when the configuration operations are completed.

[0142] Embodiment 4:

[0143] Figure 6 It is a schematic diagram of a remote control device for a router provided in Embodiment 4 of the present invention.

[0144] Refer to Figure 6 , the execution subject is a server, and the device includes:

[0145] A signaling sending unit 9, configured to send a signaling to a mobile terminal, so that the mobile terminal sends the signaling to the router;

[0146] A comparison unit 10, configured to receive the signaling sent by the router and compare the signaling with the pre-stored signaling to obtain a comparison result, and receive parameter information sent by the router;

[0147] A binding success response information sending unit 11, configured to send a binding success response information to the mobile terminal when the comparison result is consistent;

[0148] A configuration information receiving unit 12, configured to receive router configuration information sent by the mobile terminal;

[0149] Configure an operation execution unit 13 for sending router configuration information to a router so that the router performs corresponding configuration operations according to the router configuration information;

[0150] A second configuration success receiving unit 14 for receiving a configuration success result sent by the router after the router configuration operation is completed.

[0151] An embodiment of the present invention provides a method and device for remotely controlling a router, which are applied to a mobile terminal and include: after establishing a TCP encrypted authentication connection with the router, receiving basic information sent by the router; determining the network connection status of the router and binding to the router according to the network connection status; receiving a signaling sent by a server and sending the signaling to the router so that the server compares the received signaling sent by the router with pre-stored signaling to obtain a comparison result, and receiving parameter information sent by the router; if the comparison result is consistent, receiving a binding success response message sent by the server; obtaining router configuration information set by a user on an interface; sending the router configuration information to the router through the server so that the router performs corresponding configuration operations according to the router configuration information; polling whether the router has completed the configuration operation; if so, receiving a configuration success result sent by the router through the server; the configuration of the router can be remotely operated, solving the defect that the router can only modify the configuration locally and improving the user experience.

[0152] An embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the steps of the method for remotely controlling a router provided in the above embodiment are implemented.

[0153] An embodiment of the present invention further provides a computer-readable medium having non-volatile program code executable by a processor. A computer program is stored on the computer-readable medium. When the computer program is run by the processor, the steps of the method for remotely controlling a router in the above embodiment are executed.

[0154] The computer program product provided by an embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For specific implementation, reference can be made to the method embodiments and will not be elaborated herein.

[0155] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.

[0156] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "install", "connect", and "couple" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection or an indirect connection through an intermediate medium, and it may be the communication inside two components. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0157] If the above-mentioned functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0158] In the description of the present invention, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0159] Finally, it should be noted that the above-described embodiments are only specific embodiments of the present invention, which are used to illustrate the technical solutions of the present invention, rather than limiting it. The protection scope of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that any person skilled in the art within the technical scope disclosed by the present invention can still modify the technical solutions recorded in the foregoing embodiments or can easily think of changes, or make equivalent replacements for some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A remote control method for a router, characterized in that, applied to a mobile terminal, the method includes: After establishing a TCP encrypted authentication connection with the router, receiving basic information sent by the router; Determining the networking status of the router, and binding with the router according to the networking status; Receiving a signaling sent by a server, and sending the signaling to the router, so that the server compares the signaling received from the router with pre-stored signaling to obtain a comparison result, and receiving parameter information sent by the router; If the comparison result is consistent, receiving a successful binding response message sent by the server for the router; Obtaining router configuration information set by a user on an interface; Sending the router configuration information to the router through the server, so that the router performs corresponding configuration operations according to the router configuration information; Polling whether the router has completed the configuration operation; If so, receiving a successful configuration result sent by the router through the server.

2. The remote control method for a router according to claim 1, characterized in that, After establishing a TCP encrypted authentication connection with the router, receiving basic information sent by the router, including: After establishing a WiFi connection with the router, sending a TCP connection request for encrypted authentication to the router, so that the router sends the basic information after successful authentication.

3. The remote control method for a router according to claim 1, characterized in that, Determining the networking status of the router, and binding with the router according to the networking status, including: Querying the networking status of the router; If the networking status is a non-networked status, sending network configuration information to the router, so that the router configures according to the network configuration information; Polling the networking status of the router, and after the router is configured, receiving a binding status sent by the router, where the binding status includes a status of not being bound to a user; Binding with the router according to the status of not being bound to a user.

4. The remote control method for a router according to claim 1, characterized in that, Before obtaining router configuration information set by a user on an interface, the method further includes: When the parameter information of the router is updated, sending a request message for obtaining configuration to the server; Receiving updated configuration information sent by the server.

5. A remote control method for a router, characterized in that, applied to a server, the method includes: After a mobile terminal establishes a TCP encrypted authentication connection with the router, the mobile terminal receives basic information sent by the router, determines the networking status of the router, and binds with the router according to the networking status, the server sends a signaling to the mobile terminal, so that the mobile terminal sends the signaling to the router; Receiving the signaling sent by the router, and comparing the signaling with pre-stored signaling to obtain a comparison result, and receiving parameter information sent by the router; If the comparison result is consistent, send a successful binding response message with the router to the mobile terminal; Receive the router configuration information sent by the mobile terminal; Send the router configuration information to the router so that the router performs corresponding configuration operations according to the router configuration information; After the router configuration operation is completed, receive the successful configuration result sent by the router.

6. The method for remotely controlling a router according to claim 5, wherein, the method further includes: Receive the pre-configuration information sent by the operator management platform and save it; When the router is in an online state, receive the request information sent by the router; Send the pre-configuration information to the router according to the request information so that the router loads according to the pre-configuration information.

7. A device for remotely controlling a router, wherein, applied to a mobile terminal, the device includes: A connection establishment unit, configured to receive the basic information sent by the router after establishing a TCP encrypted authentication connection with the router; A determination unit, configured to determine the networking status of the router and bind with the router according to the networking status; A signaling receiving unit, configured to receive the signaling sent by the server and send the signaling to the router, so that the server compares the received signaling with the pre-stored signaling to obtain a comparison result, and receive the parameter information sent by the router; A successful binding response information receiving unit, configured to receive the successful binding response information with the router sent by the server when the comparison result is consistent; An acquisition unit, configured to acquire the router configuration information set by the user on the interface; A configuration information sending unit, configured to send the router configuration information to the router through the server so that the router performs corresponding configuration operations according to the router configuration information; A polling unit, configured to poll whether the router has completed the configuration operation; A first successful configuration receiving unit, configured to receive the successful configuration result sent by the router through the server when the configuration operation is completed.

8. A device for remotely controlling a router, wherein, applied to a server, the device includes: A signaling sending unit, configured to send a signaling to the mobile terminal after the mobile terminal establishes a TCP encrypted authentication connection with the router, the mobile terminal receives the basic information sent by the router, determines the networking status of the router, and binds with the router according to the networking status, so that the mobile terminal sends the signaling to the router; A comparison unit, configured to receive the signaling sent by the router, compare the signaling with the pre-stored signaling to obtain a comparison result, and receive the parameter information sent by the router; A successful binding response information sending unit, configured to send the successful binding response information with the router to the mobile terminal when the comparison result is consistent; A configuration information receiving unit, configured to receive router configuration information sent by the mobile terminal; A configuration operation execution unit, configured to send the router configuration information to the router, so that the router performs corresponding configuration operations according to the router configuration information; A second configuration success receiving unit, configured to receive a configuration success result sent by the router after the router configuration operation is completed.

9. An electronic device, including a memory and a processor, where a computer program that can run on the processor is stored on the memory, characterized in that, when the processor executes the computer program, the method described in any one of claims 1 to 6 above is implemented.

10. A computer-readable medium having non-volatile program code executable by a processor, characterized in that, the program code causes the processor to execute the method described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Router binding and controlling method and device

    CN105871796A

  • Router, method for controlling same, terminal and server

    CN106657392A