CN112714009B - Network distribution method, network equipment to be distributed and network equipment - Google Patents

Network distribution method, network equipment to be distributed and network equipment Download PDF

Info

Publication number
CN112714009B
CN112714009B CN202011399786.0A CN202011399786A CN112714009B CN 112714009 B CN112714009 B CN 112714009B CN 202011399786 A CN202011399786 A CN 202011399786A CN 112714009 B CN112714009 B CN 112714009B
Authority
CN
China
Prior art keywords
network
equipment
distribution
response information
request
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
CN202011399786.0A
Other languages
Chinese (zh)
Other versions
CN112714009A (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.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN202011399786.0A priority Critical patent/CN112714009B/en
Publication of CN112714009A publication Critical patent/CN112714009A/en
Application granted granted Critical
Publication of CN112714009B publication Critical patent/CN112714009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application is applicable to the technical field of communication and provides a network distribution method, which comprises the following steps: when the network distribution equipment meets the preset network distribution conditions, generating a network distribution request, and transmitting the network distribution request through a power line communication link; receiving response information through the power line communication link, wherein the response information comprises a service set identifier; and determining a target wireless network according to the service set identifier, and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication. According to the method, when the network equipment to be distributed is used for distributing the network, the mobile terminal is not required to be relied on, the network distribution request is only generated when the preset network distribution condition is met, the network distribution request is transmitted through the power line communication link, the response information is received through the power line communication link, the network distribution can be realized, the network distribution process is simple, errors are not easy to occur, and the success rate of the network distribution is improved. In addition, the password is not required to be transmitted when the network is allocated, so that the condition of password leakage is avoided.

Description

Network distribution method, network equipment to be distributed and network equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a network distribution method, network equipment to be distributed and network equipment.
Background
In the existing home internet of things environment, equipment needs to be distributed when in use, and the current distribution method mainly comprises the following steps:
a network is allocated for wireless access, intelligent hardware is in wireless access AP mode, and a mobile terminal is connected to the intelligent hardware in AP mode to form a local area network. The mobile terminal sends a service set identifier and a password which need to be connected with a route and some information which is customized to the intelligent hardware, and after the intelligent hardware receives the service set identifier and the password, the corresponding router is found to be actively connected with the router, so that the network distribution is completed.
A network is allocated for one-key configuration, intelligent hardware is in a hybrid mode, monitors all messages in the network, grabs an air interface packet, a mobile terminal encodes a service set identifier, a password and user-defined information according to a certain protocol format, and transmits the service set identifier, the password and the user-defined information through a broadcast packet or a multicast packet in a user datagram protocol UDP message format, the intelligent hardware receives the UDP message and decodes the UDP message to obtain correct service set identifier, password and user-defined information, and then a corresponding router is found to be actively connected with the router, so that the network allocation is completed.
Therefore, the network allocation method needs to rely on the mobile terminal, and has more steps and is easy to be wrong when the network allocation is performed, so that the success rate of the network allocation is low. In addition, because the password is required to be transmitted during the network distribution, the condition of password leakage can occur, and the safety problem occurs.
Disclosure of Invention
The embodiment of the application provides a network distribution method, network equipment to be distributed and network equipment, which can solve the problems that the existing network distribution method has more steps and is easy to cause errors when the network distribution is performed, the success rate of the network distribution is low, and the password is likely to be leaked.
In a first aspect, an embodiment of the present application provides a network allocation method, which is applied to a network equipment to be allocated, where the method includes:
when the preset distribution network conditions are met, generating a distribution network request, and transmitting the distribution network request through a power line communication link;
receiving response information through the power line communication link, wherein the response information comprises a service set identifier;
and determining a target wireless network according to the service set identifier, and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication.
Further, the network allocation request includes a first device identifier, the response information further includes a second device identifier, and the determining the target network according to the service set identifier includes:
and if the second equipment identifier is the same as the first equipment identifier, determining the wireless network corresponding to the service set identifier as a target wireless network.
Further, when the preset network allocation condition is met, generating a network allocation request includes:
and if the network distribution key of the network distribution equipment to be distributed is detected to be pressed, generating a network distribution request.
Further, when the preset network allocation condition is met, generating a network allocation request includes:
and if the network equipment to be distributed is detected to be accessed into the power line communication link, generating a network distribution request. Characterized in that it is applied to a network device, said method comprising:
acquiring a network allocation request sent by a network allocation device to be allocated through a power line communication link;
generating response information according to the distribution network request, and transmitting the response information through a power line communication link;
if the WPS key is detected to be triggered, networking with the equipment to be networked in a WPS connection mode.
Further, the generating response information according to the network allocation request includes:
analyzing the network allocation request to obtain a first equipment identifier of the equipment to be allocated;
and generating response information according to the first equipment identifier and the service set identifier of the wireless network where the network equipment is located.
In a third aspect, an embodiment of the present application provides a network device to be configured, including:
the first processing unit is used for generating a network distribution request when a preset network distribution condition is met, and transmitting the network distribution request through a power line communication link;
a receiving unit, configured to receive response information through the power line communication link, where the response information includes a service set identifier;
and the second processing unit is used for determining a target wireless network according to the service set identifier and networking with the target wireless network through a WPS connection mode set by Wi-Fi safety protection authentication.
Further, the network allocation request includes a first device identifier, the response information further includes a second device identifier, and the second processing unit is specifically configured to:
and if the second equipment identifier is the same as the first equipment identifier, determining the wireless network corresponding to the service set identifier as a target wireless network.
Further, the first processing unit is specifically configured to:
and if the network distribution key of the network distribution equipment to be distributed is detected to be pressed, generating a network distribution request.
Further, the first processing unit is specifically configured to:
and if the network equipment to be distributed is detected to be accessed into the power line communication link, generating a network distribution request.
In a fourth aspect, embodiments of the present application provide a network device, including:
the acquisition unit is used for acquiring a network distribution request sent by the network distribution equipment to be distributed through a power line communication link;
the first processing unit is used for generating response information according to the distribution network request and transmitting the response information through a power line communication link;
and the second processing unit is used for networking with the equipment to be distributed through the WPS connection mode if the WPS key is detected to be triggered.
Further, the first processing unit is specifically configured to:
analyzing the network allocation request to obtain a first equipment identifier of the equipment to be allocated;
and generating response information according to the first equipment identifier and the service set identifier of the wireless network where the network equipment is located.
In a fifth aspect, an embodiment of the present application provides a device to be configured, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the network configuration method according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a network device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the computer program to implement the network deployment method according to the second aspect.
In a seventh aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program is executed by a processor to implement the network allocation method according to the first aspect.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program, where the computer program is executed by a processor to implement the network allocation method according to the second aspect.
In the embodiment of the application, when the equipment to be distributed meets the preset distribution condition, a distribution network request is generated, and the distribution network request is transmitted through a power line communication link; receiving response information through the power line communication link, wherein the response information comprises a service set identifier; and determining a target wireless network according to the service set identifier, and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication. According to the method, when the network equipment to be distributed is used for distributing the network, the mobile terminal is not required to be relied on, the network distribution request is only generated when the preset network distribution condition is met, the network distribution request is transmitted through the power line communication link, the response information is received through the power line communication link, the network distribution can be realized, the network distribution process is simple, errors are not easy to occur, and the success rate of the network distribution is improved. In addition, the password is not required to be transmitted when the network is allocated, so that the condition of password leakage is avoided.
On the other hand, the network equipment acquires a network allocation request sent by the network equipment to be allocated through a power line communication link; generating response information according to the distribution network request, and transmitting the response information through a power line communication link; if the WPS key is detected to be triggered, networking with the equipment to be networked in a WPS connection mode. According to the method, when the network equipment performs network distribution with the network equipment to be distributed, the network equipment does not need to rely on a mobile terminal, and only needs to acquire a network distribution request sent by the network equipment to be distributed through a power line communication link; the response information is generated according to the distribution network request, and the response information is transmitted through the power line communication link, so that the distribution network can be realized, the distribution network process is simple, errors are not easy to occur, and the success rate of the distribution network is improved. In addition, the password is not required to be transmitted when the network is allocated, so that the condition of password leakage is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a distribution network system according to a first embodiment of the present application;
fig. 2 is a schematic flow chart of a network allocation method according to a second embodiment of the present application;
fig. 3 is a schematic flow chart of a network allocation method according to a third embodiment of the present application;
fig. 4 is a schematic diagram of a network device to be configured according to a fourth embodiment of the present application;
fig. 5 is a schematic diagram of a network device according to a fifth embodiment of the present application;
fig. 6 is a schematic diagram of a network device to be configured according to a sixth embodiment of the present application;
fig. 7 is a schematic diagram of a network device according to a seventh embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic diagram of a distribution network system according to a first embodiment of the present application. The network distribution system comprises network equipment to be distributed and network equipment. Both the network device to be provisioned and the network device need to support both power line communication (Power Line Communication, PLC) technology and WiFi protection setup (Wi-Fi Protected Setup, WPS) technology.
WPS is an authentication project implemented by Wi-Fi alliance organizations, and is mainly aimed at simplifying the installation and security performance configuration work of wireless local area networks. When the user is connected with the network, the WPS can help the user to automatically set the network name, configure powerful WPA data coding and authentication functions, and the user can safely connect to the network by only inputting personal information codes or pressing a button.
PLC technology refers to a communication scheme that uses power lines to transmit data and media signals. The technology is that the high frequency carrying information is loaded on the current and then the adapter for receiving the information is transmitted by the wire, and then the high frequency is separated from the current and transmitted to the computer or the telephone to realize information transmission.
The equipment to be distributed is PLC terminal equipment, the PLC terminal equipment is responsible for transmitting data from a user to the PLC local side equipment through a power line, and the PLC local side equipment demodulates the signal and accesses to the external Internet. The network equipment is PLC local side equipment, and the PLC local side equipment is responsible for communication with internal PLC terminal equipment and connection with an external Internet network.
The network equipment to be distributed and the network equipment establish a power line communication link through a power line, and the network equipment to be distributed and the network equipment can transmit information through the power line communication link. The specific network allocation method can be referred to in the following embodiments.
Referring to fig. 2, fig. 2 is a schematic flowchart of a network allocation method according to a second embodiment of the present application. In this embodiment, an execution main body of the network distribution method is a device to be distributed, for example, a mobile terminal, a notebook computer, an intelligent home device, and the like. The network allocation method as shown in fig. 2 may include:
s101: and when the preset distribution network conditions are met, generating a distribution network request, and transmitting the distribution network request through a power line communication link.
And storing preset distribution network conditions in the equipment to be distributed, and generating a distribution network request when the equipment to be distributed meets the preset distribution network conditions. The preset network allocation conditions are not limited herein, and in one embodiment, the preset network allocation conditions may be satisfied when a network allocation key of the network equipment to be allocated is pressed, that is, the preset network allocation conditions are satisfied; in one embodiment, the satisfaction of the preset network allocation condition may be that the device to be allocated accesses the power line communication link, that is, the satisfaction of the preset network allocation condition.
Therefore, according to different network distribution conditions, different modes for triggering the network equipment to be distributed to perform network distribution can be provided.
In one embodiment, if a network allocation key of the network equipment to be allocated is detected to be pressed, a network allocation request is generated. The network distribution key of the network distribution equipment can be a power key of the network distribution equipment, and the user presses the power key of the network distribution equipment to trigger the network distribution equipment to generate a network distribution request. Here, the manner in which the user presses the distribution key of the to-be-distributed network device is not limited, and the user may press the distribution key in a preset manner, so as to trigger the to-be-distributed network device to generate the distribution request, for example, the user may press the distribution key for 5 seconds or press the distribution key for 3 times continuously, so as to trigger the to-be-distributed network device to generate the distribution request.
In one embodiment, if the network device to be configured is detected to access the power line communication link, a network configuration request is generated. In this embodiment, the user does not need to manually press the network distribution key, and if the network distribution equipment detects that the power line communication link is accessed, the network distribution equipment is directly triggered to generate a network distribution request.
After the network distribution equipment generates the network distribution request, the network distribution request is transmitted through the power line communication link.
In one embodiment, when the network device to be configured only needs to be connected to any network, and does not need to be connected to a specific network, that is, the network device to be configured does not confirm the corresponding network device, the network device to be configured can transmit the network configuration request in a broadcast manner, the network device receiving the network configuration request can directly generate response information for the network configuration request, and the response information is sent to the network device to be configured through the power line communication link. And the equipment to be distributed is distributed according to the response information.
In one embodiment, when the network device to be configured is to be connected to the target wireless network, that is, the network device to be configured needs to confirm the corresponding network device, the network device to be configured is connected to the target wireless network corresponding to the network device. The network equipment to be distributed sends the network distribution request to the network equipment through a power line communication link. The network device generates response information for the distribution network request and sends the response information to the device to be distributed through the power line communication link. And the equipment to be distributed is distributed according to the response information.
S102: response information is received over the power line communication link, the response information including a service set identification.
The network equipment to be configured receives response information through the power line communication link, wherein the response information comprises service set identifiers (Service Set Identifier, SSID), the SSID is an identifier of one or a group of infrastructure mode wireless networks, and the network equipment to be configured can determine a target wireless network according to the service set identifiers so as to be connected to the target wireless network corresponding to the network equipment.
S103: and determining a target wireless network according to the service set identifier, and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication.
And the equipment to be configured determines a target wireless network according to the service set identifier, and establishes a WPS connection mode with the target wireless network through Wi-Fi safety protection authentication.
When networking is performed with a target wireless network in a WPS connection mode, the equipment to be connected initiates connection according to the service set identifier, and the network equipment also needs to be triggered to perform authorized connection, so that the equipment to be connected can be networked with the target wireless network. The network device can be authorized to connect by pressing a WPS key trigger on the network device by a user.
In one embodiment, in order to avoid connection errors and improve accuracy and efficiency of the distribution network, the request of the distribution network may include a first device identifier, and the response information may further include a second device identifier. The first equipment identifier is a first equipment identifier of the equipment to be distributed, the first equipment identifier is acquired by the equipment to be distributed, and the second equipment identifier is the equipment identifier of the equipment which is contained in the response information generated by the network equipment and used for sending the distribution network request. If the second equipment identifier is the same as the first equipment identifier, that is, the response information received by the equipment to be distributed is consistent with the equipment identifier in the distribution network request sent by the equipment to be distributed, and the wireless network corresponding to the service set identifier in the response information is confirmed to be the wireless network to which the equipment to be distributed can be connected, the wireless network corresponding to the service set identifier is determined to be the target wireless network.
In the embodiment of the application, when the equipment to be distributed meets the preset distribution condition, a distribution network request is generated, and the distribution network request is transmitted through a power line communication link; receiving response information through the power line communication link, wherein the response information comprises a service set identifier; and determining a target wireless network according to the service set identifier, and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication. According to the method, when the network equipment to be distributed is used for distributing the network, the mobile terminal is not required to be relied on, the network distribution request is only generated when the preset network distribution condition is met, the network distribution request is transmitted through the power line communication link, the response information is received through the power line communication link, the network distribution can be realized, the network distribution process is simple, errors are not easy to occur, and the success rate of the network distribution is improved. In addition, the password is not required to be transmitted when the network is allocated, so that the condition of password leakage is avoided.
Referring to fig. 3, fig. 3 is a schematic flowchart of a network allocation method according to a third embodiment of the present application. In this embodiment, an execution body of the network allocation method is a network device, for example, a router. The network allocation method as shown in fig. 3 may include:
s201: and acquiring a network distribution request sent by the network distribution equipment to be distributed through a power line communication link.
When the equipment to be distributed meets the preset distribution network conditions, generating a distribution network request, and transmitting the distribution network request through a power line communication link. The network equipment end obtains a network distribution request sent by the network equipment to be distributed through a power line communication link.
S202: and generating response information according to the distribution network request, and transmitting the response information through a power line communication link.
The network equipment receives the network allocation request, directly responds to the network allocation request, sends the service set identification of the wireless network where the network equipment is located to the equipment to be allocated, namely, the network equipment generates response information according to the network allocation request, and transmits the response information through a power line communication link. The response information comprises a service set identifier of a wireless network where the network equipment is located.
In one embodiment, the network allocation request may include a first device identifier, where the first device identifier is a self first device identifier obtained by a network allocation device. The network device can analyze the network allocation request to obtain a first device identifier of the device to be allocated, and generates response information according to the first device identifier and a service set identifier of the wireless network where the network device is located. The network equipment acquires a service set identifier of a wireless network where the network equipment is located, determines a second equipment identifier according to the first equipment identifier, and generates response information according to the second equipment identifier and the service set identifier. The second device identifier is a device identifier of the device sending the network allocation request, which is included in the response information generated by the network device.
The network device transmits response information over the power line communication link, the response information including a second device identification and a service set identification. After receiving the response information, the network equipment to be distributed determines the wireless network corresponding to the service set identifier as a target wireless network if the second equipment identifier is detected to be the same as the first equipment identifier, namely, the response information received by the network equipment to be distributed is consistent with the equipment identifier in the network distribution request sent by the network equipment to be distributed, and the wireless network corresponding to the service set identifier in the response information is confirmed to be the wireless network connectable to the network equipment to be distributed.
S203: if the WPS key is detected to be triggered, networking with the equipment to be networked in a WPS connection mode.
The network equipment to be configured initiates connection according to the service set identifier, and the network equipment also needs to be triggered to carry out authorized connection. The bare mesh device may be triggered by the WPS key, triggering an authorized connection. The network device may authorize the connection by the user pressing a WPS key trigger on the network device. If the network equipment detects that the WPS key is triggered, networking with the equipment to be matched with the network through a WPS connection mode.
In this embodiment, the network device obtains a network allocation request sent by the network to be allocated device through a power line communication link; generating response information according to the distribution network request, and transmitting the response information through a power line communication link; if the WPS key is detected to be triggered, networking with the equipment to be networked in a WPS connection mode. According to the method, when the network equipment performs network distribution with the network equipment to be distributed, the network equipment does not need to rely on a mobile terminal, and only needs to acquire a network distribution request sent by the network equipment to be distributed through a power line communication link; the response information is generated according to the distribution network request, and the response information is transmitted through the power line communication link, so that the distribution network can be realized, the distribution network process is simple, errors are not easy to occur, and the success rate of the distribution network is improved. In addition, the password is not required to be transmitted when the network is allocated, so that the condition of password leakage is avoided.
It should be understood that the second embodiment and the third embodiment may be combined into an embodiment to describe in detail the inventive concept of the network distribution method of the present invention.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Referring to fig. 4, fig. 4 is a schematic diagram of a network device to be configured according to a fourth embodiment of the present application. The units included are for performing the steps in the corresponding embodiment of fig. 2. Refer specifically to the description of the corresponding embodiment in fig. 2. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, the network device 4 to be configured includes:
the first processing unit 410 is configured to generate a network allocation request when a preset network allocation condition is satisfied, and transmit the network allocation request through a power line communication link;
a receiving unit 420, configured to receive response information through the power line communication link, where the response information includes a service set identifier;
the second processing unit 430 is configured to determine a target wireless network according to the service set identifier, and network with the target wireless network through setting a WPS connection mode by Wi-Fi security protection authentication.
Further, the network allocation request includes a first device identifier, the response information further includes a second device identifier, and the second processing unit 430 is specifically configured to:
and if the second equipment identifier is the same as the first equipment identifier, determining the wireless network corresponding to the service set identifier as a target wireless network.
Further, the first processing unit 410 is specifically configured to:
and if the network distribution key of the network distribution equipment to be distributed is detected to be pressed, generating a network distribution request.
Further, the first processing unit 410 is specifically configured to:
and if the network equipment to be distributed is detected to be accessed into the power line communication link, generating a network distribution request.
Referring to fig. 5, fig. 5 is a schematic diagram of a network device according to a fifth embodiment of the present application. The units included are for performing the steps in the corresponding embodiment of fig. 3. Refer specifically to the description of the corresponding embodiment in fig. 3. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 5, the network device 5 includes:
an obtaining unit 510, configured to obtain a network allocation request sent by a network allocation device to be allocated through a power line communication link;
a first processing unit 520, configured to generate response information according to the network allocation request, and transmit the response information through a power line communication link;
and the second processing unit 530 is configured to, if the WPS key is detected to be triggered, network the to-be-configured network device through a WPS connection manner.
Further, the first processing unit 520 is specifically configured to:
analyzing the network allocation request to obtain a first equipment identifier of the equipment to be allocated;
and generating response information according to the first equipment identifier and the service set identifier of the wireless network where the network equipment is located.
Fig. 6 is a schematic diagram of a network device to be configured according to a sixth embodiment of the present application. As shown in fig. 6, the network to be configured device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62, such as a distribution network program, stored in said memory 61 and being executable on said processor 60. The steps of the various network distribution method embodiments described above, such as steps 101 through 103 shown in fig. 2, are implemented by the processor 60 when executing the computer program 62. Alternatively, the processor 60, when executing the computer program 62, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 410-430 shown in fig. 4.
By way of example, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing a specific function describing the execution of the computer program 62 in the network device 6 to be provisioned. For example, the computer program 62 may be divided into a first processing unit, a broadcasting unit, a receiving unit, and a second processing unit, each unit specifically functioning as follows:
the first processing unit is used for generating a network distribution request when a preset network distribution condition is met, and transmitting the network distribution request through a power line communication link;
a receiving unit, configured to receive response information through the power line communication link, where the response information includes a service set identifier;
and the second processing unit is used for determining a target wireless network according to the service set identifier and networking with the target wireless network through a WPS connection mode set by Wi-Fi safety protection authentication.
The network device to be configured may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 6 is merely an example of the network device 6 to be configured and does not constitute a limitation of the network device 6 to be configured, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the network device to be configured may further include an input-output device, a network access device, a bus, etc.
The processor 60 may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the network device 6 to be configured, for example, a hard disk or a memory of the network device 6 to be configured. The memory 61 may also be an external storage device of the network device 6 to be configured, for example, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the network device 6 to be configured. Further, the network device 6 to be configured may further include both an internal storage unit and an external storage device of the network device 6 to be configured. The memory 61 is used for storing the computer program and other programs and data required by the network device to be configured. The memory 61 may also be used for temporarily storing data that has been output or is to be output.
Fig. 7 is a schematic diagram of a network device according to a seventh embodiment of the present application. As shown in fig. 7, the network device 7 of this embodiment includes: a processor 70, a memory 71 and a computer program 72, e.g. a distribution network program, stored in said memory 71 and executable on said processor 70. The steps of the various network distribution method embodiments described above, such as steps 301 through 303 shown in fig. 3, are implemented by the processor 70 when executing the computer program 72. Alternatively, the processor 70, when executing the computer program 72, performs the functions of the modules/units of the apparatus embodiments described above, such as the functions of the modules 510-530 shown in fig. 5.
By way of example, the computer program 72 may be partitioned into one or more modules/units that are stored in the memory 71 and executed by the processor 70 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 72 in the network device 7. For example, the computer program 72 may be divided into an acquisition unit, a first processing unit, and a second processing unit, and each module specifically functions as follows:
the acquisition unit is used for acquiring a network distribution request sent by the network distribution equipment to be distributed through a power line communication link;
the first processing unit is used for generating response information according to the distribution network request and transmitting the response information through a power line communication link;
and the second processing unit is used for networking with the equipment to be distributed through the WPS connection mode if the WPS key is detected to be triggered.
The network device may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is merely an example of network device 7 and is not limiting of network device 7, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the network device may also include input-output devices, network access devices, buses, etc.
The processor 70 may be a central processing unit (Central Processing Unit, CPU), or may be another general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 71 may be an internal storage unit of the network device 7, such as a hard disk or a memory of the network device 7. The memory 71 may be an external storage device of the network device 7, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the network device 7. Further, the network device 7 may also include both an internal storage unit and an external storage device of the network device 7. The memory 71 is used for storing the computer program as well as other programs and data required by the network device. The memory 71 may also be used for temporarily storing data that has been output or is to be output.
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the application also provides a network device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, which when executed by the processor performs the steps of any of the various method embodiments described above.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps that may implement the various method embodiments described above.
Embodiments of the present application provide a computer program product which, when run on a mobile terminal, causes the mobile terminal to perform steps that may be performed in the various method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other manners. For example, the apparatus/network device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (5)

1. A method for distributing a network, applied to a device to be distributed, the method comprising:
when the preset distribution network conditions are met, generating a distribution network request, and transmitting the distribution network request through a power line communication link;
receiving response information through the power line communication link, wherein the response information comprises a service set identifier, and the response information does not comprise a password;
determining a target wireless network according to the service set identifier, and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication;
the network allocation request comprises a first equipment identifier, the response information further comprises a second equipment identifier, and the determining the target wireless network according to the service set identifier comprises the following steps:
and if the second equipment identifier is the same as the first equipment identifier, determining the wireless network corresponding to the service set identifier as a target wireless network.
2. The network allocation method of claim 1, wherein generating the network allocation request when the preset network allocation condition is satisfied comprises:
and if the network distribution key of the network distribution equipment to be distributed is detected to be pressed, generating a network distribution request.
3. The network allocation method of claim 1, wherein generating the network allocation request when the preset network allocation condition is satisfied comprises:
and if the network equipment to be distributed is detected to be accessed into the power line communication link, generating a network distribution request.
4. A network device to be configured, comprising:
the first processing unit is used for generating a network distribution request when a preset network distribution condition is met, and transmitting the network distribution request through a power line communication link;
a receiving unit, configured to receive response information through the power line communication link, where the response information includes a service set identifier, and the response information does not include a password;
the second processing unit is used for determining a target wireless network according to the service set identifier and networking with the target wireless network through setting a WPS (wireless fidelity) connection mode by Wi-Fi safety protection authentication;
the network allocation request comprises a first equipment identifier, the response information further comprises a second equipment identifier, and the determining the target wireless network according to the service set identifier comprises the following steps:
and if the second equipment identifier is the same as the first equipment identifier, determining the wireless network corresponding to the service set identifier as a target wireless network.
5. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method according to any one of claims 1 to 3.
CN202011399786.0A 2020-12-04 2020-12-04 Network distribution method, network equipment to be distributed and network equipment Active CN112714009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011399786.0A CN112714009B (en) 2020-12-04 2020-12-04 Network distribution method, network equipment to be distributed and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011399786.0A CN112714009B (en) 2020-12-04 2020-12-04 Network distribution method, network equipment to be distributed and network equipment

Publications (2)

Publication Number Publication Date
CN112714009A CN112714009A (en) 2021-04-27
CN112714009B true CN112714009B (en) 2023-06-06

Family

ID=75543340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011399786.0A Active CN112714009B (en) 2020-12-04 2020-12-04 Network distribution method, network equipment to be distributed and network equipment

Country Status (1)

Country Link
CN (1) CN112714009B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630727B (en) * 2021-07-09 2023-04-07 珠海荣邦智能科技有限公司 Intelligent household network distribution method, device and system, electronic equipment and storage medium
CN117715040B (en) * 2024-02-06 2024-04-30 国网四川省电力公司信息通信公司 Distribution network communication method and device of DPLC modules

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009109731A1 (en) * 2008-03-06 2009-09-11 Freedom Digital Networks Limited Powerline communications network installation method
CN107171905A (en) * 2017-05-10 2017-09-15 广东美的制冷设备有限公司 Home appliance distribution method and apparatus
CN108832967A (en) * 2018-05-03 2018-11-16 四川斐讯信息技术有限公司 A kind of intelligent socket, smart machine and network collocating method
CN111093248A (en) * 2019-12-16 2020-05-01 北京小米移动软件有限公司 Network distribution method, network distribution device and electronic equipment
CN111866997A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 WPS connection-based network distribution method, network to be distributed equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009109731A1 (en) * 2008-03-06 2009-09-11 Freedom Digital Networks Limited Powerline communications network installation method
CN107171905A (en) * 2017-05-10 2017-09-15 广东美的制冷设备有限公司 Home appliance distribution method and apparatus
CN108832967A (en) * 2018-05-03 2018-11-16 四川斐讯信息技术有限公司 A kind of intelligent socket, smart machine and network collocating method
CN111093248A (en) * 2019-12-16 2020-05-01 北京小米移动软件有限公司 Network distribution method, network distribution device and electronic equipment
CN111866997A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 WPS connection-based network distribution method, network to be distributed equipment and storage medium

Also Published As

Publication number Publication date
CN112714009A (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN106332224B (en) Equipment network distribution method, device and system
CN110798833B (en) Method and device for verifying user equipment identification in authentication process
CN106535288B (en) Method for sending and acquiring wifi networking information and corresponding device
US8656027B2 (en) Wireless communication system, wireless communication apparatus, method for disconnection process thereof, and storage medium
CN111465014B (en) Security authentication method, configuration method and related equipment
CN108605277B (en) Method and device for establishing wireless local area network connection
JP2011254469A (en) Method, device and system for configuring wifi parameter
CN110602691A (en) Mobile communication method and device based on block chain network
CN107979864B (en) Access method, device and system of access point
CN112714009B (en) Network distribution method, network equipment to be distributed and network equipment
US20070118748A1 (en) Arbitrary MAC address usage in a WLAN system
CN112261604B (en) Network distribution method of intelligent terminal, configuration terminal, intelligent terminal and medium
US9730252B2 (en) Quick connection between customized softap and STA
WO2015085671A1 (en) Wireless network access method and access apparatus
CN113132983B (en) Network disconnection reconnection method for intelligent terminal
CN104066083B (en) Method and device for accessing wireless local area network
CN110784865A (en) Network distribution method and terminal of Internet of things equipment, Internet of things equipment and network distribution system
US20220070976A1 (en) Data transmission method, apparatus, and system
CN111770094B (en) Access control method of wireless network and related device
CN107026857B (en) Information processing method and gateway equipment
WO2018049655A1 (en) Device networking method, apparatus and system
CN116347656A (en) Bluetooth encryption connection method and device and electronic equipment
CN107666443B (en) Message forwarding method and device
WO2017095303A1 (en) Provisioning node, communication node and methods therein for handling key identifiers in wireless communication
CN105848146B (en) WIFI automatic connection method, device and system

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