CN110831245B - Network connection method, device and router - Google Patents

Network connection method, device and router Download PDF

Info

Publication number
CN110831245B
CN110831245B CN201911059206.0A CN201911059206A CN110831245B CN 110831245 B CN110831245 B CN 110831245B CN 201911059206 A CN201911059206 A CN 201911059206A CN 110831245 B CN110831245 B CN 110831245B
Authority
CN
China
Prior art keywords
router
information
network connection
target
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911059206.0A
Other languages
Chinese (zh)
Other versions
CN110831245A (en
Inventor
张杨
白璐
米岩
章红春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shougang Automation Information Technology Co Ltd
Original Assignee
Beijing Shougang Automation Information Technology 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 Beijing Shougang Automation Information Technology Co Ltd filed Critical Beijing Shougang Automation Information Technology Co Ltd
Priority to CN201911059206.0A priority Critical patent/CN110831245B/en
Publication of CN110831245A publication Critical patent/CN110831245A/en
Application granted granted Critical
Publication of CN110831245B publication Critical patent/CN110831245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a network connection method, a network connection device and a router, and relates to the technical field of Internet of things. According to the method, a control instruction is sent to a router through first electronic equipment in communication connection with the router, then the router obtains target information according to the control instruction and network connection information configured to the router in advance, the target information is broadcasted to second electronic equipment, so that the second electronic equipment can initiate a connection request to the router according to the target information, and finally a communication network between the second electronic equipment and the router can be established after the router responds to the connection request. By the method, under the condition that the connection password of the road router is not known, the first electronic equipment in communication connection with the router is used for controlling, and intelligent equipment without a human-computer interaction interface is connected to the router, so that the connection mode of the equipment is greatly simplified.

Description

Network connection method, device and router
Technical Field
The application relates to the technical field of internet of things, in particular to a network connection method, a network connection device and a router.
Background
With the development of internet of things technology, smart devices are becoming popular, for example: smart homes, smart appliances, and the like. The user only needs to connect the intelligent equipment with the router and then accesses the network, and cloud control can be achieved.
However, for some intelligent devices without human-computer interaction interfaces (such as smart sockets, smart air conditioners, smart air purifiers, etc.), it is usually complicated to connect such intelligent devices to a wireless network because the intelligent devices cannot search and select a target wireless network like a mobile phone or a computer, and further cannot manually input a connection password.
Disclosure of Invention
The embodiments of the present application provide a network connection method, a network connection device, and a router, so as to solve the above problems in the prior art.
In order to achieve the above purpose, the preferred embodiment of the present application adopts the following technical solutions:
in a first aspect, an embodiment of the present application provides a network connection method, which is applied to a router, where the router is configured with network connection information, and the router is in communication connection with a first electronic device, and the method includes:
receiving a control instruction sent by the first electronic equipment;
obtaining target information according to the control instruction and the network connection information;
broadcasting the target information to a second electronic device;
and responding to a connection request sent by the second electronic equipment according to the target information, and establishing network connection with the second electronic equipment.
Optionally, in an embodiment of the application, the step of obtaining the target information according to the control instruction and the network connection information includes:
determining a target encryption algorithm according to the equipment information;
and encrypting the network connection information according to the target encryption algorithm to obtain the target information.
Optionally, in an embodiment of the present application, the network connection information includes a service set identifier and a connection password corresponding to the router, and the step of obtaining the target information by encrypting the network connection information according to the target encryption algorithm includes:
encrypting the connection password according to the target encryption algorithm to obtain an encrypted password;
and combining the service set identification with the encrypted password to obtain the target information.
Optionally, in an embodiment of the present application, the control instruction includes a time parameter for controlling a broadcast duration, and the broadcasting the target information to the second electronic device includes:
starting broadcasting according to the time parameter;
and broadcasting the target information to the second electronic equipment in a time range corresponding to the time parameter.
Optionally, in an embodiment of the present application, the router includes at least two signal frequency bands, and the step of broadcasting the target information to the second electronic device further includes:
determining a target signal frequency band from the at least two signal frequency bands according to the device information;
broadcasting the target information to the second electronic device through the target signal frequency band.
In a second aspect, an embodiment of the present application provides a network connection apparatus, which is applied to a router, where the router is configured with network connection information, and the router is communicatively connected to a first electronic device, and the apparatus includes:
the receiving module is used for receiving a control instruction sent by the first electronic equipment;
the processing module is used for obtaining target information according to the control instruction and the network connection information;
the broadcasting module is used for broadcasting the target information to second electronic equipment;
and the connection module is used for responding to a connection request sent by the second electronic equipment according to the target information and establishing network connection with the second electronic equipment.
Optionally, in an embodiment of the application, the control instruction includes device information of the second electronic device, and the processing module is specifically configured to:
determining a target encryption algorithm according to the equipment information;
and encrypting the network connection information according to the target encryption algorithm to obtain the target information.
Optionally, in an embodiment of the present application, the network connection information includes a service set identifier and a connection password corresponding to the router, and the processing module is specifically configured to, when performing encryption processing on the network connection information according to the target encryption algorithm to obtain the target information:
encrypting the connection password according to the target encryption algorithm to obtain an encrypted password;
and combining the service set identification with the encrypted password to obtain the target information.
Optionally, in an embodiment of the present application, the control instruction includes a time parameter for controlling a broadcast duration, and the broadcast module is specifically configured to:
starting broadcasting according to the time parameter;
and broadcasting the target information to the second electronic equipment in a time range corresponding to the time parameter.
Optionally, in an embodiment of the present application, the router includes at least two signal bands, and the broadcasting module is further specifically configured to:
determining a target signal frequency band from the at least two signal frequency bands according to the device information;
broadcasting the target information to the second electronic device through the target signal frequency band.
In a third aspect, an embodiment of the present application further provides a router, where the router includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to load and execute the computer program, so as to cause the router to execute the method described in any one of the above.
Compared with the prior art, the network connection method provided in the embodiment of the present application has at least the following technical effects or advantages:
according to the network connection method provided by the embodiment of the application, the first electronic device in communication connection with the router sends the control instruction to the router, then the router obtains the target information according to the control instruction and the network connection information configured to the router in advance, and broadcasts the target information to the second electronic device, so that the second electronic device can initiate a connection request to the router according to the target information, and finally, the router responds to the connection request to establish a communication network between the second electronic device and the router. By the method, under the condition that the connection password of the road router is not known, the first electronic equipment in communication connection with the router is used for controlling, and intelligent equipment without a human-computer interaction interface is connected to the router, so that the connection mode of the equipment is greatly simplified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a router according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating steps of a network connection method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a sub-step of step S20 in FIG. 2;
FIG. 4 is a flowchart illustrating the sub-steps of step S202 in FIG. 3;
FIG. 5 is a flowchart illustrating the sub-steps of step S30 in FIG. 2;
FIG. 6 is a schematic flow chart illustrating another sub-step of step S30 in FIG. 2;
fig. 7 is a block diagram of a network connection device according to an embodiment of the present disclosure.
Icon: 20-a router; 21-a memory; 22-a memory controller; 23-a processor; 70-a network connection device; 701-a receiving module; 702-a processing module; 703-a broadcast module; 704-connection module.
Detailed Description
In order to better understand the technical solution, the technical solution will be described in detail with reference to the drawings and the specific embodiments. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
It should be noted that in the description of the present application, the terms "first", "second", etc. are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, a schematic structural diagram of a router 20 provided in the embodiment of the present application is shown, where the router 20 includes a network connection device 70, a memory 21, a storage controller 22, and a processor 23.
The memory 21, the memory controller 22 and the processor 23 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The network connection device 70 may include at least one software function module which may be stored in the memory 21 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the router 20. The processor 23 is configured to execute executable modules stored in the memory 21, such as software functional modules and computer programs included in the network connection device 70, so as to cause the router 20 to execute a network connection method as described below.
Referring to fig. 2, a schematic flowchart of steps of a network connection method provided in an embodiment of the present application, where the method may be applied to the router 20 shown in fig. 1, so as to provide the router 20 with a network connection function as described below.
The network connection method provided by the embodiment of the present application is described in detail below with reference to fig. 2 to 6.
In the embodiment of the application, the router is configured with network connection information, and the router is in communication connection with the first electronic device. Referring to fig. 2, the method includes:
and step S10, receiving a control command sent by the first electronic device.
And step S20, obtaining target information according to the control instruction and the network connection information.
Step S30, broadcasting the target information to the second electronic device.
Step S40, establishing a network connection with the second electronic device in response to the connection request sent by the second electronic device according to the target information.
Specifically, in the embodiment of the application, the first electronic device may be any electronic device, such as a mobile phone, a computer, and the like, which has a human-computer interaction interface and is capable of being in communication connection with the router.
When a new device (namely, a second electronic device) is added, the router can be controlled to broadcast the pre-configured network connection information to the second electronic device through the operation of the application software installed on the first electronic device.
Specifically, in this embodiment of the present application, the network connection information may include a service Set identifier SSID (service Set identifier) and a connection password of the router, and after the second electronic device receives a broadcast signal sent by the router, the SSID and the connection password of the router may be obtained from target information broadcast by the router. Then, the second electronic device can initiate a connection request to the router through the acquired SSID and the connection password. Finally, the router responds to the connection request, and a communication network between the second electronic device and the router can be established.
Further, referring to fig. 3, in an embodiment of the application, the control command includes device information of the second electronic device, and the step S20 may include the following sub-steps:
and a substep S201 of determining a target encryption algorithm according to the device information.
And a substep S202, encrypting the network connection information according to the target encryption algorithm to obtain the target information.
In this embodiment, the applicant thinks that the router performs encryption processing before broadcasting the target information, considering that the router may have a security risk when broadcasting the target information. However, in this way, the second electronic device cannot acquire the network connection information included in the broadcast signal after receiving the broadcast signal.
Further, the applicant finally conceived to solve the problem using an encryption algorithm and a decryption algorithm that match each other. Specifically, a decryption algorithm is configured for the second electronic device, and then the network connection information of the router is encrypted by using an encryption algorithm corresponding to the decryption algorithm before the router transmits the broadcast signal to the second electronic device. Therefore, the second electronic device can be connected with the router while the network security is ensured.
It should be noted that, in the embodiment of the present application, the device information of the second electronic device included in the control instruction may include a decryption algorithm configured for the second electronic device as described above. When the user operates through the first electronic device, the user can select the device information corresponding to the second electronic device to determine the decryption algorithm configured by the second electronic device, and then the router encrypts the pre-configured network connection information according to the decryption algorithm to obtain the target information and broadcasts the target information to the second electronic device.
It should be further noted that, in the embodiment of the present application, there is no specific limitation on the encryption algorithm and the decryption algorithm, and it is only necessary to ensure that the encryption algorithm used by the router matches with the decryption algorithm configured by the second electronic device. As for the security level of the encryption algorithm, a person skilled in the art can select an adaptive encryption algorithm according to actual requirements. Therefore, this embodiment is not particularly limited.
Further, referring to fig. 4, in an embodiment of the present application, the sub-step S202 may include the following two sub-steps:
s2021, encrypting the connection password according to the target encryption algorithm to obtain an encrypted password.
S2022, combining the service set identifier with the encrypted password to obtain the target information.
In this embodiment, it is considered that the connection password actually affects security of the router, and therefore, when the network connection information is encrypted, only the connection password needs to be encrypted, so that an analysis process of the second electronic device after receiving the target information can be simplified, and thus, a processing speed of data is increased, and a speed of completing network connection between the second electronic device and the router is increased.
It should be noted that, in the embodiment of the present application, only the connection password in the network connection information may be encrypted, or the connection password and the service set identifier SSID may be encrypted at the same time, and the specific situation may be determined according to actual needs.
Optionally, in an embodiment of the present application, in order to further improve the security of the router network, after the second electronic device initiates a connection request to the router, the router may further send information about the second electronic device to the first electronic device, and ask the user whether to continue connecting, thereby verifying whether the device initiating the connection request is the second electronic device that needs to be connected. If the user selects to continue the connection, the router responds to the connection request of the second electronic equipment; otherwise, the router does not respond to the connection request of the second electronic device.
Optionally, in an embodiment of the present application, in addition to performing encryption processing, in consideration of technical means for improving security of the target information in the broadcasting process, a time duration for the router to broadcast the target information may be controlled. Therefore, referring to fig. 5, in an embodiment of the present application, the control instruction may further include a time parameter for controlling a broadcast duration, and the step S30 may include:
and a substep S301 of starting broadcasting according to the time parameter.
And a substep S302, broadcasting the target information to the second electronic device in a time range corresponding to the time parameter.
Specifically, when the user operates the first electronic device, the time length for the router to start broadcasting may be selected, and then the router starts broadcasting according to the time length, and broadcasts the target information to the second electronic device in the corresponding time range.
It should be noted that, in the embodiment of the present application, the time parameter may be arbitrarily selected according to a user requirement, and therefore, the embodiment is not specifically limited thereto.
Further, in an embodiment of the present application, considering that the router may include a plurality of signal bands (for example, 2.4G and 5G), and the second electronic device generally has only one signal band, if the signal band used by the router when broadcasting the target information does not match with the second electronic device, the second electronic device may not receive the network connection information of the router, and therefore, referring to fig. 6, in an embodiment of the present application, the step S30 may further include:
and a substep S311, determining a target signal frequency band according to the device information.
Substep S312, broadcasting the target information to the second electronic device through the target signal frequency band.
Specifically, in this embodiment, when the user operates the first electronic device, the target signal band supported by the second electronic device may be obtained according to the device information corresponding to the second electronic device selected by the user, and then the router may select the corresponding signal band for broadcasting when transmitting the broadcast signal to the second electronic device according to the target signal band, so as to ensure that the second electronic device can receive the broadcast signal transmitted by the router.
For example, in one possible application scenario, there are 3 smart devices (i.e., 3 second electronic devices) indoors, device 1 uses the 2.4G frequency band, device 2 uses the 2.4G/5G dual-band, and device 3 uses the 5G frequency band. Then, if the user uses the first electronic device to send the control instruction to the router, where the control instruction includes the device information of the three devices at the same time, the router may send the Wi-Fi hotspot information of the 2.4G frequency band by using the 2.4G frequency band at the same time, and send the Wi-Fi hotspot information of the 5G frequency band by using the 5G frequency band, so that the device 1, the device 2, and the device 3 may all be connected to the router.
In another possible application scenario, for a second electronic device supporting 2.4G/5G dual-band, the target information broadcasted by the router through the 2.4G band and the 5G band may be received at the same time, and the optimal band is selected to be used to access the router according to the quality of the 2.4G band and the 5G band.
It should be understood that, in this embodiment of the application, the second electronic device may listen to a broadcast signal sent by the router in real time after being turned on, and after the second electronic device receives network connection information sent by the router through broadcasting, a connection request (i.e., a login request) may be initiated to the router according to the network connection information, so as to establish a communication network with the router. In addition, in this embodiment of the application, the router may disassemble and assemble the encrypted network connection information into a data packet with a fixed size, and then sequentially send the data packet to the second electronic device using the socket.
It should be noted that, in a possible embodiment, there may be a plurality of routers that can be connected in the current area, and at this time, the user may select an appropriate router for connection according to the signal strength of each router, and then continue the connection operation as described above, so as to connect the second electronic device to the router with a stronger signal.
In summary, the network connection method provided in the embodiment of the present application has the following technical effects or advantages compared with the prior art:
according to the network connection method provided by the embodiment of the application, the first electronic device in communication connection with the router sends the control instruction to the router, then the router obtains the target information according to the control instruction and the network connection information configured to the router in advance, and broadcasts the target information to the second electronic device, so that the second electronic device can initiate a connection request to the router according to the target information, and finally, the router responds to the connection request to establish a communication network between the second electronic device and the router. By the method, under the condition that the connection password of the road router is not known, the first electronic equipment in communication connection with the router is used for controlling, and intelligent equipment without a human-computer interaction interface is connected to the router, so that the connection mode of the equipment is greatly simplified.
Referring to fig. 7, the embodiment of the present application further provides a network connection apparatus 70, which may be applied to the router 20 shown in fig. 1, so as to provide the network connection function for the router 20 as described above.
Specifically, in the embodiment of the present application, the router 20 is configured with network connection information, and the router 20 is in communication connection with a first electronic device, and the apparatus includes a receiving module 701, a processing module 702, a broadcasting module 703 and a connecting module 704.
The receiving module 701 is configured to receive a control instruction sent by a first electronic device; the processing module 702 is configured to obtain target information according to the control instruction and the network connection information; the broadcasting module 703 is configured to broadcast the target information to a second electronic device; the connection module 704 is configured to respond to a connection request sent by the second electronic device according to the target information, and establish a network connection with the second electronic device.
Optionally, in an embodiment of the application, the control instruction includes device information of the second electronic device, and the processing module 702 is specifically configured to:
determining a target encryption algorithm according to the equipment information; and then, encrypting the network connection information according to the target encryption algorithm to obtain the target information.
Optionally, in an embodiment of the present application, the network connection information includes a service set identifier and a connection password corresponding to the router 20, and the processing module 702 is specifically configured to, when performing encryption processing on the network connection information according to the target encryption algorithm to obtain the target information:
encrypting the connection password according to the target encryption algorithm to obtain an encrypted password; then, the service set identifier is combined with the encrypted password to obtain the target information.
Optionally, in an embodiment of the present application, the control instruction includes a time parameter for controlling a broadcast duration, and the broadcast module 703 is specifically configured to:
starting broadcasting according to the time parameter; and broadcasting the target information to the second electronic equipment in a time range corresponding to the time parameter.
Optionally, in an embodiment of the present application, the router 20 includes at least two signal frequency bands, and the broadcasting module 703 is further specifically configured to:
determining a target signal frequency band from the at least two signal frequency bands according to the device information; then, the target information is broadcasted to the second electronic device through the target signal frequency band.
Since the network connection device 70 described in this embodiment is a device used for implementing the network connection method applied to the router 20 in this embodiment, a person skilled in the art can understand the specific implementation of the network connection device 70 of this embodiment and its various modifications based on the network connection method described in this embodiment, and therefore, how to implement the method in this embodiment by the network connection device 70 will not be described in detail here. The network connection device 70 used by those skilled in the art to implement the network connection method in the embodiment of the present application is within the scope of the protection of the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A network connection method is applied to a router, the router is configured with network connection information, and the router is in communication connection with a first electronic device, and the method comprises the following steps:
receiving a control instruction sent by the first electronic equipment;
obtaining target information according to the control instruction and the network connection information;
broadcasting the target information to a second electronic device;
receiving a connection request sent by the second electronic equipment according to the target information, and sending equipment information of the second electronic equipment to the first electronic equipment;
and receiving a connection confirmation instruction from the first electronic equipment, responding to the connection request sent by the second electronic equipment according to the target information based on the connection confirmation instruction, and establishing network connection with the second electronic equipment.
2. The method of claim 1, wherein the control command includes device information of the second electronic device, and the step of obtaining the target information according to the control command and the network connection information comprises:
determining a target encryption algorithm according to the equipment information;
and encrypting the network connection information according to the target encryption algorithm to obtain the target information.
3. The method of claim 2, wherein the network connection information includes a service set identifier and a connection password corresponding to the router, and the step of encrypting the network connection information according to the target encryption algorithm to obtain the target information includes:
encrypting the connection password according to the target encryption algorithm to obtain an encrypted password;
and combining the service set identification with the encrypted password to obtain the target information.
4. The method of claim 1, wherein the control command includes a time parameter for controlling a broadcast duration, and the step of broadcasting the target information to the second electronic device comprises:
starting broadcasting according to the time parameter;
and broadcasting the target information to the second electronic equipment in a time range corresponding to the time parameter.
5. The method of any of claims 2-4, wherein the router includes at least two signal bands, and wherein the step of broadcasting the target information to a second electronic device further comprises:
determining a target signal frequency band from the at least two signal frequency bands according to the device information;
broadcasting the target information to the second electronic device through the target signal frequency band.
6. A network connection apparatus applied to a router, wherein the router is configured with network connection information, and the router is in communication connection with a first electronic device, the apparatus comprising:
the receiving module is used for receiving a control instruction sent by the first electronic equipment;
the processing module is used for obtaining target information according to the control instruction and the network connection information;
the broadcasting module is used for broadcasting the target information to second electronic equipment;
the connection module is used for receiving a connection request sent by the second electronic equipment according to the target information and sending the equipment information of the second electronic equipment to the first electronic equipment; and receiving a connection confirmation instruction from the first electronic equipment, responding to the connection request sent by the second electronic equipment according to the target information based on the connection confirmation instruction, and establishing network connection with the second electronic equipment.
7. The apparatus of claim 6, wherein the control instruction includes device information of the second electronic device, and the processing module is specifically configured to:
determining a target encryption algorithm according to the equipment information;
and encrypting the network connection information according to the target encryption algorithm to obtain the target information.
8. The apparatus of claim 7, wherein the network connection information includes a service set identifier and a connection password corresponding to the router, and the processing module is specifically configured to, when performing encryption processing on the network connection information according to the target encryption algorithm to obtain the target information:
encrypting the connection password according to the target encryption algorithm to obtain an encrypted password;
and combining the service set identification with the encrypted password to obtain the target information.
9. The apparatus of claim 6, wherein the control instruction includes a time parameter for controlling a broadcast duration, and the broadcast module is specifically configured to:
starting broadcasting according to the time parameter;
and broadcasting the target information to the second electronic equipment in a time range corresponding to the time parameter.
10. A router, characterized in that the router comprises a memory for storing a computer program and a processor for load execution of the computer program to cause the router to perform the method according to any of claims 1-5.
CN201911059206.0A 2019-11-01 2019-11-01 Network connection method, device and router Active CN110831245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911059206.0A CN110831245B (en) 2019-11-01 2019-11-01 Network connection method, device and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911059206.0A CN110831245B (en) 2019-11-01 2019-11-01 Network connection method, device and router

Publications (2)

Publication Number Publication Date
CN110831245A CN110831245A (en) 2020-02-21
CN110831245B true CN110831245B (en) 2021-08-10

Family

ID=69551875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911059206.0A Active CN110831245B (en) 2019-11-01 2019-11-01 Network connection method, device and router

Country Status (1)

Country Link
CN (1) CN110831245B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111315035B (en) * 2020-02-24 2023-11-10 华为技术有限公司 WiFi network connection method and device
CN111343695A (en) * 2020-02-27 2020-06-26 维沃移动通信有限公司 Network connection method, first electronic device, and medium
CN114980099B (en) * 2020-12-02 2023-11-17 支付宝(杭州)信息技术有限公司 Method, device and equipment for connecting equipment
CN113747543B (en) * 2021-08-03 2022-11-25 荣耀终端有限公司 Network distribution method, equipment, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
US9596603B2 (en) * 2014-08-01 2017-03-14 Qualcomm Connected Experiences, Inc. Distributed bulk onboarding process
US10230522B1 (en) * 2016-03-24 2019-03-12 Amazon Technologies, Inc. Network access control
CN110139271A (en) * 2019-04-30 2019-08-16 普联技术有限公司 A kind of method, system and device that smart home device batch configuration networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105446305A (en) * 2015-12-30 2016-03-30 深圳众乐智府科技有限公司 Intelligent household gateway network configuration method and intelligent household system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102711282A (en) * 2012-05-21 2012-10-03 浙江优诺肯科技有限公司 Method for accessing zero-input wireless equipment into network and zero-input wireless equipment
CN103607751A (en) * 2013-11-18 2014-02-26 深圳市通力科技开发有限公司 Wireless device configuration method and system
US9596603B2 (en) * 2014-08-01 2017-03-14 Qualcomm Connected Experiences, Inc. Distributed bulk onboarding process
US10230522B1 (en) * 2016-03-24 2019-03-12 Amazon Technologies, Inc. Network access control
CN110139271A (en) * 2019-04-30 2019-08-16 普联技术有限公司 A kind of method, system and device that smart home device batch configuration networks

Also Published As

Publication number Publication date
CN110831245A (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN110831245B (en) Network connection method, device and router
CN109525540B (en) Intelligent device binding method and device
CN111770559B (en) Network connection method, terminal, base station, and computer storage medium
CN110740460B (en) Network access method and device of equipment, network equipment and storage medium
US7818022B2 (en) Communication apparatus and electric power control method
CN110636483A (en) Network distribution method and system
KR101743195B1 (en) Method and apparatus for providing information, program and recording medium
CN107342933B (en) Activation and binding method and device for intelligent equipment
CN111194067A (en) Network access method, device, related equipment and storage medium
JP2011254469A (en) Method, device and system for configuring wifi parameter
CN112822756B (en) Communication method, system, base station and terminal
CN112187531B (en) Module upgrading method and system, storage medium and electronic device
CN113438314B (en) Equipment control method and device, storage medium and electronic device
CN111163469A (en) Network distribution method of intelligent household appliance, wireless module and intelligent household appliance
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN113423105A (en) Network connection method and device
CN111542081A (en) Communication switching method and device and Internet of things communication module
CN108012294B (en) Network switching method and device
CN105511903A (en) Audio device updating method and apparatus
CN107087293B (en) Access method, terminal and server
CN112637221B (en) Equipment control method and device
EP3833153A1 (en) Network connection methods and devices
KR20200073811A (en) Electronic device supporting secondary node addition and method therefor
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device
EP3716672B1 (en) Device and method for enrolling a wireless access point into a map wireless network

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
GR01 Patent grant
GR01 Patent grant