WO2019029271A1 - Network assigning method and apparatus, storage medium, terminal, and home appliance - Google Patents

Network assigning method and apparatus, storage medium, terminal, and home appliance Download PDF

Info

Publication number
WO2019029271A1
WO2019029271A1 PCT/CN2018/091790 CN2018091790W WO2019029271A1 WO 2019029271 A1 WO2019029271 A1 WO 2019029271A1 CN 2018091790 W CN2018091790 W CN 2018091790W WO 2019029271 A1 WO2019029271 A1 WO 2019029271A1
Authority
WO
WIPO (PCT)
Prior art keywords
home appliance
home appliances
home
distribution network
identity information
Prior art date
Application number
PCT/CN2018/091790
Other languages
French (fr)
Chinese (zh)
Inventor
徐洪伟
薛凡
陈道远
Original Assignee
格力电器(武汉)有限公司
珠海格力电器股份有限公司
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 格力电器(武汉)有限公司, 珠海格力电器股份有限公司 filed Critical 格力电器(武汉)有限公司
Publication of WO2019029271A1 publication Critical patent/WO2019029271A1/en

Links

Images

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • the present invention relates to the field of home appliance technology, and particularly relates to a network distribution method, device, storage medium, terminal, and home appliance, and more particularly to an infected home appliance WIFI distribution network method, a device corresponding to the method, and a storage method stored thereby A medium, a terminal capable of performing the method, and a home appliance having the device or the storage medium.
  • WIFI Wireless Fidelity, IEEE 802.11b-based wireless LAN
  • WLAN wireless local area network
  • Smart home home automation
  • the management system of family schedule affairs enhances home safety, convenience, comfort, and artistry, and realizes an environmentally friendly and energy-saving living environment.
  • the existing technology needs to carry out the distribution network of multiple devices, it is necessary to connect the devices one by one to the router by using a mobile phone, and the number of times the user needs to repeat the operation is large, and the waiting time of the distribution network is long.
  • the purpose of the present application is to provide a distribution network method, device, storage medium, terminal, and home appliance to solve the above-mentioned deficiencies, so as to solve the problem that the operation process is complicated when the user repeatedly operates the network distribution process when multiple devices are deployed in the prior art. To achieve the effect of simplifying the operation process.
  • the present invention provides a method for distributing a network, comprising: obtaining, by a first home appliance of one or more home appliances of a network to be distributed, first identity information and a first key of a router to be connected, and according to the first identity And the first key is connected to the router to complete the distribution network; and the first home appliance sends the first identity information and the first key acquired by the first home appliance to the home
  • the home appliances other than one of the one or more home appliances are distributed to the other home appliances.
  • the first identity information and the first key of the router to be connected are obtained, including: receiving the first identity information and the first key sent by the terminal.
  • the first identity information and the first key that are obtained by the user are respectively sent to other home appliances other than the one or more home appliances, including: acquiring and storing the other home appliances a second identity information and a second key list of the communication module; and the second identity information and the second key of the communication module carried by the other home appliances in the list, respectively, and the other home appliances Establishing a connection; and transmitting the first identity information and the first key to the other home appliances that establish a connection with itself.
  • obtaining a list of the second identity information and the second key that are stored by the communication module of the other home appliance including: receiving the list sent by the terminal; and/or separately from the other Establishing a connection by the home appliance, comprising: sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list; receiving a feedback message of the other home appliance based on the first connection request And determining to establish a connection with the other home appliances; and/or establishing a connection with the other home appliances respectively, further comprising: receiving, according to an arrangement order or a random order of the other home appliances in the list, receiving the sending by the other home appliances a second connection request; establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
  • the first identity information and the second identity information includes: at least one of an SSID, a MAC information, and an IP address; and/or the communication module includes : at least one of a WIFI module and a Bluetooth module.
  • the method further includes: determining, by the first home appliance, whether the distribution network is successful; and performing the network distribution on the other home appliances when the first home appliance determines that the distribution network is successful; and/or, Determining, by the first home appliance, whether the distribution network of the current home appliance in the other home appliances is successful; and when the first home appliance determines that the distribution network of the current home appliance is successful, the other home appliances are The next home appliance performs a distribution network; and/or, when the first home appliance determines that the distribution network of the current home appliance is successful, the current home appliance that has successfully received the distribution network establishes a connection with the terminal through the router. Networked messages.
  • the present application provides a distribution network method, including: connecting with a router; searching or scanning one or more home appliances described above in an environment in which it is located; and disconnecting and scanning at least after searching or scanning the first home appliance Connecting the router and connecting to the communication module of the first home appliance itself; and transmitting the first identity information and the first key to the communication module of the first home appliance.
  • searching or scanning the one or more home appliances in an environment in which the user is located includes: determining whether a communication module carried by the one or more home appliances in an environment in which the device is located is in an open state; Searching or scanning the one or more home appliances in the environment when the communication module carried by the home appliance or higher is in an open state; and/or searching or scanning at least the first home appliance, including: according to a search or Scanning the one or more home appliances, establishing a list of the second identity information and the second key of each of the communication modules of the one or more home appliances; in a sequential or random order according to a search or scan And selecting the first home appliance from the list.
  • a network distribution device including: a self-distributing network unit, configured to enable a first home appliance of one or more home appliances to be distributed to obtain a router to be connected An identity information and a first key, and connected to the router according to the first identity information and the first key to complete a network of the user; the infected network unit is configured to enable the first home appliance And transmitting the first identity information and the first key acquired by the user to the home appliances other than the one of the one or more home appliances to distribute the other home appliances.
  • the self-provisioning network unit obtains the identity identification information of the router to be connected, and specifically includes: receiving, by the terminal, the first identity information and the first key.
  • the infected distribution network unit separately sends the first identity information and the first key that are obtained by the infected distribution network unit to other home appliances other than the one or more home appliances, including: acquiring Storing a second identity information and a second key list of the communication module carried by the other home appliance; according to the second identity information and the second key of the communication module carried by the other home appliances in the list Establishing a connection with the other home appliances respectively; and transmitting the first identity information and the first key to the other home appliances that establish a connection with itself.
  • the infected distribution network unit obtains a list of the second identity information and the second key that are stored by the communication module of the other home appliance, and specifically includes: receiving the list sent by the terminal; and/ Or the establishing, by the infective distribution network unit, the connection with the other home appliances, specifically: sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list; When the other home appliances are based on the feedback message of the first connection request, determining to establish a connection with the other home appliances; and/or, the infected distribution network unit respectively establishes a connection with the other home appliances, and specifically includes: Receiving a second connection request sent by the other home appliance according to the arrangement order or random order of the other home appliances in the list; establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
  • the first identity information and the second identity information includes: at least one of an SSID, a MAC information, and an IP address; and/or the communication module includes : at least one of a WIFI module and a Bluetooth module.
  • the method further includes: the self-distributing network unit, further configured to enable the first home appliance to determine whether the distribution network is successful; and when the first home appliance determines that the distribution network is successful, The other home appliance performs a distribution network; and/or the infected distribution network unit is further configured to enable the first home appliance to determine whether it is successful for the current home appliance distribution network among the other home appliances; When a home appliance determines that the distribution network of the current home appliance is successful, the next home appliance of the other home appliances is distributed; and/or, when the first home appliance determines that it is equipped with the current home appliance distribution network Upon successful, the current home appliance that has successfully received the distribution network successfully establishes a connected networked message with the terminal through the router.
  • a network distribution apparatus including: a communication unit for connecting to the router; and a processing unit for searching or scanning one of the above-mentioned ones in an environment in which it is located
  • the processing unit is further configured to: disconnect the connection with the router after searching or scanning at least the first home appliance; and the communication unit is further configured to disconnect from the router After being connected, connecting to the communication module of the first home appliance itself; the communication unit is further configured to send the first identity information and the first key to the communication of the first home appliance Module.
  • the processing unit searches for or scans the one or more home appliances in an environment in which the device is located, and specifically includes: determining whether a communication module carried by the one or more home appliances in an environment in which the device is located is in an open state Searching or scanning the one or more home appliances in the environment when the communication module carried by the one or more home appliances is in an open state; and/or the processing unit searches or scans at least the a home appliance, specifically comprising: establishing, according to the searched or scanned one or more home appliances, a list of identification information of the communication modules respectively carried by the one or more home appliances; in a sequential or random order according to a search or scan And selecting the first home appliance from the list.
  • a further aspect of the present application provides a storage medium, including: storing, in the storage medium, a plurality of instructions, where the multiple instructions are used by a processor to load and execute the distribution network described above. The method, or loaded by the processor and performing the distribution method described above.
  • the present application provides a terminal, including: a processor, configured to execute a plurality of instructions; a memory, configured to store a plurality of instructions; wherein the plurality of instructions are used by Stored by the memory, and loaded by the processor and executed by the other network method described above; or another network device as described above.
  • the present invention further provides a home appliance, comprising: a processor, configured to execute a plurality of instructions; a memory, configured to store a plurality of instructions; wherein the plurality of instructions are used by the device, or the storage medium Stored by the memory and loaded by the processor and executed by the distribution method described above; or the network arrangement device described above.
  • the solution of the present application can effectively solve the problem of requiring multiple devices to be equipped with the network by first distributing the network to one device and then distributing the network through the device to the infected device.
  • the problem of repeating the operation of the distribution network by the user greatly reduces the time for the user to operate and wait while performing multiple devices.
  • the solution of the present application is convenient and reliable with the connection and distribution network of the terminal and the first device.
  • the solution of the present application is connected to other devices through the first device to perform network distribution one by one, which not only improves the efficiency of the distribution network, but also improves the distribution network of the home appliance.
  • the degree of intelligence is not only improves the efficiency of the distribution network, but also improves the distribution network of the home appliance.
  • the solution of the present application connects and distributes the network by sending the SSID and the KEY, and the distribution network has high reliability and good security.
  • the first device successfully deployed through the distribution network performs network distribution on other devices in a sequential or random manner, and the distribution network has good flexibility and versatility.
  • the solution of the present application is to first connect the terminal to a device, connect the device to the router to perform the distribution network, and then distribute the network to other devices through the device;
  • the operation process is cumbersome, thereby overcoming the cumbersome operation process, long time and poor user experience in the prior art, and the operation process is simple, the time spent is small, and the user experience is good. .
  • FIG. 1 is a schematic flow chart of an embodiment of a distribution network method according to the present application.
  • FIG. 2 is a schematic flowchart of an embodiment of a first home appliance in which the first home appliance obtains the first identity information and the first key of the router when the first home appliance obtains the first identity information and the first key from the terminal;
  • FIG. 3 is a schematic flowchart of an embodiment of a terminal searching or scanning one or more home appliances in another method of the distribution network according to the present application;
  • FIG. 4 is a schematic flow chart of an embodiment of selecting a first home appliance from one or more home appliances in another method of the network in the present application;
  • FIG. 5 is a schematic flowchart of an embodiment of a first home appliance infecting a distribution network of other home appliances according to a distribution network method of the present application;
  • FIG. 6 is a schematic flow chart of an embodiment of establishing a connection between a first home appliance and another home appliance in a distribution network method of the present application
  • FIG. 7 is a schematic structural diagram of an embodiment of a distribution network device according to the present application.
  • FIG. 8 is a schematic structural diagram of another embodiment of another network device according to the present application.
  • FIG. 9 is a schematic diagram of the distribution network principle of an embodiment of the home appliance of the present application.
  • 102-self-networking unit 104-infected network unit; 202-communication unit; 204-processing unit.
  • Step 1 The home appliance turns on the WIFI function.
  • Step 2 The mobile phone opens the App (computer application) and searches for home appliances.
  • Step 3 The App scans the device, and the mobile phone WIFI disconnects from the router and connects with the home appliance WIFI.
  • the App sends the SSID (Service Set Identifier) and the KEY (key) of the route to the home appliance, and the home appliance. Connect to the router according to SSID and KEY, and the phone resumes the connection with the router.
  • SSID Service Set Identifier
  • KEY key
  • FIG. 1 is a schematic flowchart of an embodiment of the method of the present application.
  • the distribution method can include:
  • the first home appliance of the one or more home appliances to be distributed is obtained, and the first identity information and the first key of the router to be connected are obtained, and according to the first identity information and the first A key is connected to the router to complete its own distribution network.
  • the first identity information and the first key of the router of the network to be allocated are obtained.
  • the first home appliance of one or more home appliances to be distributed to the distribution network is distributed. Establish a connection between the first home appliance and the router among one or more home appliances to be distributed.
  • the mobile phone needs to allocate network to multiple devices, first configure any one of these devices to be deployed to the router.
  • the acquiring the first identity information and the first key of the router to be connected in step S110 may include: receiving the first identity information and the first key sent by the terminal.
  • the mobile phone App sends the list of the remaining scanned devices to be distributed to the home appliance that has been successfully deployed.
  • the first home appliance obtains the first identity information and the first key of the router from the terminal
  • the first identity information and the first key may be sent by the terminal to the first home appliance.
  • the terminal is configured to perform the operations of steps S210 to S240.
  • the first home appliance can receive the first identity information and the first key from a terminal configured in the process shown in FIG. 2 .
  • a specific process of the terminal transmitting the first identity information and the first key to the first home appliance is further described.
  • the obtaining method is simple, and the obtaining result is highly reliable.
  • the method further includes: extracting the first identity information and the first key stored in the storage device.
  • the distribution network is highly efficient, and the security and reliability can be guaranteed. Good.
  • step S120 the first home appliance is separately sent to the home appliance other than itself, the first identity information and the first key acquired by itself.
  • the other home appliances are distributed to the network.
  • the mobile phone sends the searched device list of the network to be distributed to the first device that is successfully assigned to the network.
  • the first successfully distributed network device follows the list sent by the mobile phone.
  • the devices in the same list in the list are directly connected, and the SSIDs and KEYs of the routers stored in the list are sent to the devices to be allocated.
  • the devices are automatically connected to the router according to the received SSID and KEY information, thereby completing multiple devices. Distribution network work.
  • the first device that has been successfully assigned to the network receives the device list, it connects to the devices to be deployed according to the device arrangement order (or random order) in the list, and transmits the SSID and KEY of the router to These devices; devices that receive the SSID and KEY are automatically connected to the router based on the SSID and KEY.
  • the specific process of the first home appliance infecting the distribution network of other home appliances is further illustrated. That is, the first home appliance transmits the first identity information and the first key acquired by itself to a specific process of the home appliances other than itself in the one or more home appliances.
  • Step S510 obtaining a list of the second identity information and the second key in which the communication module carried by the other home appliances is stored.
  • the list may be a list of the second identity information and the second key that are included in the communication module of each of the one or more home appliances, and the communication module of the first home appliance is removed. The remaining list after the second identity information.
  • the at least one of the first identity information and the second identity information may include at least one of an SSID, a MAC information, and an IP address.
  • the SSID and the KEY are adaptively used as the identity information and the key, which is beneficial to improving the security and reliability of the distribution network.
  • obtaining the list of the second identity information and the second key that are stored in the communication module of the other home appliance in step S510 may include: receiving the list sent by the terminal.
  • the mobile phone App sends the list of the remaining scanned devices to be allocated to the A device that has been successfully deployed.
  • the acquisition method is simple, and the acquisition result is highly reliable.
  • the communication module may include at least one of a WIFI module and a Bluetooth module.
  • Step S520 establishing a connection with the other home appliances according to the second identity information and the second key of the communication module carried by the other home appliances in the list.
  • Step S530 respectively transmitting the first identity information and the first key (obtained or stored by itself) to the other home appliances that establish a connection with itself.
  • the mobile phone searches the list of devices to be distributed to the first device that is successfully assigned to the network.
  • the first device that successfully distributes the network will follow the list sent by the mobile phone. Connect the devices to be assigned to the network in the list, and send the SSIDs and KEYs of the routers to the devices to be allocated to the devices, and connect the devices to the routers one by one to complete the network distribution of multiple devices.
  • the A device selects a device according to the order (or a random order) according to the list sent by the mobile phone App (assuming that the B device is selected), and A according to the SSID and KEY corresponding to the B device in the list.
  • the B device Directly connected to B, send the SSID and KEY of the router to the B device, and the B device automatically distributes the network according to the SSID and KEY sent by A.
  • the distribution process of the C and D devices is completed.
  • the first identity information and the first key are sent after establishing a connection with other home appliances, so that the success rate of transmitting the first identity information and the first key to other home appliances is high, which is beneficial to improving the distribution network of other home appliances. reliability.
  • a schematic flowchart of an embodiment of establishing a connection between the first home appliance and another home appliance in the method of the present application shown in FIG. 6 is further described, and further, the step S530 is separately sent to the other home appliance that establishes a connection with itself. The specific process.
  • Step S610 sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list.
  • Step S620 when receiving the feedback message of the other home appliance based on the first connection request, determining to establish a connection with the other home appliance.
  • the first home appliance sends a first connection request to the second home appliance.
  • the first home appliance receives the feedback message of the second home appliance based on the first connection request, sending the first identity information and the first key of the router to the second home appliance, so that The second home appliance is connected to the router according to the first identity information and the first key.
  • connection is established by transmitting the first connection request to other home appliances, so that the connection reliability is ensured, and the connection mode is simple and secure.
  • the process of establishing a connection between the first home appliance and other home appliances may further include:
  • the first device that successfully distributes the network is connected by connecting the WIFI hotspots sent by the remaining devices.
  • connection is established by receiving the second connection request sent by other home appliances, so that the connection between the first home appliance and other home appliances is flexible and versatile, and the first home appliance is connected with other home appliances. Reliability.
  • the method further includes: after the first home appliance is connected to the router, the first home appliance determines whether the distribution network is successful; and when the first home appliance determines When the distribution network of its own is successful, the other home appliances are distributed.
  • the first home appliance of one or more home appliances to be distributed to the distribution network is distributed. Determining whether the first home appliance is successfully distributed. When the first home appliance distribution network is successful, the home appliances other than the first home appliance are distributed to the one or more home appliances by the first home appliance.
  • a list of the other home appliances other than the first home appliance is transmitted to the first home appliance.
  • the first home appliance is connected to the other home appliances in the list to realize distribution of the other home appliances.
  • the efficiency of the distribution network of other home appliances can be improved, and on the other hand, the distribution network of other home appliances can be saved when the distribution network is unsuccessful. The time it takes.
  • the first home appliance may determine, by the first home appliance, whether the first home appliance allocates to the current home appliance distribution network among the other home appliances. Successfully; when the first home appliance determines that the distribution network of the current home appliance is successful, the next home appliance of the other home appliances is distributed.
  • the verification message may be sent to the router, and when the confirmation message sent by the router based on the verification message is received, it is determined that the distribution network is successful.
  • the method further includes: when the first home appliance determines that the home appliance is successfully assigned to the current home appliance, receiving the networked message that the current home appliance successfully establishes a connection with the terminal through the router.
  • the networked message includes: a first networked message that the current home appliance successfully communicates with the network, and a first networked message that establishes a connection with the terminal through the router, and/or the current home appliance that is successfully returned by the terminal A second networked message that establishes a connection with itself through the router.
  • the current home appliance determines that the distribution network of the current home appliance is successful
  • the current home appliance that has successfully obtained the distribution network by the first home appliance has established a connection with the terminal through the router.
  • the distribution network of the remaining devices does not require the participation of the user terminal.
  • the first device automatically guides the remaining one device to the network, The device information that is directed to the network is automatically transmitted to the user terminal through the router.
  • the communication between the current home appliance and the terminal is facilitated, thereby improving the convenience and reliability of the interaction between the home appliance and the terminal, and the communication flexibility. it is good.
  • the technical solution of the present embodiment can effectively solve the infected home appliance WIFI distribution network method by first distributing the network to one device and then distributing the network to other devices through the device.
  • the user When multiple devices are required to be networked, the user repeatedly operates the distribution network process, which greatly reduces the time for users to operate and wait while distributing multiple devices.
  • FIG. 2 is a schematic flowchart of an embodiment of the method of the present application.
  • the distribution method can include:
  • Step S210 connecting with the router (for example, acquiring the first identity information and the first key, and connecting to the router according to the first identity information and the first key).
  • Step S220 searching or scanning the one or more home appliances in the environment in which it is located.
  • the specific process of the terminal searching or scanning one or more home appliances may be further described in conjunction with the flowchart of an embodiment in which the terminal searches for or scans one or more home appliances in the method of the present application shown in FIG. 3 .
  • Step S310 determining whether the communication module carried by the one or more home appliances in the environment in which it is located is in an open state.
  • the WIFI with the home appliance to be equipped with the network is in the open state.
  • Step S320 when the communication module carried by the one or more home appliances is in an on state, searching or scanning the one or more home appliances in the environment.
  • the communication module carried by each of the plurality of home appliances to be distributed is in an open state.
  • the communication module carried by each of the plurality of home appliances is in an on state, the first home appliance is distributed to the network.
  • the mobile phone opens the App for the home appliance and starts the distribution process.
  • the mobile phone App is opened to start scanning of the device to be distributed, and the scanning time can be changed.
  • the communication modules of all the home appliances that are to be allocated from the terminal are opened, and the home appliance is scanned by the terminal, so that the acquired message has high reliability and the acquisition method is simple, and It is conducive to improving the convenience and efficiency of the distribution network of the first home appliance.
  • Step S230 after at least searching or scanning the first home appliance, disconnecting from the router and connecting to the communication module of the first home appliance itself.
  • the mobile phone App automatically selects one device in the searched home appliance (see the distribution network example), and sends the SSID and KEY of the router to the device for automatic distribution.
  • the mobile app will create a device list according to the order of the scanned devices (or in order), and the list stores the SSID and KEY of the WIFI module with the device, and the mobile app follows the order of the devices in the list (or random). Sequence) Select a device (assuming the selected A device), and send the SSID and KEY of the router to the A device for automatic distribution.
  • the terminal selects the first home appliance from one or more home appliances, and further illustrates that the terminal selects the first home appliance from more than one home appliance.
  • Step S410 establishing, according to the searched or scanned one or more home appliances, a list of the second identity information and the second key of each of the communication modules of the one or more home appliances.
  • Step S420 selecting the first home appliance from the list according to a search or scan sequence or a random order.
  • the first home appliance is determined by scanning the terminal through the terminal when the first home appliance is distributed, and the method of determining the first home appliance is simple; and the first home appliance determined by the scanning method has good communication. It is beneficial to improve the efficiency and success rate of the first home appliance distribution network.
  • Step S240 transmitting the first identity information (obtained or stored by itself) and the first key to the communication module of the first home appliance.
  • a mobile phone when a mobile phone is equipped with multiple devices, first connect to one of the devices and configure it to the router in the existing way.
  • the terminal After a large number of tests and verifications, using the technical solution of the embodiment, the terminal first establishes a connection with the router, searches for or scans one or more home appliances in the environment in which it is located, and disconnects itself from the router and connects to one.
  • the home appliance establishes a connection between the home appliance and the router to realize the distribution network of the home appliance, and the distribution network has good convenience and high reliability.
  • a distribution network device corresponding to the distribution network method is also provided.
  • the network distribution device may include: an own distribution network unit 102 and an infection distribution network unit 104.
  • the self-networking unit 102 is configured to obtain the first identity information and the first key of the router to be connected, and the first identity information and the first key of the router to be connected. The first identity information and the first key are connected to the router to complete their own distribution network.
  • step S110 For the specific functions and processing of the self-networking unit 102, refer to step S110.
  • the first identity information and the first key of the router of the network to be allocated are obtained.
  • the first home appliance of one or more home appliances to be distributed to the distribution network is distributed. Establish a connection between the first home appliance and the router among one or more home appliances to be distributed.
  • the mobile phone needs to allocate network to multiple devices, first configure any one of these devices to be deployed to the router.
  • the self-allocation unit 102 obtains the first identity information and the first key of the router to be connected, and specifically includes: receiving the first identity information and the first key sent by the terminal.
  • the mobile phone App sends the list of the remaining scanned devices to be distributed to the home appliance that has been successfully deployed.
  • the obtaining method is simple, and the obtaining result is highly reliable.
  • the self-networking unit 102 obtains the first identity information and the first key of the router to be connected, and may further include: extracting the first identity information and the first secret stored in the storage device. key.
  • the distribution network is highly efficient, and the security and reliability can be guaranteed. Good.
  • the infection distribution network unit 104 is configured to enable the first home appliance to send the first identity information and the first key acquired by the first home appliance to the one or more home appliances respectively.
  • Other home appliances other than itself are used to distribute the other home appliances. For the specific function and processing of the infection distribution unit 104, refer to step S120.
  • the mobile phone sends the searched device list of the network to be distributed to the first device that is successfully assigned to the network.
  • the first successfully distributed network device follows the list sent by the mobile phone.
  • the devices in the same list in the list are directly connected, and the SSIDs and KEYs of the routers stored in the list are sent to the devices to be allocated.
  • the devices are automatically connected to the router according to the received SSID and KEY information, thereby completing multiple devices. Distribution network work.
  • the first device that has been successfully assigned to the network receives the device list, it connects to the devices to be deployed according to the device arrangement order (or random order) in the list, and transmits the SSID and KEY of the router to These devices; devices that receive the SSID and KEY are automatically connected to the router based on the SSID and KEY.
  • the infected distribution network unit 104 separately sends the first identity information and the first key that are acquired by the infected distribution unit 104 to other home appliances other than the one or more home appliances, and may specifically include Obtaining a list of the second identity information and the second key in which the communication module carried by the other home appliance is stored.
  • the specific function and processing of the infection distribution unit 104 are also referred to step S510.
  • the list may be a list of the second identity information and the second key that are included in the communication module of each of the one or more home appliances, and the communication module of the first home appliance is removed. The remaining list after the second identity information.
  • the at least one of the first identity information and the second identity information may include at least one of an SSID, a MAC information, and an IP address.
  • the SSID and the KEY are adaptively used as the identity information and the key, which is beneficial to improving the security and reliability of the distribution network.
  • the infected distribution network unit 104 obtains the list of the second identity information and the second key that are stored by the communication module of the other home appliance, and may include: receiving the list sent by the terminal.
  • the mobile phone App sends the list of the remaining scanned devices to be allocated to the A device that has been successfully deployed.
  • the acquisition method is simple, and the acquisition result is highly reliable.
  • the communication module may include at least one of a WIFI module and a Bluetooth module.
  • the infected distribution network unit 104 separately sends the first identity information and the first key that are acquired by itself to other home appliances other than the one or more home appliances, and specifically The method includes: establishing a connection with the other home appliances according to the second identity information and the second key of the communication module carried by the other home appliances in the list.
  • the specific function and processing of the infection distribution unit 104 are also referred to step S520.
  • the infected distribution network unit 104 separately sends the first identity information and the first key that are acquired by itself to other home appliances other than the one or more home appliances, and specifically The method includes: transmitting the first identity information and the first key that are acquired or stored by the first identity information to the other home appliances that establish a connection with itself.
  • the specific function and processing of the infection distribution unit 104 are also referred to step S530.
  • the mobile phone searches the list of devices to be distributed to the first device that is successfully assigned to the network.
  • the first device that successfully distributes the network will follow the list sent by the mobile phone. Connect the devices to be assigned to the network in the list, and send the SSIDs and KEYs of the routers to the devices to be allocated to the devices, and connect the devices to the routers one by one to complete the network distribution of multiple devices.
  • the A device selects a device according to the order (or a random order) according to the list sent by the mobile phone App (assuming that the B device is selected), and A according to the SSID and KEY corresponding to the B device in the list.
  • the B device Directly connected to B, send the SSID and KEY of the router to the B device, and the B device automatically distributes the network according to the SSID and KEY sent by A.
  • the distribution process of the C and D devices is completed.
  • the first identity information and the first key are sent after establishing a connection with other home appliances, so that the success rate of transmitting the first identity information and the first key to other home appliances is high, which is beneficial to improving the distribution network of other home appliances. reliability.
  • establishing, by the infected distribution network unit 104, the connection with the other home appliances may include: sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list.
  • the specific function and processing of the infection distribution unit 104 are also referred to step S610.
  • the infecting network unit 104 respectively establishes a connection with the other home appliances, and may further include: determining to establish a connection with the other home appliances when receiving the feedback message of the other home appliances based on the first connection request.
  • the specific function and processing of the infection distribution unit 104 are also referred to step S620.
  • the first home appliance sends a first connection request to the second home appliance.
  • the first home appliance receives the feedback message of the second home appliance based on the first connection request, sending the first identity information and the first key of the router to the second home appliance, so that The second home appliance is connected to the router according to the first identity information and the first key.
  • connection is established by transmitting the first connection request to other home appliances, so that the connection reliability is ensured, and the connection mode is simple and secure.
  • the initiating distribution network unit 104 respectively establishes a connection with the other home appliances, and may further include: receiving, according to an arrangement order or a random order of the other home appliances in the list, a second connection request sent by the other home appliances .
  • the infecting distribution network unit 104 respectively establishes a connection with the other home appliances, and may further comprise: establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
  • the first device that successfully distributes the network is connected by connecting the WIFI hotspots sent by the remaining devices.
  • connection is established by receiving the second connection request sent by other home appliances, so that the connection between the first home appliance and other home appliances is flexible and versatile, and the first home appliance is connected with other home appliances. Reliability.
  • the method further includes: determining whether the first home appliance itself is successfully deployed.
  • the self-networking unit 102 may be further configured to: after the first home appliance is connected to the router, determine, by the first home appliance, whether the distribution network is successful; When a home appliance determines that its distribution network is successful, the other home appliances are distributed.
  • the first home appliance of one or more home appliances to be distributed to the distribution network is used to determine whether the first home appliance is successfully networked; when the first home appliance distribution network is successful, the first set is passed.
  • the home appliance distributes the home appliance other than the first home appliance to the one or more home appliances.
  • the list of the other home appliances other than the first home appliance is transmitted to the first home appliance;
  • the first home appliance is respectively connected to the other home appliances in the list to implement the other distribution network.
  • the efficiency of the distribution network of other home appliances can be improved, and on the other hand, the distribution network of other home appliances can be saved when the distribution network is unsuccessful. The time it takes.
  • the method further includes: determining whether the first home appliance is successful in the distribution network of the other home appliances.
  • the infected distribution network unit 104 may be further configured to: when the first home appliance performs network distribution on the other home appliances, enable the first home appliance to determine its current current among the other home appliances Whether the home appliance distribution network is successful; when the first home appliance determines that the current home appliance distribution network is successful, the next home appliance of the other home appliances is distributed.
  • the verification message may be sent to the router, and when the confirmation message sent by the router based on the verification message is received, it is determined that the distribution network is successful.
  • the method further includes: connecting the terminal to the terminal through the router after the other home appliance distribution network succeeds.
  • the infected distribution network unit 104 may be further configured to: when the first home appliance determines that the distribution network of the current home appliance is successful, the current home appliance that has successfully received the distribution network establishes a connection with the terminal through the router. Networked message.
  • the networked message includes: a first networked message that the current home appliance successfully communicates with the network, and a first networked message that establishes a connection with the terminal through the router, and/or the current home appliance that is successfully returned by the terminal A second networked message that establishes a connection with itself through the router.
  • the current home appliance determines that the distribution network of the current home appliance is successful
  • the current home appliance that has successfully obtained the distribution network by the first home appliance has established a connection with the terminal through the router.
  • the distribution network of the remaining devices does not require the participation of the user terminal.
  • the first device automatically guides the remaining one device to the network, The device information that is directed to the network is automatically transmitted to the user terminal through the router.
  • the communication between the current home appliance and the terminal is facilitated, thereby improving the convenience and reliability of the interaction between the home appliance and the terminal, and the communication flexibility. it is good.
  • the technical solution of the present application is convenient and reliable with the connection and distribution network of the terminal and the first device.
  • another distribution device corresponding to another distribution network method is also provided.
  • the other network device may include: a communication unit 202 and a processing unit 204.
  • the communication unit 202 can be configured to connect to the router (for example, acquiring the first identity information and the first key, according to the first identity information and the first A key is connected to the router).
  • the specific function and processing of the communication unit 202 are also referred to step S210.
  • the terminal is configured to be executable to be connected to the router (eg, acquiring the first identity information and the first key, and connecting according to the first identity information and the first key To the router).
  • the processing unit 204 can be used to search or scan the one or more home appliances in the environment in which it is located.
  • the specific functions and processing of the processing unit 204 are also referred to step S220.
  • the terminal is configured to perform: searching or scanning the one or more home appliances in an environment in which it is located.
  • the processing unit 204 searches for or scans the foregoing in the environment in which the user is located.
  • the one or more home appliances may include: determining whether the communication module carried by the one or more home appliances in the environment in which the user is located is in an open state.
  • the specific functions and processing of the processing unit 204 are also referred to step S310.
  • the WIFI with the home appliance to be equipped with the network is in the open state.
  • the processing unit 204 searches for or scans the one or more home appliances in the environment in which the device is located, and may further include: when the communication module carried by the one or more home appliances is in an open state, Searching or scanning one or more home appliances in the environment.
  • the specific functions and processing of the processing unit 204 are also referred to step S320.
  • the communication module carried by each of the plurality of home appliances to be distributed is in an open state.
  • the communication module carried by each of the plurality of home appliances is in an on state, the first home appliance is distributed to the network.
  • the mobile phone opens the App for the home appliance and starts the distribution process.
  • the mobile phone App is opened to start scanning of the device to be distributed, and the scanning time can be changed.
  • the communication modules of all the home appliances that are to be allocated from the terminal are opened, and the home appliance is scanned by the terminal, so that the acquired message has high reliability and the acquisition method is simple, and It is conducive to improving the convenience and efficiency of the distribution network of the first home appliance.
  • the processing unit 204 is further configured to: after at least searching or scanning the first home appliance, disconnect the connection with the router, and connect to the first home appliance itself. Communication module.
  • the specific functions and processing of the processing unit 204 are also referred to step S230.
  • the terminal is configured to perform: when at least searching or scanning the first home appliance, disconnecting from the router and connecting to the communication module of the first home appliance itself.
  • the mobile phone App automatically selects one device in the searched home appliance (see the distribution network example), and sends the SSID and KEY of the router to the device for automatic distribution.
  • the mobile app will create a device list according to the order of the scanned devices (or in order), and the list stores the SSID and KEY of the WIFI module with the device, and the mobile app follows the order of the devices in the list (or random). Sequence) Select a device (assuming the selected A device), and send the SSID and KEY of the router to the A device for automatic distribution.
  • the processing unit 204 searches or scans at least the first home appliance, which may include: searching or scanning according to the The one or more home appliances establish a list of the second identity information and the second key of each of the communication modules of the one or more home appliances.
  • the specific functions and processing of the processing unit 204 are also referred to step S410.
  • the processing unit 204 searches for or scans at least the first home appliance, and may further include: selecting the first home appliance from the list according to a search or scan sequence or a random order .
  • the specific functions and processing of the processing unit 204 are also referred to step S420.
  • the first home appliance is determined by scanning the terminal through the terminal when the first home appliance is distributed, and the method of determining the first home appliance is simple; and the first home appliance determined by the scanning method has good communication. It is beneficial to improve the efficiency and success rate of the first home appliance distribution network.
  • the processing unit 204 may be further configured to send the first identity information and the first key that are acquired or stored by itself to the communication module of the first home appliance.
  • the specific functions and processing of the processing unit 204 are also referred to step S240.
  • the terminal is configured to further perform: sending the first identity information and the first key acquired or stored by itself to the communication module of the first home appliance.
  • a mobile phone when a mobile phone is equipped with multiple devices, first connect to one of the devices and configure it to the router in the existing way.
  • the terminal After a large number of tests and verifications, using the technical solution of the embodiment, the terminal first establishes a connection with the router, searches for or scans one or more home appliances in the environment in which it is located, and disconnects itself from the router and connects to one.
  • the home appliance establishes a connection between the home appliance and the router to realize the distribution network of the home appliance, and the distribution network has good convenience and high reliability.
  • a storage medium corresponding to the distribution network method is also provided.
  • the storage medium may include: the storage medium stores a plurality of instructions; the plurality of instructions are used by the processor to load and execute the network distribution method described above, or loaded by the processor and executed by the other The distribution network method.
  • the first device After a large number of tests and verifications, using the technical solution of the present application, after the first device is successfully deployed, the first device is connected with other devices to distribute the other devices one by one, which not only improves the efficiency of the distribution network. It has improved the intelligence of home appliance distribution network.
  • a terminal corresponding to the distribution network method may include: a processor for executing a plurality of instructions; a memory for storing a plurality of instructions; wherein the plurality of instructions are stored by the memory and loaded and executed by the processor Another distribution network method as described above; or another distribution network device as described above.
  • the processing and functions implemented by the terminal in this embodiment substantially correspond to the foregoing method instructions shown in FIG. 2 to FIG. 4, or the embodiments, principles, and examples of the device shown in FIG. 8. Therefore, the description in this embodiment is not For details, refer to the related description in the foregoing embodiment, and details are not described herein.
  • the technical solution of the present application is used to connect and distribute the network by sending SSID and KEY, and the distribution network has high reliability and good security.
  • a home appliance corresponding to a distribution device or a storage medium may include: a processor for executing a plurality of instructions; a memory for storing a plurality of instructions; wherein the plurality of instructions are used by the memory to be stored by the processor and executed by the processor The distribution method described above; or the distribution network device described above.
  • the method for infecting a WIFI distribution network between the home appliances may include: when the mobile phone needs to perform network distribution on multiple devices, first configure any one of the devices to be allocated to the router. After the first device successfully distributes the network, the mobile phone sends the searched device list of the network to be distributed to the first device with the successful distribution network, and the first successfully distributed network device according to the list sent by the mobile phone.
  • the devices in the list to be directly connected to the network are directly connected, and the SSIDs and KEYs of the routers stored in the list are respectively sent to the devices to be allocated to the network.
  • the devices are automatically connected to the router according to the received SSID and KEY information, thereby completing multiple The distribution network of the equipment works.
  • the method for infective distribution network between the household electrical appliances may include: when the mobile phone performs multiple equipment distribution networks, first connects to One of the devices is configured into the router according to the existing method; after the first device successfully distributes the network, the mobile phone searches the list of devices to be distributed to the network to be successfully delivered. For the first device, the first device that successfully distributes the network will connect to the device to be deployed in the list according to the list sent by the mobile phone, and send the SSID and KEY of the router to be stored to the devices to be allocated. The devices are connected to the router one by one to complete the distribution work of multiple devices.
  • the infective home appliance WIFI distribution network method (ie, the method of infective distribution network between home appliances) may include:
  • Step 1 The WIFI with the home appliance to be distributed is in the open state.
  • Step 2 The mobile phone opens the App for the home appliance, and starts the distribution process.
  • Step 3 The mobile phone App automatically selects one device in the searched home appliance (see the distribution network example), and sends the SSID and KEY of the router to the device for automatic network distribution.
  • Step 4 After the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be distributed to the home appliance that has been successfully deployed.
  • Step 5 After receiving the device list, the first device that has been successfully deployed with the network connects to the devices to be deployed according to the device arrangement order (or random order) in the list, and transmits the SSID and KEY of the router. To these devices; devices that receive the SSID and KEY are automatically connected to the router based on the SSID and KEY.
  • Step 1 Ensure that the WIFI of the four devices is turned on.
  • Step 2 Open the mobile phone App to start scanning of the device to be distributed, and the scanning time can be changed.
  • Step 3 The mobile app creates a device list according to the sequence of the scanned devices (or in sequence), and stores the SSID and KEY of the WIFI module with the device, and the mobile phone App follows the order of the devices in the list (or Random order) Select a device (assuming the selected A device), send the SSID and KEY of the router to the A device for automatic distribution.
  • Step 4 After the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be allocated to the A device that has been successfully deployed.
  • Step 5 According to the list sent by the mobile phone App, the A device selects one device according to the sorting order (or random order) (assuming that the B device is selected), and the A directly connects the router according to the SSID corresponding to the B device in the list and the KEY and the B.
  • the SSID and KEY are sent to the B device, and the B device performs automatic distribution according to the SSID and KEY sent by A.
  • Step 6 Repeat step 5 to complete the network distribution process of the C and D devices.
  • the first device successfully deployed through the distribution network distributes the other devices in a sequential or random manner, and the distribution network has good flexibility and versatility.

Abstract

Disclosed in the present application are a network assigned method and apparatus, a storage medium, a terminal, and a home appliance, the method comprising: a first home appliance amongst one or more home appliances to be assigned to a network acquires first identity information and a first key of a router to be connected, and connects to the router on the basis of the first identity information and the first key, in order to assign said home appliance to the network; the first home appliance respectively sends the acquired first identity information and the first key to all the other home appliances amongst the one or more home appliances, in order to implement the process of assigning said other home appliances to the network. The solution of the present application can overcome the defects in the prior art of cumbersome operating procedures, taking a long time, and poor user experience, and implements the beneficial effects of a simple operating procedure, taking a short time, and good user experience.

Description

配网方法、装置、存储介质、终端及家电Distribution network method, device, storage medium, terminal and home appliance
相关申请Related application
本申请要求2017年08月07日申请的,申请号为201710665833.3,名称为“一种配网方法、装置、存储介质、终端及家电”的中国专利申请的优先权,在此将其全文引入作为参考。The present application claims priority to Chinese Patent Application No. 201710665833.3, entitled "A Networking Method, Apparatus, Storage Medium, Terminal, and Home Appliances", which is hereby incorporated by reference in its entirety. reference.
技术领域Technical field
本申请属于家电技术领域,具体涉及一种配网方法、装置、存储介质、终端及家电,尤其涉及一种感染式的家电WIFI配网方法、与该方法对应的装置、存储有该方法的存储介质、能够执行该方法的终端、以及具有该装置或存储介质的家电。The present invention relates to the field of home appliance technology, and particularly relates to a network distribution method, device, storage medium, terminal, and home appliance, and more particularly to an infected home appliance WIFI distribution network method, a device corresponding to the method, and a storage method stored thereby A medium, a terminal capable of performing the method, and a home appliance having the device or the storage medium.
背景技术Background technique
WIFI(Wireless Fidelity,基于IEEE 802.11b标准的无线局域网),是一种允许电子设备连接到一个无线局域网(WLAN)的技术,通常使用2.4G UHF或5G SHF ISM射频频段。智能家居(smart home,home automation),是以住宅为平台,利用综合布线技术、网络通信技术、安全防范技术、自动控制技术、音视频技术将家居生活有关的设施集成,构建高效的住宅设施与家庭日程事务的管理系统,提升家居安全性、便利性、舒适性、艺术性,并实现环保节能的居住环境。WIFI (Wireless Fidelity, IEEE 802.11b-based wireless LAN) is a technology that allows electronic devices to connect to a wireless local area network (WLAN), usually using 2.4G UHF or 5G SHF ISM radio frequency bands. Smart home (home automation) is a residential platform that integrates home-related facilities with integrated wiring technology, network communication technology, security technology, automatic control technology, audio and video technology to build efficient residential facilities and The management system of family schedule affairs enhances home safety, convenience, comfort, and artistry, and realizes an environmentally friendly and energy-saving living environment.
现有的技术如果需要进行多台设备的配网,需要用手机将设备一台一台的连接到路由器中去,需要用户重复操作的次数较多,并且配网等待的时间较长。If the existing technology needs to carry out the distribution network of multiple devices, it is necessary to connect the devices one by one to the router by using a mobile phone, and the number of times the user needs to repeat the operation is large, and the waiting time of the distribution network is long.
现有技术中,存在操作过程繁琐、花费时间长和用户体验差等缺陷。In the prior art, there are defects such as cumbersome operation, long time spent, and poor user experience.
发明内容Summary of the invention
本申请的目的在于,针对上述缺陷,提供一种配网方法、装置、存储介质、终端及家电,以解决现有技术中多台设备配网时用户重复操作配网流程导致操作过程繁琐的问题,达到简化操作过程的效果。The purpose of the present application is to provide a distribution network method, device, storage medium, terminal, and home appliance to solve the above-mentioned deficiencies, so as to solve the problem that the operation process is complicated when the user repeatedly operates the network distribution process when multiple devices are deployed in the prior art. To achieve the effect of simplifying the operation process.
本申请提供一种配网方法,包括:使待配网的一台以上家电中的第一台家电,获取待连接的路由器的第一身份信息及第一密钥,并根据所述第一身份信息及所述第一密钥连接到所述路由器,以完成自身配网;使所述第一台家电,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,以对所述其它家电进行配网。The present invention provides a method for distributing a network, comprising: obtaining, by a first home appliance of one or more home appliances of a network to be distributed, first identity information and a first key of a router to be connected, and according to the first identity And the first key is connected to the router to complete the distribution network; and the first home appliance sends the first identity information and the first key acquired by the first home appliance to the home The home appliances other than one of the one or more home appliances are distributed to the other home appliances.
可选地,获取待连接的路由器的第一身份信息及第一密钥,包括:接收终端发送的所述第一身份信息及所述第一密钥。Optionally, the first identity information and the first key of the router to be connected are obtained, including: receiving the first identity information and the first key sent by the terminal.
可选地,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,包括:获取存储有所述其它家电所带通信模块的第二身份 信息及第二密钥的列表;根据所述列表中所述其它家电所带通信模块的所述第二身份信息及所述第二密钥,分别与所述其它家电建立连接;将所述第一身份信息及所述第一密钥,分别发送至与自身建立连接的所述其它家电。Optionally, the first identity information and the first key that are obtained by the user are respectively sent to other home appliances other than the one or more home appliances, including: acquiring and storing the other home appliances a second identity information and a second key list of the communication module; and the second identity information and the second key of the communication module carried by the other home appliances in the list, respectively, and the other home appliances Establishing a connection; and transmitting the first identity information and the first key to the other home appliances that establish a connection with itself.
可选地,其中,获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表,包括:接收由终端发送的所述列表;和/或,分别与所述其它家电建立连接,包括:按所述列表中所述其它家电的排列顺序或随机顺序,分别向所述其它家电发送第一连接请求;接收到所述其它家电基于所述第一连接请求的反馈消息时,确定与所述其它家电建立连接;和/或,分别与所述其它家电建立连接,还包括:按所述列表中所述其它家电的排列顺序或随机顺序,接收所述其它家电发送的第二连接请求;根据所述第二连接请求,与所述其它家电中的相应家电建立连接。Optionally, obtaining a list of the second identity information and the second key that are stored by the communication module of the other home appliance, including: receiving the list sent by the terminal; and/or separately from the other Establishing a connection by the home appliance, comprising: sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list; receiving a feedback message of the other home appliance based on the first connection request And determining to establish a connection with the other home appliances; and/or establishing a connection with the other home appliances respectively, further comprising: receiving, according to an arrangement order or a random order of the other home appliances in the list, receiving the sending by the other home appliances a second connection request; establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
可选地,其中,所述第一身份信息、所述第二身份信息中的至少之一,包括:SSID、MAC信息、IP地址中的至少之一;和/或,所述通信模块,包括:WIFI模块、蓝牙模块中的至少之一。Optionally, wherein at least one of the first identity information and the second identity information includes: at least one of an SSID, a MAC information, and an IP address; and/or the communication module includes : at least one of a WIFI module and a Bluetooth module.
可选地,还包括:使所述第一台家电确定自身配网是否成功;以当所述第一台家电确定自身配网成功时,才对所述其它家电进行配网;和/或,使所述第一台家电确定自身对所述其它家电中的当前家电配网是否成功;以当所述第一台家电确定自身对所述当前家电配网成功时,才对所述其它家电中的下一台家电进行配网;和/或,当所述第一台家电确定自身对所当前家电配网成功时,接收到配网成功的所述当前家电通过所述路由器与终端建立连接的联网消息。Optionally, the method further includes: determining, by the first home appliance, whether the distribution network is successful; and performing the network distribution on the other home appliances when the first home appliance determines that the distribution network is successful; and/or, Determining, by the first home appliance, whether the distribution network of the current home appliance in the other home appliances is successful; and when the first home appliance determines that the distribution network of the current home appliance is successful, the other home appliances are The next home appliance performs a distribution network; and/or, when the first home appliance determines that the distribution network of the current home appliance is successful, the current home appliance that has successfully received the distribution network establishes a connection with the terminal through the router. Networked messages.
本申请提供一种配网方法,包括:与路由器连接;搜索或扫描自身所处环境中以上所述的一台以上家电;当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接,并连接至所述第一台家电自身的通信模块;将所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。The present application provides a distribution network method, including: connecting with a router; searching or scanning one or more home appliances described above in an environment in which it is located; and disconnecting and scanning at least after searching or scanning the first home appliance Connecting the router and connecting to the communication module of the first home appliance itself; and transmitting the first identity information and the first key to the communication module of the first home appliance.
可选地,其中,搜索或扫描自身所处环境中的所述一台以上家电,包括:确定自身所处环境中所述一台以上家电所带的通信模块是否处于开启状态;当所述一台以上家电所带的通信模块处于开启状态时,对所述环境中所述一台以上家电进行搜索或扫描;和/或,至少搜索或扫描到所述第一台家电,包括:根据搜索或扫描到的所述一台以上家电,建立所述一台以上家电各自所带通信模块的所述第二身份信息及所述第二密钥的列表;按搜索或扫描到的先后顺序或随机顺序,自所述列表中选取所述第一台家电。Optionally, wherein searching or scanning the one or more home appliances in an environment in which the user is located includes: determining whether a communication module carried by the one or more home appliances in an environment in which the device is located is in an open state; Searching or scanning the one or more home appliances in the environment when the communication module carried by the home appliance or higher is in an open state; and/or searching or scanning at least the first home appliance, including: according to a search or Scanning the one or more home appliances, establishing a list of the second identity information and the second key of each of the communication modules of the one or more home appliances; in a sequential or random order according to a search or scan And selecting the first home appliance from the list.
与上述方法相匹配,本申请另一方面提供一种配网装置,包括:自身配网单元,用于使待配网的一台以上家电中的第一台家电,获取待连接的路由器的第一身份信息及第一密钥,并根据所述第一身份信息及所述第一密钥连接到所述路由器,以完成自身配网;感染配网单元,用于使所述第一台家电,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,以对所述其它家电进行配网。In accordance with the above method, another aspect of the present application provides a network distribution device, including: a self-distributing network unit, configured to enable a first home appliance of one or more home appliances to be distributed to obtain a router to be connected An identity information and a first key, and connected to the router according to the first identity information and the first key to complete a network of the user; the infected network unit is configured to enable the first home appliance And transmitting the first identity information and the first key acquired by the user to the home appliances other than the one of the one or more home appliances to distribute the other home appliances.
可选地,所述自身配网单元获取待连接的路由器的身份识别信息,具体包括:接收终端发送的所述第一身份信息及所述第一密钥。Optionally, the self-provisioning network unit obtains the identity identification information of the router to be connected, and specifically includes: receiving, by the terminal, the first identity information and the first key.
可选地,所述感染配网单元将自身获取的所述第一身份信息及所述第一密钥,分别发 送至所述一台以上家电中除自身之外的其它家电,具体包括:获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表;根据所述列表中所述其它家电所带通信模块的所述第二身份信息及所述第二密钥,分别与所述其它家电建立连接;将所述第一身份信息及所述第一密钥,分别发送至与自身建立连接的所述其它家电。Optionally, the infected distribution network unit separately sends the first identity information and the first key that are obtained by the infected distribution network unit to other home appliances other than the one or more home appliances, including: acquiring Storing a second identity information and a second key list of the communication module carried by the other home appliance; according to the second identity information and the second key of the communication module carried by the other home appliances in the list Establishing a connection with the other home appliances respectively; and transmitting the first identity information and the first key to the other home appliances that establish a connection with itself.
可选地,其中,所述感染配网单元获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表,具体包括:接收由终端发送的所述列表;和/或,所述感染配网单元分别与所述其它家电建立连接,具体包括:按所述列表中所述其它家电的排列顺序或随机顺序,分别向所述其它家电发送第一连接请求;接收到所述其它家电基于所述第一连接请求的反馈消息时,确定与所述其它家电建立连接;和/或,所述感染配网单元分别与所述其它家电建立连接,具体还包括:按所述列表中所述其它家电的排列顺序或随机顺序,接收所述其它家电发送的第二连接请求;根据所述第二连接请求,与所述其它家电中的相应家电建立连接。Optionally, the infected distribution network unit obtains a list of the second identity information and the second key that are stored by the communication module of the other home appliance, and specifically includes: receiving the list sent by the terminal; and/ Or the establishing, by the infective distribution network unit, the connection with the other home appliances, specifically: sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list; When the other home appliances are based on the feedback message of the first connection request, determining to establish a connection with the other home appliances; and/or, the infected distribution network unit respectively establishes a connection with the other home appliances, and specifically includes: Receiving a second connection request sent by the other home appliance according to the arrangement order or random order of the other home appliances in the list; establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
可选地,其中,所述第一身份信息、所述第二身份信息中的至少之一,包括:SSID、MAC信息、IP地址中的至少之一;和/或,所述通信模块,包括:WIFI模块、蓝牙模块中的至少之一。Optionally, wherein at least one of the first identity information and the second identity information includes: at least one of an SSID, a MAC information, and an IP address; and/or the communication module includes : at least one of a WIFI module and a Bluetooth module.
可选地,还包括:所述自身配网单元,还用于使使所述第一台家电确定自身配网是否成功;以当所述第一台家电确定自身配网成功时,才对所述其它家电进行配网;和/或,所述感染配网单元,还用于使使所述第一台家电确定自身对所述其它家电中的当前家电配网是否成功;以当所述第一台家电确定自身对所述当前家电配网成功时,才对所述其它家电中的下一台家电进行配网;和/或,当所述第一台家电确定自身对所当前家电配网成功时,接收到配网成功的所述当前家电通过所述路由器与终端建立连接的联网消息。Optionally, the method further includes: the self-distributing network unit, further configured to enable the first home appliance to determine whether the distribution network is successful; and when the first home appliance determines that the distribution network is successful, The other home appliance performs a distribution network; and/or the infected distribution network unit is further configured to enable the first home appliance to determine whether it is successful for the current home appliance distribution network among the other home appliances; When a home appliance determines that the distribution network of the current home appliance is successful, the next home appliance of the other home appliances is distributed; and/or, when the first home appliance determines that it is equipped with the current home appliance distribution network Upon successful, the current home appliance that has successfully received the distribution network successfully establishes a connected networked message with the terminal through the router.
与上述方法相匹配,本申请另一方面提供一种配网装置,包括:通信单元,用于与所述路由器连接;处理单元,用于搜索或扫描自身所处环境中的以上所述一台以上家电;所述处理单元,还用于当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接;所述通信单元,还用于在断开与所述路由器的连接后,连接至所述第一台家电自身的通信模块;所述通信单元,还用于将所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。In accordance with the above method, another aspect of the present application provides a network distribution apparatus, including: a communication unit for connecting to the router; and a processing unit for searching or scanning one of the above-mentioned ones in an environment in which it is located The processing unit is further configured to: disconnect the connection with the router after searching or scanning at least the first home appliance; and the communication unit is further configured to disconnect from the router After being connected, connecting to the communication module of the first home appliance itself; the communication unit is further configured to send the first identity information and the first key to the communication of the first home appliance Module.
可选地,其中,所述处理单元搜索或扫描自身所处环境中的所述一台以上家电,具体包括:确定自身所处环境中所述一台以上家电所带的通信模块是否处于开启状态;当所述一台以上家电所带的通信模块处于开启状态时,对所述环境中所述一台以上家电进行搜索或扫描;和/或,所述处理单元至少搜索或扫描到所述第一台家电,具体包括:根据搜索或扫描到的所述一台以上家电,建立所述一台以上家电各自所带通信模块的身份识别信息的列表;按搜索或扫描到的先后顺序或随机顺序,自所述列表中选取所述第一台家电。Optionally, the processing unit searches for or scans the one or more home appliances in an environment in which the device is located, and specifically includes: determining whether a communication module carried by the one or more home appliances in an environment in which the device is located is in an open state Searching or scanning the one or more home appliances in the environment when the communication module carried by the one or more home appliances is in an open state; and/or the processing unit searches or scans at least the a home appliance, specifically comprising: establishing, according to the searched or scanned one or more home appliances, a list of identification information of the communication modules respectively carried by the one or more home appliances; in a sequential or random order according to a search or scan And selecting the first home appliance from the list.
与上述方法相匹配,本申请再一方面提供一种存储介质,包括:所述存储介质中存储有多条指令;所述多条指令,用于由处理器加载并执行以上所述的配网方法、或由处理器加载并执行以上另一所述的配网方法。In accordance with the foregoing method, a further aspect of the present application provides a storage medium, including: storing, in the storage medium, a plurality of instructions, where the multiple instructions are used by a processor to load and execute the distribution network described above. The method, or loaded by the processor and performing the distribution method described above.
与上述装置、或存储介质相匹配,本申请再一方面提供一种终端,包括:处理器,用 于执行多条指令;存储器,用于存储多条指令;其中,所述多条指令,用于由所述存储器存储,并由所述处理器加载并执行以上另一所述的配网方法;或者,以上另一所述的配网装置。In another aspect, the present application provides a terminal, including: a processor, configured to execute a plurality of instructions; a memory, configured to store a plurality of instructions; wherein the plurality of instructions are used by Stored by the memory, and loaded by the processor and executed by the other network method described above; or another network device as described above.
与上述装置、或存储介质相匹配,本申请再一方面提供一种家电,包括:处理器,用于执行多条指令;存储器,用于存储多条指令;其中,所述多条指令,用于由所述存储器存储,并由处理器加载并执行以上所述的配网方法;或者,以上所述的配网装置。The present invention further provides a home appliance, comprising: a processor, configured to execute a plurality of instructions; a memory, configured to store a plurality of instructions; wherein the plurality of instructions are used by the device, or the storage medium Stored by the memory and loaded by the processor and executed by the distribution method described above; or the network arrangement device described above.
本申请的方案,通过先对一台设备进行配网,再通过该设备对其它设备进行配网的这种感染式的家电WIFI配网方法,能够有效地解决需要进行多台设备配网的时候,用户重复操作配网流程的问题,大大地减少用户进行多台设备配网时进行操作和等待的时间。The solution of the present application can effectively solve the problem of requiring multiple devices to be equipped with the network by first distributing the network to one device and then distributing the network through the device to the infected device. The problem of repeating the operation of the distribution network by the user greatly reduces the time for the user to operate and wait while performing multiple devices.
进一步,本申请的方案,通过终端与第一台设备的连接及配网,配网方便,且可靠性高。Further, the solution of the present application is convenient and reliable with the connection and distribution network of the terminal and the first device.
进一步,本申请的方案,通过第一台设备配网成功后,通过第一台设备与其它设备之间进行连接以对其它设备进行逐一配网,不仅提升了配网效率,提升了家电配网的智能化程度。Further, after the first device is successfully deployed, the solution of the present application is connected to other devices through the first device to perform network distribution one by one, which not only improves the efficiency of the distribution network, but also improves the distribution network of the home appliance. The degree of intelligence.
进一步,本申请的方案,通过发送SSID和KEY的方式进行连接和配网,配网可靠性高、安全性好。Further, the solution of the present application connects and distributes the network by sending the SSID and the KEY, and the distribution network has high reliability and good security.
进一步,本申请的方案,通过配网成功的第一台设备按顺序或随机的方式对其它设备进行配网,配网灵活性好、通用性强。Further, in the solution of the present application, the first device successfully deployed through the distribution network performs network distribution on other devices in a sequential or random manner, and the distribution network has good flexibility and versatility.
由此,本申请的方案,通过先使终端连接至一台设备,将该设备连接至路由器进行配网之后,再通过该设备对其它设备进行配网;解决现有技术中多台设备配网时用户重复操作配网流程导致操作过程繁琐的问题,从而,克服现有技术中操作过程繁琐、花费时间长和用户体验差的缺陷,实现操作过程简单、花费时间少和用户体验好的有益效果。Therefore, the solution of the present application is to first connect the terminal to a device, connect the device to the router to perform the distribution network, and then distribute the network to other devices through the device; When the user repeatedly operates the distribution network process, the operation process is cumbersome, thereby overcoming the cumbersome operation process, long time and poor user experience in the prior art, and the operation process is simple, the time spent is small, and the user experience is good. .
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。Other features and advantages of the present application will be set forth in the description which follows.
下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。The technical solutions of the present application are further described in detail below through the accompanying drawings and embodiments.
附图说明DRAWINGS
图1为本申请的一配网方法的一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a distribution network method according to the present application;
图2为本申请的另一配网方法中第一台家电自终端获取路由器的第一身份信息及第一密钥时终端发送第一身份信息及第一密钥的一实施例的流程示意图;2 is a schematic flowchart of an embodiment of a first home appliance in which the first home appliance obtains the first identity information and the first key of the router when the first home appliance obtains the first identity information and the first key from the terminal;
图3为本申请的另一配网方法中终端搜索或扫描一台以上家电的一实施例的流程示意图;3 is a schematic flowchart of an embodiment of a terminal searching or scanning one or more home appliances in another method of the distribution network according to the present application;
图4为本申请的另一配网方法中终端自一台以上家电中选取第一台家电的一实施例的流程示意图;4 is a schematic flow chart of an embodiment of selecting a first home appliance from one or more home appliances in another method of the network in the present application;
图5为本申请的一配网方法中第一台家电对其它家电进行感染配网的一实施例的流程示意图;FIG. 5 is a schematic flowchart of an embodiment of a first home appliance infecting a distribution network of other home appliances according to a distribution network method of the present application; FIG.
图6为本申请的一配网方法中第一台家电与其它家电建立连接的一实施例的流程示意 图;6 is a schematic flow chart of an embodiment of establishing a connection between a first home appliance and another home appliance in a distribution network method of the present application;
图7为本申请的一配网装置的一实施例的结构示意图;FIG. 7 is a schematic structural diagram of an embodiment of a distribution network device according to the present application; FIG.
图8为本申请的另一配网装置的一实施例的结构示意图;FIG. 8 is a schematic structural diagram of another embodiment of another network device according to the present application; FIG.
图9为本申请的家电的一实施例的配网原理示意图。FIG. 9 is a schematic diagram of the distribution network principle of an embodiment of the home appliance of the present application.
结合附图,本申请实施例中附图标记如下:With reference to the accompanying drawings, the reference numerals in the embodiments of the present application are as follows:
102-自身配网单元;104-感染配网单元;202-通信单元;204-处理单元。102-self-networking unit; 104-infected network unit; 202-communication unit; 204-processing unit.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the present application will be clearly and completely described in the following with reference to the specific embodiments of the present application and the corresponding drawings. It is apparent that the described embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在一个例子中,带有WIFI的智能家居产品进行配网时,需要经过如下步骤完成:In an example, when a smart home product with WIFI is used for distribution network, the following steps are required:
步骤1、家电设备开启WIFI功能。Step 1. The home appliance turns on the WIFI function.
步骤2、手机打开App(计算机应用程序),搜寻家电设备。Step 2. The mobile phone opens the App (computer application) and searches for home appliances.
步骤3、App扫描到设备,手机WIFI断开同路由器的连接并和家电设备WIFI连接,App将路由的SSID(Service Set Identifier,服务集标识)和KEY(密钥)发送至家电设备,家电设备按照SSID和KEY连接至路由器,手机恢复同路由器的连接。Step 3: The App scans the device, and the mobile phone WIFI disconnects from the router and connects with the home appliance WIFI. The App sends the SSID (Service Set Identifier) and the KEY (key) of the route to the home appliance, and the home appliance. Connect to the router according to SSID and KEY, and the phone resumes the connection with the router.
根据本申请的实施例,提供了一种配网方法,如图1所示本申请的方法的一实施例的流程示意图。该配网方法可以包括:According to an embodiment of the present application, a distribution network method is provided, as shown in FIG. 1 is a schematic flowchart of an embodiment of the method of the present application. The distribution method can include:
在步骤S110处,使待配网的一台以上家电中的第一台家电,获取待连接的路由器的第一身份信息及第一密钥,并根据所述第一身份信息及所述第一密钥连接到所述路由器,以完成自身配网。At step S110, the first home appliance of the one or more home appliances to be distributed is obtained, and the first identity information and the first key of the router to be connected are obtained, and according to the first identity information and the first A key is connected to the router to complete its own distribution network.
例如:获取待配网的路由器的第一身份信息及第一密钥。对待配网的一台以上家电中的第一台家电进行配网。建立待配网的一台以上家电中的第一台家电与路由器之间的连接。For example, the first identity information and the first key of the router of the network to be allocated are obtained. The first home appliance of one or more home appliances to be distributed to the distribution network is distributed. Establish a connection between the first home appliance and the router among one or more home appliances to be distributed.
例如:当手机需要对多台设备进行配网时,首先将这些待配网设备中的任意一台配置到路由器中去。For example, when the mobile phone needs to allocate network to multiple devices, first configure any one of these devices to be deployed to the router.
可选地,步骤S110中获取待连接的路由器的第一身份信息及第一密钥,可以包括:接收终端发送的所述第一身份信息及所述第一密钥。Optionally, the acquiring the first identity information and the first key of the router to be connected in step S110 may include: receiving the first identity information and the first key sent by the terminal.
例如:配网成功之后,手机App将剩余扫描到的待配网的设备列表发送给已经配网成功的家电设备。For example, after the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be distributed to the home appliance that has been successfully deployed.
可选地,第一台家电自终端获取路由器的第一身份信息及第一密钥时,可以通过终端向第一台家电发送第一身份信息及第一密钥。在一个可选具体例子中,所述终端,被配置为可以执行步骤S210至步骤S240的操作。Optionally, when the first home appliance obtains the first identity information and the first key of the router from the terminal, the first identity information and the first key may be sent by the terminal to the first home appliance. In an optional specific example, the terminal is configured to perform the operations of steps S210 to S240.
其中,第一台家电能够自如图2所示流程配置的终端处接收所述第一身份信息及所述第一密钥。例如:可以结合图2所示本申请的方法中第一台家电自终端获取路由器的第一 身份信息及第一密钥时终端发送第一身份信息及第一密钥的一实施例的流程示意图,进一步说明终端向第一台家电发送第一身份信息及第一密钥的具体过程。The first home appliance can receive the first identity information and the first key from a terminal configured in the process shown in FIG. 2 . For example, a flow chart of an embodiment in which the first identity information and the first key are sent by the terminal when the first home appliance obtains the first identity information and the first key of the router from the terminal in the method of the present application shown in FIG. Further, a specific process of the terminal transmitting the first identity information and the first key to the first home appliance is further described.
由此,通过自终端获取路由器的第一身份信息及第一密钥,获取方式简便,获取结果可靠性高。Therefore, by acquiring the first identity information and the first key of the router from the terminal, the obtaining method is simple, and the obtaining result is highly reliable.
可选地,步骤S110中获取待连接的路由器的第一身份信息及第一密钥,还可以包括:提取存储设备中存储的所述第一身份信息及所述第一密钥。Optionally, the acquiring the first identity information and the first key of the router to be connected in step S110, the method further includes: extracting the first identity information and the first key stored in the storage device.
由此,通过对第一台家电自身配网时通过终端与其建立连接并获取路由器的第一身份信息及第一密钥,使得配网效率高,且安全性和可靠性均可以得到保障,人性化好。Therefore, by establishing a connection with the first home appliance through the terminal and acquiring the first identity information and the first key of the router, the distribution network is highly efficient, and the security and reliability can be guaranteed. Good.
在步骤S120处,使所述第一台家电,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,以对所述其它家电进行配网。In step S120, the first home appliance is separately sent to the home appliance other than itself, the first identity information and the first key acquired by itself. The other home appliances are distributed to the network.
例如:当第一台设备成功配网之后,手机将搜索到的待配网的设备列表发送至配网成功的第一台设备,第一台成功配网的设备按照手机发送过来的列表,分别同列表中待配网的设备分别进行直接连接,将自身存储的路由器SSID和KEY发送至这些待配网的设备,这些设备根据接收到的SSID和KEY信息自动连接到路由器,从而完成多个设备的配网工作。For example, after the first device successfully distributes the network, the mobile phone sends the searched device list of the network to be distributed to the first device that is successfully assigned to the network. The first successfully distributed network device follows the list sent by the mobile phone. The devices in the same list in the list are directly connected, and the SSIDs and KEYs of the routers stored in the list are sent to the devices to be allocated. The devices are automatically connected to the router according to the received SSID and KEY information, thereby completing multiple devices. Distribution network work.
例如:已经配网成功的第一台设备收到该设备列表之后,按照列表里的设备排列顺序(或者随机顺序),分别同这些待配网的设备进行连接,将路由器的SSID和KEY传输至这些设备;接收到SSID和KEY的设备根据SSID和KEY自动连接到路由器。For example, after the first device that has been successfully assigned to the network receives the device list, it connects to the devices to be deployed according to the device arrangement order (or random order) in the list, and transmits the SSID and KEY of the router to These devices; devices that receive the SSID and KEY are automatically connected to the router based on the SSID and KEY.
由此,通过第一台家电配网成功时通过感染的方式对其它家电进行配网,使得配网的效果高,且可靠性好。Therefore, when the first home appliance distribution network succeeds, the distribution of other home appliances is performed by means of infection, so that the effect of the distribution network is high and the reliability is good.
可选地,可以结合图5所示本申请的方法中第一台家电对其它家电进行感染配网的一实施例的流程示意图,进一步说明第一台家电对其它家电进行感染配网的具体过程;即,第一台家电将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电的具体过程。Optionally, in combination with the process diagram of an embodiment in which the first home appliance infects other home appliances in the method of the present application shown in FIG. 5, the specific process of the first home appliance infecting the distribution network of other home appliances is further illustrated. That is, the first home appliance transmits the first identity information and the first key acquired by itself to a specific process of the home appliances other than itself in the one or more home appliances.
步骤S510,获取存储有所述其它家电所带通信模块的所述第二身份信息及所述第二密钥的列表。Step S510, obtaining a list of the second identity information and the second key in which the communication module carried by the other home appliances is stored.
例如:该列表,可以是自包含所述一台以上家电各自所带通信模块的所述第二身份信息及所述第二密钥的列表中,剔除所述第一台家电所带通信模块的第二身份信息之后的剩余列表。For example, the list may be a list of the second identity information and the second key that are included in the communication module of each of the one or more home appliances, and the communication module of the first home appliance is removed. The remaining list after the second identity information.
其中,所述第一身份信息、所述第二身份信息中的至少之一,可以包括:SSID、MAC信息、IP地址中的至少之一。The at least one of the first identity information and the second identity information may include at least one of an SSID, a MAC information, and an IP address.
由此,通过SSID和KEY适配地作为身份信息及密钥,有利于提升配网安全性和可靠性。Therefore, the SSID and the KEY are adaptively used as the identity information and the key, which is beneficial to improving the security and reliability of the distribution network.
更可选地,步骤S510中获取存储有所述其它家电所带通信模块的所述第二身份信息及所述第二密钥的列表,可以包括:接收由终端发送的所述列表。Optionally, obtaining the list of the second identity information and the second key that are stored in the communication module of the other home appliance in step S510 may include: receiving the list sent by the terminal.
例如:参见图9所示的例子,配网成功之后,手机App将剩余扫描到的待配网的设备列表发送给已经配网成功的A设备。For example, referring to the example shown in FIG. 9 , after the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be allocated to the A device that has been successfully deployed.
由此,通过自终端获取其它设备的列表的方式,获取方式简便,且获取结果可靠性高。Therefore, by acquiring a list of other devices from the terminal, the acquisition method is simple, and the acquisition result is highly reliable.
其中,所述通信模块,可以包括:WIFI模块、蓝牙模块中的至少之一。The communication module may include at least one of a WIFI module and a Bluetooth module.
由此,通过多种形式的通信模块,可以提升家电配网的灵活性和可靠性,且通用性强。Therefore, through various forms of communication modules, the flexibility and reliability of the home appliance distribution network can be improved, and the versatility is strong.
步骤S520,根据所述列表中所述其它家电所带通信模块的所述第二身份信息及所述第二密钥,分别与所述其它家电建立连接。Step S520, establishing a connection with the other home appliances according to the second identity information and the second key of the communication module carried by the other home appliances in the list.
步骤S530,将(自身获取或存储的)所述第一身份信息及所述第一密钥,分别发送至与自身建立连接的所述其它家电。Step S530, respectively transmitting the first identity information and the first key (obtained or stored by itself) to the other home appliances that establish a connection with itself.
例如:当第一台设备成功配网之后,手机将搜索到的有待配网的设备列表发送至配网成功的第一台设备,第一台成功配网的设备将按照手机发送过来的列表,分别同列表中待配网的设备进行连接,将自身存储的路由器SSID和KEY发送至这些待配网的设备,让这些设备一个个地连接至路由器,从而完成多个设备的配网工作。For example, after the first device successfully distributes the network, the mobile phone searches the list of devices to be distributed to the first device that is successfully assigned to the network. The first device that successfully distributes the network will follow the list sent by the mobile phone. Connect the devices to be assigned to the network in the list, and send the SSIDs and KEYs of the routers to the devices to be allocated to the devices, and connect the devices to the routers one by one to complete the network distribution of multiple devices.
例如:参见图9所示的例子,A设备按照手机App发送过来的列表,按照排列顺序(或者随机顺序)选择一台设备(假定选择B设备),A根据列表中B设备对应的SSID和KEY和B直连,将路由器的SSID和KEY发送至B设备,B设备按照A发送的SSID和KEY进行自动配网。同理,完成C和D设备的配网过程。For example, referring to the example shown in FIG. 9, the A device selects a device according to the order (or a random order) according to the list sent by the mobile phone App (assuming that the B device is selected), and A according to the SSID and KEY corresponding to the B device in the list. Directly connected to B, send the SSID and KEY of the router to the B device, and the B device automatically distributes the network according to the SSID and KEY sent by A. In the same way, the distribution process of the C and D devices is completed.
由此,通过与其它家电建立连接后发送第一身份信息及第一密钥,使得将第一身份信息及第一密钥发送至其它家电的成功率高,有利于提升对其它家电配网的可靠性。Therefore, the first identity information and the first key are sent after establishing a connection with other home appliances, so that the success rate of transmitting the first identity information and the first key to other home appliances is high, which is beneficial to improving the distribution network of other home appliances. reliability.
更可选地,可以结合图6所示本申请的方法中第一台家电与其它家电建立连接的一实施例的流程示意图,进一步说明步骤S530中分别发送至与自身建立连接的所述其它家电的具体过程。Optionally, a schematic flowchart of an embodiment of establishing a connection between the first home appliance and another home appliance in the method of the present application shown in FIG. 6 is further described, and further, the step S530 is separately sent to the other home appliance that establishes a connection with itself. The specific process.
步骤S610,按所述列表中所述其它家电的排列顺序或随机顺序,分别向所述其它家电发送第一连接请求。Step S610, sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list.
步骤S620,接收到所述其它家电基于所述第一连接请求的反馈消息时,确定与所述其它家电建立连接。Step S620, when receiving the feedback message of the other home appliance based on the first connection request, determining to establish a connection with the other home appliance.
例如:第一台家电,向第二台家电发送第一连接请求。当所述第一台家电接收到所述第二台家电基于所述第一连接请求的反馈消息时,向所述第二台家电发送路由器的第一身份信息及第一密钥,以使所述第二台家电根据所述第一身份信息及所述第一密钥连接到所述路由器。For example, the first home appliance sends a first connection request to the second home appliance. When the first home appliance receives the feedback message of the second home appliance based on the first connection request, sending the first identity information and the first key of the router to the second home appliance, so that The second home appliance is connected to the router according to the first identity information and the first key.
由此,通过向其它家电发送第一连接请求的方式建立连接,使得连接可靠性得以保障,且连接方式简便、安全。Thereby, the connection is established by transmitting the first connection request to other home appliances, so that the connection reliability is ensured, and the connection mode is simple and secure.
更可选地,第一台家电与其它家电建立连接的过程,还可以包括:More optionally, the process of establishing a connection between the first home appliance and other home appliances may further include:
(1)按所述列表中所述其它家电的排列顺序或随机顺序,接收所述其它家电发送的第二连接请求。(1) receiving a second connection request sent by the other home appliance according to an arrangement order or a random order of the other home appliances in the list.
(2)根据所述第二连接请求,与所述其它家电中的相应家电建立连接。(2) establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
例如:配网成功的第一台设备是通过分别连接其余设备发出的WIFI热点来进行连接。For example, the first device that successfully distributes the network is connected by connecting the WIFI hotspots sent by the remaining devices.
由此,通过接收其它家电发送的第二连接请求的方式建立连接,使得第一台家电与其它家电之间的连接灵活性好、通用性强,还有利于提升第一台家电与其它家电连接的可靠 性。Therefore, the connection is established by receiving the second connection request sent by other home appliances, so that the connection between the first home appliance and other home appliances is flexible and versatile, and the first home appliance is connected with other home appliances. Reliability.
在一个可选实施方式中,还可以包括:所述第一台家电在自身连接至所述路由器之后,使所述第一台家电确定自身配网是否成功;以当所述第一台家电确定自身配网成功时,才对所述其它家电进行配网。In an optional implementation, the method further includes: after the first home appliance is connected to the router, the first home appliance determines whether the distribution network is successful; and when the first home appliance determines When the distribution network of its own is successful, the other home appliances are distributed.
例如:对待配网的一台以上家电中的第一台家电进行配网。确定所述第一台家电是否配网成功。当所述第一台家电配网成功时,通过所述第一台家电,对所述一台以上家电中除所述第一台家电之外的其它家电进行配网。For example, the first home appliance of one or more home appliances to be distributed to the distribution network is distributed. Determining whether the first home appliance is successfully distributed. When the first home appliance distribution network is successful, the home appliances other than the first home appliance are distributed to the one or more home appliances by the first home appliance.
例如:接收到所述第一台家电配网成功的确认消息后,将所述多台家电中除所述第一台家电之外的其它家电的列表发送至所述第一台家电。通过所述第一台家电分别与所述列表中的所述其它家电进行连接,实现对所述其它家电的配网。For example, after receiving the confirmation message that the first home appliance distribution network is successful, a list of the other home appliances other than the first home appliance is transmitted to the first home appliance. The first home appliance is connected to the other home appliances in the list to realize distribution of the other home appliances.
由此,通过在确定自身配网成功时再对其它家电进行感染式配网,一方面可以提升对其它家电配网的效率,另一方面也可以节省自身配网不成功时对其它家电配网所耗费的时间。Therefore, by infecting the distribution network of other home appliances when determining the success of the distribution network, on the one hand, the efficiency of the distribution network of other home appliances can be improved, and on the other hand, the distribution network of other home appliances can be saved when the distribution network is unsuccessful. The time it takes.
在一个可选实施方式中,还可以包括:所述第一台家电在对所述其它家电进行配网时,使所述第一台家电确定自身对所述其它家电中的当前家电配网是否成功;以当所述第一台家电确定自身对所述当前家电配网成功时,才对所述其它家电中的下一台家电进行配网。In an optional embodiment, the first home appliance may determine, by the first home appliance, whether the first home appliance allocates to the current home appliance distribution network among the other home appliances. Successfully; when the first home appliance determines that the distribution network of the current home appliance is successful, the next home appliance of the other home appliances is distributed.
例如:确定是否配网成功时,可以向路由器发送验证消息,当接收到路由器基于所述验证消息发送的确认消息时,确定配网成功。For example, when it is determined whether the distribution network is successful, the verification message may be sent to the router, and when the confirmation message sent by the router based on the verification message is received, it is determined that the distribution network is successful.
由此,通过在对其它家电配网过程中,及时对当前家电配网结果进行验证,有利于提升整体配网的可靠性和成功率。Therefore, by verifying the current home appliance distribution network result in the process of distributing the network to other home appliances, it is beneficial to improve the reliability and success rate of the overall distribution network.
在一个可选实施方式中,还可以包括:当所第一台家电确定自身对所当前家电配网成功时,接收到配网成功的所述当前家电通过所述路由器与终端建立连接的联网消息。In an optional implementation manner, the method further includes: when the first home appliance determines that the home appliance is successfully assigned to the current home appliance, receiving the networked message that the current home appliance successfully establishes a connection with the terminal through the router.
其中,所述联网消息,包括:配网成功的所述当前家电反馈的自身通过所述路由器与终端建立连接的第一联网消息,和/或所述终端反馈的配网成功的所述当前家电通过所述路由器与自身建立连接的第二联网消息。The networked message includes: a first networked message that the current home appliance successfully communicates with the network, and a first networked message that establishes a connection with the terminal through the router, and/or the current home appliance that is successfully returned by the terminal A second networked message that establishes a connection with itself through the router.
例如:当所述第一台家电确定自身对所当前家电配网成功时,使所述第一台家电获取配网成功的所述当前家电已通过所述路由器与终端建立连接。For example, when the first home appliance determines that the distribution network of the current home appliance is successful, the current home appliance that has successfully obtained the distribution network by the first home appliance has established a connection with the terminal through the router.
例如:对第一台设备(即第一台家电)配完网之后,对剩余设备的配网不需要用户终端的参与,当第一台设备自动引导剩余的某一台设备配好网之后,被引导配好网的这台设备信息会自动通过路由器传到用户终端。For example, after the first device (ie, the first home appliance) is configured with the network, the distribution network of the remaining devices does not require the participation of the user terminal. When the first device automatically guides the remaining one device to the network, The device information that is directed to the network is automatically transmitted to the user terminal through the router.
由此,通过使配网成功的当前家电通过路由器与终端建立连接,有利于使该当前家电与终端之间进行通信,进而提升家电与终端之间互动的便利性和可靠性,且通信灵活性好。Therefore, by establishing a connection between the current home appliance and the terminal through the router, the communication between the current home appliance and the terminal is facilitated, thereby improving the convenience and reliability of the interaction between the home appliance and the terminal, and the communication flexibility. it is good.
经大量的试验验证,采用本实施例的技术方案,通过先对一台设备进行配网,再通过该设备对其它设备进行配网的这种感染式的家电WIFI配网方法,能够有效地解决需要进行多台设备配网的时候,用户重复操作配网流程的问题,大大地减少用户进行多台设备配网时进行操作和等待的时间。Through a large number of tests and verifications, the technical solution of the present embodiment can effectively solve the infected home appliance WIFI distribution network method by first distributing the network to one device and then distributing the network to other devices through the device. When multiple devices are required to be networked, the user repeatedly operates the distribution network process, which greatly reduces the time for users to operate and wait while distributing multiple devices.
根据本申请的实施例,提供了一种配网方法,如图2所示本申请的方法的一实施例的 流程示意图。该配网方法可以包括:According to an embodiment of the present application, a distribution network method is provided, as shown in FIG. 2, which is a schematic flowchart of an embodiment of the method of the present application. The distribution method can include:
步骤S210,与所述路由器连接(例如:获取所述第一身份信息及所述第一密钥,根据所述第一身份信息及所述第一密钥连接到所述路由器)。Step S210, connecting with the router (for example, acquiring the first identity information and the first key, and connecting to the router according to the first identity information and the first key).
步骤S220,搜索或扫描自身所处环境中的所述一台以上家电。Step S220, searching or scanning the one or more home appliances in the environment in which it is located.
更可选地,可以结合图3所示本申请的方法中终端搜索或扫描一台以上家电的一实施例的流程示意图,进一步说明终端搜索或扫描一台以上家电的具体过程。More specifically, the specific process of the terminal searching or scanning one or more home appliances may be further described in conjunction with the flowchart of an embodiment in which the terminal searches for or scans one or more home appliances in the method of the present application shown in FIG. 3 .
步骤S310,确定自身所处环境中所述一台以上家电所带的通信模块是否处于开启状态。Step S310, determining whether the communication module carried by the one or more home appliances in the environment in which it is located is in an open state.
例如:待配网的家电设备所带WIFI处于开启状态。For example, the WIFI with the home appliance to be equipped with the network is in the open state.
例如:参见图9所示的例子,有A、B、C、D四台待配网的设备,现通过手机App按照流程将这四台设备配置到路由器。For example, referring to the example shown in Figure 9, there are four devices to be deployed in A, B, C, and D. These four devices are now configured to the router according to the process through the mobile app.
例如:参见图9所示的例子,确保四台设备的WIFI处于开启状态。For example, see the example shown in Figure 9 to ensure that the WIFI of the four devices is turned on.
步骤S320,当所述一台以上家电所带的通信模块处于开启状态时,对所述环境中所述一台以上家电进行搜索或扫描。Step S320, when the communication module carried by the one or more home appliances is in an on state, searching or scanning the one or more home appliances in the environment.
例如:确定待配网的多台家电各自携带的通信模块是否处于开启状态。以当所述多台家电各自携带的所述通信模块处于开启状态时,对其中的第一台家电进行配网。For example, it is determined whether the communication module carried by each of the plurality of home appliances to be distributed is in an open state. When the communication module carried by each of the plurality of home appliances is in an on state, the first home appliance is distributed to the network.
例如:手机打开家电设备所用的App,开始进行配网流程。For example, the mobile phone opens the App for the home appliance and starts the distribution process.
例如:参见图9所示的例子,打开手机App开始待配网设备的扫描,扫描的时间可以更改。For example, referring to the example shown in FIG. 9, the mobile phone App is opened to start scanning of the device to be distributed, and the scanning time can be changed.
由此,通过第一台家电进行自身配网时,自终端处获取待配网的所有家电的通信模块均开启、且通过终端扫描家电,使得获取的消息可靠性高,且获取方式简便,有利于提升对第一台家电自身配网的便捷性和高效性。Therefore, when the first home appliance performs its own distribution network, the communication modules of all the home appliances that are to be allocated from the terminal are opened, and the home appliance is scanned by the terminal, so that the acquired message has high reliability and the acquisition method is simple, and It is conducive to improving the convenience and efficiency of the distribution network of the first home appliance.
步骤S230,当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接,并连接至所述第一台家电自身的通信模块。Step S230, after at least searching or scanning the first home appliance, disconnecting from the router and connecting to the communication module of the first home appliance itself.
例如:手机App自动在搜索到的家电设备中选择(选择方式见配网举例)一台设备,将路由器的SSID和KEY发送至该设备进行自动配网。For example, the mobile phone App automatically selects one device in the searched home appliance (see the distribution network example), and sends the SSID and KEY of the router to the device for automatic distribution.
例如:手机App会根据扫描到的设备的先后顺序(或者随即顺序)建立一张设备列表,列表中存储了设备所带WIFI模块的SSID和KEY,手机App按照列表中设备排列的顺序(或者随机顺序)选择一台设备(假定选择的A设备),将路由器的SSID和KEY发送至A设备进行自动配网。For example, the mobile app will create a device list according to the order of the scanned devices (or in order), and the list stores the SSID and KEY of the WIFI module with the device, and the mobile app follows the order of the devices in the list (or random). Sequence) Select a device (assuming the selected A device), and send the SSID and KEY of the router to the A device for automatic distribution.
更可选地,可以结合图4所示本申请的方法中终端自一台以上家电中选取第一台家电的一实施例的流程示意图,进一步说明终端自一台以上家电中选取第一台家电的具体过程。Optionally, in combination with the process diagram of the embodiment of the present application shown in FIG. 4, the terminal selects the first home appliance from one or more home appliances, and further illustrates that the terminal selects the first home appliance from more than one home appliance. The specific process.
步骤S410,根据搜索或扫描到的所述一台以上家电,建立所述一台以上家电各自所带通信模块的所述第二身份信息及所述第二密钥的列表。Step S410, establishing, according to the searched or scanned one or more home appliances, a list of the second identity information and the second key of each of the communication modules of the one or more home appliances.
步骤S420,按搜索或扫描到的先后顺序或随机顺序,自所述列表中选取所述第一台家电。Step S420, selecting the first home appliance from the list according to a search or scan sequence or a random order.
由此,通过对第一台家电配网时通过终端扫描的方式确定第一台家电,对第一台家电确定的方式简便;并且,通过扫描的方式确定的第一台家电,通信情况好,有有利于提升第一台家电配网的效率和成功率。Therefore, the first home appliance is determined by scanning the terminal through the terminal when the first home appliance is distributed, and the method of determining the first home appliance is simple; and the first home appliance determined by the scanning method has good communication. It is beneficial to improve the efficiency and success rate of the first home appliance distribution network.
步骤S240,将(自身获取或存储的)所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。Step S240, transmitting the first identity information (obtained or stored by itself) and the first key to the communication module of the first home appliance.
例如:手机在进行多台设备配网时,首先连接至其中的某一台设备,并将其按照现有的方式配置到路由器中去。For example, when a mobile phone is equipped with multiple devices, first connect to one of the devices and configure it to the router in the existing way.
经大量的试验验证,采用本实施例的技术方案,通过终端先建立与路由器的连接,搜索或扫描自身所处环境中的一台以上家电,并断开自身与路由器的连接并连接至一台家电,建立一台家电与路由器的连接,实现该一台家电的配网,配网便捷性好,且可靠性高。After a large number of tests and verifications, using the technical solution of the embodiment, the terminal first establishes a connection with the router, searches for or scans one or more home appliances in the environment in which it is located, and disconnects itself from the router and connects to one. The home appliance establishes a connection between the home appliance and the router to realize the distribution network of the home appliance, and the distribution network has good convenience and high reliability.
根据本申请的实施例,还提供了对应于配网方法的一种配网装置。参见图7所示本申请的装置的一实施例的结构示意图。该配网装置可以可以包括:自身配网单元102和感染配网单元104。According to an embodiment of the present application, a distribution network device corresponding to the distribution network method is also provided. Referring to Figure 7, there is shown a block diagram of an embodiment of the apparatus of the present application. The network distribution device may include: an own distribution network unit 102 and an infection distribution network unit 104.
在一个可选例子中,自身配网单元102,用于使待配网的一台以上家电中的第一台家电,获取待连接的路由器的第一身份信息及第一密钥,并根据所述第一身份信息及所述第一密钥连接到所述路由器,以完成自身配网。该自身配网单元102的具体功能及处理参见步骤S110。In an optional example, the self-networking unit 102 is configured to obtain the first identity information and the first key of the router to be connected, and the first identity information and the first key of the router to be connected. The first identity information and the first key are connected to the router to complete their own distribution network. For the specific functions and processing of the self-networking unit 102, refer to step S110.
例如:获取待配网的路由器的第一身份信息及第一密钥。对待配网的一台以上家电中的第一台家电进行配网。建立待配网的一台以上家电中的第一台家电与路由器之间的连接。For example, the first identity information and the first key of the router of the network to be allocated are obtained. The first home appliance of one or more home appliances to be distributed to the distribution network is distributed. Establish a connection between the first home appliance and the router among one or more home appliances to be distributed.
例如:当手机需要对多台设备进行配网时,首先将这些待配网设备中的任意一台配置到路由器中去。For example, when the mobile phone needs to allocate network to multiple devices, first configure any one of these devices to be deployed to the router.
可选地,所述自身配网单元102获取待连接的路由器的第一身份信息及第一密钥,具体可以包括:接收终端发送的所述第一身份信息及所述第一密钥。Optionally, the self-allocation unit 102 obtains the first identity information and the first key of the router to be connected, and specifically includes: receiving the first identity information and the first key sent by the terminal.
例如:配网成功之后,手机App将剩余扫描到的待配网的设备列表发送给已经配网成功的家电设备。For example, after the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be distributed to the home appliance that has been successfully deployed.
由此,通过自终端获取路由器的第一身份信息及第一密钥,获取方式简便,获取结果可靠性高。Therefore, by acquiring the first identity information and the first key of the router from the terminal, the obtaining method is simple, and the obtaining result is highly reliable.
可选地,所述自身配网单元102获取待连接的路由器的第一身份信息及第一密钥,具体还可以包括:提取存储设备中存储的所述第一身份信息及所述第一密钥。Optionally, the self-networking unit 102 obtains the first identity information and the first key of the router to be connected, and may further include: extracting the first identity information and the first secret stored in the storage device. key.
由此,通过对第一台家电自身配网时通过终端与其建立连接并获取路由器的第一身份信息及第一密钥,使得配网效率高,且安全性和可靠性均可以得到保障,人性化好。Therefore, by establishing a connection with the first home appliance through the terminal and acquiring the first identity information and the first key of the router, the distribution network is highly efficient, and the security and reliability can be guaranteed. Good.
在一个可选例子中,感染配网单元104,用于使所述第一台家电,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,以对所述其它家电进行配网。该感染配网单元104的具体功能及处理参见步骤S120。In an optional example, the infection distribution network unit 104 is configured to enable the first home appliance to send the first identity information and the first key acquired by the first home appliance to the one or more home appliances respectively. Other home appliances other than itself are used to distribute the other home appliances. For the specific function and processing of the infection distribution unit 104, refer to step S120.
例如:当第一台设备成功配网之后,手机将搜索到的待配网的设备列表发送至配网成功的第一台设备,第一台成功配网的设备按照手机发送过来的列表,分别同列表中待配网 的设备分别进行直接连接,将自身存储的路由器SSID和KEY发送至这些待配网的设备,这些设备根据接收到的SSID和KEY信息自动连接到路由器,从而完成多个设备的配网工作。For example, after the first device successfully distributes the network, the mobile phone sends the searched device list of the network to be distributed to the first device that is successfully assigned to the network. The first successfully distributed network device follows the list sent by the mobile phone. The devices in the same list in the list are directly connected, and the SSIDs and KEYs of the routers stored in the list are sent to the devices to be allocated. The devices are automatically connected to the router according to the received SSID and KEY information, thereby completing multiple devices. Distribution network work.
例如:已经配网成功的第一台设备收到该设备列表之后,按照列表里的设备排列顺序(或者随机顺序),分别同这些待配网的设备进行连接,将路由器的SSID和KEY传输至这些设备;接收到SSID和KEY的设备根据SSID和KEY自动连接到路由器。For example, after the first device that has been successfully assigned to the network receives the device list, it connects to the devices to be deployed according to the device arrangement order (or random order) in the list, and transmits the SSID and KEY of the router to These devices; devices that receive the SSID and KEY are automatically connected to the router based on the SSID and KEY.
由此,通过第一台家电配网成功时通过感染的方式对其它家电进行配网,使得配网的效果高,且可靠性好。Therefore, when the first home appliance distribution network succeeds, the distribution of other home appliances is performed by means of infection, so that the effect of the distribution network is high and the reliability is good.
可选地,所述感染配网单元104将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,具体可以包括:获取存储有所述其它家电所带通信模块的所述第二身份信息及所述第二密钥的列表。该感染配网单元104的具体功能及处理还参见步骤S510。Optionally, the infected distribution network unit 104 separately sends the first identity information and the first key that are acquired by the infected distribution unit 104 to other home appliances other than the one or more home appliances, and may specifically include Obtaining a list of the second identity information and the second key in which the communication module carried by the other home appliance is stored. The specific function and processing of the infection distribution unit 104 are also referred to step S510.
例如:该列表,可以是自包含所述一台以上家电各自所带通信模块的所述第二身份信息及所述第二密钥的列表中,剔除所述第一台家电所带通信模块的第二身份信息之后的剩余列表。For example, the list may be a list of the second identity information and the second key that are included in the communication module of each of the one or more home appliances, and the communication module of the first home appliance is removed. The remaining list after the second identity information.
其中,所述第一身份信息、所述第二身份信息中的至少之一,可以包括:SSID、MAC信息、IP地址中的至少之一。The at least one of the first identity information and the second identity information may include at least one of an SSID, a MAC information, and an IP address.
由此,通过SSID和KEY适配地作为身份信息及密钥,有利于提升配网安全性和可靠性。Therefore, the SSID and the KEY are adaptively used as the identity information and the key, which is beneficial to improving the security and reliability of the distribution network.
更可选地,感染配网单元104获取存储有所述其它家电所带通信模块的所述第二身份信息及所述第二密钥的列表,可以包括:接收由终端发送的所述列表。Optionally, the infected distribution network unit 104 obtains the list of the second identity information and the second key that are stored by the communication module of the other home appliance, and may include: receiving the list sent by the terminal.
例如:参见图9所示的例子,配网成功之后,手机App将剩余扫描到的待配网的设备列表发送给已经配网成功的A设备。For example, referring to the example shown in FIG. 9 , after the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be allocated to the A device that has been successfully deployed.
由此,通过自终端获取其它设备的列表的方式,获取方式简便,且获取结果可靠性高。Therefore, by acquiring a list of other devices from the terminal, the acquisition method is simple, and the acquisition result is highly reliable.
其中,所述通信模块,可以包括:WIFI模块、蓝牙模块中的至少之一。The communication module may include at least one of a WIFI module and a Bluetooth module.
由此,通过多种形式的通信模块,可以提升家电配网的灵活性和可靠性,且通用性强。Therefore, through various forms of communication modules, the flexibility and reliability of the home appliance distribution network can be improved, and the versatility is strong.
可选地,所述感染配网单元104将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,具体还可以包括:根据所述列表中所述其它家电所带通信模块的所述第二身份信息及所述第二密钥,分别与所述其它家电建立连接。该感染配网单元104的具体功能及处理还参见步骤S520。Optionally, the infected distribution network unit 104 separately sends the first identity information and the first key that are acquired by itself to other home appliances other than the one or more home appliances, and specifically The method includes: establishing a connection with the other home appliances according to the second identity information and the second key of the communication module carried by the other home appliances in the list. The specific function and processing of the infection distribution unit 104 are also referred to step S520.
可选地,所述感染配网单元104将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,具体还可以包括:将自身获取或存储的所述第一身份信息及所述第一密钥,分别发送至与自身建立连接的所述其它家电。该感染配网单元104的具体功能及处理还参见步骤S530。Optionally, the infected distribution network unit 104 separately sends the first identity information and the first key that are acquired by itself to other home appliances other than the one or more home appliances, and specifically The method includes: transmitting the first identity information and the first key that are acquired or stored by the first identity information to the other home appliances that establish a connection with itself. The specific function and processing of the infection distribution unit 104 are also referred to step S530.
例如:当第一台设备成功配网之后,手机将搜索到的有待配网的设备列表发送至配网成功的第一台设备,第一台成功配网的设备将按照手机发送过来的列表,分别同列表中待配网的设备进行连接,将自身存储的路由器SSID和KEY发送至这些待配网的设备,让这 些设备一个个地连接至路由器,从而完成多个设备的配网工作。For example, after the first device successfully distributes the network, the mobile phone searches the list of devices to be distributed to the first device that is successfully assigned to the network. The first device that successfully distributes the network will follow the list sent by the mobile phone. Connect the devices to be assigned to the network in the list, and send the SSIDs and KEYs of the routers to the devices to be allocated to the devices, and connect the devices to the routers one by one to complete the network distribution of multiple devices.
例如:参见图9所示的例子,A设备按照手机App发送过来的列表,按照排列顺序(或者随机顺序)选择一台设备(假定选择B设备),A根据列表中B设备对应的SSID和KEY和B直连,将路由器的SSID和KEY发送至B设备,B设备按照A发送的SSID和KEY进行自动配网。同理,完成C和D设备的配网过程。For example, referring to the example shown in FIG. 9, the A device selects a device according to the order (or a random order) according to the list sent by the mobile phone App (assuming that the B device is selected), and A according to the SSID and KEY corresponding to the B device in the list. Directly connected to B, send the SSID and KEY of the router to the B device, and the B device automatically distributes the network according to the SSID and KEY sent by A. In the same way, the distribution process of the C and D devices is completed.
由此,通过与其它家电建立连接后发送第一身份信息及第一密钥,使得将第一身份信息及第一密钥发送至其它家电的成功率高,有利于提升对其它家电配网的可靠性。Therefore, the first identity information and the first key are sent after establishing a connection with other home appliances, so that the success rate of transmitting the first identity information and the first key to other home appliances is high, which is beneficial to improving the distribution network of other home appliances. reliability.
更可选地,感染配网单元104分别与所述其它家电建立连接,可以包括:按所述列表中所述其它家电的排列顺序或随机顺序,分别向所述其它家电发送第一连接请求。该感染配网单元104的具体功能及处理还参见步骤S610。Optionally, establishing, by the infected distribution network unit 104, the connection with the other home appliances may include: sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list. The specific function and processing of the infection distribution unit 104 are also referred to step S610.
更可选地,感染配网单元104分别与所述其它家电建立连接,还可以包括:接收到所述其它家电基于所述第一连接请求的反馈消息时,确定与所述其它家电建立连接。该感染配网单元104的具体功能及处理还参见步骤S620。More optionally, the infecting network unit 104 respectively establishes a connection with the other home appliances, and may further include: determining to establish a connection with the other home appliances when receiving the feedback message of the other home appliances based on the first connection request. The specific function and processing of the infection distribution unit 104 are also referred to step S620.
例如:第一台家电,向第二台家电发送第一连接请求。当所述第一台家电接收到所述第二台家电基于所述第一连接请求的反馈消息时,向所述第二台家电发送路由器的第一身份信息及第一密钥,以使所述第二台家电根据所述第一身份信息及所述第一密钥连接到所述路由器。For example, the first home appliance sends a first connection request to the second home appliance. When the first home appliance receives the feedback message of the second home appliance based on the first connection request, sending the first identity information and the first key of the router to the second home appliance, so that The second home appliance is connected to the router according to the first identity information and the first key.
由此,通过向其它家电发送第一连接请求的方式建立连接,使得连接可靠性得以保障,且连接方式简便、安全。Thereby, the connection is established by transmitting the first connection request to other home appliances, so that the connection reliability is ensured, and the connection mode is simple and secure.
更可选地,感染配网单元104分别与所述其它家电建立连接,还可以包括:按所述列表中所述其它家电的排列顺序或随机顺序,接收所述其它家电发送的第二连接请求。Optionally, the initiating distribution network unit 104 respectively establishes a connection with the other home appliances, and may further include: receiving, according to an arrangement order or a random order of the other home appliances in the list, a second connection request sent by the other home appliances .
更可选地,感染配网单元104分别与所述其它家电建立连接,还可以包括:根据所述第二连接请求,与所述其它家电中的相应家电建立连接。More optionally, the infecting distribution network unit 104 respectively establishes a connection with the other home appliances, and may further comprise: establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
例如:配网成功的第一台设备是通过分别连接其余设备发出的WIFI热点来进行连接。For example, the first device that successfully distributes the network is connected by connecting the WIFI hotspots sent by the remaining devices.
由此,通过接收其它家电发送的第二连接请求的方式建立连接,使得第一台家电与其它家电之间的连接灵活性好、通用性强,还有利于提升第一台家电与其它家电连接的可靠性。Therefore, the connection is established by receiving the second connection request sent by other home appliances, so that the connection between the first home appliance and other home appliances is flexible and versatile, and the first home appliance is connected with other home appliances. Reliability.
在一个可选实施方式中,还可以包括:确定第一台家电自身配网是否成功的过程。In an optional implementation manner, the method further includes: determining whether the first home appliance itself is successfully deployed.
可选地,所述自身配网单元102,还可以用于所述第一台家电在自身连接至所述路由器之后,使所述第一台家电确定自身配网是否成功;以当所述第一台家电确定自身配网成功时,才对所述其它家电进行配网。Optionally, the self-networking unit 102 may be further configured to: after the first home appliance is connected to the router, determine, by the first home appliance, whether the distribution network is successful; When a home appliance determines that its distribution network is successful, the other home appliances are distributed.
例如:对待配网的一台以上家电中的第一台家电进行配网,确定所述第一台家电是否配网成功;当所述第一台家电配网成功时,通过所述第一台家电,对所述一台以上家电中除所述第一台家电之外的其它家电进行配网。For example, the first home appliance of one or more home appliances to be distributed to the distribution network is used to determine whether the first home appliance is successfully networked; when the first home appliance distribution network is successful, the first set is passed. The home appliance distributes the home appliance other than the first home appliance to the one or more home appliances.
例如:接收到所述第一台家电配网成功的确认消息后,将所述多台家电中除所述第一台家电之外的其它家电的列表发送至所述第一台家电;通过所述第一台家电分别与所述列表中的所述其它家电进行连接,实现对所述其它配网。For example, after receiving the confirmation message that the first home appliance distribution network is successful, the list of the other home appliances other than the first home appliance is transmitted to the first home appliance; The first home appliance is respectively connected to the other home appliances in the list to implement the other distribution network.
由此,通过在确定自身配网成功时再对其它家电进行感染式配网,一方面可以提升对其它家电配网的效率,另一方面也可以节省自身配网不成功时对其它家电配网所耗费的时间。Therefore, by infecting the distribution network of other home appliances when determining the success of the distribution network, on the one hand, the efficiency of the distribution network of other home appliances can be improved, and on the other hand, the distribution network of other home appliances can be saved when the distribution network is unsuccessful. The time it takes.
在一个可选实施方式中,还可以包括:确定第一台家电对其它家电的感染配网是否成功的过程。In an optional implementation manner, the method further includes: determining whether the first home appliance is successful in the distribution network of the other home appliances.
可选地,所述感染配网单元104,还可以用于所述第一台家电在对所述其它家电进行配网时,使所述第一台家电确定自身对所述其它家电中的当前家电配网是否成功;以当所述第一台家电确定自身对所述当前家电配网成功时,才对所述其它家电中的下一台家电进行配网。Optionally, the infected distribution network unit 104 may be further configured to: when the first home appliance performs network distribution on the other home appliances, enable the first home appliance to determine its current current among the other home appliances Whether the home appliance distribution network is successful; when the first home appliance determines that the current home appliance distribution network is successful, the next home appliance of the other home appliances is distributed.
例如:确定是否配网成功时,可以向路由器发送验证消息,当接收到路由器基于所述验证消息发送的确认消息时,确定配网成功。For example, when it is determined whether the distribution network is successful, the verification message may be sent to the router, and when the confirmation message sent by the router based on the verification message is received, it is determined that the distribution network is successful.
由此,通过在对其它家电配网过程中,及时对当前家电配网结果进行验证,有利于提升整体配网的可靠性和成功率。Therefore, by verifying the current home appliance distribution network result in the process of distributing the network to other home appliances, it is beneficial to improve the reliability and success rate of the overall distribution network.
在一个可选实施方式中,还可以包括:其它家电配网成功后通过路由器连接到终端的过程。In an optional implementation manner, the method further includes: connecting the terminal to the terminal through the router after the other home appliance distribution network succeeds.
可选地,所述感染配网单元104,还可以用于当所第一台家电确定自身对所当前家电配网成功时,接收到配网成功的所述当前家电通过所述路由器与终端建立连接的联网消息。Optionally, the infected distribution network unit 104 may be further configured to: when the first home appliance determines that the distribution network of the current home appliance is successful, the current home appliance that has successfully received the distribution network establishes a connection with the terminal through the router. Networked message.
其中,所述联网消息,包括:配网成功的所述当前家电反馈的自身通过所述路由器与终端建立连接的第一联网消息,和/或所述终端反馈的配网成功的所述当前家电通过所述路由器与自身建立连接的第二联网消息。The networked message includes: a first networked message that the current home appliance successfully communicates with the network, and a first networked message that establishes a connection with the terminal through the router, and/or the current home appliance that is successfully returned by the terminal A second networked message that establishes a connection with itself through the router.
例如:当所述第一台家电确定自身对所当前家电配网成功时,使所述第一台家电获取配网成功的所述当前家电已通过所述路由器与终端建立连接。For example, when the first home appliance determines that the distribution network of the current home appliance is successful, the current home appliance that has successfully obtained the distribution network by the first home appliance has established a connection with the terminal through the router.
例如:对第一台设备(即第一台家电)配完网之后,对剩余设备的配网不需要用户终端的参与,当第一台设备自动引导剩余的某一台设备配好网之后,被引导配好网的这台设备信息会自动通过路由器传到用户终端。For example, after the first device (ie, the first home appliance) is configured with the network, the distribution network of the remaining devices does not require the participation of the user terminal. When the first device automatically guides the remaining one device to the network, The device information that is directed to the network is automatically transmitted to the user terminal through the router.
由此,通过使配网成功的当前家电通过路由器与终端建立连接,有利于使该当前家电与终端之间进行通信,进而提升家电与终端之间互动的便利性和可靠性,且通信灵活性好。Therefore, by establishing a connection between the current home appliance and the terminal through the router, the communication between the current home appliance and the terminal is facilitated, thereby improving the convenience and reliability of the interaction between the home appliance and the terminal, and the communication flexibility. it is good.
由于本实施例的装置所实现的处理及功能基本相应于前述图1至图6所示的方法的实施例、原理和实例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。Since the processing and functions implemented by the apparatus in this embodiment substantially correspond to the foregoing embodiments, principles, and examples of the method shown in FIG. 1 to FIG. 6, the description of the present embodiment is not exhaustive, and reference may be made to the foregoing embodiment. The relevant descriptions in this article will not be repeated here.
经大量的试验验证,采用本申请的技术方案,通过终端与第一台设备的连接及配网,配网方便,且可靠性高。Through a large number of tests and verifications, the technical solution of the present application is convenient and reliable with the connection and distribution network of the terminal and the first device.
根据本申请的实施例,还提供了对应于另一配网方法的另一种配网装置。参见图8所示本申请的另一配网装置的一实施例的结构示意图。该另一配网装置可以可以包括:通信单元202和处理单元204。According to an embodiment of the present application, another distribution device corresponding to another distribution network method is also provided. Referring to FIG. 8, a schematic structural diagram of an embodiment of another network device of the present application is shown. The other network device may include: a communication unit 202 and a processing unit 204.
在一个可选例子中,所述通信单元202,可以用于与所述路由器连接(例如:获取所 述第一身份信息及所述第一密钥,根据所述第一身份信息及所述第一密钥连接到所述路由器)。该通信单元202的具体功能及处理还参见步骤S210。In an optional example, the communication unit 202 can be configured to connect to the router (for example, acquiring the first identity information and the first key, according to the first identity information and the first A key is connected to the router). The specific function and processing of the communication unit 202 are also referred to step S210.
例如:所述终端,被配置为可以执行:与所述路由器连接(例如:获取所述第一身份信息及所述第一密钥,根据所述第一身份信息及所述第一密钥连接到所述路由器)。For example, the terminal is configured to be executable to be connected to the router (eg, acquiring the first identity information and the first key, and connecting according to the first identity information and the first key To the router).
在一个可选例子中,所述处理单元204,可以用于搜索或扫描自身所处环境中的所述一台以上家电。该处理单元204的具体功能及处理还参见步骤S220。In an alternative example, the processing unit 204 can be used to search or scan the one or more home appliances in the environment in which it is located. The specific functions and processing of the processing unit 204 are also referred to step S220.
例如:所述终端,被配置为还可以执行:搜索或扫描自身所处环境中的所述一台以上家电。For example, the terminal is configured to perform: searching or scanning the one or more home appliances in an environment in which it is located.
更可选地,自身配网单元102自终端获取第一身份信息及第一密钥时,所述处理单元204(例如:终端中的处理单元204)搜索或扫描自身所处环境中的所述一台以上家电,可以包括:确定自身所处环境中所述一台以上家电所带的通信模块是否处于开启状态。该处理单元204的具体功能及处理还参见步骤S310。More optionally, when the self-allocation unit 102 obtains the first identity information and the first key from the terminal, the processing unit 204 (for example, the processing unit 204 in the terminal) searches for or scans the foregoing in the environment in which the user is located. The one or more home appliances may include: determining whether the communication module carried by the one or more home appliances in the environment in which the user is located is in an open state. The specific functions and processing of the processing unit 204 are also referred to step S310.
例如:待配网的家电设备所带WIFI处于开启状态。For example, the WIFI with the home appliance to be equipped with the network is in the open state.
例如:参见图9所示的例子,有A、B、C、D四台待配网的设备,现通过手机App按照流程将这四台设备配置到路由器。For example, referring to the example shown in Figure 9, there are four devices to be deployed in A, B, C, and D. These four devices are now configured to the router according to the process through the mobile app.
例如:参见图9所示的例子,确保四台设备的WIFI处于开启状态。For example, see the example shown in Figure 9 to ensure that the WIFI of the four devices is turned on.
更可选地,所述处理单元204搜索或扫描自身所处环境中的所述一台以上家电,还可以包括:当所述一台以上家电所带的通信模块处于开启状态时,对所述环境中所述一台以上家电进行搜索或扫描。该处理单元204的具体功能及处理还参见步骤S320。More optionally, the processing unit 204 searches for or scans the one or more home appliances in the environment in which the device is located, and may further include: when the communication module carried by the one or more home appliances is in an open state, Searching or scanning one or more home appliances in the environment. The specific functions and processing of the processing unit 204 are also referred to step S320.
例如:确定待配网的多台家电各自携带的通信模块是否处于开启状态。以当所述多台家电各自携带的所述通信模块处于开启状态时,对其中的第一台家电进行配网。For example, it is determined whether the communication module carried by each of the plurality of home appliances to be distributed is in an open state. When the communication module carried by each of the plurality of home appliances is in an on state, the first home appliance is distributed to the network.
例如:手机打开家电设备所用的App,开始进行配网流程。For example, the mobile phone opens the App for the home appliance and starts the distribution process.
例如:参见图9所示的例子,打开手机App开始待配网设备的扫描,扫描的时间可以更改。For example, referring to the example shown in FIG. 9, the mobile phone App is opened to start scanning of the device to be distributed, and the scanning time can be changed.
由此,通过第一台家电进行自身配网时,自终端处获取待配网的所有家电的通信模块均开启、且通过终端扫描家电,使得获取的消息可靠性高,且获取方式简便,有利于提升对第一台家电自身配网的便捷性和高效性。Therefore, when the first home appliance performs its own distribution network, the communication modules of all the home appliances that are to be allocated from the terminal are opened, and the home appliance is scanned by the terminal, so that the acquired message has high reliability and the acquisition method is simple, and It is conducive to improving the convenience and efficiency of the distribution network of the first home appliance.
在一个可选例子中,所述处理单元204,还可以用于当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接,并连接至所述第一台家电自身的通信模块。该处理单元204的具体功能及处理还参见步骤S230。In an optional example, the processing unit 204 is further configured to: after at least searching or scanning the first home appliance, disconnect the connection with the router, and connect to the first home appliance itself. Communication module. The specific functions and processing of the processing unit 204 are also referred to step S230.
例如:所述终端,被配置为还可以执行:当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接,并连接至所述第一台家电自身的通信模块。For example, the terminal is configured to perform: when at least searching or scanning the first home appliance, disconnecting from the router and connecting to the communication module of the first home appliance itself.
例如:手机App自动在搜索到的家电设备中选择(选择方式见配网举例)一台设备,将路由器的SSID和KEY发送至该设备进行自动配网。For example, the mobile phone App automatically selects one device in the searched home appliance (see the distribution network example), and sends the SSID and KEY of the router to the device for automatic distribution.
例如:手机App会根据扫描到的设备的先后顺序(或者随即顺序)建立一张设备列表,列表中存储了设备所带WIFI模块的SSID和KEY,手机App按照列表中设备排列的顺序(或者随机顺序)选择一台设备(假定选择的A设备),将路由器的SSID和KEY发送至 A设备进行自动配网。For example, the mobile app will create a device list according to the order of the scanned devices (or in order), and the list stores the SSID and KEY of the WIFI module with the device, and the mobile app follows the order of the devices in the list (or random). Sequence) Select a device (assuming the selected A device), and send the SSID and KEY of the router to the A device for automatic distribution.
更可选地,自身配网单元102自终端获取第一身份信息及第一密钥时,所述处理单元204至少搜索或扫描到所述第一台家电,可以包括:根据搜索或扫描到的所述一台以上家电,建立所述一台以上家电各自所带通信模块的所述第二身份信息及所述第二密钥的列表。该处理单元204的具体功能及处理还参见步骤S410。Optionally, when the self-networking unit 102 obtains the first identity information and the first key from the terminal, the processing unit 204 searches or scans at least the first home appliance, which may include: searching or scanning according to the The one or more home appliances establish a list of the second identity information and the second key of each of the communication modules of the one or more home appliances. The specific functions and processing of the processing unit 204 are also referred to step S410.
更可选地,所述处理单元204至少搜索或扫描到所述第一台家电,还可以包括:按搜索或扫描到的先后顺序或随机顺序,自所述列表中选取所述第一台家电。该处理单元204的具体功能及处理还参见步骤S420。More optionally, the processing unit 204 searches for or scans at least the first home appliance, and may further include: selecting the first home appliance from the list according to a search or scan sequence or a random order . The specific functions and processing of the processing unit 204 are also referred to step S420.
由此,通过对第一台家电配网时通过终端扫描的方式确定第一台家电,对第一台家电确定的方式简便;并且,通过扫描的方式确定的第一台家电,通信情况好,有有利于提升第一台家电配网的效率和成功率。Therefore, the first home appliance is determined by scanning the terminal through the terminal when the first home appliance is distributed, and the method of determining the first home appliance is simple; and the first home appliance determined by the scanning method has good communication. It is beneficial to improve the efficiency and success rate of the first home appliance distribution network.
在一个可选例子中,所述处理单元204,还可以用于将自身获取或存储的所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。该处理单元204的具体功能及处理还参见步骤S240。In an optional example, the processing unit 204 may be further configured to send the first identity information and the first key that are acquired or stored by itself to the communication module of the first home appliance. The specific functions and processing of the processing unit 204 are also referred to step S240.
例如:所述终端,被配置为还可以执行:将自身获取或存储的所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。For example, the terminal is configured to further perform: sending the first identity information and the first key acquired or stored by itself to the communication module of the first home appliance.
例如:手机在进行多台设备配网时,首先连接至其中的某一台设备,并将其按照现有的方式配置到路由器中去。For example, when a mobile phone is equipped with multiple devices, first connect to one of the devices and configure it to the router in the existing way.
经大量的试验验证,采用本实施例的技术方案,通过终端先建立与路由器的连接,搜索或扫描自身所处环境中的一台以上家电,并断开自身与路由器的连接并连接至一台家电,建立一台家电与路由器的连接,实现该一台家电的配网,配网便捷性好,且可靠性高。After a large number of tests and verifications, using the technical solution of the embodiment, the terminal first establishes a connection with the router, searches for or scans one or more home appliances in the environment in which it is located, and disconnects itself from the router and connects to one. The home appliance establishes a connection between the home appliance and the router to realize the distribution network of the home appliance, and the distribution network has good convenience and high reliability.
根据本申请的实施例,还提供了对应于配网方法的一种存储介质。该存储介质,可以包括:所述存储介质中存储有多条指令;所述多条指令,用于由处理器加载并执行以上所述的配网方法、或由处理器加载并执行以上另一所述的配网方法。According to an embodiment of the present application, a storage medium corresponding to the distribution network method is also provided. The storage medium may include: the storage medium stores a plurality of instructions; the plurality of instructions are used by the processor to load and execute the network distribution method described above, or loaded by the processor and executed by the other The distribution network method.
由于本实施例的存储介质所实现的处理及功能基本相应于前述图1至图6所示的方法的实施例、原理和实例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。Since the processing and functions implemented by the storage medium of the embodiment substantially correspond to the foregoing embodiments, principles, and examples of the method shown in FIG. 1 to FIG. 6, the description of the present embodiment is not exhaustive, and the foregoing implementation may be referred to. The relevant descriptions in the examples are not described here.
经大量的试验验证,采用本申请的技术方案,通过第一台设备配网成功后,通过第一台设备与其它设备之间进行连接以对其它设备进行逐一配网,不仅提升了配网效率,提升了家电配网的智能化程度。After a large number of tests and verifications, using the technical solution of the present application, after the first device is successfully deployed, the first device is connected with other devices to distribute the other devices one by one, which not only improves the efficiency of the distribution network. It has improved the intelligence of home appliance distribution network.
根据本申请的实施例,还提供了对应于配网方法的一种终端。该终端,可以包括:处理器,用于执行多条指令;存储器,用于存储多条指令;其中,所述多条指令,用于由所述存储器存储,并由所述处理器加载并执行以上另一所述的配网方法;或者,以上另一所述的配网装置。According to an embodiment of the present application, a terminal corresponding to the distribution network method is also provided. The terminal may include: a processor for executing a plurality of instructions; a memory for storing a plurality of instructions; wherein the plurality of instructions are stored by the memory and loaded and executed by the processor Another distribution network method as described above; or another distribution network device as described above.
由于本实施例的终端所实现的处理及功能基本相应于前述图2至图4所示的方法指令、或图8所示的装置的实施例、原理和实例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。The processing and functions implemented by the terminal in this embodiment substantially correspond to the foregoing method instructions shown in FIG. 2 to FIG. 4, or the embodiments, principles, and examples of the device shown in FIG. 8. Therefore, the description in this embodiment is not For details, refer to the related description in the foregoing embodiment, and details are not described herein.
经大量的试验验证,采用本申请的技术方案,通过发送SSID和KEY的方式进行连接和配网,配网可靠性高、安全性好。After a large number of tests and verifications, the technical solution of the present application is used to connect and distribute the network by sending SSID and KEY, and the distribution network has high reliability and good security.
根据本申请的实施例,还提供了对应于配网装置、或存储介质的一种家电。该家电,可以包括:处理器,用于执行多条指令;存储器,用于存储多条指令;其中,所述多条指令,用于由所述存储器存储,并由处理器加载并执行以上所述的配网方法;或者,以上所述的配网装置。According to an embodiment of the present application, a home appliance corresponding to a distribution device or a storage medium is also provided. The home appliance may include: a processor for executing a plurality of instructions; a memory for storing a plurality of instructions; wherein the plurality of instructions are used by the memory to be stored by the processor and executed by the processor The distribution method described above; or the distribution network device described above.
在一个可选例子中,该家电设备之间感染式WIFI配网的方法,可以包括:当手机需要对多台设备进行配网时,首先将这些待配网设备中的任意一台配置到路由器中去;当第一台设备成功配网之后,手机将搜索到的待配网的设备列表发送至配网成功的第一台设备,第一台成功配网的设备按照手机发送过来的列表,分别同列表中待配网的设备分别进行直接连接,将自身存储的路由器SSID和KEY发送至这些待配网的设备,这些设备根据接收到的SSID和KEY信息自动连接到路由器,从而完成多个设备的配网工作。In an optional example, the method for infecting a WIFI distribution network between the home appliances may include: when the mobile phone needs to perform network distribution on multiple devices, first configure any one of the devices to be allocated to the router. After the first device successfully distributes the network, the mobile phone sends the searched device list of the network to be distributed to the first device with the successful distribution network, and the first successfully distributed network device according to the list sent by the mobile phone. The devices in the list to be directly connected to the network are directly connected, and the SSIDs and KEYs of the routers stored in the list are respectively sent to the devices to be allocated to the network. The devices are automatically connected to the router according to the received SSID and KEY information, thereby completing multiple The distribution network of the equipment works.
在一个可选例子中,该家电设备之间感染式配网的方法(例如:家电设备之间感染式WIFI配网的方法),可以包括:手机在进行多台设备配网时,首先连接至其中的某一台设备,并将其按照现有的方式配置到路由器中去;当第一台设备成功配网之后,手机将搜索到的有待配网的设备列表发送至配网成功的第一台设备,第一台成功配网的设备将按照手机发送过来的列表,分别同列表中待配网的设备进行连接,将自身存储的路由器SSID和KEY发送至这些待配网的设备,让这些设备一个个地连接至路由器,从而完成多个设备的配网工作。In an optional example, the method for infective distribution network between the household electrical appliances (for example, the method for infective WIFI distribution network between household electrical appliances) may include: when the mobile phone performs multiple equipment distribution networks, first connects to One of the devices is configured into the router according to the existing method; after the first device successfully distributes the network, the mobile phone searches the list of devices to be distributed to the network to be successfully delivered. For the first device, the first device that successfully distributes the network will connect to the device to be deployed in the list according to the list sent by the mobile phone, and send the SSID and KEY of the router to be stored to the devices to be allocated. The devices are connected to the router one by one to complete the distribution work of multiple devices.
在一个可选例子中,该感染式的家电WIFI配网方法(即家电设备之间感染式配网的方法),可以包括:In an optional example, the infective home appliance WIFI distribution network method (ie, the method of infective distribution network between home appliances) may include:
步骤1、待配网的家电设备所带WIFI处于开启状态。Step 1. The WIFI with the home appliance to be distributed is in the open state.
步骤2、手机打开家电设备所用的App,开始进行配网流程。Step 2: The mobile phone opens the App for the home appliance, and starts the distribution process.
步骤3、手机App自动在搜索到的家电设备中选择(选择方式见配网举例)一台设备,将路由器的SSID和KEY发送至该设备进行自动配网。Step 3: The mobile phone App automatically selects one device in the searched home appliance (see the distribution network example), and sends the SSID and KEY of the router to the device for automatic network distribution.
步骤4、配网成功之后,手机App将剩余扫描到的待配网的设备列表发送给已经配网成功的家电设备。Step 4: After the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be distributed to the home appliance that has been successfully deployed.
步骤5、已经配网成功的第一台设备收到该设备列表之后,按照列表里的设备排列顺序(或者随机顺序),分别同这些待配网的设备进行连接,将路由器的SSID和KEY传输至这些设备;接收到SSID和KEY的设备根据SSID和KEY自动连接到路由器。Step 5: After receiving the device list, the first device that has been successfully deployed with the network connects to the devices to be deployed according to the device arrangement order (or random order) in the list, and transmits the SSID and KEY of the router. To these devices; devices that receive the SSID and KEY are automatically connected to the router based on the SSID and KEY.
在一个可选具体例子中,可以参见图9所示的配网举例:有A、B、C、D四台待配网的设备,现通过手机App按照上述流程将这四台设备配置到路由器。In an optional specific example, refer to the distribution network shown in Figure 9. There are four devices to be deployed in A, B, C, and D. Now, the four devices are configured to the router through the mobile phone App according to the above process. .
步骤1、确保四台设备的WIFI处于开启状态。Step 1. Ensure that the WIFI of the four devices is turned on.
步骤2、打开手机App开始待配网设备的扫描,扫描的时间可以更改。Step 2: Open the mobile phone App to start scanning of the device to be distributed, and the scanning time can be changed.
步骤3、手机App会根据扫描到的设备的先后顺序(或者随即顺序)建立一张设备列表,列表中存储了设备所带WIFI模块的SSID和KEY,手机App按照列表中设备排列的顺序(或者随机顺序)选择一台设备(假定选择的A设备),将路由器的SSID和KEY发 送至A设备进行自动配网。Step 3: The mobile app creates a device list according to the sequence of the scanned devices (or in sequence), and stores the SSID and KEY of the WIFI module with the device, and the mobile phone App follows the order of the devices in the list (or Random order) Select a device (assuming the selected A device), send the SSID and KEY of the router to the A device for automatic distribution.
步骤4、配网成功之后,手机App将剩余扫描到的待配网的设备列表发送给已经配网成功的A设备。Step 4: After the distribution network is successful, the mobile phone App sends the list of the remaining scanned devices to be allocated to the A device that has been successfully deployed.
步骤5、A设备按照手机App发送过来的列表,按照排列顺序(或者随机顺序)选择一台设备(假定选择B设备),A根据列表中B设备对应的SSID和KEY和B直连,将路由器的SSID和KEY发送至B设备,B设备按照A发送的SSID和KEY进行自动配网。Step 5: According to the list sent by the mobile phone App, the A device selects one device according to the sorting order (or random order) (assuming that the B device is selected), and the A directly connects the router according to the SSID corresponding to the B device in the list and the KEY and the B. The SSID and KEY are sent to the B device, and the B device performs automatic distribution according to the SSID and KEY sent by A.
步骤6、重复步骤5,完成C和D设备的配网过程。Step 6. Repeat step 5 to complete the network distribution process of the C and D devices.
由于本实施例的家电所实现的处理及功能基本相应于前述图7所示的装置、或存储有图1、图5及图6所示方法指令的存储介质的实施例、原理和实例,故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。Since the processing and functions implemented by the home appliance of the present embodiment substantially correspond to the embodiments, principles, and examples of the apparatus shown in FIG. 7 or the storage medium in which the method instructions shown in FIGS. 1, 5, and 6 are stored, For a detailed description of the present embodiment, reference may be made to the related description in the foregoing embodiments, and details are not described herein.
经大量的试验验证,采用本申请的技术方案,通过配网成功的第一台设备按顺序或随机的方式对其它设备进行配网,配网灵活性好、通用性强。After a large number of tests and verifications, using the technical solution of the present application, the first device successfully deployed through the distribution network distributes the other devices in a sequential or random manner, and the distribution network has good flexibility and versatility.
综上,本领域技术人员容易理解的是,在不冲突的前提下,上述各有利方式可以自由地组合、叠加。In summary, those skilled in the art will readily understand that the above advantageous modes can be freely combined and superimposed without conflict.
以上所述仅为本申请的实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above description is only for the embodiments of the present application, and is not intended to limit the present application, and various changes and modifications may be made by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (19)

  1. 一种配网方法,其特征在于,包括:A distribution network method, comprising:
    使待配网的一台以上家电中的第一台家电,获取待连接的路由器的第一身份信息及第一密钥,并根据所述第一身份信息及所述第一密钥连接到所述路由器,以完成自身配网;Having the first home appliance of the one or more home appliances to be distributed, obtaining the first identity information and the first key of the router to be connected, and connecting to the first identity information and the first key according to the first identity information Said router to complete its own distribution network;
    使所述第一台家电,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,以对所述其它家电进行配网。And causing the first home appliance to transmit the first identity information and the first key acquired by itself to other home appliances other than one of the one or more home appliances, to the other home appliances Carry out distribution network.
  2. 根据权利要求1所述的方法,其特征在于,获取待连接的路由器的第一身份信息及第一密钥,包括:The method according to claim 1, wherein the obtaining the first identity information and the first key of the router to be connected comprises:
    接收终端发送的所述第一身份信息及所述第一密钥。Receiving the first identity information and the first key sent by the terminal.
  3. 根据权利要求1或2所述的配网方法,其特征在于,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,包括:The distribution network method according to claim 1 or 2, wherein the first identity information and the first key acquired by itself are respectively sent to the one or more home appliances except for themselves Other home appliances, including:
    获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表;Obtaining a list of second identity information and a second key storing the communication module carried by the other home appliance;
    根据所述列表中所述其它家电所带通信模块的所述第二身份信息及所述第二密钥,分别与所述其它家电建立连接;Establishing a connection with the other home appliances according to the second identity information and the second key of the communication module carried by the other home appliances in the list;
    将所述第一身份信息及所述第一密钥,分别发送至与自身建立连接的所述其它家电。And transmitting the first identity information and the first key to the other home appliances that establish a connection with itself.
  4. 根据权利要求3所述的配网方法,其特征在于,其中,The distribution network method according to claim 3, wherein
    获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表,包括:Obtaining a list of the second identity information and the second key storing the communication module carried by the other home appliance, including:
    接收由终端发送的所述列表;Receiving the list sent by the terminal;
    和/或,and / or,
    分别与所述其它家电建立连接,包括:Establishing connections with the other appliances, respectively:
    按所述列表中所述其它家电的排列顺序或随机顺序,分别向所述其它家电发送第一连接请求;Sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list;
    接收到所述其它家电基于所述第一连接请求的反馈消息时,确定与所述其它家电建立连接;Receiving, when the other home appliance receives a feedback message based on the first connection request, determining to establish a connection with the other home appliance;
    和/或,and / or,
    分别与所述其它家电建立连接,还包括:Establishing a connection with the other home appliances, respectively, further includes:
    按所述列表中所述其它家电的排列顺序或随机顺序,接收所述其它家电发送的第二连接请求;Receiving a second connection request sent by the other home appliance according to an arrangement order or a random order of the other home appliances in the list;
    根据所述第二连接请求,与所述其它家电中的相应家电建立连接。And establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
  5. 根据权利要求3或4所述的配网方法,其特征在于,其中,The distribution network method according to claim 3 or 4, wherein
    所述第一身份信息、所述第二身份信息中的至少之一,包括:SSID、MAC信息、IP地址中的至少之一;At least one of the first identity information and the second identity information, including: at least one of an SSID, a MAC information, and an IP address;
    和/或,and / or,
    所述通信模块,包括:WIFI模块、蓝牙模块中的至少之一。The communication module includes at least one of a WIFI module and a Bluetooth module.
  6. 根据权利要求1-5之一所述的配网方法,其特征在于,还包括:The distribution network method according to any one of claims 1 to 5, further comprising:
    使所述第一台家电确定自身配网是否成功;Having the first home appliance determine whether the distribution network is successful;
    以当所述第一台家电确定自身配网成功时,才对所述其它家电进行配网;When the first home appliance determines that its own distribution network is successful, the other home appliances are distributed to the network;
    和/或,and / or,
    使所述第一台家电确定自身对所述其它家电中的当前家电配网是否成功;Having the first home appliance determine whether it is successful for the current home appliance distribution network among the other home appliances;
    以当所述第一台家电确定自身对所述当前家电配网成功时,才对所述其它家电中的下一台家电进行配网;When the first home appliance determines that the distribution network of the current home appliance is successful, the next home appliance of the other home appliances is distributed;
    和/或,and / or,
    当所述第一台家电确定自身对所当前家电配网成功时,接收到配网成功的所述当前家电通过所述路由器与终端建立连接的联网消息。When the first home appliance determines that the distribution network of the current home appliance is successful, the network message that the current home appliance succeeds in the distribution network establishes a connection with the terminal through the router.
  7. 一种配网方法,其特征在于,包括:A distribution network method, comprising:
    与路由器连接;Connected to the router;
    搜索或扫描自身所处环境中如权利要求1-6任一所述的一台以上家电;Searching or scanning one or more home appliances according to any one of claims 1-6 in an environment in which they are located;
    当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接,并连接至所述第一台家电自身的通信模块;After searching or scanning at least the first home appliance, disconnecting from the router and connecting to the communication module of the first home appliance itself;
    将所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。Transmitting the first identity information and the first key to the communication module of the first home appliance.
  8. 根据权利要求7所述的配网方法,其特征在于,其中,The distribution network method according to claim 7, wherein
    搜索或扫描自身所处环境中的所述一台以上家电,包括:Searching or scanning the one or more appliances in the environment in which they are located, including:
    确定自身所处环境中所述一台以上家电所带的通信模块是否处于开启状态;Determining whether the communication module carried by the one or more home appliances in the environment in which it is located is in an open state;
    当所述一台以上家电所带的通信模块处于开启状态时,对所述环境中所述一台以上家电进行搜索或扫描;When the communication module carried by the one or more home appliances is in an open state, searching or scanning the one or more home appliances in the environment;
    和/或,and / or,
    至少搜索或扫描到所述第一台家电,包括:Searching or scanning at least the first appliance, including:
    根据搜索或扫描到的所述一台以上家电,建立所述一台以上家电各自所带通信模块的所述第二身份信息及所述第二密钥的列表;Establishing, according to the searched or scanned one or more home appliances, a list of the second identity information and the second key of each of the communication modules of the one or more home appliances;
    按搜索或扫描到的先后顺序或随机顺序,自所述列表中选取所述第一台家电。The first home appliance is selected from the list in a sequential or random order of search or scan.
  9. 一种配网装置,其特征在于,包括:A network distribution device, comprising:
    自身配网单元,用于使待配网的一台以上家电中的第一台家电,获取待连接的路由器的第一身份信息及第一密钥,并根据所述第一身份信息及所述第一密钥连接到所述路由器,以完成自身配网;The first distribution unit is configured to obtain the first identity information and the first key of the router to be connected, and according to the first identity information and the first home appliance of the one or more home appliances to be allocated a first key is connected to the router to complete its own distribution network;
    感染配网单元,用于使所述第一台家电,将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其它家电,以对所述其它家电进行配网。Infecting a distribution network unit, configured to enable the first home appliance to separately send the first identity information and the first key acquired by itself to other home appliances other than the one or more home appliances In order to distribute the other household appliances.
  10. 根据权利要求9所述的配网装置,其特征在于,所述自身配网单元获取待连接的路由器的身份识别信息,具体包括:The network distribution device according to claim 9, wherein the self-provisioning network unit acquires the identity identification information of the router to be connected, and specifically includes:
    接收终端发送的所述第一身份信息及所述第一密钥。Receiving the first identity information and the first key sent by the terminal.
  11. 根据权利要求9或10所述的配网装置,其特征在于,所述感染配网单元将自身获取的所述第一身份信息及所述第一密钥,分别发送至所述一台以上家电中除自身之外的其 它家电,具体包括:The distribution network device according to claim 9 or 10, wherein the infected distribution network unit transmits the first identity information and the first key acquired by itself to the one or more home appliances Other home appliances other than itself, including:
    获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表;Obtaining a list of second identity information and a second key storing the communication module carried by the other home appliance;
    根据所述列表中所述其它家电所带通信模块的所述第二身份信息及所述第二密钥,分别与所述其它家电建立连接;Establishing a connection with the other home appliances according to the second identity information and the second key of the communication module carried by the other home appliances in the list;
    将所述第一身份信息及所述第一密钥,分别发送至与自身建立连接的所述其它家电。And transmitting the first identity information and the first key to the other home appliances that establish a connection with itself.
  12. 根据权利要求11所述的配网装置,其特征在于,其中,The network distribution device according to claim 11, wherein
    所述感染配网单元获取存储有所述其它家电所带通信模块的第二身份信息及第二密钥的列表,具体包括:The infection distribution network unit obtains a list of the second identity information and the second key that are stored in the communication module of the other home appliance, and specifically includes:
    接收由终端发送的所述列表;Receiving the list sent by the terminal;
    和/或,and / or,
    所述感染配网单元分别与所述其它家电建立连接,具体包括:The infection distribution network unit respectively establishes a connection with the other home appliances, and specifically includes:
    按所述列表中所述其它家电的排列顺序或随机顺序,分别向所述其它家电发送第一连接请求;Sending a first connection request to the other home appliances according to an arrangement order or a random order of the other home appliances in the list;
    接收到所述其它家电基于所述第一连接请求的反馈消息时,确定与所述其它家电建立连接;Receiving, when the other home appliance receives a feedback message based on the first connection request, determining to establish a connection with the other home appliance;
    和/或,and / or,
    所述感染配网单元分别与所述其它家电建立连接,具体还包括:The infection distribution network unit respectively establishes a connection with the other home appliances, and specifically includes:
    按所述列表中所述其它家电的排列顺序或随机顺序,接收所述其它家电发送的第二连接请求;Receiving a second connection request sent by the other home appliance according to an arrangement order or a random order of the other home appliances in the list;
    根据所述第二连接请求,与所述其它家电中的相应家电建立连接。And establishing a connection with a corresponding home appliance in the other home appliances according to the second connection request.
  13. 根据权利要求11或12所述的配网装置,其特征在于,其中,A distribution network device according to claim 11 or 12, wherein
    所述第一身份信息、所述第二身份信息中的至少之一,包括:SSID、MAC信息、IP地址中的至少之一;At least one of the first identity information and the second identity information, including: at least one of an SSID, a MAC information, and an IP address;
    和/或,and / or,
    所述通信模块,包括:WIFI模块、蓝牙模块中的至少之一。The communication module includes at least one of a WIFI module and a Bluetooth module.
  14. 根据权利要求9-13之一所述的配网装置,其特征在于,还包括:The network distribution device according to any one of claims 9-13, further comprising:
    所述自身配网单元,还用于使使所述第一台家电确定自身配网是否成功;The self-distributing network unit is further configured to enable the first home appliance to determine whether the distribution network is successful;
    以当所述第一台家电确定自身配网成功时,才对所述其它家电进行配网;When the first home appliance determines that its own distribution network is successful, the other home appliances are distributed to the network;
    和/或,and / or,
    所述感染配网单元,还用于使使所述第一台家电确定自身对所述其它家电中的当前家电配网是否成功;The infection distribution network unit is further configured to enable the first home appliance to determine whether it is successful for the current home appliance distribution network in the other home appliances;
    以当所述第一台家电确定自身对所述当前家电配网成功时,才对所述其它家电中的下一台家电进行配网;When the first home appliance determines that the distribution network of the current home appliance is successful, the next home appliance of the other home appliances is distributed;
    和/或,and / or,
    当所述第一台家电确定自身对所当前家电配网成功时,接收到配网成功的所述当前家电通过所述路由器与终端建立连接的联网消息。When the first home appliance determines that the distribution network of the current home appliance is successful, the network message that the current home appliance succeeds in the distribution network establishes a connection with the terminal through the router.
  15. 一种配网装置,其特征在于,包括:A network distribution device, comprising:
    通信单元,用于与所述路由器连接;a communication unit, configured to be connected to the router;
    处理单元,用于搜索或扫描自身所处环境中的如权利要求9-14任一所述一台以上家电;a processing unit, configured to search or scan one or more home appliances according to any one of claims 9-14 in an environment in which it is located;
    所述处理单元,还用于当至少搜索或扫描到所述第一台家电后,断开与所述路由器的连接;所述通信单元,还用于在断开与所述路由器的连接后,连接至所述第一台家电自身的通信模块;The processing unit is further configured to: disconnect the connection with the router after searching or scanning at least the first home appliance; and the communication unit is further configured to: after disconnecting the router, Connecting to the communication module of the first home appliance itself;
    所述通信单元,还用于将所述第一身份信息及所述第一密钥发送到所述第一台家电的所述通信模块。The communication unit is further configured to send the first identity information and the first key to the communication module of the first home appliance.
  16. 根据权利要求15所述的配网装置,其特征在于,其中,The network distribution device according to claim 15, wherein
    所述处理单元搜索或扫描自身所处环境中的所述一台以上家电,具体包括:The processing unit searches for or scans the one or more home appliances in the environment where the processing unit is located, and specifically includes:
    确定自身所处环境中所述一台以上家电所带的通信模块是否处于开启状态;Determining whether the communication module carried by the one or more home appliances in the environment in which it is located is in an open state;
    当所述一台以上家电所带的通信模块处于开启状态时,对所述环境中所述一台以上家电进行搜索或扫描;When the communication module carried by the one or more home appliances is in an open state, searching or scanning the one or more home appliances in the environment;
    和/或,and / or,
    所述处理单元至少搜索或扫描到所述第一台家电,具体包括:The processing unit searches for or scans at least the first home appliance, and specifically includes:
    根据搜索或扫描到的所述一台以上家电,建立所述一台以上家电各自所带通信模块的身份识别信息的列表;Establishing, according to the searched or scanned one or more home appliances, a list of identification information of the communication modules respectively carried by the one or more home appliances;
    按搜索或扫描到的先后顺序或随机顺序,自所述列表中选取所述第一台家电。The first home appliance is selected from the list in a sequential or random order of search or scan.
  17. 一种存储介质,其特征在于,所述存储介质中存储有多条指令;A storage medium, wherein the storage medium stores a plurality of instructions;
    其中,所述多条指令,用于由处理器加载并执行如权利要求1-6任一所述的配网方法、或由处理器加载并执行如权利要求7-8任一所述的配网方法。Wherein the plurality of instructions are used by a processor to load and execute the network distribution method according to any one of claims 1-6, or load and execute by the processor according to any one of claims 7-8 Web method.
  18. 一种终端,其特征在于,包括:A terminal, comprising:
    处理器,用于执行多条指令;a processor for executing a plurality of instructions;
    存储器,用于存储多条指令;a memory for storing a plurality of instructions;
    其中,所述多条指令,用于由所述存储器存储,并由处理器加载并执行如权利要求7-8任一所述的配网方法;Wherein the plurality of instructions are stored by the memory, and loaded by the processor and executed by the distribution network method according to any one of claims 7-8;
    或者,or,
    如权利要求15-16任一所述的配网装置。A network distribution device according to any of claims 15-16.
  19. 一种家电,其特征在于,包括:An electric appliance characterized by comprising:
    处理器,用于执行多条指令;a processor for executing a plurality of instructions;
    存储器,用于存储多条指令;a memory for storing a plurality of instructions;
    其中,所述多条指令,用于由所述存储器存储,并由处理器加载并执行如权利要求1-6任一所述的配网方法;Wherein the plurality of instructions are used by the memory to be stored by the processor and executed by the processor according to any one of claims 1-6;
    或者,or,
    如权利要求9-14任一所述的配网装置。A distribution network device according to any of claims 9-14.
PCT/CN2018/091790 2017-08-07 2018-06-19 Network assigning method and apparatus, storage medium, terminal, and home appliance WO2019029271A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710665833.3A CN107466086A (en) 2017-08-07 2017-08-07 A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances
CN201710665833.3 2017-08-07

Publications (1)

Publication Number Publication Date
WO2019029271A1 true WO2019029271A1 (en) 2019-02-14

Family

ID=60547324

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/091790 WO2019029271A1 (en) 2017-08-07 2018-06-19 Network assigning method and apparatus, storage medium, terminal, and home appliance

Country Status (2)

Country Link
CN (1) CN107466086A (en)
WO (1) WO2019029271A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances
CN108307479B (en) * 2017-12-15 2020-03-24 珠海格力电器股份有限公司 Communication module, network distribution method and device thereof, storage medium, equipment and terminal
CN107942711A (en) * 2017-12-22 2018-04-20 美的智慧家居科技有限公司 Household electrical appliances progress control method, household electrical appliances and computer-readable recording medium
CN108494638A (en) * 2018-02-09 2018-09-04 海尔优家智能科技(北京)有限公司 A kind of method, router, terminal and medium that configuration equipment networks
CN110708744B (en) * 2018-07-09 2022-06-14 佛山市顺德区美的饮水机制造有限公司 Communication control method, home appliance device, and computer-readable storage medium
CN109257795A (en) * 2018-08-17 2019-01-22 珠海格力电器股份有限公司 A kind of method and apparatus carrying out distribution
CN109413653B (en) * 2018-12-10 2022-09-02 美的集团武汉制冷设备有限公司 Network distribution method and network distribution system for household appliances
CN111726801B (en) * 2019-03-20 2022-12-09 杭州九阳小家电有限公司 Network security control method
CN110677862A (en) * 2019-10-30 2020-01-10 昆山恩九软件科技有限公司 One-key network distribution method based on intelligent hardware and mobile equipment
CN111131380B (en) * 2019-11-12 2021-04-20 珠海格力电器股份有限公司 Network distribution method and system of household appliance and storage medium
CN111093248B (en) * 2019-12-16 2022-04-15 北京小米移动软件有限公司 Network distribution method, network distribution device and electronic equipment
CN111867001B (en) * 2020-07-24 2022-02-15 深圳创维数字技术有限公司 Intelligent equipment batch network distribution method, system and storage medium
CN112332998B (en) * 2020-08-06 2024-02-13 深圳Tcl新技术有限公司 Network allocation method and system for equipment and computer readable storage medium
CN114697294B (en) * 2020-12-28 2024-03-12 深圳Tcl新技术有限公司 Distribution network method, device and system and computer readable storage medium
CN112910748B (en) * 2021-01-14 2021-12-14 珠海格力电器股份有限公司 Network distribution method, device, computer equipment and storage medium
CN113079039B (en) * 2021-03-24 2023-01-31 无锡睿米信息技术有限公司 Method and system for multi-host network distribution, communication host and storage medium
CN113079556A (en) * 2021-03-24 2021-07-06 宁波奥克斯电气股份有限公司 Intelligent household appliance distribution network control method, control device and application
CN115250189B (en) * 2021-04-27 2023-06-02 西门子(中国)有限公司 Key management method and device for intelligent household equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150081859A1 (en) * 2013-09-17 2015-03-19 Inventec Appliances Corp. Method, apparatus and system for connecting devices to a network
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN106533857A (en) * 2016-10-31 2017-03-22 广东美的制冷设备有限公司 Network distribution method, system and equipment of household appliance
CN106953782A (en) * 2017-02-28 2017-07-14 美的智慧家居科技有限公司 A kind of method and device for controlling intelligent appliance to network
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808598A (en) * 2014-01-24 2015-07-29 中兴通讯股份有限公司 Control method, control and processing method, control device and control system for household electric appliance
WO2016015263A1 (en) * 2014-07-30 2016-02-04 江苏达伦电子股份有限公司 Wireless wifi intelligent ceiling lamp system capable of realizing infrared remote control over household appliances
CN106792472A (en) * 2016-12-30 2017-05-31 杭州士兰微电子股份有限公司 The Wi Fi of intelligent hardware devices match somebody with somebody network method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150081859A1 (en) * 2013-09-17 2015-03-19 Inventec Appliances Corp. Method, apparatus and system for connecting devices to a network
CN106211264A (en) * 2016-07-11 2016-12-07 九阳股份有限公司 A kind of household electrical appliances distribution method and device
CN106533857A (en) * 2016-10-31 2017-03-22 广东美的制冷设备有限公司 Network distribution method, system and equipment of household appliance
CN106953782A (en) * 2017-02-28 2017-07-14 美的智慧家居科技有限公司 A kind of method and device for controlling intelligent appliance to network
CN107466086A (en) * 2017-08-07 2017-12-12 珠海格力电器股份有限公司 A kind of distribution method, apparatus, storage medium, terminal and household electrical appliances

Also Published As

Publication number Publication date
CN107466086A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
WO2019029271A1 (en) Network assigning method and apparatus, storage medium, terminal, and home appliance
US9444639B2 (en) Multi-tier wireless home mesh network with a secure network discovery protocol
EP2387206B1 (en) Wi-Fi Service Method and System for Wi-Fi Devices
CN109348458A (en) Network connection configuration method, apparatus, electronic equipment and network system
WO2018090830A1 (en) Method and apparatus allowing smart terminal device to access internet
US9838952B2 (en) Communication device, control method therefor, and program
US9655031B2 (en) Base station and terminal, and control methods thereof
CN111757356A (en) Equipment distribution network system and distribution network method thereof
CN106358265B (en) Method and device for accessing intelligent terminal equipment to Internet
CN106254189A (en) A kind of WiFi distribution method
CN104967596A (en) Method and apparatus for realizing binding and communication between user terminal and Internet of things device
CN105338595B (en) Intelligent terminal Adding Way, apparatus and system based on intelligent terminal system
US20100189029A1 (en) Distributed ip address assignment protocol for a multi-hop wireless home mesh network with collision detection
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
WO2022016669A1 (en) Bluetooth network configuration method, device, and storage medium
JP2006319476A (en) Radio communication system, radio communication apparatus and radio communication method, and computer program
US11452156B2 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN106888488A (en) The networking method and its device of smart machine
CN111787595B (en) Network distribution method, network distribution equipment and terminal equipment
CN109548053B (en) Method for synchronous wireless configuration of networking equipment
JP2013526193A (en) Method and apparatus for accessing a wireless sensor network
CN109495979B (en) Wireless network connection method and device
KR20070064227A (en) Method for network id collision-detection and the network id anti-collision
CN111065137A (en) Method for accessing intelligent equipment to network based on Bluetooth and wireless network
WO2015120690A1 (en) Method for controlling electronic device, control terminal, and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18843543

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18843543

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06/08/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18843543

Country of ref document: EP

Kind code of ref document: A1