CN109348521B - Network distribution method, device and equipment of intelligent equipment and computer readable medium - Google Patents

Network distribution method, device and equipment of intelligent equipment and computer readable medium Download PDF

Info

Publication number
CN109348521B
CN109348521B CN201811154922.2A CN201811154922A CN109348521B CN 109348521 B CN109348521 B CN 109348521B CN 201811154922 A CN201811154922 A CN 201811154922A CN 109348521 B CN109348521 B CN 109348521B
Authority
CN
China
Prior art keywords
connection
mobile terminal
intelligent
equipment
password
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811154922.2A
Other languages
Chinese (zh)
Other versions
CN109348521A (en
Inventor
魏利开
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201811154922.2A priority Critical patent/CN109348521B/en
Publication of CN109348521A publication Critical patent/CN109348521A/en
Application granted granted Critical
Publication of CN109348521B publication Critical patent/CN109348521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

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

Abstract

The invention provides a network distribution method, a network distribution device, equipment and a computer storage medium of intelligent equipment. The method comprises the following steps: establishing pre-connection with a mobile terminal; when the pre-connection is successfully established, receiving an account and a password of the network access equipment from the mobile terminal; when the pre-connection is failed to be established, receiving an account and a password of the network access equipment which are sent by the mobile terminal through broadcasting; and establishing network connection with the network access equipment according to the received account and the password. According to the embodiment of the invention, multiple distribution network modes are started in the mobile terminal at the same time, and the intelligent device also monitors the requests of the multiple distribution network modes at the same time, so that the multiple distribution network modes are provided, and the success rate of distribution networks can be improved. In addition, the embodiment of the invention adopts two stages for connection, the first stage adopts a method capable of pre-connection, and when the first stage is overtime or fails, the second stage is entered and the method which does not support pre-connection is adopted to continue the distribution network, so that the speed and the success rate of the distribution network can be improved.

Description

Network distribution method, device and equipment of intelligent equipment and computer readable medium
Technical Field
The invention relates to the technical field of internet, in particular to a network distribution method and device of intelligent equipment, equipment and a computer readable medium.
Background
With the development of internet technology, more and more intelligent devices can be controlled through a network, such as intelligent sound boxes, intelligent air conditioners and other intelligent devices. The smart devices need to be networked when used for the first time, but many of the devices have no screen and require a smart phone to be matched with the networking. And many methods known at present are too complex in distribution network operation, and the whole distribution network consumes a long time.
For example, the existing common network distribution mode is as follows: the method comprises the steps that a hotspot mode is started by the intelligent equipment, then the intelligent equipment is connected with terminals such as a mobile phone, WiFi information is input by the mobile phone and sent to the intelligent equipment, and then the intelligent equipment is connected with network access equipment such as a router for networking. However, the existing distribution network mode has long interaction path and long time consumption.
Disclosure of Invention
The embodiment of the invention provides a network distribution method, a network distribution device, equipment and a computer readable medium of intelligent equipment, which are used for solving or relieving one or more technical problems in the prior art.
In a first aspect, an embodiment of the present invention provides a network distribution method for an intelligent device, including:
establishing pre-connection with a mobile terminal;
when the pre-connection is successfully established, receiving an account and a password of the network access equipment from the mobile terminal;
when the pre-connection is failed to be established, receiving an account and a password of the network access equipment which are sent by the mobile terminal through broadcasting;
and establishing network connection with the network access equipment according to the received account and the password.
With reference to the first aspect, in a first implementation manner of the first aspect, the establishing a pre-connection with a mobile terminal includes:
selecting one mode from multiple connection modes to connect with the mobile terminal, and when the selected connection mode is successfully connected with the terminal equipment, the pre-connection is successfully established;
when the connection with the terminal equipment by adopting the selected connection mode fails, switching another connection mode to continue establishing connection with the terminal equipment;
and when the connection with the terminal equipment fails in all the connection modes, the pre-connection establishment fails, and the connection with the terminal equipment is finished.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the embodiment of the present invention includes: at least one of a bluetooth connection, a WiFi (Wireless-Fidelity) direct connection, and an NFC (Near Field Communication) connection.
In a second aspect, an embodiment of the present invention provides a network distribution method for an intelligent device, including:
establishing pre-connection with the intelligent equipment;
receiving an account and a password of the network access equipment input by a user;
when the pre-connection is successfully established, the account and the password of the network access equipment are sent to the intelligent equipment;
and when the pre-connection is failed to be established, broadcasting the account and the password of the network access equipment.
With reference to the second aspect, in a first implementation manner of the second aspect, the establishing a pre-connection with an intelligent device includes:
selecting one mode from multiple connection modes to establish connection with the intelligent equipment, and when the selected connection mode is adopted to be successfully connected with the intelligent equipment, the pre-connection is successfully established;
when the connection with the intelligent equipment fails by adopting the selected connection mode, switching another connection mode to continue establishing connection with the intelligent equipment;
and when the connection between the intelligent equipment and all the connection modes fails, the pre-connection establishment fails, and the connection between the intelligent equipment and the pre-connection establishment is finished.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the connection manner between the smart device and the smart device includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
In a third aspect, an embodiment of the present invention further provides a network distribution apparatus for an intelligent device, where the network distribution apparatus includes:
the terminal connection module is used for establishing pre-connection with the mobile terminal;
the first receiving module is used for receiving an account and a password of the network access equipment from the mobile terminal when the pre-connection is successfully established;
the second receiving module is used for receiving the account and the password of the network access equipment which are sent by the mobile terminal through broadcasting when the pre-connection is failed to be established;
and the network access module is used for establishing network connection with the network access equipment according to the received account and the password.
With reference to the third aspect, in a first implementation manner of the third aspect, the terminal connection module includes:
the terminal connection submodule is used for selecting one mode from a plurality of connection modes to connect with the mobile terminal, and when the selected connection mode is adopted to successfully connect with the terminal equipment, the pre-connection is successfully established;
the first switching submodule is used for switching another connection mode to continue to establish connection with the terminal equipment when the connection with the terminal equipment by adopting the selected connection mode fails;
and the first termination submodule is used for failing to establish the pre-connection and terminating the connection with the terminal equipment when the connection fails to be established with the terminal equipment in all connection modes.
With reference to the first implementation manner of the third aspect, in a second implementation manner of the third aspect, the embodiment of the present invention includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
In a fourth aspect, an embodiment of the present invention further provides a network distribution device for an intelligent device, where the network distribution device includes:
the device connection module is used for establishing pre-connection with the intelligent device;
the input module is used for receiving an account and a password of the network access equipment input by a user;
the first sending module is used for sending the account and the password of the network access equipment to the intelligent equipment when the pre-connection is successfully established;
and the second sending module is used for broadcasting the account and the password of the network access equipment when the pre-connection is failed to be established.
With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the device connection module includes:
the device connection submodule is used for selecting one mode from multiple connection modes to establish connection with the intelligent device, and when the selected connection mode is adopted to successfully connect with the intelligent device, the pre-connection is established successfully;
the second switching submodule is used for switching another connection mode to continue to establish connection with the intelligent equipment when the connection with the intelligent equipment in the selected connection mode fails;
and the second ending submodule is used for failing to establish the pre-connection and ending the connection with the intelligent equipment when the connection with the intelligent equipment fails in all the connection modes.
With reference to the first implementation manner of the fourth aspect, in a second implementation manner of the fourth aspect, the embodiment of the present invention includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
In a fifth aspect, in a possible design, the configuration of the network distribution apparatus of the smart device includes a processor and a memory, where the memory is used to store a program for supporting the network distribution apparatus of the smart device to execute the network distribution method of the smart device in the first aspect, and the processor is configured to execute the program stored in the memory. The network distribution device of the intelligent device can further comprise a communication interface, and the network distribution device of the intelligent device is used for communicating with other devices or a communication network.
In a sixth aspect, an embodiment of the present invention provides a computer readable medium for storing computer software instructions for a network distribution apparatus of a smart device, which includes a program for executing the network distribution method of the smart device in the first aspect.
According to the embodiment of the invention, multiple distribution network modes are started in the mobile terminal at the same time, and the intelligent device also monitors the requests of the multiple distribution network modes at the same time, so that the multiple distribution network modes are provided, and the success rate of distribution networks can be improved. In addition, the embodiment of the invention adopts two stages for connection, the first stage adopts a method capable of pre-connection, and when the first stage is overtime or fails, the second stage is entered and the method which does not support pre-connection is adopted to continue the distribution network, so that the speed and the success rate of the distribution network can be improved.
The foregoing summary is provided for the purpose of description only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the present invention will be readily apparent by reference to the drawings and following detailed description.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are therefore not to be considered limiting of its scope.
Fig. 1 is a flowchart of a network distribution method of an intelligent device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps S110 according to an embodiment of the present invention;
fig. 3 is a flowchart of a network distribution method of an intelligent device according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating the detailed steps of step S210 according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of another embodiment of the present invention;
fig. 6 is a connection block diagram of a network distribution device of an intelligent device according to another embodiment of the present invention;
fig. 7 is an internal block diagram of a terminal connection module according to another embodiment of the present invention;
fig. 8 is a connection block diagram of a network distribution device of an intelligent device according to another embodiment of the present invention;
FIG. 9 is an internal block diagram of a device connection module according to another embodiment of the present invention;
fig. 10 is a block diagram of a network distribution device of an intelligent device according to another embodiment of the present invention.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive. The embodiment of the invention mainly provides a method and a device for network distribution through intelligent equipment, and the technical scheme is described by the following embodiments.
The invention provides a network distribution method and a network distribution device of intelligent equipment, and the specific processing flow and principle of the network distribution method and the network distribution device of the intelligent equipment in the embodiment of the invention are described in detail below.
As shown in fig. 1, it is a flowchart of a network distribution method for an intelligent device according to an embodiment of the present invention. The embodiment of the invention provides a network distribution method of intelligent equipment, which is applied to the intelligent equipment such as an intelligent sound box, an intelligent air conditioner and the like. The method may comprise the steps of:
s110: and establishing pre-connection with the mobile terminal.
When the intelligent device is turned on, a pre-connection is automatically attempted to be established with the mobile terminal. The mobile terminal may include: cell-phone, flat board, wearing equipment etc..
In one embodiment, the specific steps of the smart device and the mobile terminal when establishing the pre-connection are as shown in fig. 2. The S110 may specifically include:
s111: and selecting one mode from multiple connection modes to connect with the mobile terminal, and when the selected connection mode is successfully connected with the terminal equipment, successfully establishing the pre-connection.
In one embodiment, the connection mode between the smart device and the mobile terminal includes: at least one of a bluetooth connection, WiFi direct, NFC (Near Field Communication ) connection. The WiFi direct connection is also called WiFi device point-to-point connection (peer-peer), and nearby devices can be found without connecting a hotspot or a network and opening the WiFi, so that communication between the two devices is realized.
When the intelligent device is started, a connection mode is selected to establish connection with the mobile terminal. For example, the connection may be performed according to the sequence of bluetooth, WiFi direct, and NFC. Namely, when the intelligent device is started, the Bluetooth module is started, and the pre-connection is established with the mobile terminal through the Bluetooth module.
S112: and when the connection with the terminal equipment by adopting the selected connection mode fails, switching another connection mode to continue establishing connection with the terminal equipment.
For example, when the intelligent device cannot be connected with the mobile terminal through the bluetooth module, the intelligent device is switched to the next connection mode, and the intelligent device is connected with the mobile terminal in a WiFi direct connection mode.
S113: and when the connection with the terminal equipment fails in all the connection modes, the pre-connection establishment fails, and the connection with the terminal equipment is finished.
For example, when the smart device cannot establish connection with the mobile terminal through bluetooth, WiFi direct connection, NFC, and other manners, it indicates that the pre-connection establishment between the smart device and the mobile terminal fails, and the connection operation is ended.
S120: and when the pre-connection is successfully established, receiving an account and a password of the network access equipment from the mobile terminal.
When the pre-connection between the intelligent device and the mobile terminal is successfully established, the account and the password of the network access device sent by the mobile terminal can be directly received through a transmission channel established by the intelligent device and the mobile terminal. For example, in a home network, the smart device receives an account and a password of a router sent by the mobile terminal.
S130: and when the pre-connection is failed to be established, receiving an account and a password of the network access equipment which are sent by the mobile terminal through broadcasting.
When the intelligent device cannot establish connection with the mobile terminal, the mobile terminal can send the account and the password of the network access device in a broadcasting mode. When the intelligent device monitors the broadcast signal of the mobile terminal, the received signal is decoded to obtain the corresponding account and password information.
S140: and establishing network connection with the network access equipment according to the received account and the password.
When the intelligent device obtains an account and a password of a network access device (e.g., a router), a wireless connection can be established with the corresponding router directly through the account and the password, so as to access a wireless network.
As shown in fig. 3, in another embodiment, the network distribution method for the intelligent device is applied to a mobile terminal, and specifically includes:
s210: and establishing pre-connection with the intelligent equipment.
When the mobile terminal opens the configuration webpage, the mobile terminal can try to establish pre-connection with surrounding intelligent equipment.
In an embodiment, a flow of specific steps of the mobile terminal and the smart device when establishing the pre-connection is shown in fig. 4, and the specific steps may specifically include:
s211: and selecting one mode from multiple connection modes to establish connection with the intelligent equipment, wherein when the selected connection mode is adopted to be successfully connected with the intelligent equipment, the pre-connection is successfully established.
In one embodiment, the connection mode between the mobile terminal and the smart device includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
And when the mobile terminal enters the page of the distribution network, automatically establishing connection with the intelligent equipment. The method comprises the steps of selecting a mode to establish connection with the intelligent device, wherein the connection can be established according to the sequence of Bluetooth, WiFi direct connection and NFC.
S212: and when the connection with the intelligent equipment fails by adopting the selected connection mode, switching another connection mode to continue establishing connection with the intelligent equipment.
For example, when the mobile terminal cannot be connected with the intelligent device through the bluetooth module, the mobile terminal is switched to the next connection mode, and the mobile terminal is connected with the intelligent device in a WiFi direct connection mode.
S213: and when the connection between the intelligent equipment and all the connection modes fails, the pre-connection establishment fails, and the connection between the intelligent equipment and the pre-connection establishment is finished.
For example, when the mobile terminal cannot establish connection with the intelligent device through bluetooth, WiFi direct connection, NFC, and other manners, it indicates that the pre-connection establishment between the intelligent device and the mobile terminal fails, and the connection operation is ended.
S220: and receiving an account number and a password of the network access equipment input by a user.
And receiving an account number and a password input by a user while establishing the pre-connection. For example, the user may enter an account number and password for the router in the current network.
S230: and when the pre-connection is successfully established, the account and the password of the network access equipment are sent to the intelligent equipment.
If the pre-connection between the mobile terminal and the intelligent device is successfully established, the account and the password of the network access device can be directly sent to the corresponding intelligent device through the established account and the password.
S240: and when the pre-connection is failed to be established, broadcasting the account and the password of the network access equipment.
When the mobile terminal cannot establish connection with the intelligent device, the mobile terminal can send the account and the password of the network access device in a broadcasting mode. When the intelligent device monitors the broadcast signal of the mobile terminal, the received signal is decoded to obtain the corresponding account and password information.
Fig. 5 is a view illustrating an implementation scenario of a network distribution method for an intelligent device according to an embodiment of the present invention. In this scenario, for example, the smart device employs a smart speaker, the mobile terminal employs a mobile phone, and the network access device is a router. The process of the network distribution of the smart sound box through the mobile phone can comprise the following steps:
step 1: and starting a distribution network mode of the intelligent sound box.
Step 2: at this point, the smart speaker is allowed to be discovered. Such as: can discover intelligent audio amplifier through modes such as bluetooth, wiFi directly connecting or NFC.
And step 3: and starting a distribution network page of the mobile phone. In specific operation, the sequence of the step 1 and the step 3 is not required, namely the starting sequence can be adjusted arbitrarily.
And 4, step 4: after the distribution network page of the mobile phone is started, a corresponding distribution network prompt, such as a WiFi account and a password of the router, is displayed on the mobile phone at the moment.
And 5: when a user operates on the distribution network page of the mobile phone, the mobile phone simultaneously starts the automatic scanning intelligent device.
Step 6: and (4) when the mobile phone scans the sound box, executing the step 7, otherwise, executing the step 9.
And 7: the mobile phone and the sound box start to be connected.
And 8: and if the connection between the mobile phone and the sound box is successfully established, outputting a successful connection result between the mobile phone and the sound box. And if the mobile phone cannot be connected with the sound box, outputting the result of the failure in connection.
And step 9: the user enters WiFi account and password information and confirmation.
Step 10: and sending the WiFi account and password information. And if the mobile phone is successfully connected with the sound box, directly sending the account number and password information of the WiFi to the sound box. And if the connection between the mobile phone and the sound box fails, the account number and the password are sent to the sound box in a broadcasting mode.
Step 11: when the loudspeaker box receives the WiFi account and the password sent by the mobile phone, the loudspeaker box is connected to the router.
Step 12: and finally, establishing network connection by the loudspeaker box and the router.
Step 13: and finally, successfully finishing the distribution network operation of the loudspeaker box.
In this embodiment, multiple distribution network modes are simultaneously started in the mobile terminal, and the smart device also simultaneously monitors requests of the multiple distribution network modes, for example, simultaneously monitors bluetooth, WIFI direct connection, NFC, WIFI broadcast, and the like. In addition, the embodiment of the invention adopts two stages for connection, the first stage adopts a method capable of pre-connection, and when the first stage is overtime or fails, the second stage is entered and the method which does not support pre-connection is adopted to continue the distribution network, so that the speed and the success rate of the distribution network can be improved.
As shown in fig. 6, in another embodiment, a network distribution apparatus for an intelligent device is further provided, which is applied to the intelligent device, and specifically includes:
a terminal connection module 110, configured to establish a pre-connection with the mobile terminal.
A first receiving module 120, configured to receive, from the mobile terminal, an account and a password of a network access device when the pre-connection is successfully established.
A second receiving module 130, configured to receive, when the pre-connection establishment fails, an account and a password of the network access device, where the account and the password are sent by the mobile terminal through broadcasting.
And the network access module 140 is configured to establish a network connection with the network access device according to the received account and the password.
As shown in fig. 7, the terminal connection module 110 includes:
and the terminal connection sub-module 111 is configured to select one of the multiple connection modes to connect with the mobile terminal, and when the selected connection mode is successfully connected with the terminal device, the pre-connection is successfully established.
The connection mode of the terminal connection submodule 111 includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
A first switching submodule 112, configured to switch another connection mode to continue establishing connection with the terminal device when the connection with the terminal device in the selected connection mode fails;
a first ending sub-module 113, configured to, when connection with the terminal device fails in all connection manners, establish the pre-connection in a failed manner, and end the connection with the terminal device.
The network distribution device of the intelligent device of this embodiment is similar to the principle of the network distribution method of the intelligent device applied to the intelligent device in the above-mentioned embodiment, and therefore is not described again.
As shown in fig. 8, in another embodiment, a network distribution device of an intelligent device is further provided, which is applied to a mobile terminal, and specifically includes:
the device connection module 210 is configured to establish a pre-connection with the smart device.
The input module 220 is configured to receive an account and a password of the network access device input by the user.
A first sending module 230, configured to send the account and the password of the network access device to the smart device when the pre-connection is successfully established.
A second sending module 240, configured to broadcast the account and the password of the network access device when the pre-connection establishment fails.
As shown in fig. 9, the device connection module 210 includes:
the device connection sub-module 211 is configured to select one of multiple connection modes to establish connection with the intelligent device, and when the selected connection mode is successfully used to establish connection with the intelligent device, the pre-connection is successfully established;
the connection mode of the device connection sub-module 211 includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
A second switching submodule 212, configured to switch another connection mode to continue to establish connection with the intelligent device when the connection with the intelligent device in the selected connection mode fails;
and a second ending submodule 213, configured to, when connection with the intelligent device fails in all connection manners, establish a failure of the pre-connection, and end connection with the intelligent device.
The principle of the network distribution method of the intelligent device applied to the mobile terminal is similar to that of the intelligent device network distribution device of the above embodiment, and therefore, the details are not repeated.
In another embodiment, the present invention further provides a network distribution device of an intelligent device, as shown in fig. 10, the network distribution device includes: a memory 510 and a processor 520, the memory 510 having stored therein computer programs that are executable on the processor 520. The processor 520, when executing the computer program, implements the network distribution method of the intelligent device in the above embodiments. The number of the memory 510 and the processor 520 may be one or more.
The apparatus further comprises:
the communication interface 530 is used for communicating with an external device to perform data interactive transmission.
Memory 510 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 510, the processor 520, and the communication interface 530 are implemented independently, the memory 510, the processor 520, and the communication interface 530 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 10, but this is not intended to represent only one bus or type of bus.
Optionally, in an implementation, if the memory 510, the processor 520, and the communication interface 530 are integrated on a chip, the memory 510, the processor 520, and the communication interface 530 may complete communication with each other through an internal interface.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
The computer readable medium described in embodiments of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
In embodiments of the present invention, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, input method, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the preceding.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope of the present invention, and these should be covered by the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A network distribution method of intelligent equipment is characterized by comprising the following steps:
establishing pre-connection with a mobile terminal;
when the pre-connection is successfully established, receiving an account and a password of the network access equipment from the mobile terminal;
when the pre-connection is failed to be established, receiving an account and a password of the network access equipment which are sent by the mobile terminal through broadcasting;
establishing network connection with the network access equipment according to the received account and the password;
the establishing of the pre-connection with the mobile terminal comprises the following steps:
selecting one mode from multiple connection modes to connect with the mobile terminal, and when the selected connection mode is successfully connected with the mobile terminal, the pre-connection is successfully established;
when the connection with the mobile terminal by adopting the selected connection mode fails, switching another connection mode to continue establishing connection with the mobile terminal;
and when the connection with the mobile terminal fails in all connection modes, the pre-connection establishment fails, and the connection with the mobile terminal is finished.
2. The method according to claim 1, wherein the connection with the mobile terminal comprises: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
3. A network distribution method of intelligent equipment is characterized by comprising the following steps:
establishing pre-connection with the intelligent equipment;
receiving an account and a password of the network access equipment input by a user;
when the pre-connection is successfully established, the account and the password of the network access equipment are sent to the intelligent equipment;
when the pre-connection is failed to be established, broadcasting the account and the password of the network access equipment;
the establishing of the pre-connection with the intelligent device comprises:
selecting one mode from multiple connection modes to establish connection with the intelligent equipment, and when the selected connection mode is adopted to be successfully connected with the intelligent equipment, the pre-connection is successfully established;
when the connection with the intelligent equipment fails by adopting the selected connection mode, switching another connection mode to continue establishing connection with the intelligent equipment;
and when the connection between the intelligent equipment and all the connection modes fails, the pre-connection establishment fails, and the connection between the intelligent equipment and the pre-connection establishment is finished.
4. The method of claim 3, wherein the connection with the smart device comprises: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
5. The utility model provides a net device is joined in marriage to smart machine which characterized in that includes:
the terminal connection module is used for establishing pre-connection with the mobile terminal;
the first receiving module is used for receiving an account and a password of the network access equipment from the mobile terminal when the pre-connection is successfully established;
the second receiving module is used for receiving the account and the password of the network access equipment which are sent by the mobile terminal through broadcasting when the pre-connection is failed to be established;
the network access module is used for establishing network connection with the network access equipment according to the received account and the password;
the terminal connection module includes:
the terminal connection submodule is used for selecting one mode from a plurality of connection modes to connect with the mobile terminal, and when the selected connection mode is adopted to successfully connect with the mobile terminal, the pre-connection is successfully established;
the first switching submodule is used for switching another connection mode to continue establishing connection with the mobile terminal when the connection with the mobile terminal by adopting the selected connection mode fails;
and the first termination submodule is used for failing to establish the pre-connection and terminating the connection with the mobile terminal when the connection with the mobile terminal fails in all connection modes.
6. The apparatus of claim 5, wherein the terminal connection sub-module is connected in a manner that includes: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
7. The utility model provides a net device is joined in marriage to smart machine which characterized in that includes:
the device connection module is used for establishing pre-connection with the intelligent device;
the input module is used for receiving an account and a password of the network access equipment input by a user;
the first sending module is used for sending the account and the password of the network access equipment to the intelligent equipment when the pre-connection is successfully established;
the second sending module is used for broadcasting the account and the password of the network access equipment when the pre-connection is failed to be established;
the device connection module includes:
the device connection submodule is used for selecting one mode from multiple connection modes to establish connection with the intelligent device, and when the selected connection mode is adopted to successfully connect with the intelligent device, the pre-connection is established successfully;
the second switching submodule is used for switching another connection mode to continue to establish connection with the intelligent equipment when the connection with the intelligent equipment in the selected connection mode fails;
and the second ending submodule is used for failing to establish the pre-connection and ending the connection with the intelligent equipment when the connection with the intelligent equipment fails in all the connection modes.
8. The apparatus of claim 7, wherein the means for connecting the device connection submodules comprises: at least one of Bluetooth connection, WiFi direct connection and NFC connection.
9. A network distribution device of a smart device, the device comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the network distribution method for the smart device of any of claims 1-4.
10. A computer-readable medium, in which a computer program is stored which, when being executed by a processor, carries out a method for network distribution of intelligent devices according to any one of claims 1 to 4.
CN201811154922.2A 2018-09-30 2018-09-30 Network distribution method, device and equipment of intelligent equipment and computer readable medium Active CN109348521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811154922.2A CN109348521B (en) 2018-09-30 2018-09-30 Network distribution method, device and equipment of intelligent equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811154922.2A CN109348521B (en) 2018-09-30 2018-09-30 Network distribution method, device and equipment of intelligent equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN109348521A CN109348521A (en) 2019-02-15
CN109348521B true CN109348521B (en) 2020-01-07

Family

ID=65308329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811154922.2A Active CN109348521B (en) 2018-09-30 2018-09-30 Network distribution method, device and equipment of intelligent equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN109348521B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110120220B (en) * 2019-05-29 2021-07-02 飞天诚信科技股份有限公司 Working method and system of cloud sound box
CN110274659A (en) * 2019-06-03 2019-09-24 九牧厨卫股份有限公司 A kind of overflow alarming method and overflow water detector
CN110351349B (en) * 2019-06-28 2021-09-28 飞天诚信科技股份有限公司 Method and system for realizing work of cloud sound box
CN110536319A (en) * 2019-07-24 2019-12-03 珠海格力电器股份有限公司 Method and system for hybrid network distribution
CN111010721A (en) * 2019-11-18 2020-04-14 北京小米移动软件有限公司 Wireless network distribution method, wireless network distribution device and computer readable storage medium
CN111740885B (en) * 2020-05-25 2022-04-12 杭州涂鸦信息技术有限公司 Network distribution method and related equipment and device
CN111866996B (en) * 2020-07-24 2022-04-08 深圳创维数字技术有限公司 Intelligent device network distribution method, device and storage medium
CN111954164B (en) * 2020-07-24 2021-09-24 深圳创维数字技术有限公司 Equipment network distribution method and device and computer readable storage medium
CN112367203A (en) * 2020-11-10 2021-02-12 深圳Tcl新技术有限公司 Network distribution method and device, smart television and computer readable storage medium
CN113194445A (en) * 2021-04-15 2021-07-30 厦门亿联网络技术股份有限公司 Connection method and device
CN113469756A (en) * 2021-09-03 2021-10-01 深圳市完美显示科技有限公司 Advertisement putting control method and system
CN115988490B (en) * 2022-12-02 2023-10-20 广东保伦电子股份有限公司 APP-based hardware equipment network distribution method, apparatus and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683938A (en) * 2015-02-10 2015-06-03 小米科技有限责任公司 Configuration method and device for intelligent equipment
CN105491568A (en) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 Automatic router accessing method, device and intelligent terminal
CN106254189A (en) * 2016-09-13 2016-12-21 四川长虹电器股份有限公司 A kind of WiFi distribution method
CN107124341A (en) * 2017-06-28 2017-09-01 广东美的制冷设备有限公司 Intelligent home device match somebody with somebody network method and intelligent domestic system

Also Published As

Publication number Publication date
CN109348521A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
CN109348521B (en) Network distribution method, device and equipment of intelligent equipment and computer readable medium
CN104853405B (en) Intelligent networking method and smart machine
CN108551670B (en) Bluetooth connection method and device and intelligent terminal
CN107864469B (en) Wireless connection method and device
WO2020063761A1 (en) Data transmitting method and system
CN109361703B (en) Voice equipment binding method, device, equipment and computer readable medium
US9918219B2 (en) Call management method and apparatus for multi-SIM multi-active terminal
CN109495358B (en) Network distribution method and network distribution system for household appliances
CN109151212B (en) Equipment control method and device and electronic equipment
CN110072223B (en) Distribution network pairing method, control terminal, intelligent hardware device, server and medium
CN103561480A (en) Data transmission method
CN113395690B (en) Bluetooth equipment automatic connection method, device, equipment and storage medium
CN113141671A (en) Communication method and device of wifi device and computer readable storage medium
CN107148035B (en) Frequency band selection method and device and wireless equipment
CN109362119A (en) Method for connecting network, device, equipment and the computer-readable medium of smart machine
CN110856086A (en) Method and device for controlling sound system and readable storage medium
CN110602683B (en) Bluetooth control method, device, mobile terminal and storage medium
CN114205378B (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN105511961A (en) Data sending method and terminal
JP7332802B2 (en) Method and Apparatus for Manual Network Selection
CN105516972A (en) Network connection method and device
CN112351461B (en) WiFi network switching method, wiFi network switching device, terminal and storage medium
CN109743715B (en) Processing method and system and electronic equipment
CN113259928A (en) OTA (over the air) upgrading method and device, electronic equipment, storage medium and program product
CN105282818A (en) Method for connecting wireless speaker to network and user terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant