CN112437453A - Network configuration method and device of router, storage medium and electronic device - Google Patents

Network configuration method and device of router, storage medium and electronic device Download PDF

Info

Publication number
CN112437453A
CN112437453A CN202011300317.9A CN202011300317A CN112437453A CN 112437453 A CN112437453 A CN 112437453A CN 202011300317 A CN202011300317 A CN 202011300317A CN 112437453 A CN112437453 A CN 112437453A
Authority
CN
China
Prior art keywords
router
near field
communication module
field communication
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011300317.9A
Other languages
Chinese (zh)
Inventor
李顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011300317.9A priority Critical patent/CN112437453A/en
Publication of CN112437453A publication Critical patent/CN112437453A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/14Backbone network devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a network configuration method and device of a router, a storage medium and an electronic device, wherein the method comprises the following steps: starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal; establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module; and receiving the configuration information sent by the mobile terminal through the connection, and performing network configuration on the router according to the configuration information, namely establishing the connection between the router and the mobile terminal through the first near field communication module and the second near field communication module, so as to realize the configuration of the router by the mobile terminal. By adopting the technical scheme, the problems of complex operation, complex flow and the like when the router is configured in the network in the related technology are solved.

Description

Network configuration method and device of router, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a network configuration method and apparatus for a router, a storage medium, and an electronic apparatus.
Background
With the popularization of networks, the number of routers used is greatly increased, and based on the security requirement, a series of network configurations need to be performed on the routers before the routers are used, and there are generally two cases: firstly, the router is connected in a wired mode through a network cable for verification; and secondly, the router is connected in a wireless mode through WIFI for verification.
The method includes the steps that a router is connected in a wired mode through a network cable, a desktop computer or a notebook computer is required to be connected with the router through the network cable, a management page address of the router is found in network setting or a specification of the router, a management page of the router is logged in through a browser, and a default administrator account number and a default administrator password are input to the specification for verification. The method includes the steps that a router is connected in a wireless mode through WIFI, a computer or a mobile phone is required to be connected with an initial wireless SSID (service set identifier) described on a router specification, a default password on the specification is input for connection, a management page address of the router is found in network setting or the specification of the router, a management page of the router is logged in through a browser or a mobile phone APP, and a default administrator account and a default password on the specification are input for verification. However, the two methods for configuring the network of the router have the problems of complex operation, complex flow and the like.
Aiming at the problems of complex operation, complex flow and the like when the router is configured in the related art, an effective solution is not provided.
Disclosure of Invention
The embodiment of the invention provides a network configuration method and device of a router, a storage medium and an electronic device, and at least solves the problems of complex operation, complex flow and the like when the router is configured in the related technology.
According to an embodiment of the present invention, there is provided a network configuration method of a router, including: starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal; establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module; and receiving configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
In an exemplary embodiment, the first near field communication module provided on the router is turned on, and includes at least one of: under the condition that a target button on the router is pressed by a target object, starting a first near field communication module arranged on the router, wherein the target button is arranged on the router; and under the condition that a pressure sensor on the router detects that the pressure of a target object pressing the router is greater than a first preset threshold value, starting a first near field communication module arranged on the router, wherein the pressure sensor is arranged on the router.
In an exemplary embodiment, after the first near field communication module provided on the router is turned on, the method further includes at least one of: under the condition that a target button on the router is pressed down again by a target object, closing a first near field communication module arranged on the router; and under the condition that the pressure sensor on the router detects that the pressure of the target object pressing the router is greater than a second preset threshold value, closing a first near field communication module arranged on the router.
In an exemplary embodiment, receiving the configuration information sent by the mobile terminal through the connection includes: receiving configuration information written by a target object through the mobile terminal, and storing the configuration information in the mobile terminal; and receiving the configuration information which is sent by the mobile terminal and stored on the mobile terminal through the connection.
In an exemplary embodiment, receiving configuration information sent by the mobile terminal through the connection, and performing network configuration on the router according to the configuration information includes: performing mutual authentication of the router and the mobile terminal through the connection; and after the interactive authentication is passed, receiving configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
In an exemplary embodiment, the configuration information includes at least one of: the service set identifier SSID of the router, the login password of the router, the administrator account, the administrator password, the account connected to the network, and the password connected to the network.
According to another embodiment of the present invention, there is also provided a network configuration apparatus of a router, including: the starting module is used for starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal; a connection module, configured to establish a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module; and the configuration module is used for receiving the configuration information sent by the mobile terminal through the connection and carrying out network configuration on the router according to the configuration information.
In an exemplary embodiment, the starting module is further configured to start a first near field communication module provided on a router if a target button on the router is pressed by a target object, where the target button is provided on the router; and/or starting a first near field communication module arranged on the router under the condition that a pressure sensor on the router detects that the pressure of a target object pressing the router is greater than a first preset threshold value, wherein the pressure sensor is arranged on the router.
According to a further embodiment of the present invention, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to carry out the steps of any of the above-described method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, a first near field communication module arranged on the router and a second near field communication module on the mobile terminal are started; establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module; and receiving the configuration information sent by the mobile terminal through the connection, and performing network configuration on the router according to the configuration information, namely establishing the connection between the router and the mobile terminal through the first near field communication module and the second near field communication module, so as to realize the configuration of the router by the mobile terminal. By adopting the technical scheme, the problems of complex operation, complex flow and the like when the router is subjected to network configuration in the related technology are solved, so that complex links can be omitted, and a user can rapidly perform network configuration on the router.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a router according to a network configuration method of the router according to an embodiment of the present invention;
fig. 2 is a flowchart of a network configuration method of a router according to an embodiment of the present invention;
fig. 3 is a flow chart illustrating a network configuration method of a router according to an alternative embodiment of the present invention;
fig. 4 is a block diagram of a network configuration apparatus of a router according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a router, or a similar computing device. Taking an example of the router running on the router, fig. 1 is a hardware structure block diagram of the router of a network configuration method of the router according to an embodiment of the present invention. As shown in fig. 1, the router may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and in an exemplary embodiment, may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is merely illustrative and is not intended to limit the structure of the router described above. For example, a router may also include more or fewer components than shown in FIG. 1, or have a different configuration with equivalent functionality to that shown in FIG. 1 or with more functionality than that shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the network configuration method of the router in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to a router over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the router. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a network configuration method of a router is provided, which is applied to the router described above, and fig. 2 is a flowchart of the network configuration method of the router according to the embodiment of the present invention, where the flowchart includes the following steps:
step S202, a first near field communication module arranged on the router and a second near field communication module arranged on the mobile terminal are started;
step S204, establishing the connection between the router and the mobile terminal through the first near field communication module and the second near field communication module;
step S206, receiving the configuration information sent by the mobile terminal through the connection, and performing network configuration on the router according to the configuration information.
According to the technical scheme, a first near field communication module arranged on the router and a second near field communication module arranged on the mobile terminal are started; establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module; and receiving the configuration information sent by the mobile terminal through the connection, and performing network configuration on the router according to the configuration information, namely establishing the connection between the router and the mobile terminal through the first near field communication module and the second near field communication module, so as to realize the configuration of the router by the mobile terminal. By adopting the technical scheme, the problems of complex operation, complex flow and the like when the router is subjected to network configuration in the related technology are solved, so that complex links can be omitted, and a user can rapidly perform network configuration on the router.
There are various ways to open the first nfc module set in the router in step S202, and two schemes are provided in the present invention.
Scheme 1: under the condition that a target button on the router is pressed by a target object, starting a first near field communication module arranged on the router, wherein the target button is arranged on the router;
scheme 2: and under the condition that a pressure sensor on the router detects that the pressure of a target object pressing the router is greater than a first preset threshold value, starting a first near field communication module arranged on the router, wherein the pressure sensor is arranged on the router.
In the scheme 1, a target button is arranged on the router, and a first near field communication module of the router is started in a mode of pressing the target button; in the scheme 2, the router is provided with a pressure sensor, the first near field communication module of the router is started by pressing the router, but in order to prevent the first near field communication module of the router from being started due to the fact that the router is pressed carelessly, the first threshold value is set, and only when the pressure of the router is larger than the first preset threshold value, the first near field communication module of the router is started.
It should be noted that the above two schemes are only for understanding that the first near field communication module arranged on the router is turned on, and a speed sensor may also be arranged on the router, and the first near field communication module arranged on the router is turned on when the speed sensor on the router detects that the speed of the target object shaking the router is greater than a third preset threshold. The invention does not limit the way of opening the first near field communication module arranged on the router.
After a first near field communication module arranged on a router is started, the first near field communication module arranged on the router needs to be closed, and the modes of closing the first near field communication module arranged on the router are various.
Scheme 3: under the condition that a target button on the router is pressed down again by a target object, closing a first near field communication module arranged on the router;
scheme 4: and under the condition that the pressure sensor on the router detects that the pressure of the target object pressing the router is greater than a second preset threshold value, closing a first near field communication module arranged on the router.
In scheme 3, the first near field communication module of the router is closed by pressing the target button again; in the scheme 4, the router is provided with the pressure sensor, the first near field communication module of the router is closed by pressing the router again, but in order to prevent the first near field communication module of the router from being closed due to the fact that the router is pressed carelessly, the second threshold value is set, and only in the case that the pressure of the router is detected to be larger than the second preset threshold value, the first near field communication module of the router is closed.
It should be noted that the above two schemes are only for understanding that the first near field communication module disposed on the router is turned off, and a speed sensor may also be disposed on the router, and the first near field communication module disposed on the router is turned off when the speed sensor on the router detects that the speed at which the target object shakes the router is greater than a fourth preset threshold. The present invention does not limit the manner of turning off the first near field communication module provided on the router.
In an optional embodiment, receiving configuration information written by a target object through the mobile terminal, and storing the configuration information in the mobile terminal; and receiving the configuration information which is sent by the mobile terminal and stored on the mobile terminal through the connection.
In order to implement network configuration of a router by a target object, the target object needs to write configuration information into a mobile terminal and store the configuration information, and the first near field communication module and the second near field communication module establish connection between the router and the mobile terminal and receive the configuration information on the mobile terminal through the connection.
It should be noted that the configuration information includes at least one of the following: the service set identifier SSID of the router, the login password of the router, the administrator account, the administrator password, the account connected to the network, and the password connected to the network. The configuration information in the embodiment of the present invention may be the configuration information, but is not limited to the configuration information.
After the router is connected with the mobile terminal, in an optional embodiment, the router performs interactive authentication with the mobile terminal through the connection; and after the interactive authentication is passed, receiving configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
After the router is connected with the mobile terminal, the router and the mobile terminal also need to perform interactive authentication, such as interactive protocol and data authentication, and after the router and the mobile terminal pass the interactive authentication, the router receives and configures the configuration information of the mobile terminal.
In order to better understand the process of the network configuration method of the router, the following describes a flow of the network configuration method of the router with reference to an optional embodiment, but the technical solution of the embodiment of the present invention is not limited thereto.
Fig. 3 is a flowchart illustrating a network configuration method of a router according to an alternative embodiment of the present invention, and as shown in fig. 3, a process of the network configuration method of the router may be implemented by the following steps:
step S302: a user (equivalent to the target object in the above embodiment) opens a mobile phone APP (equivalent to the mobile terminal in the above embodiment);
step S304: inputting new administrator account and password of the router, internet access setting, DHCP service setting, wireless SSID and password and other information (equivalent to configuration information in the above embodiment) to be set on the APP, and clicking the setting;
step S306: the mobile phone APP operates the mobile phone NFC module (which is equivalent to the second near field communication module in the above embodiment) to enter an NFC scanning transmission mode;
step S308: the user performs operations on the router body, such as: pressing a key;
step S310: the router detects the operation, and the router NFC is switched to a receiving mode;
step S312: the user brings the mobile phone close to the router;
step S314: the mobile phone APP scans the router NFC module (which is equivalent to the first near field communication module in the above embodiment) through the mobile phone NFC module;
step S316: the APP and the router are mutually authenticated through the NFC module;
step S318: the mobile phone APP sends the configuration information of the router to the router through the NFC module;
step S320: and the router receives the configuration information through the NFC module and configures according to the configuration information.
The router is operated, so that the NFC module of the router is started to receive the configuration information mode, the mobile phone sends the configuration information of the router to the router through the NFC module, and a user can conveniently configure the router through the NFC module of the router and the NFC module of the mobile phone, so that various complex connection and verification processes are omitted, and the network configuration process of the router is convenient and rapid.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a network configuration device of a router is further provided, where the device is used to implement the foregoing embodiments and preferred embodiments, and details are not repeated for what has been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a network configuration apparatus of a router according to an embodiment of the present invention; as shown in fig. 4, includes:
the starting module 40 is used for starting a first near field communication module arranged on the router and a second near field communication module arranged on the mobile terminal;
a connection module 42, configured to establish a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module;
a configuration module 44, configured to receive configuration information sent by the mobile terminal through the connection, and perform network configuration on the router according to the configuration information.
According to the technical scheme, a first near field communication module arranged on the router and a second near field communication module arranged on the mobile terminal are started; establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module; and receiving the configuration information sent by the mobile terminal through the connection, and performing network configuration on the router according to the configuration information, namely establishing the connection between the router and the mobile terminal through the first near field communication module and the second near field communication module, so as to realize the configuration of the router by the mobile terminal. By adopting the technical scheme, the problems of complex operation, complex flow and the like when the router is subjected to network configuration in the related technology are solved, so that complex links can be omitted, and a user can rapidly perform network configuration on the router.
In an exemplary embodiment, the starting module 40 is further configured to start a first near field communication module provided on a router when a target button on the router is pressed by a target object, where the target button is provided on the router; or, under the condition that a pressure sensor on the router detects that the pressure of a target object pressing the router is greater than a first preset threshold value, starting a first near field communication module arranged on the router, wherein the pressure sensor is arranged on the router.
That is, when the router is provided with a target button, and the start module 40 detects that the target object presses the target button, the start module 40 starts the first near field communication module of the router; when the router is provided with the pressure sensor, the start module 40 starts the first near field communication module of the router when the pressure sensor detects that the target object presses the router, but in order to prevent the first near field communication module of the router from being started due to the fact that the router is pressed carelessly, the first threshold value is set, and the start module 40 starts the first near field communication module of the router only when the pressure of the router is detected to be larger than the first preset threshold value.
It should be noted that the above scheme is only for understanding that the first near field communication module arranged on the router is turned on, and a speed sensor and a turning-on module 40 may also be arranged on the router, and the first near field communication module arranged on the router is further configured to be turned on when the speed sensor on the router detects that the speed of the target object shaking the router is greater than a third preset threshold. The invention does not limit the way of opening the first near field communication module arranged on the router.
After the first near field communication module arranged on the router is turned on, the first near field communication module arranged on the router needs to be turned off, and in an exemplary embodiment, the apparatus further includes a turning-off module 46, further configured to turn off the first near field communication module arranged on the router when the target button on the router is pressed again by the target object; or, under the condition that the pressure sensor on the router detects that the pressure of the target object pressing the router is greater than a second preset threshold value, closing a first near field communication module arranged on the router.
It will also be appreciated that, upon detecting that the destination button is pressed again, the shutdown module 46 shuts down the first near field communication module of the router; the router is provided with a pressure sensor, the shutdown module 46 shuts down the first near field communication module of the router when detecting that the router is pressed again, but in order to prevent the first near field communication module of the router from being shut down due to the router being pressed inadvertently, a second threshold value is set, and the shutdown module 46 shuts down the first near field communication module of the router only when detecting that the pressure of the router is greater than a second preset threshold value.
It should be noted that the above scheme is only for understanding that the shutdown module 46 shuts down the first near field communication module disposed on the router, and the speed sensor may also be disposed on the router, and the shutdown module 46 is further configured to shut down the first near field communication module disposed on the router when the speed sensor on the router detects that the speed of the target object shaking the router is greater than a fourth preset threshold. The present invention does not limit the manner of turning off the first near field communication module provided on the router.
In an optional embodiment, the configuration module 44 is further configured to receive, by the mobile terminal, configuration information written by a target object, and store the configuration information in the mobile terminal; and receiving the configuration information which is sent by the mobile terminal and stored on the mobile terminal through the connection.
In order to implement network configuration of the router by the target object, the target object needs to write configuration information into the mobile terminal and store the configuration information, the first near field communication module and the second near field communication module establish connection between the router and the mobile terminal, and the configuration module 44 receives the configuration information on the mobile terminal through the connection.
It should be noted that the configuration information includes at least one of the following: the service set identifier SSID of the router, the login password of the router, the administrator account, the administrator password, the account connected to the network, and the password connected to the network. The configuration information in the embodiment of the present invention may be the configuration information, but is not limited to the configuration information.
After the router connects to the mobile terminal, in an optional embodiment, the connection module 42 is further configured to perform mutual authentication between the router and the mobile terminal through the connection; and after the interactive authentication is passed, receiving configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
After the router is connected with the mobile terminal, the router and the mobile terminal also need to perform interactive authentication, such as interactive protocol and data authentication, and after the router and the mobile terminal pass the interactive authentication, the router receives and configures the configuration information of the mobile terminal.
An embodiment of the present invention further provides a storage medium including a stored program, wherein the program executes any one of the methods described above.
In an exemplary embodiment, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal;
s2, establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module;
s3, receiving the configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, in the present embodiment, the processor may be configured to execute the following steps by a computer program:
s1, starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal;
s2, establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module;
s3, receiving the configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
In an exemplary embodiment, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and in one exemplary embodiment may be implemented using program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence different from that shown and described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A network configuration method of a router is characterized by comprising the following steps:
starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal;
establishing a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module;
and receiving configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
2. The method of claim 1, wherein turning on a first near field communication module disposed on the router comprises at least one of:
under the condition that a target button on the router is pressed by a target object, starting a first near field communication module arranged on the router, wherein the target button is arranged on the router;
and under the condition that a pressure sensor on the router detects that the pressure of a target object pressing the router is greater than a first preset threshold value, starting a first near field communication module arranged on the router, wherein the pressure sensor is arranged on the router.
3. The method of claim 2, wherein after the first near field communication module provided on the router is turned on, the method further comprises at least one of:
under the condition that a target button on the router is pressed down again by a target object, closing a first near field communication module arranged on the router;
and under the condition that the pressure sensor on the router detects that the pressure of the target object pressing the router is greater than a second preset threshold value, closing a first near field communication module arranged on the router.
4. The method according to claim 1, wherein receiving the configuration information sent by the mobile terminal through the connection comprises:
receiving configuration information written by a target object through the mobile terminal, and storing the configuration information in the mobile terminal;
and receiving the configuration information which is sent by the mobile terminal and stored on the mobile terminal through the connection.
5. The method of claim 1, wherein receiving configuration information sent by the mobile terminal through the connection and performing network configuration on the router according to the configuration information comprises:
performing mutual authentication of the router and the mobile terminal through the connection;
and after the interactive authentication is passed, receiving configuration information sent by the mobile terminal through the connection, and carrying out network configuration on the router according to the configuration information.
6. The method according to any of claims 1 to 5, wherein the configuration information comprises at least one of: the service set identifier SSID of the router, the login password of the router, the administrator account, the administrator password, the account connected to the network, and the password connected to the network.
7. A network configuration apparatus of a router, comprising:
the starting module is used for starting a first near field communication module arranged on the router and a second near field communication module on the mobile terminal;
a connection module, configured to establish a connection between the router and the mobile terminal through the first near field communication module and the second near field communication module;
and the configuration module is used for receiving the configuration information sent by the mobile terminal through the connection and carrying out network configuration on the router according to the configuration information.
8. The apparatus of claim 7, wherein the starting module is further configured to start a first near field communication module provided on the router if a target button provided on the router is pressed by a target object; and/or starting a first near field communication module arranged on the router under the condition that a pressure sensor on the router detects that the pressure of a target object pressing the router is greater than a first preset threshold value, wherein the pressure sensor is arranged on the router.
9. A computer-readable storage medium, comprising a stored program, wherein the program is operable to perform the method of any one of claims 1 to 6.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202011300317.9A 2020-11-18 2020-11-18 Network configuration method and device of router, storage medium and electronic device Pending CN112437453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011300317.9A CN112437453A (en) 2020-11-18 2020-11-18 Network configuration method and device of router, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011300317.9A CN112437453A (en) 2020-11-18 2020-11-18 Network configuration method and device of router, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112437453A true CN112437453A (en) 2021-03-02

Family

ID=74694316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011300317.9A Pending CN112437453A (en) 2020-11-18 2020-11-18 Network configuration method and device of router, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112437453A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411792A (en) * 2021-05-06 2021-09-17 宁波奥克斯电气股份有限公司 Equipment network distribution method and device, household electrical appliance and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936248A (en) * 2014-03-21 2015-09-23 中兴通讯股份有限公司 Establishment method of wireless network, system and wireless routing device
US20180124856A1 (en) * 2015-07-14 2018-05-03 Nec Platforms, Ltd. Mobile router, mobile network system, electronic money transaction method and electronic money transaction program
CN110995554A (en) * 2019-12-27 2020-04-10 青岛海尔科技有限公司 Method and device for configuring and accessing intelligent household electrical appliance network and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104936248A (en) * 2014-03-21 2015-09-23 中兴通讯股份有限公司 Establishment method of wireless network, system and wireless routing device
US20180124856A1 (en) * 2015-07-14 2018-05-03 Nec Platforms, Ltd. Mobile router, mobile network system, electronic money transaction method and electronic money transaction program
CN110995554A (en) * 2019-12-27 2020-04-10 青岛海尔科技有限公司 Method and device for configuring and accessing intelligent household electrical appliance network and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411792A (en) * 2021-05-06 2021-09-17 宁波奥克斯电气股份有限公司 Equipment network distribution method and device, household electrical appliance and terminal equipment

Similar Documents

Publication Publication Date Title
US10206097B2 (en) Apparatuses, methods and systems for configuring a trusted java card virtual machine using biometric information
CN113055867B (en) Terminal auxiliary network distribution method and device and electronic equipment
US20220014919A1 (en) Method for adapting the security settings of a communication station, communication station and identification module
US11172352B2 (en) Apparatuses, methods, and systems for configuring a trusted java card virtual machine using biometric information
CN104159321B (en) Wi-Fi configuration method and system
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
US20080205339A1 (en) Auto-Provisioning of a Mobile Computing Device for Operation With A Wireless Network
CN113438314B (en) Equipment control method and device, storage medium and electronic device
WO2018049823A1 (en) Automatic network distribution method, apparatus and device, and repeater
CN112565213A (en) Authentication method and device, storage medium, and electronic device
CN104717225A (en) Internet of Things gateway access authentication method and system
EP3298810A1 (en) Apparatuses, methods and systems for virtualizing a reprogrammable universal integrated circuit chip
US20200236533A1 (en) Apparatuses, methods and systems for virtualizing a reprogrammable universal integrated circuit chip
WO2018090831A1 (en) Method and apparatus allowing smart terminal device to access internet
CN107749799A (en) Distribution method, apparatus, system and the computer-readable recording medium of home appliance
CN112040484A (en) Password updating method and device, storage medium and electronic device
CN112637931A (en) Method and device for establishing network connection
CN110992528A (en) Intelligent door lock binding method and equipment based on identification code and storage medium
CN112437453A (en) Network configuration method and device of router, storage medium and electronic device
CN111953508A (en) Equipment control method and device, switch and electronic equipment
CN106488483B (en) Method for configuring WIFI gateway equipment and corresponding gateway equipment
CN110602693B (en) Networking method and equipment of wireless network
CN115348593B (en) Router configuration method, device and system
CN106537962B (en) Wireless network configuration, access and access method, device and equipment
CN105578498B (en) A kind of method and apparatus of terminal network management

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210302