CN112637931A - Method and device for establishing network connection - Google Patents

Method and device for establishing network connection Download PDF

Info

Publication number
CN112637931A
CN112637931A CN202011511840.6A CN202011511840A CN112637931A CN 112637931 A CN112637931 A CN 112637931A CN 202011511840 A CN202011511840 A CN 202011511840A CN 112637931 A CN112637931 A CN 112637931A
Authority
CN
China
Prior art keywords
network connection
network
mobile terminal
establishing
key
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
CN202011511840.6A
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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202011511840.6A priority Critical patent/CN112637931A/en
Publication of CN112637931A publication Critical patent/CN112637931A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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

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 method and a device for establishing network connection, comprising the following steps: under the condition of successful pairing with the mobile terminal, establishing a first network connection with the mobile terminal; receiving second network information sent by the mobile terminal through the first network connection, wherein the second network information comprises: the identity of the second network and a first key are used for logging in the second network; and establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection. According to the invention, the problem that the internet of things technology depends on the router and the network connection cannot be realized under the condition that the router is not provided is solved, and the effect of realizing the network connection under the condition that the router is not provided is further achieved.

Description

Method and device for establishing network connection
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for establishing a network connection.
Background
The current technology of internet of things generally requires a router to realize network connection between different terminals. For example, when the smart home devices in the smart home field are in a network distribution, the user terminal and the smart home devices need to be bound through the router. The communication connection between the mobile terminal and the intelligent household equipment is realized through the router, and the control of the user terminal on the intelligent household equipment is realized. And for a scene without a router, the network can not be distributed to bind and control the intelligent household equipment.
Aiming at the problem that in the related art, because the internet of things technology depends on a router, network connection cannot be realized under the condition that no router exists, an effective solution does not exist at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for establishing network connection, which are used for at least solving the problem that the network connection cannot be realized under the condition of no router in the related technology because the technology of the Internet of things depends on the router.
According to an embodiment of the present invention, a method for establishing a network connection is provided, which is applied to an intelligent home device of an intelligent home system, and includes: under the condition that pairing with a mobile terminal is successful, establishing a first network connection with the mobile terminal; receiving second network information sent by the mobile terminal through the first network connection, wherein the second network information comprises: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network; and establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
Optionally, the establishing a second network connection with the mobile terminal according to the second network information includes: searching the second network according to the identity of the second network; under the condition that the second network is searched, the first key is sent to the mobile terminal to indicate the mobile terminal to verify the first key; and establishing the second network connection with the mobile terminal under the condition that the mobile terminal passes the first key verification.
Optionally, after the establishing of the second network connection with the mobile terminal according to the second network information, the method further includes: and sending the identity information of the intelligent household equipment to a target client through the second network connection so as to instruct the target client to bind the identity information and a target account, wherein the target client is installed on the mobile terminal, and the target client is logged in by the target account.
Optionally, the method further comprises: receiving a control instruction sent by the target account through the second network connection; and responding to the control instruction, and executing the operation indicated by the control instruction.
Optionally, the first network is bluetooth, and the second network is a WIFI hotspot.
According to another embodiment of the present invention, a method for establishing a network connection is provided, which is applied to a mobile terminal in an intelligent home system, and includes: under the condition that pairing with the intelligent home equipment is successful, establishing first network connection with the intelligent home equipment; sending second network information to the smart home device through the first network connection, wherein the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network; receiving the first secret key sent by the intelligent home equipment; and under the condition that the first secret key passes the verification, establishing second network connection with the intelligent home equipment so as to perform information interaction with the intelligent home equipment through the second network connection, wherein the first network connection and the second network connection are different network connection types.
Optionally, the method further comprises: and sending a control instruction to the intelligent household equipment through the second network connection so as to instruct the intelligent household equipment to execute operation according to the control instruction.
According to another embodiment of the present invention, there is provided an apparatus for establishing a network connection, applied to an intelligent home device of an intelligent home system, including: the first establishing module is used for establishing first network connection with the mobile terminal under the condition that the pairing with the mobile terminal is successful; a first receiving module, configured to receive, through the first network connection, second network information sent by the mobile terminal, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network; and the second establishing module is used for establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
According to another embodiment of the present invention, there is provided an apparatus for establishing a network connection, including: the third establishing module is used for establishing first network connection with the intelligent household equipment under the condition that the pairing with the intelligent household equipment is successful; a sending module, configured to send second network information to the smart home device through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network; the second receiving module is used for receiving the first secret key sent by the intelligent household equipment; and the fourth establishing module is used for establishing a second network connection with the intelligent home equipment under the condition that the first secret key passes the verification so as to perform information interaction with the intelligent home equipment through the second network connection, wherein the first network connection and the second network connection are different network connection types.
According to another embodiment of the present invention, there is also provided a system for establishing a network connection, applied to an intelligent home system, including: the intelligent home equipment is used for establishing first network connection with the mobile terminal under the condition that the pairing with the mobile terminal is successful; receiving second network information sent by the mobile terminal through the first network connection; establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection; the mobile terminal is used for establishing first network connection with the intelligent household equipment under the condition that the pairing with the intelligent household equipment is successful; sending second network information to the intelligent household equipment through the first network connection; receiving the first secret key sent by the intelligent home equipment; under the condition that the first secret key passes the verification, establishing second network connection with the intelligent home equipment so as to perform information interaction with the intelligent home equipment through the second network connection; wherein the second network information comprises: the first key is used for logging in the second network, and the first network connection and the second network connection are different network connection types.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, under the condition of successful pairing with the mobile terminal, the first network connection is established with the mobile terminal; and receiving second network information sent by the mobile terminal through the first network connection, and establishing second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection. Therefore, the problem that the internet of things technology depends on the router and network connection cannot be achieved under the condition that the router is not provided can be solved, and the effect of achieving network connection under the condition that the router is not provided is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method of establishing a network connection according to an embodiment of the present invention;
FIG. 2 is a first flowchart of a method of establishing a network connection according to an embodiment of the invention;
FIG. 3 is a flow chart two of a method of establishing a network connection according to an embodiment of the invention;
FIG. 4 is a diagram of information interaction, according to an embodiment of the present invention;
FIG. 5 is a block diagram of an apparatus for establishing a network connection according to an embodiment of the present invention;
fig. 6 is a block diagram of a second apparatus for establishing a network connection according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the mobile terminal as an example, fig. 1 is a hardware structure block diagram of the mobile terminal of a method for establishing a network connection according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used for storing computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the method for establishing a network connection in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for establishing a network connection running in the mobile terminal is provided, and is applied to an intelligent home device of an intelligent home system, and fig. 2 is a first flowchart of the method for establishing a network connection according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, under the condition of successful pairing with a mobile terminal, establishing a first network connection with the mobile terminal;
step S204, receiving, through the first network connection, second network information sent by the mobile terminal, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
step S206, establishing a second network connection with the mobile terminal according to the second network information, so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
Through the steps, under the condition that the pairing with the mobile terminal is successful, the first network connection is established with the mobile terminal; and receiving second network information sent by the mobile terminal through the first network connection, and establishing second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection. Therefore, the problem that the internet of things technology depends on the router and network connection cannot be achieved under the condition that the router is not provided can be solved, and the effect of achieving network connection under the condition that the router is not provided is achieved.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
As an optional implementation manner, the first network connection may be a bluetooth connection, the execution main body in this embodiment may be an intelligent home device, such as an intelligent home device (an intelligent air conditioner, an intelligent washing machine, and the like), the mobile terminal may be a user terminal, such as a mobile phone, a tablet computer, and the like, an application program of an intelligent home system may be installed on the user terminal, and a user may bind with the intelligent home device through the application program and execute a control operation, and the like.
As a preferred embodiment, a user operates on the smart home device to enable the smart home device to enter a configuration state, open a bluetooth connection of the smart home device, and send out a bluetooth name in a corresponding format according to a specific protocol. And when the Bluetooth of the user terminal is opened, the user terminal can automatically search the Bluetooth connection which is in accordance with the specific name in the space and is matched with the intelligent household equipment according to an agreed protocol, so that the Bluetooth connection between the user terminal and the intelligent household equipment is realized.
As an optional implementation manner, after the user terminal successfully establishes the bluetooth connection with the smart home device, the user terminal may transmit the mobile hotspot name and the password of the user device to the smart home device through the bluetooth connection in a bluetooth manner. In this embodiment, the second network may be a mobile hotspot, the identity of the second network may be a name of the mobile hotspot, the first key may be a key of the mobile hotspot, and a key user of the mobile hotspot may be set in the user terminal in advance.
As an optional implementation manner, after receiving the hotspot name and the hotspot key sent by the user terminal, the smart home device sends a request for connecting a mobile hotspot to the user terminal, where the request may carry the hotspot key. After receiving the request, the user terminal verifies the identity of the intelligent home equipment, specifically, a secret key sent by the intelligent home equipment is verified, and under the condition that verification is successful, a mobile hotspot connection is established between the user terminal and the intelligent home equipment, so that binding control of the user terminal on the intelligent home equipment can be realized. For example, a user may bind an application installed at a user terminal with the smart home device, and after the binding is successful, the smart home device may be controlled in the application, for example, to control a switch of the smart home device, to adjust a setting of the smart home device, and the like, for example, to adjust a temperature of an air conditioner, a brightness of a lighting device, and the like.
Optionally, the establishing a second network connection with the mobile terminal according to the second network information includes: searching the second network according to the identity of the second network; under the condition that the second network is searched, the first key is sent to the mobile terminal to indicate the mobile terminal to verify the first key; and establishing the second network connection with the mobile terminal under the condition that the mobile terminal passes the first key verification.
As an optional implementation manner, after receiving the mobile hotspot identity and the first secret key of the user terminal through bluetooth connection, the smart home device starts WIFI connection, and searches for a mobile hotspot corresponding to the identity through the WIFI + BLE module. After the mobile hotspot corresponding to the identity identifier is searched, a first secret key is sent to the user terminal, and after the user terminal receives the first secret key sent by the intelligent home equipment, the identity of the intelligent home equipment is verified through the first secret key. And if the key of the mobile hotspot preset in the user terminal is matched with the first key sent by the intelligent household equipment, the identity of the user terminal is successfully verified. After the identity verification is successful, the user terminal and the intelligent home equipment successfully establish mobile hotspot network connection, and the user terminal can send a control instruction to the intelligent home equipment through the mobile hotspot so as to realize remote control of the intelligent home equipment.
Optionally, after the establishing of the second network connection with the mobile terminal according to the second network information, the method further includes: and sending the identity information of the intelligent household equipment to a target client through the second network connection so as to instruct the target client to bind the identity information and a target account, wherein the target client is installed on the mobile terminal, and the target client logs in through the target account.
As an optional implementation manner, the identity information may be identity information of the smart home device, such as a name of the smart home device or a model of the smart home device. The user account and the intelligent household equipment can be bound through the intelligent household equipment client. The user terminal is provided with an intelligent home device client, and the target account can be an account which is logged in by the user in the intelligent home device client. The user can register the login account in the intelligent household equipment, and the safety can be ensured through the binding of the user account and the intelligent household equipment.
Optionally, the method further comprises: receiving a control instruction sent by the target account through the second network connection; and responding to the control instruction, and executing the operation indicated by the control instruction.
As an optional implementation manner, a user may install a client on a user terminal, and send a control instruction to the smart home device through a mobile hotspot connection established between the user terminal and the smart home device to control the smart home device to execute a corresponding operation, for example, the user may control the smart home device to be turned on or turned off in the client. The user can remotely control the intelligent household equipment through the hotspot connection established between the user terminal and the intelligent household equipment.
Optionally, the first network is bluetooth, and the second network is a WIFI hotspot.
In this embodiment, a method for establishing a network connection is provided, which is applied to a mobile terminal in an intelligent home system, and fig. 3 is a flowchart of a method for establishing a network connection according to an embodiment of the present invention, as shown in fig. 3, the process includes the following steps:
step S302, under the condition that pairing with the intelligent household equipment is successful, establishing first network connection with the intelligent household equipment;
step S304, sending second network information to the smart home device through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
step S306, receiving the first secret key sent by the intelligent household equipment;
step S308, under the condition that the first secret key is verified, establishing a second network connection with the intelligent home equipment so as to perform information interaction with the intelligent home equipment through the second network connection, wherein the first network connection and the second network connection are different network connection types.
As an optional implementation manner, the execution subject in this embodiment may be a user terminal, such as a mobile phone, a tablet computer, and the like. The intelligent household equipment can be intelligent household equipment, such as an intelligent washing machine, an intelligent air conditioner and the like in the intelligent household equipment. The user starts the Bluetooth and the hot spot on the user terminal and sets the hot spot name and the secret key. The user operates the intelligent household equipment, so that the intelligent household equipment enters a configuration state, the Bluetooth connection of the intelligent household equipment is opened, and the equipment sends out Bluetooth names in corresponding formats according to a specific protocol. And when the Bluetooth of the user terminal is opened, the user terminal can automatically search the Bluetooth connection which is in accordance with the specific name in the space and is matched with the intelligent household equipment according to an agreed protocol, so that the Bluetooth connection between the user terminal and the intelligent household equipment is realized.
As an optional implementation manner, after the user terminal and the smart home device successfully establish the bluetooth connection, the smart home device sends the hot key to the user terminal, and the user terminal verifies the key. And under the condition of successful verification, the user terminal and the intelligent household equipment successfully establish hot spot connection.
Optionally, the method further comprises: and sending a control instruction to the intelligent household equipment through the second network connection so as to instruct the intelligent household equipment to execute operation according to the control instruction.
As an optional implementation manner, after the user terminal successfully establishes the hotspot connection with the smart home device, the user may implement the binding connection between the user account and the smart home device through the client installed on the user terminal. The user can send a control instruction to the intelligent household equipment through the client to realize remote control of the intelligent household equipment.
The present application is described below by way of a specific embodiment, and fig. 4 is an information interaction diagram according to an embodiment of the present invention.
And opening the hot spot and the Bluetooth of the user terminal. The hotspot name and the password of the hotspot are registered in the user terminal. The user operates the intelligent household equipment, so that the intelligent household equipment enters a configuration state, the Bluetooth connection of the equipment is opened, and the equipment sends out Bluetooth names in corresponding formats according to a specific protocol.
The user terminal can automatically search the Bluetooth connection conforming to the specific name and pair with the Bluetooth connection according to an agreed protocol, so that the Bluetooth connection between the user terminal and the intelligent household equipment is realized. After the Bluetooth connection is successful, the user terminal transmits the hotspot name and the password of the user terminal to the WIFI + BLE module of the intelligent household equipment in a Bluetooth mode, the WIFI + BLE module is disconnected from the mobile phone after receiving the mobile phone hotspot information, the WIFI hotspot of the user terminal is searched, and the hotspot of the user terminal is connected according to the transmitted hotspot password.
The user terminal is provided with an intelligent household equipment client, and a user can add equipment on the client. After the WIFI + BLE module is connected with the hotspot, identity information of the device is sent to the client, and the identity information comprises device information such as type codes and MAC addresses. The client can have a user account to log in, the user terminal can send the device information and the account information of the logged-in client to the cloud, and the cloud can be a server. And after the cloud verification is successful, the binding of the equipment and the account is realized, and the binding result is returned to the mobile phone terminal. The user can issue a control instruction to the intelligent home equipment through the client, the intelligent home equipment responds to the instruction and feeds back equipment state information and response information to the solitary note in the user through hotspot connection. The user terminal reports the instruction, the response information and the equipment state information to the server
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The embodiment also provides a device for establishing network connection, which is applied to an intelligent home device of an intelligent home system, and the device is used for implementing the above embodiments and preferred embodiments, and is not described again after having been described. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a first configuration of an apparatus for establishing a network connection according to an embodiment of the present invention, as shown in fig. 5, the apparatus includes: a first establishing module 52, configured to establish a first network connection with a mobile terminal if pairing with the mobile terminal is successful; a first receiving module 54, configured to receive second network information sent by the mobile terminal through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network; a second establishing module 56, configured to establish a second network connection with the mobile terminal according to the second network information, so as to perform information interaction with the mobile terminal through the second network connection, where the first network connection and the second network connection are different network connection types.
Optionally, the apparatus is further configured to establish the second network connection with the mobile terminal according to the second network information in the following manner: searching the second network according to the identity of the second network; under the condition that the second network is searched, the first key is sent to the mobile terminal to indicate the mobile terminal to verify the first key; and establishing the second network connection with the mobile terminal under the condition that the mobile terminal passes the first key verification.
Optionally, the apparatus is further configured to send, after establishing a second network connection with the mobile terminal according to the second network information, the identity information of the smart home device to a target client through the second network connection, so as to instruct the target client to bind the identity information and a target account, where the target client is installed in the mobile terminal, and the target client is logged in by the target account.
Optionally, the apparatus is further configured to receive a control instruction sent by the target account through the second network connection; and responding to the control instruction, and executing the operation indicated by the control instruction.
Optionally, the first network is bluetooth, and the second network is a WIFI hotspot.
In this embodiment, a device for establishing a network connection is further provided, and is applied to a mobile terminal in an intelligent home system, fig. 6 is a block diagram of a structure of the device for establishing a network connection according to the embodiment of the present invention, and as shown in fig. 6, the device includes: a third establishing module 62, configured to establish a first network connection with the smart home device when pairing with the smart home device is successful; a sending module 64, configured to send second network information to the smart home device through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network; a second receiving module 66, configured to receive the first key sent by the smart home device; a fourth establishing module 68, configured to establish a second network connection with the smart home device when the first key is verified, so as to perform information interaction with the smart home device through the second network connection, where the first network connection and the second network connection are different network connection types.
Optionally, the apparatus is further configured to send a control instruction to the smart home device through the second network connection, so as to instruct the smart home device to perform an operation according to the control instruction.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
The embodiment of the invention also provides a system for establishing network connection, which is applied to an intelligent home system and comprises intelligent home equipment and a mobile terminal, wherein the intelligent home equipment is used for establishing first network connection with the mobile terminal under the condition of successful pairing with the mobile terminal; receiving second network information sent by the mobile terminal through the first network connection; establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection; the mobile terminal is used for establishing first network connection with the intelligent household equipment under the condition that the pairing with the intelligent household equipment is successful; sending second network information to the intelligent household equipment through the first network connection; receiving the first secret key sent by the intelligent home equipment; under the condition that the first secret key passes the verification, establishing second network connection with the intelligent home equipment so as to perform information interaction with the intelligent home equipment through the second network connection; wherein the second network information comprises: the first key is used for logging in the second network, and the first network connection and the second network connection are different network connection types.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, establishing a first network connection with the mobile terminal under the condition that the pairing with the mobile terminal is successful;
s2, receiving second network information sent by the mobile terminal through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
and S3, establishing a second network connection with the mobile terminal according to the second network information, so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
s1, under the condition that pairing with the intelligent household equipment is successful, establishing first network connection with the intelligent household equipment;
s2, sending second network information to the smart home device through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
s3, receiving the first key sent by the smart home device;
s4, establishing a second network connection with the smart home device under the condition that the first key passes the verification, wherein the first network connection and the second network connection are different network connection types.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, establishing a first network connection with the mobile terminal under the condition that the pairing with the mobile terminal is successful;
s2, receiving second network information sent by the mobile terminal through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
and S3, establishing a second network connection with the mobile terminal according to the second network information, so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
Optionally, the processor may be further arranged to perform the following steps by the computer program:
s1, under the condition that pairing with the intelligent household equipment is successful, establishing first network connection with the intelligent household equipment;
s2, sending second network information to the smart home device through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
s3, receiving the first key sent by the smart home device;
s4, establishing a second network connection with the smart home device under the condition that the first key passes the verification, wherein the first network connection and the second network connection are different network connection types.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method for establishing network connection is applied to intelligent household equipment of an intelligent household system, and comprises the following steps:
under the condition that pairing with a mobile terminal is successful, establishing a first network connection with the mobile terminal;
receiving second network information sent by the mobile terminal through the first network connection, wherein the second network information comprises: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
and establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
2. The method according to claim 1, wherein the establishing the second network connection with the mobile terminal according to the second network information comprises:
searching the second network according to the identity of the second network;
under the condition that the second network is searched, the first key is sent to the mobile terminal to indicate the mobile terminal to verify the first key;
and establishing the second network connection with the mobile terminal under the condition that the mobile terminal passes the first key verification.
3. The method according to claim 1, wherein after the establishing the second network connection with the mobile terminal according to the second network information, the method further comprises:
and sending the identity information of the intelligent household equipment to a target client through the second network connection so as to instruct the target client to bind the identity information and a target account, wherein the target client is installed on the mobile terminal, and the target client is logged in by the target account.
4. The method of claim 3, further comprising:
receiving a control instruction sent by the target account through the second network connection;
and responding to the control instruction, and executing the operation indicated by the control instruction.
5. The method of any one of claims 1 to 4, wherein the first network is Bluetooth and the second network is a WIFI hotspot.
6. A method for establishing network connection is applied to a mobile terminal in an intelligent home system, and comprises the following steps:
under the condition that pairing with the intelligent home equipment is successful, establishing first network connection with the intelligent home equipment;
sending second network information to the smart home device through the first network connection, wherein the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
receiving the first secret key sent by the intelligent home equipment;
and under the condition that the first secret key passes the verification, establishing second network connection with the intelligent home equipment so as to perform information interaction with the intelligent home equipment through the second network connection, wherein the first network connection and the second network connection are different network connection types.
7. The method of claim 6, further comprising:
and sending a control instruction to the intelligent household equipment through the second network connection so as to instruct the intelligent household equipment to execute operation according to the control instruction.
8. The utility model provides an establish network connection's device which characterized in that, is applied to in intelligent home devices of intelligent home systems, includes:
the first establishing module is used for establishing first network connection with the mobile terminal under the condition that the pairing with the mobile terminal is successful;
a first receiving module, configured to receive, through the first network connection, second network information sent by the mobile terminal, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
and the second establishing module is used for establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection, wherein the first network connection and the second network connection are different network connection types.
9. An apparatus for establishing a network connection, comprising:
the third establishing module is used for establishing first network connection with the intelligent household equipment under the condition that the pairing with the intelligent household equipment is successful;
a sending module, configured to send second network information to the smart home device through the first network connection, where the second network information includes: the system comprises an identity of a second network and a first key, wherein the first key is used for logging in the second network;
the second receiving module is used for receiving the first secret key sent by the intelligent household equipment;
and the fourth establishing module is used for establishing a second network connection with the intelligent home equipment under the condition that the first secret key passes the verification so as to perform information interaction with the intelligent home equipment through the second network connection, wherein the first network connection and the second network connection are different network connection types.
10. A system for establishing network connection is characterized in that the system is applied to an intelligent home system and comprises intelligent home equipment and a mobile terminal, wherein,
the intelligent home equipment is used for establishing first network connection with the mobile terminal under the condition that the pairing with the mobile terminal is successful; receiving second network information sent by the mobile terminal through the first network connection; establishing a second network connection with the mobile terminal according to the second network information so as to perform information interaction with the mobile terminal through the second network connection;
the mobile terminal is used for establishing first network connection with the intelligent household equipment under the condition that the pairing with the intelligent household equipment is successful; sending second network information to the intelligent household equipment through the first network connection; receiving a first secret key sent by the intelligent household equipment; under the condition that the first secret key passes the verification, establishing second network connection with the intelligent home equipment so as to perform information interaction with the intelligent home equipment through the second network connection;
wherein the second network information comprises: the first key is used for logging in the second network, and the first network connection and the second network connection are different network connection types.
11. A storage medium, in which a computer program is stored, wherein the program is executable by a terminal device or a computer to perform the method of any one of claims 1 to 5 or 6 to 7.
CN202011511840.6A 2020-12-18 2020-12-18 Method and device for establishing network connection Pending CN112637931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011511840.6A CN112637931A (en) 2020-12-18 2020-12-18 Method and device for establishing network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011511840.6A CN112637931A (en) 2020-12-18 2020-12-18 Method and device for establishing network connection

Publications (1)

Publication Number Publication Date
CN112637931A true CN112637931A (en) 2021-04-09

Family

ID=75318038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011511840.6A Pending CN112637931A (en) 2020-12-18 2020-12-18 Method and device for establishing network connection

Country Status (1)

Country Link
CN (1) CN112637931A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596835A (en) * 2021-06-25 2021-11-02 青岛海尔科技有限公司 Network connection method, device, storage medium and electronic device
CN113794996A (en) * 2021-08-24 2021-12-14 阿里云计算有限公司 Device communication method, device control method, device communication apparatus, electronic device, and storage medium
CN115484115A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105188013A (en) * 2015-06-26 2015-12-23 北京锤子数码科技有限公司 Network hotspot sharing method, device and system
CN105871670A (en) * 2016-05-20 2016-08-17 珠海格力电器股份有限公司 Method, device and system for controlling terminal equipment
CN108616547A (en) * 2016-12-02 2018-10-02 武汉斗鱼网络科技有限公司 A kind of method and device of transmission file
CN109890012A (en) * 2018-12-29 2019-06-14 北京旷视科技有限公司 Data transmission method, device, system and storage medium
CN110213747A (en) * 2018-02-28 2019-09-06 上海博泰悦臻电子设备制造有限公司 Vehicle, vehicle device equipment, handheld device and its vehicle-mounted data synchronous method
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment
CN111628897A (en) * 2020-06-18 2020-09-04 京东方科技集团股份有限公司 Intelligent equipment initialization method, device and system
CN111918256A (en) * 2020-07-14 2020-11-10 广东科徕尼智能科技有限公司 Intelligent device network distribution method and device based on Bluetooth and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105188013A (en) * 2015-06-26 2015-12-23 北京锤子数码科技有限公司 Network hotspot sharing method, device and system
CN105871670A (en) * 2016-05-20 2016-08-17 珠海格力电器股份有限公司 Method, device and system for controlling terminal equipment
CN108616547A (en) * 2016-12-02 2018-10-02 武汉斗鱼网络科技有限公司 A kind of method and device of transmission file
CN110213747A (en) * 2018-02-28 2019-09-06 上海博泰悦臻电子设备制造有限公司 Vehicle, vehicle device equipment, handheld device and its vehicle-mounted data synchronous method
CN109890012A (en) * 2018-12-29 2019-06-14 北京旷视科技有限公司 Data transmission method, device, system and storage medium
CN111417118A (en) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 Network distribution method and device and computer equipment
CN111628897A (en) * 2020-06-18 2020-09-04 京东方科技集团股份有限公司 Intelligent equipment initialization method, device and system
CN111918256A (en) * 2020-07-14 2020-11-10 广东科徕尼智能科技有限公司 Intelligent device network distribution method and device based on Bluetooth and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113596835A (en) * 2021-06-25 2021-11-02 青岛海尔科技有限公司 Network connection method, device, storage medium and electronic device
CN113794996A (en) * 2021-08-24 2021-12-14 阿里云计算有限公司 Device communication method, device control method, device communication apparatus, electronic device, and storage medium
CN115484115A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device
CN115484115B (en) * 2022-08-30 2024-01-26 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN112637931A (en) Method and device for establishing network connection
CN111885115B (en) Device binding changing method and device
CN105208583B (en) Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment
CN111865736B (en) Equipment control method and device
CN113423105B (en) Network connection method and device
CN111885144B (en) Equipment binding method and device
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN111885594A (en) Equipment binding method and device
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN112737845B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN108986807B (en) Device control method and apparatus, storage medium, and electronic apparatus
CN113438314A (en) Equipment control method and device, storage medium and electronic device
CN112040484A (en) Password updating method and device, storage medium and electronic device
CN110149622B (en) Intelligent household appliance control method and device
CN113433831A (en) Control method and module of intelligent household equipment and storage medium
US20160277217A1 (en) Home control gateway and home control method thereof
CN113259918A (en) Equipment binding method and system
CN111343057B (en) Control method of intelligent household appliance and intelligent household appliance
CN112637221B (en) Equipment control method and device
CN112738785B (en) Device connection method and apparatus, storage medium, and electronic apparatus
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN111884938B (en) Router information acquisition method and device
CN111787514B (en) Method and device for acquiring equipment control data, storage medium and electronic device
CN112689006A (en) Internet of things equipment control method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210409