CN108307479A - Communication module, network distribution method and device thereof, storage medium, equipment and terminal - Google Patents

Communication module, network distribution method and device thereof, storage medium, equipment and terminal Download PDF

Info

Publication number
CN108307479A
CN108307479A CN201711346363.0A CN201711346363A CN108307479A CN 108307479 A CN108307479 A CN 108307479A CN 201711346363 A CN201711346363 A CN 201711346363A CN 108307479 A CN108307479 A CN 108307479A
Authority
CN
China
Prior art keywords
information
communication module
distribution network
needing
networking
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.)
Granted
Application number
CN201711346363.0A
Other languages
Chinese (zh)
Other versions
CN108307479B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201711346363.0A priority Critical patent/CN108307479B/en
Publication of CN108307479A publication Critical patent/CN108307479A/en
Application granted granted Critical
Publication of CN108307479B publication Critical patent/CN108307479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • 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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The invention provides a communication module and a network distribution method, a network distribution device, a storage medium, equipment and a terminal thereof, wherein the method comprises the following steps: receiving distribution network information sent by a terminal or other communication modules; searching whether a communication module needing to be distributed exists in the currently scanned communication modules according to the information of the communication modules needing to be distributed; if yes, selecting any communication module needing to be distributed as a first target communication module, and sending the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules needing to be distributed and/or performs networking according to the networking configuration information in the received distribution network information. According to the scheme provided by the invention, the terminal sends the distribution network information to any communication module, and then the distribution network information is transmitted from one communication module to another communication module in a point-to-point communication mode among the communication modules until the distribution network information is transmitted to all communication modules needing distribution, so that the distribution network of the communication modules needing distribution is realized.

Description

Communication module, network distribution method and device thereof, storage medium, equipment and terminal
Technical Field
The present invention relates to the field of control, and in particular, to a communication module, a network distribution method and apparatus thereof, a storage medium, a device, and a terminal.
Background
With the application of wireless technology, the coverage range of WiFi is wider and wider, and the application occasions of WiFi modules are more and more, but for the existing WiFi distribution network, the commonly used method is that a mobile phone is used for sending multicast or broadcast, then the WiFi modules enter a sniffer mode, and a multicast or broadcast data packet is captured to obtain configuration information, once the encoding rules are known by people, the mode is easy to obtain relevant information by people, and therefore the safety is poor; and have certain requirement to the equipment of distribution network, some routers will intercept the multicast package, and it is more troublesome convenient not enough to operate to, and, current distribution network mode so that all need download installation dedicated customer end (APP), need occupy the memory space of terminal.
Disclosure of Invention
The main purpose of the present invention is to overcome the defects of the prior art, and provide a communication module, a network distribution method, a network distribution device, a storage medium, a device, and a terminal thereof, so as to solve the problems of security and convenience in transmitting network distribution information by multicast or broadcast transmission in the prior art.
One aspect of the present invention provides a network distribution method for a communication module, which is used for the communication module and includes: receiving distribution network information sent by a terminal or other communication modules, wherein the distribution network information comprises networking configuration information and communication module information needing a distribution network; searching whether a communication module needing to be distributed exists in the currently scanned communication modules according to the information of the communication modules needing to be distributed; if yes, selecting any scanned communication module needing to be distributed with the network as a first target communication module, and sending the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules needing to be distributed with the network and/or performs networking according to the networking configuration information in the received distribution network information.
Optionally, before receiving the distribution network information sent by the terminal, the method further includes: receiving a configuration page acquisition request sent by the terminal, wherein the configuration page acquisition request is used for acquiring a preset configuration page; responding to the received configuration page acquisition request, and returning the preset configuration page to the terminal; the terminal receives a preset IP address input by a user through a browser, and sends the configuration page acquisition request based on the preset IP address; and/or the preset configuration page is displayed with the currently scanned communication module information and an input area for inputting the networking configuration information.
Optionally, sending the distribution network information to the first target communication module includes: and after the information of the communication module of the network needing to be distributed, which is included in the distribution network information, is removed, the information is sent to the first target communication module.
Optionally, when a communication module needing a distribution network is not found in the currently scanned communication modules, or after the distribution network information is sent to the first target communication module, the method further includes: and enabling the communication module to carry out networking according to the networking configuration information in the received distribution network information.
Optionally, the communication module comprises a WiFi module; and/or, the networking configuration information comprises: router information or access point information; the router information or access point information includes: a network identification and password of the router or access point; and/or the information of the communication module needing to be distributed comprises: network identification of a communication module of a network to be distributed; and/or when the currently scanned communication module information and an input area for inputting the networking configuration information are displayed on the preset configuration page, the networking configuration information is input in the input area for inputting the networking configuration information displayed on the terminal by a user; and/or the communication module of the distribution network is selected from currently searched communication module information displayed on the terminal by a user.
Optionally, when the distribution network information sent by the terminal is received, after all the communication modules needing distribution network except the communication module to which the terminal belongs are scanned to be successfully networked, the communication module to which the terminal belongs is enabled to perform networking according to the networking configuration information in the received distribution network information.
Another aspect of the present invention provides a network distribution method for a communication module, which is used for a terminal and includes: and sending distribution network information to a second target communication module, so that the second target communication module sends the distribution network information to any scanned communication module needing the distribution network under the condition that the communication module needing the distribution network exists in the currently scanned communication modules according to the communication module information needing the distribution network included in the distribution network information, or networking according to the distribution network configuration information included in the distribution network information under the condition that the communication module needing the distribution network does not exist in the currently scanned communication modules according to the communication module information needing the distribution network not searched in the distribution network information.
Optionally, before sending the distribution network information to the second target communication module, the method further includes: sending a configuration page acquisition request to the second target communication module, wherein the configuration page acquisition request is used for acquiring a preset configuration page; receiving the preset configuration page returned by the second target communication module; the page acquisition request is sent to the second target communication module based on a preset IP address received by a browser and input by a user; and the preset configuration page displays the information of the communication module currently searched by the second target communication module and an input area for inputting the networking configuration information.
Optionally, before sending the distribution network information to the second target communication module, the method further includes: and receiving the communication module information of the required distribution network selected from the currently searched communication module information displayed on the preset configuration page by the user and the networking configuration information input in the input area.
Optionally, the networking configuration information includes: router information or access point information; the router information or access point information includes: a network identification and password of the router or access point; and/or the information of the communication module needing to be distributed comprises: and network identification of the communication module of the distribution network.
One aspect of the present invention further provides a network distribution device for a communication module, which is used for the communication module and includes: the first receiving unit is used for receiving distribution network information sent by a terminal or other communication modules, wherein the distribution network information comprises the distribution network configuration information and the communication module information needing distribution; the searching unit is used for searching whether a communication module needing distribution exists in the currently scanned communication modules according to the communication module information needing distribution received by the receiving unit; the sending unit is used for selecting any one of the scanned communication modules needing the distribution network as a first target communication module if the searching unit searches that the communication modules needing the distribution network exist in the currently scanned communication modules, and sending the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules needing the distribution network and/or performs networking according to the received networking configuration information in the distribution network information.
Optionally, the apparatus further comprises: a second receiving unit, configured to receive a configuration page acquisition request sent by the terminal, where the configuration page acquisition request is used to acquire a preset configuration page; a returning unit, configured to return the preset configuration page to the terminal in response to the received configuration page acquisition request; the terminal receives a preset IP address input by a user through a browser, and sends the configuration page acquisition request based on the preset IP address; and/or the preset configuration page is displayed with the currently searched communication module information and an input area for inputting the networking configuration information.
Optionally, the sending unit is further configured to: and after the information of the communication module of the network needing to be distributed, which is included in the distribution network information, is removed, the information is sent to the first target communication module.
Optionally, the apparatus further comprises: and the networking unit is used for enabling the communication module to be networked according to the networking configuration information in the received networking information when the searching unit does not search the communication modules needing to be networked in the currently scanned communication modules, or after the sending unit sends the networking information to the first target communication module.
Optionally, the communication module comprises a WiFi module; and/or, the networking configuration information comprises: router information or access point information; the router information or access point information includes: a network identification and password of the router or access point; and/or the information of the communication module needing to be distributed comprises: network identification of a communication module of a network to be distributed; and/or when the currently scanned communication module information and an input area for inputting the networking configuration information are displayed on the preset configuration page, the networking configuration information is input in the input area for inputting the networking configuration information displayed on the terminal by a user; and/or the communication module of the distribution network is selected from currently searched communication module information displayed on the terminal by a user.
Optionally, the apparatus further comprises: the scanning unit is used for scanning whether all communication modules needing to be distributed except the communication module to which the communication module belongs are successfully networked or not according to the information of the communication modules needing to be distributed under the condition of receiving the distribution network information sent by the terminal; and the networking unit enables the communication module to be networked according to the networking configuration information in the received distribution network information after the scanning unit scans that all the communication modules needing to be distributed except the communication module are successfully networked.
Another aspect of the present invention further provides a network distribution device for a communication module, which is used for a terminal and includes: the information sending unit is used for sending distribution network information to a second target communication module, so that the second target communication module sends the distribution network information to any one of the scanned communication modules needing the distribution network under the condition that the communication modules needing the distribution network exist in the currently scanned communication modules according to the communication module information needing the distribution network included in the distribution network information, or carries out networking according to the networking configuration information included in the distribution network information under the condition that the communication modules needing the distribution network exist in the currently scanned communication modules not searched according to the communication module information needing the distribution network included in the distribution network information.
Optionally, the apparatus further comprises: the device comprises a request sending unit, a configuration page acquiring unit and a configuration page processing unit, wherein the request sending unit is used for sending a configuration page acquiring request to a second target communication module before the information sending unit sends distribution network information to the second target communication module, and the configuration page acquiring request is used for acquiring a preset configuration page; the page receiving unit is used for receiving the preset configuration page returned by the second target communication module; the page acquisition request is sent to the second target communication module based on a preset IP address received by a browser and input by a user; and the preset configuration page displays the information of the communication module currently searched by the second target communication module and an input area for inputting the networking configuration information.
Optionally, the apparatus further comprises: and the information receiving unit is used for receiving the communication module information of the required distribution network selected by the user from the currently searched communication module information displayed on the preset configuration page and the networking configuration information input in the input area before the information sending unit sends the distribution network information to the second target communication module.
Optionally, the networking configuration information includes: router information or access point information; the router information or access point information includes: a network identification and password of the router or access point; and/or the information of the communication module needing to be distributed comprises: and network identification of the communication module of the distribution network.
A further aspect of the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above for a communication module or carries out the steps of any of the methods described above for a terminal.
A further aspect of the invention provides a communication module comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods for the communication module as described above when executing the program.
In another aspect, the invention provides a communication module, which includes any one of the above described communication module network distribution devices for communication modules.
In a further aspect, the invention provides a device comprising a communication module as described in any of the preceding.
A further aspect of the invention provides a terminal comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods for a terminal as described above when executing the program.
In another aspect, the invention provides a terminal, which includes any one of the foregoing communication module network distribution devices for a terminal.
According to the technical scheme, any communication module can be randomly selected by the terminal to serve as a distribution network starting point, after distribution network information is sent to the communication module serving as the distribution network starting point, the communication module randomly selects any communication module needing distribution network to transmit the distribution network information by scanning other communication modules needing distribution network, so that the distribution network information is transmitted from one communication module to another communication module in a point-to-point communication mode among the communication modules until all the communication modules needing distribution network are transmitted, and the distribution network of the communication modules needing distribution network is realized; the configuration page is saved in the communication module, and the communication module returns the configuration page to the terminal in response to the configuration page acquisition request of the terminal, so that the terminal acquires the distribution network information based on the configuration page, which is equivalent to embedding a web server in the communication module, and a user can complete the distribution network of the communication module and other communication modules by connecting the terminal with any communication module, and can perform the distribution network without a router, and only needs to support a corresponding communication mode and terminal equipment capable of browsing web pages; the scheme of the invention can also reduce the trouble of additionally installing APP for users, and can use any equipment with a browser to carry out network distribution, thus having simple operation.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of a method of an embodiment of a network distribution method for a communication module according to an aspect of the present invention;
fig. 2 is a schematic diagram of a method for distributing a network by using a communication module according to another embodiment of the present invention;
fig. 3 is a schematic method diagram of a network distribution method of a communication module according to another embodiment of the present invention;
fig. 4 is a schematic method diagram of a network distribution method of a communication module according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a method for distributing a network by using a communication module according to another embodiment of the present invention;
fig. 6 is a schematic diagram of a method for distributing a network by using a communication module according to another embodiment of the present invention;
fig. 7 is a schematic diagram of a method for distributing a network by using a communication module according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an embodiment of a network distribution device of a communication module according to an aspect of the present invention;
fig. 9 is a schematic structural diagram of another embodiment of a network distribution device of a communication module according to an aspect of the present invention;
fig. 10 is a schematic structural diagram of a communication module distribution network apparatus according to another embodiment of the present invention;
fig. 11 is a schematic structural diagram of an embodiment of a network distribution device of a communication module according to another aspect of the present invention;
fig. 12 is a schematic structural diagram of another embodiment of a network distribution device of a communication module according to another aspect of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention provides a network distribution method for a communication module, which can be used in the communication module. Fig. 1 is a schematic method diagram of an embodiment of a network distribution method for a communication module according to an aspect of the present invention.
As shown in fig. 1, according to an embodiment of the present invention, the method for distributing a network by a communication module at least includes step S110, step S120, and step S130.
Step S110, receiving distribution network information sent by a terminal or other communication modules, wherein the distribution network information comprises networking configuration information and WiFi module information needing to be distributed with a network.
The communication module may specifically be a communication module in a device, for example, a communication module in an electrical appliance such as an air conditioner, a washing machine, a refrigerator, a microwave oven, a water heater, and the like, and the communication module and/or the first communication module to which the method of the present invention belongs may include a WiFi module. The terminal specifically includes a mobile phone, a tablet computer, a notebook computer, and the like, and specifically is a terminal capable of performing Ad-Hoc (point-to-point) network connection and web browsing. The distribution network information comprises networking configuration information and communication module information of a network to be distributed.
And when the received distribution network information is sent by the terminal, the terminal acquires the distribution network information based on a preset configuration page. The preset configuration page may be stored in the communication module, and after receiving a page acquisition request sent by the terminal for acquiring the preset configuration page, the preset configuration page is returned to the terminal, where information of the currently searched communication module and an input area for inputting the networking configuration information are displayed on the preset configuration page. And the terminal receives the communication module information of the network to be distributed selected from all the currently searched communication module information displayed on the preset configuration page by the user and the networking configuration information input in the input area displayed on the preset configuration page.
The information of the communication module needing to be distributed comprises: network identification of a communication module of the network to be distributed, such as a network name (e.g., SSID); the networking configuration information includes: router information or access point information.
And step S120, searching whether the communication module needing to be distributed exists in the currently scanned communication modules according to the information of the communication modules needing to be distributed.
When the communication module is in a state of waiting for network distribution, the information of the communication module can be sent out, the information of the communication module sent by other communication modules in the state of waiting for network distribution can be obtained, and when the distribution network information sent by a terminal or other communication modules is received, whether a module needing to be distributed exists in the currently scanned communication module or not is searched according to the information of the communication module needing to be distributed in the distribution network information.
For example, after the WiFi module enters the state of network to be configured, the information of the WiFi module itself is sent out through beacon (beacon frame) of the Ad-Hoc network, and is periodically scanned, and the information of the WiFi module to be configured in the current environment, such as network identification and other information, is obtained through beacon.
Step S130, if yes, selecting any scanned communication module needing to be distributed as a first target communication module, and sending the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules needing to be distributed and/or performs networking according to the networking configuration information in the received distribution network information.
If the communication modules needing to be distributed exist in the currently scanned communication modules according to the information of the communication modules needing to be distributed, selecting any one of the scanned communication modules needing to be distributed as a first target communication module, and sending the information of the distribution network to the first target communication module. And after the information of the communication module of the distribution network is removed from the information of the communication module of the distribution network, the information is sent to the first target communication module.
The networking, by the first target communication module according to the networking configuration information in the received distribution network information, specifically includes: connecting to a corresponding router or access point according to the router information or access point information; the router information or access point information includes: a network identification (e.g., SSID) and password of the router or access point.
Fig. 2 is a schematic method diagram of another embodiment of a network distribution method for a communication module according to an aspect of the present invention. As shown in fig. 2, based on the above embodiment, the method for configuring a network for a communication module further includes step S102 and step S104.
Step S102, receiving a configuration page acquisition request sent by the terminal.
Specifically, before distribution network information sent by a terminal is received, a configuration page acquisition request sent by the terminal is received. The configuration page obtaining request is used for obtaining a preset configuration page. The terminal receives a preset IP address input by a user through a browser, and sends the configuration page acquisition request based on the preset IP address. For example, a user randomly selects a communication module needing to be distributed from communication modules in a to-be-distributed network state searched by a terminal for connection, opens a browser client installed on the terminal after the connection is successful, inputs a preset IP address, and sends a configuration page acquisition request to the selected communication module through a browser.
Step S104, responding to the received configuration page acquisition request, and returning the preset configuration page to the terminal.
And the preset configuration page is stored in the communication module, and when a configuration page acquisition request sent by the terminal is received, the preset configuration page is returned to the terminal. And displaying the currently searched communication module information and an input area for inputting the networking configuration information on the preset configuration page returned to the terminal. The terminal receives the communication module information needing to be distributed and the networking configuration information input in the input area and displayed on the preset configuration page, wherein the communication module information needing to be distributed and the networking configuration information are selected from all the currently searched communication module information displayed on the preset configuration page by a user, and the communication module information needing to be distributed and the networking configuration information are sent to the communication module.
Fig. 3 is a schematic method diagram of a network distribution method of a communication module according to still another embodiment of the present invention. As shown in fig. 3, based on any of the above embodiments, the method for configuring a network by using a communication module further includes step S140.
Step S140, enabling the communication module to perform networking according to the networking configuration information in the received distribution network information.
In a specific embodiment, when a communication module needing a distribution network is not found in currently scanned communication modules, the communication module is enabled to perform networking according to the networking configuration information in the received distribution network information.
In another specific embodiment, after the distribution network information is sent to the first target communication module, networking is performed according to the networking configuration information in the received distribution network information. Preferably, after the distribution network information is sent to the first target communication module, after a reply message of the target communication feedback that the reception is completed is received, the communication module is networked according to the received configuration information in the distribution network information.
Specifically, the networking according to the networking configuration information in the received distribution network information includes: connecting to a corresponding router or access point according to the router information or access point information; the router information or access point information includes: a network identification (e.g., SSID) and password of the router or access point.
Under the condition of receiving the distribution network information sent by the terminal, the communication module returns the preset configuration page to the terminal in response to the request of the terminal before receiving the distribution network information sent by the terminal, namely, the communication module serves as the communication module for returning the preset configuration page to the terminal, so that after all the communication modules needing to be distributed are scanned to be successfully networked, networking is performed according to the received networking configuration information in the distribution network information, and a user can check whether the selected communication module needing to be distributed is still in a to-be-distributed state or whether the distribution network is completed through refreshing the configuration page.
For clearly illustrating the technical solution of the present invention, an execution flow of the network distribution method for a communication module according to an aspect of the present invention is described below with a specific embodiment. Fig. 4 is a schematic method diagram of a network distribution method of a communication module according to an embodiment of the present invention. Taking the WiFi module as an example, as shown in fig. 4:
in step S1, the WiFi module 1 receives a configuration page acquisition request sent by the terminal.
For example, a user uses a terminal provided with a browser client, randomly selects a WiFi module 1 needing distribution of a network from WiFi modules to be distributed in a network state searched by the terminal for connection, opens the browser client after successful connection, inputs a preset IP address, and sends a page acquisition request to the WiFi module 1
In step S2, the WiFi module 1 returns a preset configuration page to the terminal.
After receiving the request, the WiFi module 1 returns a preset configuration page to the browser client of the terminal, and in the configuration page, information of all WiFi modules in the to-be-networked state in the current environment scanned by the WiFi module 1 and an input area for inputting WiFi networking configuration information are displayed.
Step S3, the WiFi module 1 receives the distribution network information sent by the terminal.
The network distribution information is the WiFi module information needing network distribution selected from all the WiFi module information to be distributed and displayed on the configuration page by the user, and the network distribution configuration information is input by the user in the input area displayed on the configuration page.
Step S4, the WiFi module 1 scans whether there is a WiFi module that needs to distribute network in the current environment according to the WiFi module information that needs to distribute network.
If the WiFi module needing to be distributed is not scanned, executing step S5; if the WiFi module needing to be distributed is scanned, step S6 is executed.
And step S5, if the WiFi module needing to be distributed is not scanned, networking according to the networking configuration information.
And step S6, randomly selecting any WiFi module n needing to be distributed with the network for connection.
Step S7, determine whether the WiFi module n is connected, if yes, go to step S8.
And step S8, sending the WiFi module information and the networking configuration information of the network to be distributed to the WiFi module n.
The WiFi module 1 sends the WiFi module information needing to be distributed with the self information and the networking configuration information to the WiFi module n after the self information is removed.
Step S9, the WiFi module n scans whether there is a WiFi module that needs to distribute network in the current environment according to the WiFi module information that needs to distribute network.
If so, go to step S10, otherwise, go to step S5.
And step S10, randomly selecting any WiFi module (n +1) needing to be distributed with the network for connection.
Step S11, determine whether the WiFi module (n +1) is connected, if yes, go to step S12.
And step S12, sending the WiFi module information and the networking configuration information of the network to be distributed to the WiFi module (n + 1).
After receiving the WiFi module information and the networking configuration information of the network to be distributed sent by the WiFi module n, the WiFi module (n +1) performs the same operation as the WiFi module n, … … and so on, until all the WiFi modules of the network to be distributed have been successfully networked, and subsequent repeated steps are omitted in fig. 4.
The WiFi module (namely the WiFi module 1) which receives the distribution network information sent by the terminal is used as the WiFi module which returns the preset configuration page to the terminal, scanning is always carried out under the condition that the WiFi modules needing to be distributed do not complete distribution networks, namely, whether the WiFi modules needing to be distributed exist in the current environment or not is scanned, networking is carried out according to the networking configuration information after the WiFi modules needing to be distributed complete distribution networks, and during the period, a user can check whether the selected WiFi modules needing to be distributed are still in the state of waiting to be distributed or whether the distribution networks are completed or not by refreshing the configuration page.
The invention also provides a network distribution method for the communication module, which can be used for the terminal. Fig. 5 is a schematic method diagram of an embodiment of a network distribution method for a communication module according to another aspect of the present invention.
As shown in fig. 5, according to an embodiment of the present invention, the method for distributing a network by a communication module at least includes step S210.
Step S210, sending distribution network information to a second target communication module, so that the second target communication module sends the received distribution network information to other communication modules needing distribution networks and/or performs networking according to the networking configuration information in the received distribution network information.
The communication module may specifically be a communication module in a device, for example, a communication module in an electrical appliance such as an air conditioner, a washing machine, a refrigerator, a microwave oven, and a water heater, and the communication module may include a WiFi module. The terminal specifically includes a mobile phone, a tablet computer, a notebook computer, and the like, and specifically is a terminal capable of performing Ad-Hoc (point-to-point) network connection and web browsing. The distribution network information comprises networking configuration information and communication module information of a network to be distributed.
The second target communication module is specifically selected randomly by a user in the communication modules needing to be distributed. For example, a user randomly selects a WiFi module needing to be distributed from WiFi modules in a to-be-distributed state searched by a terminal to connect.
When the second target communication module is in a state of network to be configured, the information of the second target communication module can be sent out, and the information of the second target communication module sent by other communication modules in the state of network to be configured can be obtained, for example, after the WiFi module enters the state of network to be configured, the information of the second target communication module is sent out through beacon (beacon frame) of the Ad-Hoc network, periodic scanning is carried out, and information of the WiFi module to be configured in the current environment, such as network identification and the like, is obtained through beacon. When the second target communication module receives the distribution network information sent by the terminal, whether a module needing distribution exists in the currently scanned communication modules is searched according to the communication module information needing distribution in the distribution network information.
The second target communication module sends the distribution network information to any one of the scanned communication modules needing the distribution network under the condition that the communication modules needing the distribution network exist in the currently scanned communication modules according to the communication module information needing the distribution network included in the distribution network information; and the second target communication module performs networking according to the networking configuration information included in the distribution network information under the condition that the communication module needing distribution in the currently scanned communication modules is not searched according to the communication module information needing distribution in the distribution network information.
The information of the communication module needing to be distributed comprises: and network identification of the communication module of the distribution network, such as a network name (e.g., SSID). The networking configuration information includes: router information or access point information. And the second target communication module eliminates the information of the communication module from the communication module information of the distribution network, which is included in the distribution network information, and then sends the information to any scanned communication module of the distribution network. The networking, by the second target communication module according to the networking configuration information in the received distribution network information, specifically includes: connecting to a corresponding router or access point according to the router information or access point information; the router information or access point information includes: a network identification (e.g., SSID) and password of the router or access point.
Fig. 6 is a schematic diagram of a method for distributing a network by using a communication module according to another embodiment of the present invention. As shown in fig. 6, based on the above embodiment, the method for configuring a network for a communication module further includes step S202 and step S204.
Step S202, sending a configuration page acquisition request to the second target communication module, where the configuration page acquisition request is used to acquire a preset configuration page.
Specifically, the preset configuration page may be stored in the second target communication module, and before the distribution network information is sent to the second target communication module, a configuration page acquisition request is sent to the second target communication module, where the configuration page acquisition request is used to acquire the preset configuration page. The page acquisition request is sent to the second target communication module based on a preset IP address received by a browser and input by a user. For example, a user randomly selects a communication module needing to be distributed from communication modules in a to-be-distributed network state searched by a terminal for connection, opens a browser client installed on the terminal after the connection is successful, inputs a preset IP address, and sends a configuration page acquisition request to the selected communication module through a browser.
Step S204, receiving the preset configuration page returned by the second target communication module.
And the preset configuration page displays the information of the communication module currently searched by the second target communication module and an input area for inputting the networking configuration information.
Further, the distribution network information is obtained based on the preset configuration page, as shown in fig. 6, based on the above embodiment, the method further includes step S206.
Step S206, receiving the communication module information of the network to be distributed selected from the currently searched communication module information displayed on the preset configuration page by the user and the networking configuration information input in the input area.
Specifically, after receiving the preset configuration page returned by the second target communication module, receiving communication module information of a network to be distributed selected from the currently searched communication module information displayed on the preset configuration page by the user and networking configuration information input in the input area, and then sending the communication module information of the network to be distributed and the networking configuration information to the second target communication module.
For clearly illustrating the technical solution of the present invention, the following describes an execution flow of the communication module network distribution method provided by another aspect of the present invention with a specific embodiment. Fig. 7 is a schematic method diagram of a network distribution method of a communication module according to an embodiment of the present invention. Taking the WiFi module as an example, as shown in fig. 7:
and step S21, the user randomly selects a WiFi module 1 needing to be distributed with the network to connect after opening the terminal.
Step S22, determine whether the WiFi module 1 is connected, if yes, go to step S23.
For example, a user randomly selects one WiFi module 1 needing distribution of a network from WiFi modules to be distributed searched by a terminal, the WiFi modules are connected, after the connection is successful, a browser client is opened, a preset IP address is input, and a page acquisition request is sent to the WiFi module 1
Step S23, open the browser to input a preset IP address and send a configuration page acquisition request for acquiring a preset configuration page.
And step S24, displaying the configuration page on the terminal, and enabling a user to select a WiFi module needing to be distributed and input router information or access point information needing to be accessed on the configuration page.
For example, after receiving the request, the WiFi module 1 returns a preset configuration page to the browser client of the terminal, and in the configuration page, information of all WiFi modules in the to-be-networked state in the current environment scanned by the WiFi module 1 and an input area for inputting WiFi networking configuration information are displayed. And the user inputs the networking configuration information in an input area displayed on the configuration page according to the WiFi module information of the network to be distributed selected from all the WiFi module information in the state to be distributed displayed on the configuration page.
And step S25, sending the WiFi module information and the networking configuration information of the network to be distributed to the WiFi module 1.
The method comprises the steps that a WiFi module 1 scans whether a WiFi module needing to be distributed exists in the current environment or not according to WiFi module information needing to be distributed, if the WiFi module 1 scans the WiFi module needing to be distributed, the WiFi module information needing to be distributed and networking configuration information which are obtained after the WiFi module information is removed are sent to any WiFi module n needing to be distributed, and if the WiFi module 1 does not scan the WiFi module needing to be distributed, the WiFi module 1 is connected to a corresponding router or access point according to the received networking configuration information; the WiFi module n scans whether a WiFi module needing to be distributed in the current environment exists according to the WiFi module information needing to be distributed, if the WiFi module needing to be distributed is scanned, the WiFi module information and the networking configuration information needing to be distributed are randomly sent to any WiFi module n +1 needing to be distributed, if the WiFi module needing to be distributed is not scanned, the WiFi module n +1 is connected to a corresponding router or access point according to the received networking configuration information, after the WiFi module n +1 receives the WiFi module information and the networking configuration information needing to be distributed, which are sent by the WiFi module n, the operation same as that of the WiFi module n is carried out, … … is carried out in the same way, and the process is repeated until all the WiFi modules needing to be distributed have successfully distributed in the step S26.
The invention also provides a network distribution device of the communication module, which can be used for the communication module. Fig. 8 is a schematic structural diagram of an embodiment of a network distribution device of a communication module according to an aspect of the present invention. As shown in fig. 8, the communication module distribution network apparatus 100 includes: a first receiving unit 110, a searching unit 120 and a transmitting unit 130.
The first receiving unit 110 is configured to receive distribution network information sent by a terminal or another communication module, where the distribution network information includes networking configuration information and communication module information of a network to be distributed; the searching unit 120 is configured to search whether a communication module needing distribution exists in currently scanned communication modules according to the communication module information needing distribution received by the receiving unit; the sending unit 130 is configured to select any one of the scanned communication modules that need to be distributed as a first target communication module if the searching unit searches that a communication module that needs to be distributed exists in the currently scanned communication modules, and send the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules that need to be distributed and/or performs networking according to the received networking configuration information in the distribution network information. The sending unit 130 eliminates the information of the communication module from the communication module information of the distribution network, and then sends the distribution network information with the information of the communication module eliminated to the first target communication module.
The communication module may specifically be a communication module in a device, for example, a communication module in an electrical appliance such as an air conditioner, a washing machine, a refrigerator, a microwave oven, a water heater, and the like, and the communication module and/or the first communication module to which the method of the present invention belongs may include a WiFi module. The terminal specifically includes a mobile phone, a tablet computer, a notebook computer, and the like, and specifically is a terminal capable of performing Ad-Hoc (point-to-point) network connection and web browsing. The distribution network information comprises networking configuration information and communication module information of a network to be distributed. The information of the communication module needing to be distributed comprises: network identification of a communication module of the network to be distributed, such as a network name (e.g., SSID); the networking configuration information includes: router information or access point information.
Fig. 9 is a schematic structural diagram of another embodiment of a network distribution device of a communication module according to an aspect of the present invention. As shown in fig. 9, the communication module distribution network apparatus 100 further includes a second receiving unit 102 and a returning unit 104.
The second receiving unit 102 is configured to receive a configuration page acquisition request sent by the terminal, where the configuration page acquisition request is used to acquire a preset configuration page; the returning unit 104 is configured to return the preset configuration page to the terminal in response to the received configuration page acquisition request.
Before the first receiving unit 110 receives the distribution network information sent by the terminal, the second receiving unit 102 receives a configuration page acquisition request sent by the terminal. The terminal receives a preset IP address input by a user through a browser, and sends the configuration page acquisition request based on the preset IP address; and/or the preset configuration page is displayed with the currently searched communication module information and an input area for inputting the networking configuration information. The networking configuration information is input by a user in an input area displayed on the terminal for inputting the networking configuration information; and/or the communication module of the distribution network is selected from currently searched communication module information displayed on the terminal by a user. The terminal receives the communication module information needing to be distributed, which is selected by the user from all the currently searched communication module information displayed on the preset configuration page, and the networking configuration information input in the input area and displayed on the preset configuration page, so that the communication module information needing to be distributed and the networking configuration information are sent to the corresponding module.
Fig. 10 is a schematic structural diagram of a communication module distribution network apparatus according to still another embodiment of the present invention. As shown in fig. 10, according to any of the above embodiments, the communication module distribution network apparatus 100 further includes: a networking unit 140.
The networking unit 140 is configured to, when the searching unit 120 does not search for a communication module that needs to be connected to a network among currently scanned communication modules, or after the sending unit 130 sends the distribution network information to the first target communication module, enable the communication module to perform networking according to the networking configuration information in the received distribution network information.
In a specific embodiment, when the searching unit 120 does not search that a communication module needing a distribution network exists in currently scanned communication modules, the networking unit 140 performs networking according to the networking configuration information in the received distribution network information.
In another specific embodiment, after the sending unit 130 sends the distribution network information to the first target communication module, the networking unit 130 performs networking according to the networking configuration information in the received distribution network information. Preferably, after the sending unit 130 sends the distribution network information to the first target communication module and after receiving a reply message of completion of reception of the target communication feedback, the networking unit performs networking according to the received configuration information in the distribution network information.
Based on any of the above embodiments, the network distribution device of the communication module further includes: the scanning unit is used for scanning whether all communication modules needing to be distributed except the communication module to which the communication module belongs are successfully networked or not according to the information of the communication modules needing to be distributed under the condition of receiving the distribution network information sent by the terminal; the networking unit 140 performs networking according to the networking configuration information in the received networking configuration information after the scanning unit scans that all the communication modules needing to be networked except the communication module are successfully networked.
The invention also provides a network distribution device of the communication module, which can be used for a terminal. Fig. 11 is a schematic structural diagram of an embodiment of a communication module distribution network apparatus according to another aspect of the present invention. As shown in fig. 11, the communication module distribution network apparatus 200 includes: an information transmission unit 210.
The information sending unit 210 is configured to send distribution network information to a second target communication module, so that the second target communication module sends the distribution network information to any scanned communication module needing a distribution network when a communication module needing a distribution network exists in currently scanned communication modules according to communication module information needing a distribution network included in the distribution network information, or performs networking according to the networking configuration information included in the distribution network information when a communication module needing a distribution network exists in currently scanned communication modules not searched according to communication module information needing a distribution network included in the distribution network information.
The communication module may specifically be a communication module in a device, for example, a communication module in an electrical appliance such as an air conditioner, a washing machine, a refrigerator, a microwave oven, and a water heater, and the communication module may include a WiFi module. The terminal specifically includes a mobile phone, a tablet computer, a notebook computer, and the like, and specifically is a terminal capable of performing Ad-Hoc (point-to-point) network connection and web browsing. The distribution network information comprises networking configuration information and communication module information of a network to be distributed.
The second target communication module is specifically selected randomly by a user in the communication modules needing to be distributed. For example, a user randomly selects a WiFi module needing to be distributed from WiFi modules in a to-be-distributed state searched by a terminal to connect.
When the second target communication module is in a state of network to be configured, the information of the second target communication module can be sent out, and the information of the second target communication module sent by other communication modules in the state of network to be configured can be obtained, for example, after the WiFi module enters the state of network to be configured, the information of the second target communication module is sent out through beacon (beacon frame) of the Ad-Hoc network, periodic scanning is carried out, and information of the WiFi module to be configured in the current environment, such as network identification and the like, is obtained through beacon. When the second target communication module receives the distribution network information sent by the terminal, whether a module needing distribution exists in the currently scanned communication modules is searched according to the communication module information needing distribution in the distribution network information.
The second target communication module sends the distribution network information to any one of the scanned communication modules needing the distribution network under the condition that the communication modules needing the distribution network exist in the currently scanned communication modules according to the communication module information needing the distribution network included in the distribution network information; and the second target communication module performs networking according to the networking configuration information included in the distribution network information under the condition that the communication module needing distribution in the currently scanned communication modules is not searched according to the communication module information needing distribution in the distribution network information.
The information of the communication module needing to be distributed comprises: and network identification of the communication module of the distribution network, such as a network name (e.g., SSID). The networking configuration information includes: router information or access point information. And the second target communication module eliminates the information of the communication module from the communication module information of the distribution network, which is included in the distribution network information, and then sends the information to any scanned communication module of the distribution network. The networking, by the second target communication module according to the networking configuration information in the received distribution network information, specifically includes: connecting to a corresponding router or access point according to the router information or access point information; the router information or access point information includes: a network identification (e.g., SSID) and password of the router or access point.
Fig. 12 is a schematic structural diagram of another embodiment of a network distribution device of a communication module according to another aspect of the present invention. As shown in fig. 12, the communication module distribution network apparatus 200 includes: the information sending unit 210 further includes a request sending unit 202 and a page receiving unit 204.
The request sending unit 202 is configured to send a configuration page obtaining request to a second target communication module before the information sending unit 210 sends the distribution network information to the second target communication module, where the configuration page obtaining request is used to obtain a preset configuration page; the page receiving unit 204 is configured to receive the preset configuration page returned by the second target communication module; and the preset configuration page displays the information of the communication module currently searched by the second target communication module and an input area for inputting the networking configuration information. The page acquisition request is sent to the second target communication module based on a preset IP address received by a browser and input by a user. For example, a user randomly selects a communication module needing to be distributed from communication modules in a to-be-distributed network state searched by a terminal for connection, opens a browser client installed on the terminal after the connection is successful, inputs a preset IP address, and sends a configuration page acquisition request to the selected communication module through a browser.
Further, as shown in fig. 12, the apparatus 200 according to the above embodiment further includes an information receiving unit 206.
The information receiving unit 206 is configured to receive, before the information sending unit 210 sends the distribution network information to the second target communication module, the communication module information of the distribution network required and selected by the user from the currently searched communication module information displayed on the preset configuration page, and the networking configuration information input in the input area.
The invention also provides a computer-readable storage medium corresponding to the communication module network distribution method, on which a computer program is stored, which program, when executed by a processor, carries out the steps of any of the methods described above.
The invention also provides a communication module corresponding to the communication module network distribution method, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the methods.
The invention also provides a communication module corresponding to the communication module network distribution device, which comprises any one of the communication module network distribution devices.
The invention also provides equipment comprising the communication module.
The invention also provides a terminal comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the processor implementing any of the steps of the method for a terminal when executing the program.
The invention also provides a terminal which comprises any one of the communication module network distribution devices used for the terminal.
According to the scheme provided by the invention, any communication module can be randomly selected by the terminal to serve as a distribution network starting point, and after distribution network information is sent to the communication module serving as the distribution network starting point, the communication module randomly selects any communication module needing distribution network to transmit the distribution network information by scanning other communication modules needing distribution network, so that the distribution network information is transmitted from one communication module to another communication module in a point-to-point communication mode among the communication modules until all the communication modules needing distribution network are transmitted, and the distribution network of the communication modules needing distribution network is realized; the configuration page is saved in the communication module, and the communication module returns the configuration page to the terminal in response to the configuration page acquisition request of the terminal, so that the terminal acquires the distribution network information based on the configuration page, which is equivalent to embedding a web server in the communication module, and a user can complete the distribution network of the communication module and other communication modules by connecting the terminal with any communication module, and can perform the distribution network without a router, and only needs to support a corresponding communication mode and terminal equipment capable of browsing web pages; the scheme of the invention can also reduce the trouble of additionally installing APP for users, and can use any equipment with a browser to carry out network distribution, thus having simple operation.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (26)

1. A network distribution method for a communication module is characterized by comprising the following steps:
receiving distribution network information sent by a terminal or other communication modules, wherein the distribution network information comprises networking configuration information and communication module information needing a distribution network;
searching whether a communication module needing to be distributed exists in the currently scanned communication modules according to the information of the communication modules needing to be distributed;
if yes, selecting any scanned communication module needing to be distributed with the network as a first target communication module, and sending the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules needing to be distributed with the network and/or performs networking according to the networking configuration information in the received distribution network information.
2. The method of claim 1, wherein before receiving the distribution network information sent by the terminal, the method further comprises:
receiving a configuration page acquisition request sent by the terminal, wherein the configuration page acquisition request is used for acquiring a preset configuration page;
responding to the received configuration page acquisition request, and returning the preset configuration page to the terminal;
wherein,
the terminal receives a preset IP address input by a user through a browser, and sends the configuration page acquisition request based on the preset IP address;
and/or the presence of a gas in the gas,
and the preset configuration page displays the currently scanned communication module information and an input area for inputting the networking configuration information.
3. The method of claim 1 or 2, wherein sending the distribution network information to the first target communication module comprises:
and after the information of the communication module of the network needing to be distributed, which is included in the distribution network information, is removed, the information is sent to the first target communication module.
4. The method according to any one of claims 1 to 3, wherein in a case that a communication module requiring a distribution network is not searched for among currently scanned communication modules, or after the distribution network information is sent to the first target communication module, the method further comprises:
and enabling the communication module to carry out networking according to the networking configuration information in the received distribution network information.
5. The method according to any one of claims 1 to 4,
the communication module comprises a WiFi module;
and/or the presence of a gas in the gas,
the networking configuration information includes: router information or access point information; the router information or access point information includes: a network identification and password of the router or access point;
and/or the presence of a gas in the gas,
the information of the communication module needing to be distributed comprises: network identification of a communication module of a network to be distributed;
and/or the presence of a gas in the gas,
when the currently scanned communication module information and an input area for inputting the networking configuration information are displayed on the preset configuration page, the networking configuration information is input by a user in the input area for inputting the networking configuration information displayed on the terminal; and/or the presence of a gas in the gas,
and the communication module of the distribution network is selected from the currently searched communication module information displayed on the terminal by the user.
6. The method according to any one of claims 1 to 5, characterized in that, in the case of receiving the distribution network information sent by the terminal, after scanning that all communication modules needing distribution network except the belonging communication module have been successfully networked, the belonging communication module is further enabled to perform networking according to the networking configuration information in the received distribution network information.
7. A network distribution method for a communication module is characterized by comprising the following steps:
sending distribution network information to a second target communication module, so that the second target communication module sends the distribution network information to any one of the scanned communication modules needing a distribution network under the condition that the communication module needing the distribution network exists in the currently scanned communication modules according to the communication module information needing the distribution network included in the distribution network information, or,
and under the condition that the communication module needing to be distributed exists in the currently scanned communication modules according to the communication module information needing to be distributed, which is included in the distribution network information, networking according to the networking configuration information included in the distribution network information.
8. The method of claim 7, further comprising, prior to sending the distribution network information to the second target communication module:
sending a configuration page acquisition request to the second target communication module, wherein the configuration page acquisition request is used for acquiring a preset configuration page;
receiving the preset configuration page returned by the second target communication module;
the page acquisition request is sent to the second target communication module based on a preset IP address received by a browser and input by a user;
and the preset configuration page displays the information of the communication module currently searched by the second target communication module and an input area for inputting the networking configuration information.
9. The method of claim 8, further comprising, prior to sending the distribution network information to the second target communication module:
and receiving the communication module information of the required distribution network selected from the currently searched communication module information displayed on the preset configuration page by the user and the networking configuration information input in the input area.
10. The method according to any one of claims 7 to 9,
the networking configuration information includes: router information or access point information;
the router information or access point information includes: a network identification and password of the router or access point;
and/or the presence of a gas in the gas,
the information of the communication module needing to be distributed comprises: and network identification of the communication module of the distribution network.
11. A communication module network distribution apparatus, comprising:
the first receiving unit is used for receiving distribution network information sent by a terminal or other communication modules, wherein the distribution network information comprises the distribution network configuration information and the communication module information needing distribution;
the searching unit is used for searching whether a communication module needing distribution exists in the currently scanned communication modules according to the communication module information needing distribution received by the receiving unit;
the sending unit is used for selecting any one of the scanned communication modules needing the distribution network as a first target communication module if the searching unit searches that the communication modules needing the distribution network exist in the currently scanned communication modules, and sending the distribution network information to the first target communication module, so that the first target communication module sends the received distribution network information to other communication modules needing the distribution network and/or performs networking according to the received networking configuration information in the distribution network information.
12. The apparatus of claim 11, further comprising:
a second receiving unit, configured to receive a configuration page acquisition request sent by the terminal, where the configuration page acquisition request is used to acquire a preset configuration page;
a returning unit, configured to return the preset configuration page to the terminal in response to the received configuration page acquisition request;
wherein,
the terminal receives a preset IP address input by a user through a browser, and sends the configuration page acquisition request based on the preset IP address;
and/or the presence of a gas in the gas,
and the preset configuration page displays the currently searched communication module information and an input area for inputting the networking configuration information.
13. The apparatus of claim 11 or 12, wherein the sending unit is further configured to:
and after the information of the communication module of the network needing to be distributed, which is included in the distribution network information, is removed, the information is sent to the first target communication module.
14. The apparatus of any one of claims 11-13, further comprising:
and the networking unit is used for enabling the communication module to be networked according to the networking configuration information in the received networking information when the searching unit does not search the communication modules needing to be networked in the currently scanned communication modules, or after the sending unit sends the networking information to the first target communication module.
15. The apparatus according to any one of claims 11-14,
the communication module comprises a WiFi module;
and/or the presence of a gas in the gas,
the networking configuration information includes: router information or access point information; the router information or access point information includes: a network identification and password of the router or access point;
and/or the presence of a gas in the gas,
the information of the communication module needing to be distributed comprises: network identification of a communication module of a network to be distributed;
and/or the presence of a gas in the gas,
when the currently scanned communication module information and an input area for inputting the networking configuration information are displayed on the preset configuration page, the networking configuration information is input by a user in the input area for inputting the networking configuration information displayed on the terminal; and/or the presence of a gas in the gas,
and the communication module of the distribution network is selected from the currently searched communication module information displayed on the terminal by the user.
16. The apparatus of any one of claims 11-15, further comprising:
the scanning unit is used for scanning whether all communication modules needing to be distributed except the communication module to which the communication module belongs are successfully networked or not according to the information of the communication modules needing to be distributed under the condition of receiving the distribution network information sent by the terminal;
and the networking unit enables the communication module to be networked according to the networking configuration information in the received distribution network information after the scanning unit scans that all the communication modules needing to be distributed except the communication module are successfully networked.
17. A communication module network distribution apparatus, comprising:
an information sending unit, configured to send distribution network information to a second target communication module, so that the second target communication module sends the distribution network information to any one of the scanned communication modules that need a distribution network, or,
and under the condition that the communication module needing to be distributed exists in the currently scanned communication modules according to the communication module information needing to be distributed, which is included in the distribution network information, networking according to the networking configuration information included in the distribution network information.
18. The apparatus of claim 17, further comprising:
the device comprises a request sending unit, a configuration page acquiring unit and a configuration page processing unit, wherein the request sending unit is used for sending a configuration page acquiring request to a second target communication module before the information sending unit sends distribution network information to the second target communication module, and the configuration page acquiring request is used for acquiring a preset configuration page;
the page receiving unit is used for receiving the preset configuration page returned by the second target communication module;
the page acquisition request is sent to the second target communication module based on a preset IP address received by a browser and input by a user;
and the preset configuration page displays the information of the communication module currently searched by the second target communication module and an input area for inputting the networking configuration information.
19. The apparatus of claim 18, further comprising: and the information receiving unit is used for receiving the communication module information of the required distribution network selected by the user from the currently searched communication module information displayed on the preset configuration page and the networking configuration information input in the input area before the information sending unit sends the distribution network information to the second target communication module.
20. The apparatus of any one of claims 17-19,
the networking configuration information includes: router information or access point information;
the router information or access point information includes: a network identification and password of the router or access point;
and/or the presence of a gas in the gas,
the information of the communication module needing to be distributed comprises: and network identification of the communication module of the distribution network.
21. A computer-readable storage medium, having stored thereon a computer program for performing the steps of the method of any of claims 1-6 or the steps of the method of any of claims 7-10 when executed by a processor.
22. A communications module comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any one of claims 1 to 6 when executing the program.
23. A telecommunications module comprising a telecommunications module network distribution apparatus as claimed in any one of claims 11 to 16.
24. A device comprising a communication module according to claim 22 or 23.
25. A terminal comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor implementing the steps of the method of any of claims 7-10 when executing the program.
26. A terminal, characterized in that it comprises a communication module network distribution device according to any of claims 17-20.
CN201711346363.0A 2017-12-15 2017-12-15 Communication module, network distribution method and device thereof, storage medium, equipment and terminal Active CN108307479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711346363.0A CN108307479B (en) 2017-12-15 2017-12-15 Communication module, network distribution method and device thereof, storage medium, equipment and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711346363.0A CN108307479B (en) 2017-12-15 2017-12-15 Communication module, network distribution method and device thereof, storage medium, equipment and terminal

Publications (2)

Publication Number Publication Date
CN108307479A true CN108307479A (en) 2018-07-20
CN108307479B CN108307479B (en) 2020-03-24

Family

ID=62870194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711346363.0A Active CN108307479B (en) 2017-12-15 2017-12-15 Communication module, network distribution method and device thereof, storage medium, equipment and terminal

Country Status (1)

Country Link
CN (1) CN108307479B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257795A (en) * 2018-08-17 2019-01-22 珠海格力电器股份有限公司 Method and equipment for network distribution
CN109413653A (en) * 2018-12-10 2019-03-01 美的集团武汉制冷设备有限公司 Household electrical appliance match network method and distribution network systems
CN110167044A (en) * 2019-04-11 2019-08-23 阿里巴巴集团控股有限公司 Configuration method, detection method, client and the electronic equipment of equipment
CN112702328A (en) * 2020-12-18 2021-04-23 迈普通信技术股份有限公司 Network access method, system and electronic equipment
CN115913925A (en) * 2021-09-30 2023-04-04 佛山市云米电器科技有限公司 Distribution network control method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
CN104602112A (en) * 2014-12-12 2015-05-06 小米科技有限责任公司 Configuration method and device
WO2015109701A1 (en) * 2014-01-24 2015-07-30 中兴通讯股份有限公司 Control of household appliance device, control processing method and device, and a control system
CN105228224A (en) * 2015-10-29 2016-01-06 小米科技有限责任公司 The cut-in method of wireless network and device
CN105517103A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Network access method and device based on intelligent terminal device
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN106413047A (en) * 2016-10-31 2017-02-15 北京小米移动软件有限公司 Method and device for enabling intelligent device to be accessed to wireless network
CN106488532A (en) * 2016-09-14 2017-03-08 珠海格力电器股份有限公司 Automatic network distribution method, device and equipment, and repeater
CN106550332A (en) * 2015-09-17 2017-03-29 美的集团股份有限公司 The acquisition methods and system of networked devices inbound information
CN107182073A (en) * 2017-07-31 2017-09-19 绵阳美菱软件技术有限公司 One kind configuration equipment networking system and method
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 Network distribution method, device, storage medium, terminal and household appliance

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015109701A1 (en) * 2014-01-24 2015-07-30 中兴通讯股份有限公司 Control of household appliance device, control processing method and device, and a control system
CN104602112A (en) * 2014-12-12 2015-05-06 小米科技有限责任公司 Configuration method and device
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
CN106550332A (en) * 2015-09-17 2017-03-29 美的集团股份有限公司 The acquisition methods and system of networked devices inbound information
CN105228224A (en) * 2015-10-29 2016-01-06 小米科技有限责任公司 The cut-in method of wireless network and device
CN105517103A (en) * 2015-12-03 2016-04-20 小米科技有限责任公司 Network access method and device based on intelligent terminal device
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN106488532A (en) * 2016-09-14 2017-03-08 珠海格力电器股份有限公司 Automatic network distribution method, device and equipment, and repeater
CN106413047A (en) * 2016-10-31 2017-02-15 北京小米移动软件有限公司 Method and device for enabling intelligent device to be accessed to wireless network
CN107182073A (en) * 2017-07-31 2017-09-19 绵阳美菱软件技术有限公司 One kind configuration equipment networking system and method
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 Network distribution method, device, storage medium, terminal and household appliance

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257795A (en) * 2018-08-17 2019-01-22 珠海格力电器股份有限公司 Method and equipment for network distribution
CN109413653A (en) * 2018-12-10 2019-03-01 美的集团武汉制冷设备有限公司 Household electrical appliance match network method and distribution network systems
CN109413653B (en) * 2018-12-10 2022-09-02 美的集团武汉制冷设备有限公司 Network distribution method and network distribution system for household appliances
CN110167044A (en) * 2019-04-11 2019-08-23 阿里巴巴集团控股有限公司 Configuration method, detection method, client and the electronic equipment of equipment
CN112702328A (en) * 2020-12-18 2021-04-23 迈普通信技术股份有限公司 Network access method, system and electronic equipment
CN115913925A (en) * 2021-09-30 2023-04-04 佛山市云米电器科技有限公司 Distribution network control method and device
CN115913925B (en) * 2021-09-30 2024-06-07 佛山市云米电器科技有限公司 Distribution network control method and device

Also Published As

Publication number Publication date
CN108307479B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN108307479B (en) Communication module, network distribution method and device thereof, storage medium, equipment and terminal
US12047872B2 (en) Method for provisioning of smart device, system, and readable medium
CN109996314B (en) Method, device and system for accessing network to be configured to network hotspot device
JP4729627B2 (en) Terminal, access point, and method for query roaming prior to association / authentication
CN102638797B (en) Access the method for wireless network, terminal, access network node and authentication server
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN108781473B (en) Method and equipment for sharing files among different terminals
CN108605277B (en) Method and device for establishing wireless local area network connection
CN103841626A (en) Internet of Things wireless terminal, configuration method thereof and mobile terminal
CN111615123A (en) Method, device and storage medium for intelligent device network distribution
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN106131816B (en) Virtual SIM card management method and terminal
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN104780204A (en) Method and system for rapidly sharing files between terminals
CN112637874A (en) BLE Mesh-based intelligent device network distribution method
US20190110323A1 (en) Access method, apparatus, device, and system
KR20140010206A (en) Apparatus and method for connecting wireless network in consideration of radio frequency band
CN111934961A (en) Intelligent household network configuration method, equipment and computer readable storage medium
CN106453370B (en) Method and device for registering IPC (inter-programmable logic controller) to NVR (network video recorder)
CN107306388B (en) Configuration method and device of Access Point Name (APN)
US20230291799A1 (en) Method and Apparatus of Network Configuration for Internet-of-Things Device
CN108093390B (en) Intelligent device discovery method based on characteristic information
CN111107605A (en) Network distribution method of household electrical appliance and household electrical appliance
US10070289B1 (en) Client association for provisioning devices in a communication network
CN113596792B (en) Binding method and device of electronic equipment, storage medium and electronic device

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