CN111417118A - Network distribution method and device and computer equipment - Google Patents

Network distribution method and device and computer equipment Download PDF

Info

Publication number
CN111417118A
CN111417118A CN202010113380.5A CN202010113380A CN111417118A CN 111417118 A CN111417118 A CN 111417118A CN 202010113380 A CN202010113380 A CN 202010113380A CN 111417118 A CN111417118 A CN 111417118A
Authority
CN
China
Prior art keywords
communication
module
connection
bluetooth module
configuration information
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.)
Pending
Application number
CN202010113380.5A
Other languages
Chinese (zh)
Inventor
李绍斌
巫锦辉
欧炜
刘洪钊
肖百钦
仝磊
白青昀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010113380.5A priority Critical patent/CN111417118A/en
Publication of CN111417118A publication Critical patent/CN111417118A/en
Priority to PCT/CN2020/125927 priority patent/WO2021169377A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Abstract

The invention relates to a network distribution method, a network distribution device and computer equipment, which apply intelligent equipment, wherein the intelligent equipment comprises a WIFI module and a Bluetooth module, and the method comprises the following steps: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module. The network distribution method solves the problem that a mobile phone end cannot acquire real-time connection condition information when the network is distributed in the network distribution method in the prior art, also solves the problem that node information with specific distribution network errors cannot be fed back when the network distribution fails, and meets the requirements of customers.

Description

Network distribution method and device and computer equipment
Technical Field
The application relates to the technical field of internet of things, in particular to a network distribution method, a network distribution device and computer equipment.
Background
In the era of internet of things, the important pillar of wireless communication technology is not left, and with the updating and iteration of communication technology, communication technologies such as WIFI and Bluetooth (Bluetooth) are also under continuous development and innovation.
At present, media for realizing distribution network display mainly comprise a mobile phone end, an intelligent device end and a server end, a communication module of general intelligent equipment is a single WIFI module, the communication working mode mainly comprises that a hot spot is sent by a mobile phone, after the intelligent equipment is connected with the mobile phone, the mobile phone packs the connection and authentication information of the server through WIFI and sends the connection and authentication information to the intelligent device end, after the intelligent equipment receives the data packet, the intelligent equipment is disconnected with the mobile phone, and the data packet is used for searching and connecting the hot spot of the server; this tends to create a drawback: the intelligent equipment terminal cannot perform information interaction with the mobile phone terminal under the condition of searching the server and trying to connect; when the connection fails, the user usually only knows that the device cannot normally establish the connection with the server, and does not know the problem of connection failure at which node.
Therefore, in the network distribution method in the prior art, the mobile phone end cannot acquire real-time connection condition information when in network distribution, and cannot feed back specific node information with network distribution errors when in network distribution failure, so that the requirements of users cannot be met.
Disclosure of Invention
The network distribution method, the network distribution device and the computer equipment solve the problem that a mobile phone end cannot acquire real-time connection condition information when the network is distributed in the network distribution method in the prior art, also solve the problem that node information of network distribution errors can not be fed back when the network is distributed in failure, and meet the requirements of customers.
In a first aspect, the present invention provides a network distribution method, which applies an intelligent device, where the intelligent device includes a WIFI module and a bluetooth module, and the method includes: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module.
Optionally, before establishing the first communication with the mobile terminal through the bluetooth module, the method includes: and starting the WIFI module and the Bluetooth module.
Optionally, the WIFI module establishes a second communication with the server according to the wireless network configuration information, including: the WIFI module generates a distribution network request according to the wireless network configuration information, wherein the distribution network request comprises the serial number of the intelligent device and the private key; sending the distribution network request to a corresponding server, and enabling the server to verify according to the distribution network request; and when the server successfully verifies, the second communication connection is successful.
Optionally, when the first communication connection fails, the method further includes: restarting the Bluetooth module, and performing the connection of the next first communication with the mobile terminal; judging whether the number of times of the first communication connection failure exceeds a preset value or not; and when the preset value is exceeded, stopping the connection of the first communication, and sending failure information to the mobile terminal and the alarm module.
Optionally, the alarm module comprises a display module and/or an indicator light, and/or a buzzer.
In a second aspect, the present invention provides a network distribution method applied to a mobile terminal, where the method includes: establishing first communication with a Bluetooth module of the intelligent device; when the first communication connection is successful, sending wireless network configuration information to the Bluetooth module, so that a WIFI module of the intelligent device establishes second communication with a server according to the wireless network configuration information, wherein the wireless network configuration information comprises a server connection address and a private key; and receiving feedback information sent by the Bluetooth module, wherein the feedback information comprises connection information of the first communication and the second communication.
In a third aspect, the present invention provides a distribution network apparatus, which applies an intelligent device, where the intelligent device includes a WIFI module and a bluetooth module, and the apparatus includes: the first connection module is used for establishing first communication between the Bluetooth module and the mobile terminal; the first sending module is used for receiving wireless network configuration information sent by the mobile terminal by the Bluetooth module when the first communication connection is successful, wherein the wireless network configuration information comprises a server connection address and a private key; the second connection module is used for the WIFI module to establish second communication with the server according to the wireless network configuration information; and the feedback module is used for feeding back the connection information of the first communication and the second communication to the mobile terminal and the alarm module by the Bluetooth module.
Optionally, the apparatus further comprises: and the starting module is used for starting the WIFI module and the Bluetooth module.
In a fourth aspect, the present invention provides a distribution network apparatus applied to a mobile terminal, where the apparatus includes: the Bluetooth connection module is used for establishing first communication with a Bluetooth module of the intelligent equipment; the second sending module is used for sending wireless network configuration information to the Bluetooth module when the first communication connection is successful, so that the WIFI module of the intelligent device establishes second communication with the server according to the wireless network configuration information, and the wireless network configuration information comprises a server connection address and a private key; and the receiving module is used for receiving feedback information sent by the Bluetooth module, wherein the feedback information comprises connection information of the first communication and the second communication.
In a third aspect, the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the implementation steps of the computer program executed by the processor specifically include: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module.
The invention provides a network distribution method, a network distribution device and computer equipment, which apply intelligent equipment, wherein the intelligent equipment comprises a WIFI module and a Bluetooth module, and the method comprises the following steps: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module. The network distribution method uses a novel connection mode of WIFI and Bluetooth, the Bluetooth module of the intelligent device is connected and communicated with the Bluetooth module of the mobile terminal, and the network configuration information data packet is transmitted through the Bluetooth module, so that the stability of data transmission is ensured; the WIFI module of the intelligent device establishes communication connection with the server according to the network configuration information data packet; meanwhile, when the intelligent device performs WIFI network distribution, the Bluetooth module can feed back the distribution network information and the progress of the device in real time and perform information interaction with the mobile terminal, so that a user can more accurately judge nodes with the problem of connection failure, and the corresponding problem is solved from the source; the WIFI networking state of the intelligent equipment is tracked and fed back in real time by using a WIFI + Bluetooth communication technology, the feedback mode adopts a double-alarm mode of an alarm module of the intelligent equipment and a mobile terminal, when the equipment cannot be connected with a network, which node has a connection problem can be specifically analyzed, and the connection problem is displayed and fed back to a user, so that the use experience of the user is improved; therefore, the problem that the mobile phone end cannot acquire the real-time connection condition information when the network is distributed in the network distribution method in the prior art is solved, the problem that the node information of the distribution network error can not be fed back when the network is distributed in failure is also solved, and the requirements of customers are met.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of a network distribution method according to an embodiment of the present invention;
fig. 2 is a flowchart of a network distribution method according to an embodiment of the present invention;
fig. 3 is a flowchart of a network distribution method according to an embodiment of the present invention;
fig. 4 is a block diagram of a distribution network device according to an embodiment of the present invention;
fig. 5 is a block diagram of a distribution network device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a network distribution method according to an embodiment of the present invention; as shown in fig. 1, the distribution network method in the embodiment of the present invention employs an intelligent device, where the intelligent device includes a WIFI module and a bluetooth module, and the method specifically includes the following steps:
and step S101, the Bluetooth module establishes first communication with the mobile terminal.
Specifically, the smart device includes but not limited to air conditioner, audio amplifier, desk lamp and washing machine, and the smart device of this embodiment uses smart sound box as an example, and mobile terminal uses the cell-phone as an example, including the bluetooth module that is used for connecting wireless network and is used for the bluetooth to connect in the smart sound box, at first need open smart sound box's bluetooth module, then pair with the bluetooth at cell-phone terminal and be connected.
Step S102, when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal.
Specifically, the wireless network configuration information includes a server connection address and a private key, and after the smart device and the mobile phone terminal are successfully connected through bluetooth, the mobile phone terminal sends the server address and the private key of the server to the smart device through bluetooth, which is equivalent to a name and a password of a wireless network.
And step S103, the WIFI module establishes second communication with the server according to the wireless network configuration information.
Specifically, the WIFI module of the intelligent device sends authentication information to the server according to wireless network configuration information sent by the mobile phone terminal, and the server establishes communication connection with the intelligent device after the authentication information is verified.
And step S104, the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module.
Specifically, a Bluetooth module of the intelligent device can start a first communication and a second communication connection process to the mobile terminal and an alarm module carried by the intelligent device, wherein the alarm module comprises a display module and/or an indicator light and/or a buzzer; the connection information includes specific information of each step, for example, when the mobile phone sends a data packet to the smart device, the smart device sends a feedback information back to the mobile phone via bluetooth after receiving the feedback information. When the intelligent equipment starts to search the network, a feedback message is sent to the mobile phone terminal. The feedback information can inform the user of the current networking condition of the intelligent equipment in a text mode through the mobile phone end application. Meanwhile, the general information of the intelligent equipment can be displayed through the alarm module of the intelligent equipment, such as Bluetooth pairing, Bluetooth data transmission, WIFI connection and the like.
The Bluetooth module end of the intelligent device is connected with the Bluetooth module end of the mobile phone, and node information can be fed back in real time and synchronously recorded on an application program of the mobile phone. When a user finds that the state display lamp gives an abnormal alarm, the corresponding node information can be inquired through the application program, so that a root node of a problem is obtained, the user can find a source of the problem conveniently and solve the problem, and more intelligent user experience is brought.
The network distribution method provided by the invention is applied to intelligent equipment, wherein the intelligent equipment comprises a WIFI module and a Bluetooth module, and the method comprises the following steps: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module. The network distribution method uses a novel connection mode of WIFI and Bluetooth, the Bluetooth module of the intelligent device is connected and communicated with the Bluetooth module of the mobile terminal, and the network configuration information data packet is transmitted through the Bluetooth module, so that the stability of data transmission is ensured; the WIFI module of the intelligent device establishes communication connection with the server according to the network configuration information data packet; meanwhile, when the intelligent device performs WIFI network distribution, the Bluetooth module can feed back the distribution network information and the progress of the device in real time and perform information interaction with the mobile terminal, so that a user can more accurately judge nodes with the problem of connection failure, and the corresponding problem is solved from the source; the WIFI networking state of the intelligent equipment is tracked and fed back in real time by using a WIFI + Bluetooth communication technology, the feedback mode adopts a double-alarm mode of an alarm module of the intelligent equipment and a mobile terminal, when the equipment cannot be connected with a network, which node has a connection problem can be specifically analyzed, and the connection problem is displayed and fed back to a user, so that the use experience of the user is improved; therefore, the problem that the mobile phone end cannot acquire the real-time connection condition information when the network is distributed in the network distribution method in the prior art is solved, the problem that the node information of the distribution network error can not be fed back when the network is distributed in failure is also solved, and the requirements of customers are met.
Fig. 2 is a flowchart of a network distribution method according to an embodiment of the present invention; as shown in fig. 2, the network distribution method in the embodiment of the present invention specifically includes the following steps:
step S201, a distribution network instruction is obtained, and the WIFI module and the Bluetooth module are started.
Step S202, the Bluetooth module establishes first communication with the mobile terminal.
Step S203, determining whether the first communication is successfully connected, executing step S204 when the first communication is successfully connected, and executing step S208 when the first communication is failed.
Step S204, the Bluetooth module receives the wireless network configuration information sent by the mobile terminal.
Step S205, the WIFI module generates a distribution network request according to the wireless network configuration information.
And S206, sending the distribution network request to a corresponding server, and enabling the server to verify according to the distribution network request.
Step S207, when the server successfully verifies, the second communication connection is successful.
And step S208, restarting the Bluetooth module, and connecting the Bluetooth module with the mobile terminal for the next communication.
Step S209, determining whether the number of times of the first communication connection failure exceeds a preset value.
And step S210, stopping the connection of the first communication when the preset value is exceeded.
Specifically, after the intelligent device needs to acquire a distribution network instruction, the WIFI module and the Bluetooth module are started, the distribution network instruction can be a distribution network instruction sent by a user on the intelligent device in a button, voice, touch and other modes, and after the distribution network instruction is acquired, the corresponding module can be started, so that the power consumption of the intelligent device can be reduced; after the Bluetooth module is started, a first communication connection based on Bluetooth is established with the mobile terminal, when the first communication connection is successful, the mobile terminal sends network configuration information of the server to the intelligent device end through Bluetooth, the intelligent device generates a distribution network request according to a server address, a private key and a serial number of the intelligent device in the network configuration information, and then sends the distribution network request to the server in the network configuration information for authentication, when the server authentication is passed, the second communication connection based on WIFI between the intelligent device and the server is successful, if the server authentication is not passed, the second communication connection is failed, and failure information is fed back to the mobile terminal through Bluetooth.
When the first communication connection between the intelligent device and the mobile terminal based on the Bluetooth fails, the intelligent device automatically controls the Bluetooth module to restart, tries to connect the mobile terminal for the next communication, judges whether the number of times of the first communication connection failure exceeds a preset value, stops the connection of the first communication when the number of times of the first communication connection failure exceeds the preset value, and sends failure information to the mobile terminal and the alarm module.
Fig. 3 is a flowchart of a network distribution method according to an embodiment of the present invention; as shown in fig. 3, when the network distribution method in the embodiment of the present invention is applied to a mobile terminal, the method specifically includes the following steps:
step S301, establishing first communication with a Bluetooth module of the intelligent device.
Step S302, when the first communication connection is successful, wireless network configuration information is sent to the Bluetooth module, and a WIFI module of the intelligent device establishes second communication with a server according to the wireless network configuration information.
Step S303, receiving feedback information sent by the bluetooth module, where the feedback information includes connection information of the first communication and the second communication.
In practical application, the intelligent device generally controls the opening and closing of functions of the intelligent device through an application program of a mobile phone terminal, so that the mutual distribution network connection of the intelligent device, the mobile phone terminal and a server needs to be realized; according to the embodiment, the mobile phone terminal searches for the intelligent equipment needing to be connected through Bluetooth, when the first communication connection established between the intelligent equipment and the mobile phone terminal is successful, network configuration information including a server address and a private key is sent to the intelligent equipment, a WIFI module of the intelligent equipment establishes second communication connection with the server according to the configuration information, in the process of establishing the first communication connection and the second communication connection, the intelligent equipment can send the connection process to the mobile terminal through the Bluetooth module in real time, a user can clearly inquire the connection condition of each node in the process of distribution of a network at the mobile phone terminal, and effective manual processing is timely performed on the node with the connection failure.
Fig. 4 is a block diagram of a distribution network device according to an embodiment of the present invention; as shown in fig. 4, when the distribution network apparatus provided in the embodiment of the present invention is applied to an intelligent device, the distribution network apparatus specifically includes:
410 a first connection module, configured to establish a first communication between the bluetooth module and a mobile terminal;
420, a first sending module, configured to receive, by the bluetooth module, wireless network configuration information sent by the mobile terminal when the first communication connection is successful, where the wireless network configuration information includes a server connection address and a private key;
430 a second connection module, configured to establish, by the WIFI module, a second communication with the server according to the wireless network configuration information;
a feedback module 440, configured to feed back, by the bluetooth module, the connection information of the first communication and the second communication to the mobile terminal and the alarm module.
In one embodiment of the invention, the apparatus further comprises: and the starting module is used for starting the WIFI module and the Bluetooth module.
The 430 second connection module includes: the distribution network request generating module is used for generating a distribution network request according to the wireless network configuration information by the WIFI module, and the distribution network request comprises the serial number of the intelligent device and the private key; the distribution network request sending module is used for sending the distribution network request to a corresponding server so that the server can carry out verification according to the distribution network request; and when the server successfully verifies, the second communication connection is successful.
The device further comprises: the Bluetooth restarting module is used for restarting the Bluetooth module and performing the connection of the next first communication with the mobile terminal; the judging module is used for judging whether the number of times of the first communication connection failure exceeds a preset value or not; and the stopping module is used for stopping the connection of the first communication when the preset value is exceeded, and sending failure information to the mobile terminal and the alarm module.
Fig. 5 is a block diagram of a distribution network device according to an embodiment of the present invention; as shown in fig. 5, when the distribution network device provided in the embodiment of the present invention is applied to a mobile terminal, the distribution network device specifically includes:
a bluetooth connection module 510, configured to establish a first communication with a bluetooth module of the smart device;
a second sending module 520, configured to send wireless network configuration information to the bluetooth module when the first communication connection is successful, so that the WIFI module of the smart device establishes a second communication with the server according to the wireless network configuration information, where the wireless network configuration information includes a server connection address and a private key;
a receiving module 530, configured to receive feedback information sent by the bluetooth module, where the feedback information includes connection information of the first communication and the second communication.
In an embodiment of the present invention, a WIFI module and a bluetooth module of an intelligent device may be two separate and independent modules, or may be one module integrated together and having two functions of WIFI and bluetooth, in this embodiment, taking a WIFI + BT module integrating two functions of WIFI and bluetooth as an example, a network distribution step of the intelligent device, a mobile phone terminal, and a server is as follows:
step 1: when the intelligent equipment needs to be connected with the server through the WIFI + BT module, the BT end of the module is firstly connected with the BT end of the mobile phone, the state display lamp can be normally on in a yellow lamp mode at the moment, and the buzzer can buzz. When the status indicator light turns green, it indicates that BT is connected. If the status display lamp turns red and flashes, the buzzer rapidly buzzes for three times, the Bluetooth pairing is failed, and the user is required to process the Bluetooth pairing.
Step 2: when the intelligent device is successfully connected with the APP end of the mobile phone through the BT, the APP end can record the distribution network process in real time. Meanwhile, the mobile phone end can send the private key of the server to the intelligent device through the BT end, and at the moment, the state display lamp and the like can twinkle in green. When the BT end of the module receives the private key, the status display light turns yellow, indicating that the smart device has successfully received the private key. If the status display lamp turns to red and flashes, the buzzer sounds rapidly, it indicates that the intelligent device end fails to receive the private key and needs the user to process the private key.
And step 3: after the intelligent device receives the private key, the WIFI end of the module sends connection and authentication information to the server and tries to connect with the server. During the connection establishment, the status display lamp will flash in the yellow breathing lamp mode all the time. When the connection is successful, the state display lamp can be changed into a green normally-on state, and the buzzer can sound for one time. If the connection fails, the buzzer sounds three tones rapidly, and connection is tried again. When all three attempts fail, the status display lamp changes to a red normally-on status, indicating that the user is required to perform the treatment.
Wherein, the process requiring the user to process specifically comprises: (1) and checking whether the Bluetooth equipment is started or not, pairing the Bluetooth equipment with the intelligent equipment by using the mobile phone, and checking whether pairing is successful or not. (2) The method comprises the steps of eliminating environmental interference factors, checking whether other electromagnetic fields around interfere with communication equipment, pairing the mobile phone and the intelligent equipment in an interference-free environment, and checking whether pairing is successful. (3) And checking whether the mobile phone is paired with other equipment or not, and if so, trying to connect with the intelligent equipment again after disconnecting.
The buzzer and the state display lamp are used for displaying the distribution network state and used for alarming when connection fails, through a WIFI + BT communication mode, the process of connecting the intelligent equipment end with a server can be realized, node information during connection is fed back in real time, different colors are provided, L ED light in different states and the buzzer interval represent different distribution network states, meanwhile, the BT end is connected with the BT end of a mobile phone, the node information can be fed back in real time and synchronously recorded on the APP of the mobile phone, when a user finds that abnormal alarm occurs in the state display lamp, corresponding node information can be inquired through the APP, thereby obtaining a root node of occurring problems, facilitating the user to find a source of the problems and solve the problems, and bringing more intelligent user experience.
The invention provides a computer device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the implementation steps of the processor when executing the computer program specifically comprise: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module.
The invention provides a network distribution method, a network distribution device and computer equipment, which apply intelligent equipment, wherein the intelligent equipment comprises a WIFI module and a Bluetooth module, and the method comprises the following steps: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key; the WIFI module establishes second communication with the server according to the wireless network configuration information; and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module. The network distribution method uses a novel connection mode of WIFI and Bluetooth, the Bluetooth module of the intelligent device is connected and communicated with the Bluetooth module of the mobile terminal, and the network configuration information data packet is transmitted through the Bluetooth module, so that the stability of data transmission is ensured; the WIFI module of the intelligent device establishes communication connection with the server according to the network configuration information data packet; meanwhile, when the intelligent device performs WIFI network distribution, the Bluetooth module can feed back the distribution network information and the progress of the device in real time and perform information interaction with the mobile terminal, so that a user can more accurately judge nodes with the problem of connection failure, and the corresponding problem is solved from the source; the WIFI networking state of the intelligent equipment is tracked and fed back in real time by using a WIFI + Bluetooth communication technology, the feedback mode adopts a double-alarm mode of an alarm module of the intelligent equipment and a mobile terminal, when the equipment cannot be connected with a network, which node has a connection problem can be specifically analyzed, and the connection problem is displayed and fed back to a user, so that the use experience of the user is improved; therefore, the problem that the mobile phone end cannot acquire the real-time connection condition information when the network is distributed in the network distribution method in the prior art is solved, the problem that the node information of the distribution network error can not be fed back when the network is distributed in failure is also solved, and the requirements of customers are met.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A network distribution method is characterized in that intelligent equipment is applied, the intelligent equipment comprises a WIFI module and a Bluetooth module, and the method comprises the following steps:
the Bluetooth module establishes first communication with the mobile terminal;
when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, wherein the wireless network configuration information comprises a server connection address and a private key;
the WIFI module establishes second communication with the server according to the wireless network configuration information;
and the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile terminal and the alarm module.
2. The method of claim 1, wherein before establishing the first communication with the mobile terminal via the bluetooth module, the method comprises:
and starting the WIFI module and the Bluetooth module.
3. The method of claim 2, wherein the WIFI module establishes a second communication with the server according to the wireless network configuration information, and wherein the second communication comprises:
the WIFI module generates a distribution network request according to the wireless network configuration information, wherein the distribution network request comprises the serial number of the intelligent device and the private key;
sending the distribution network request to a corresponding server, and enabling the server to verify according to the distribution network request;
and when the server successfully verifies, the second communication connection is successful.
4. The method of claim 1, wherein when the first communication connection fails, the method further comprises:
restarting the Bluetooth module, and performing the connection of the next first communication with the mobile terminal;
judging whether the number of times of the first communication connection failure exceeds a preset value or not;
and when the preset value is exceeded, stopping the connection of the first communication, and sending failure information to the mobile terminal and the alarm module.
5. The method according to claim 1, characterized in that the alarm module comprises a display module and/or an indicator light, and/or a buzzer.
6. A network distribution method is applied to a mobile terminal, and comprises the following steps:
establishing first communication with a Bluetooth module of the intelligent device;
when the first communication connection is successful, sending wireless network configuration information to the Bluetooth module, so that a WIFI module of the intelligent device establishes second communication with a server according to the wireless network configuration information, wherein the wireless network configuration information comprises a server connection address and a private key;
and receiving feedback information sent by the Bluetooth module, wherein the feedback information comprises connection information of the first communication and the second communication.
7. A distribution network device is characterized in that an intelligent device is applied, the intelligent device comprises a WIFI module and a Bluetooth module, and the device comprises:
the first connection module is used for establishing first communication between the Bluetooth module and the mobile terminal;
the first sending module is used for receiving wireless network configuration information sent by the mobile terminal by the Bluetooth module when the first communication connection is successful, wherein the wireless network configuration information comprises a server connection address and a private key;
the second connection module is used for the WIFI module to establish second communication with the server according to the wireless network configuration information;
and the feedback module is used for feeding back the connection information of the first communication and the second communication to the mobile terminal and the alarm module by the Bluetooth module.
8. The apparatus of claim 7, further comprising:
and the starting module is used for starting the WIFI module and the Bluetooth module.
9. A network distribution device is applied to a mobile terminal, and comprises:
the Bluetooth connection module is used for establishing first communication with a Bluetooth module of the intelligent equipment;
the second sending module is used for sending wireless network configuration information to the Bluetooth module when the first communication connection is successful, so that the WIFI module of the intelligent device establishes second communication with the server according to the wireless network configuration information, and the wireless network configuration information comprises a server connection address and a private key;
and the receiving module is used for receiving feedback information sent by the Bluetooth module, wherein the feedback information comprises connection information of the first communication and the second communication.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
CN202010113380.5A 2020-02-24 2020-02-24 Network distribution method and device and computer equipment Pending CN111417118A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010113380.5A CN111417118A (en) 2020-02-24 2020-02-24 Network distribution method and device and computer equipment
PCT/CN2020/125927 WO2021169377A1 (en) 2020-02-24 2020-11-02 Network configuration method and apparatus, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010113380.5A CN111417118A (en) 2020-02-24 2020-02-24 Network distribution method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN111417118A true CN111417118A (en) 2020-07-14

Family

ID=71494134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010113380.5A Pending CN111417118A (en) 2020-02-24 2020-02-24 Network distribution method and device and computer equipment

Country Status (2)

Country Link
CN (1) CN111417118A (en)
WO (1) WO2021169377A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818669A (en) * 2020-06-04 2020-10-23 青岛海信移动通信技术股份有限公司 Mobile terminal and data transmission method thereof
CN111867003A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium
CN112637931A (en) * 2020-12-18 2021-04-09 青岛海尔科技有限公司 Method and device for establishing network connection
WO2021169377A1 (en) * 2020-02-24 2021-09-02 珠海格力电器股份有限公司 Network configuration method and apparatus, and computer device
CN114363992A (en) * 2021-12-02 2022-04-15 杭州博联智能科技股份有限公司 Method and system for intelligent equipment network distribution, electronic device and storage medium
CN114449557A (en) * 2020-11-06 2022-05-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516902A (en) * 2015-12-22 2016-04-20 惠州Tcl移动通信有限公司 Method and system for Bluetooth connection and Bluetooth device
CN106604266A (en) * 2016-12-06 2017-04-26 深圳市晟天维科技有限公司 Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system
CN109996260A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Configuration system, client device, embedded device configuration method and storage medium
KR102033968B1 (en) * 2018-07-02 2019-10-18 주식회사 이엠텍 Password distribution system
CN110545569A (en) * 2019-08-23 2019-12-06 珠海格力电器股份有限公司 network distribution method and system of intelligent device and readable medium
CN110677840A (en) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 Distribution network failure reason determining method, equipment and readable medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7058719B2 (en) * 2002-07-22 2006-06-06 Ricoh Company, Ltd. System, computer program product and method for managing and controlling a local network of electronic devices and reliably and securely adding an electronic device to the network
US10142122B1 (en) * 2012-04-11 2018-11-27 Google Llc User interfaces, systems and methods for configuring smart devices for interoperability with a smart hub device
CN105592409A (en) * 2016-03-23 2016-05-18 北京清川科技有限公司 Bluetooth-based WI-FI connection and communication method and system
CN106358147A (en) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 Method and system for connecting wireless network, household electric appliance and user terminal
CN106507287A (en) * 2016-11-23 2017-03-15 北京小米移动软件有限公司 Wireless device control method and device
CN107465584A (en) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 Method for network access and device, the intelligent appliance of intelligent appliance
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516902A (en) * 2015-12-22 2016-04-20 惠州Tcl移动通信有限公司 Method and system for Bluetooth connection and Bluetooth device
CN106604266A (en) * 2016-12-06 2017-04-26 深圳市晟天维科技有限公司 Intelligent equipment system connection method, intelligent equipment and intelligent equipment access system
CN109996260A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Configuration system, client device, embedded device configuration method and storage medium
KR102033968B1 (en) * 2018-07-02 2019-10-18 주식회사 이엠텍 Password distribution system
CN110545569A (en) * 2019-08-23 2019-12-06 珠海格力电器股份有限公司 network distribution method and system of intelligent device and readable medium
CN110677840A (en) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 Distribution network failure reason determining method, equipment and readable medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169377A1 (en) * 2020-02-24 2021-09-02 珠海格力电器股份有限公司 Network configuration method and apparatus, and computer device
CN111818669A (en) * 2020-06-04 2020-10-23 青岛海信移动通信技术股份有限公司 Mobile terminal and data transmission method thereof
CN111867003A (en) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 Equipment network distribution method, device, equipment and computer readable storage medium
CN114449557A (en) * 2020-11-06 2022-05-06 深圳Tcl新技术有限公司 Equipment distribution network fault positioning method, terminal and storage medium
CN112637931A (en) * 2020-12-18 2021-04-09 青岛海尔科技有限公司 Method and device for establishing network connection
CN114363992A (en) * 2021-12-02 2022-04-15 杭州博联智能科技股份有限公司 Method and system for intelligent equipment network distribution, electronic device and storage medium

Also Published As

Publication number Publication date
WO2021169377A1 (en) 2021-09-02

Similar Documents

Publication Publication Date Title
CN111417118A (en) Network distribution method and device and computer equipment
CN101960745B (en) Skin-based information transfer between mobile devices
WO2020147342A1 (en) Wireless headphone matching method, device, terminal and charging box
EP3118700B1 (en) Intelligent home control method and system based on alljoyn technology
CN104158678B (en) Equipment is configured based on the degree of approach with other equipment
CN110996405B (en) Earphone connection method, terminal, earphone box and computer readable storage medium
JP2006309458A5 (en)
WO2020135355A1 (en) Wireless network configuration method and device
CN105516902A (en) Method and system for Bluetooth connection and Bluetooth device
CN108738008B (en) Bluetooth pairing method and system
US20180213397A1 (en) Method and apparatus for interconnection between terminal device and gateway device
CN105451300B (en) A kind of method for connecting network and mobile device
CN106413037A (en) Network access method and device for interment-of-things equipment, equipment and mobile terminal
CN105572587A (en) Mobile terminal motor automatic detection method and system
US20170280410A1 (en) Method, device and system for implementing information self-registration, and computer storage medium
CN105550109A (en) Equipment debugging method and electronic equipment
WO2016082517A1 (en) Method and device for recovering network connection
WO2017166619A1 (en) Method and apparatus for determining emergency communication numbers, and electronic device
CN105915487A (en) Vehicle electronic key position determination method and equipment
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN110278092A (en) Router long-range control method and system based on MQTT agreement
CN110324193A (en) A kind of terminal upgrade management method and device
CN106533858B (en) A kind of method of network entry of intelligent meter, apparatus and system
CN106332075A (en) Equipment connection method, device and system
WO2019072156A1 (en) Apn information acquisition method, storage device and mobile 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200714

RJ01 Rejection of invention patent application after publication