CN112954770A - Device binding method and device, storage medium and electronic device - Google Patents

Device binding method and device, storage medium and electronic device Download PDF

Info

Publication number
CN112954770A
CN112954770A CN202110114164.7A CN202110114164A CN112954770A CN 112954770 A CN112954770 A CN 112954770A CN 202110114164 A CN202110114164 A CN 202110114164A CN 112954770 A CN112954770 A CN 112954770A
Authority
CN
China
Prior art keywords
wireless network
electronic equipment
electronic device
network
client
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
CN202110114164.7A
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 CN202110114164.7A priority Critical patent/CN112954770A/en
Publication of CN112954770A publication Critical patent/CN112954770A/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/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a device binding method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: searching a first wireless network created by first electronic equipment in a currently running client; the client runs in the second electronic device; receiving first wireless network information corresponding to a first wireless network; connecting a first wireless network using the first wireless network information; under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to the second wireless network created by the second electronic equipment to the first electronic equipment so as to enable the first electronic equipment to be connected with the second wireless network; and under the condition that the first electronic equipment is connected with the second wireless network, the first electronic equipment is bound to the management platform corresponding to the client through the second wireless network. The method and the device solve the technical problem of low efficiency of installing and debugging the intelligent device due to the fact that the intelligent device is bound through the network of the third-party WIFI device.

Description

Device binding method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a device binding method and apparatus, a storage medium, and an electronic device.
Background
With the development of the internet of things, most intelligent devices are provided with WIFI modules so as to access the internet. However, in some application scenarios (for example, after-sale installation and debugging of home appliances, scene demonstration of smart devices, and the like), an additional network and third-party WIFI devices need to be arranged, and the smart devices are bound through the network of the third-party WIFI devices. For example, after-sales personnel need to help a client debug the device and need to connect a WIFI network in the client home, but the WIFI password in the client home belongs to private information, and therefore the after-sales personnel need to additionally arrange a network and third-party WIFI devices, and therefore the technical problem of low efficiency of installing and debugging the smart device may occur.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a device binding method and device, a storage medium and electronic equipment, and aims to at least solve the technical problem of low efficiency of installing and debugging intelligent equipment caused by binding the intelligent equipment through a network of third-party WIFI equipment.
According to an aspect of an embodiment of the present invention, there is provided a device binding method, including: searching a first wireless network created by first electronic equipment in a currently running client; the client runs in second electronic equipment; receiving first wireless network information corresponding to the first wireless network; connecting to the first wireless network using the first wireless network information; when the second electronic device is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic device to the first electronic device so that the first electronic device is connected with the second wireless network; and under the condition that the first electronic equipment is determined to be connected with the second wireless network, the first electronic equipment is bound to a management platform corresponding to the client through the second wireless network.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for binding devices, including: the searching unit is used for searching a first wireless network created by the first electronic equipment in a currently running client; the client runs in second electronic equipment; a receiving unit, configured to receive first wireless network information corresponding to the first wireless network; a connection unit for connecting the first wireless network using the first wireless network information; a sending unit, configured to send, to the first electronic device, second wireless network information corresponding to a second wireless network created by the second electronic device, so that the first electronic device is connected to the second wireless network, when the second electronic device is connected to the first wireless network; and the binding unit is used for binding the first electronic equipment to a management platform corresponding to the client through the second wireless network under the condition that the first electronic equipment is determined to be connected with the second wireless network.
According to a further aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned device binding method when running.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the device binding method through the computer program.
In the embodiment of the invention, a first wireless network created by first electronic equipment is searched in a client operated by second electronic equipment; receiving first wireless network information corresponding to the first wireless network; connecting to the first wireless network using the first wireless network information; when the second electronic device is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic device to the first electronic device so that the first electronic device is connected with the second wireless network; under the condition that above-mentioned first electronic equipment connects above-mentioned second wireless network is being determined, bind above-mentioned first electronic equipment to the management platform mode that corresponds with above-mentioned customer end through above-mentioned second wireless network, the purpose that need not to bind the smart machine through the network of third party WIFI equipment has been reached, thereby realized only needing to realize the network binding of smart machine through mobile terminal, improve the technological effect who controls control efficiency, and then solved because the network through third party WIFI equipment binds the smart machine, the lower technical problem of installation and debugging smart machine efficiency that causes.
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 schematic diagram of an application environment of an alternative device binding method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application environment of an alternative device binding method according to an embodiment of the invention;
FIG. 3 is a flowchart illustrating an alternative device binding method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating an alternative device binding method according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of an alternative device binding apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a device binding method is provided, and optionally, as an optional implementation manner, the device binding method may be applied, but not limited, to the environment shown in fig. 1.
In fig. 1, the terminal device 104 is responsible for human-computer interaction with the user 102, and the terminal device 104 includes a memory 106, a processor 108 and a display 110; the end devices 104 may interact with the management platform 114 via the network 112. The management platform 114 includes a database 116 and a processing engine 118; the first electronic device 120 and the second electronic device 122 interact with the terminal device 104 through the network 112, and both the first electronic device 120 and the second electronic device 122 are intelligent electronic devices with wireless modules. The terminal device 104 may bind the first electronic device 120 and the second electronic device 122 to the management platform 114, the management platform 114 acquires the device identifiers of the first electronic device 120 and the second electronic device 122 and then stores the device identifiers in the database 116, and then the terminal device 104 can operate the first electronic device 120 and the second electronic device 122 through the management platform 114.
As another alternative, the device binding method described above in this application may be applied to fig. 2. As shown in fig. 2, a human-computer interaction may be performed between a user 202 and a user device 204. The user equipment 204 includes a memory 206 and a processor 208. In this embodiment, the user equipment 204 may refer to and execute the operations executed by the terminal device 104, so as to implement control and debugging of the smart home device.
Optionally, in this embodiment, the terminal device 104 and the user device 204 may be terminal devices configured with a target client, and may include but are not limited to at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. The target client may be a video client, an instant messaging client, a browser client, an educational client, etc. The first electronic device 120 and the second electronic device 122 may be smart home devices such as a first humidifier, an air conditioner, a sweeping robot, and the like, and the network 112 may include but is not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The management platform 114 may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 3, the device binding method includes:
s302, searching a first wireless network created by first electronic equipment in a currently running client; the client runs in the second electronic device;
s304, receiving first wireless network information corresponding to a first wireless network;
s306, connecting a first wireless network by using the first wireless network information;
s308, under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to the second wireless network created by the second electronic equipment to the first electronic equipment so as to enable the first electronic equipment to be connected with the second wireless network;
and S310, under the condition that the first electronic equipment is determined to be connected with the second wireless network, binding the first electronic equipment to a management platform corresponding to the client through the second wireless network.
Optionally, in this embodiment, the device binding method may be applied to, but not limited to, a binding process of home devices in the internet of things. That is, a plurality of home devices to be bound are managed on the management platform. The home devices herein may include, but are not limited to: humidifiers, air conditioners, sweeping robots, and the like. This is an example, and this is not a limitation in this embodiment.
It should be noted that, according to the schemes in the related art, a third-party network device environment is required, that is, a network and third-party WIFI devices need to be additionally arranged, and the intelligent device can be controlled and debugged only by binding the intelligent device with the network of the third-party WIFI device. In order to solve the above problems, the device binding method provided in the embodiment of the present application establishes the second wireless network through the second electronic device to share the communication network to directly bind the first electronic device, and then performs device debugging, which is convenient and fast, and achieves the purpose of binding the intelligent device without the network of the third-party WIFI device, thereby achieving the purpose of network binding of the intelligent device only through the mobile terminal.
In step S302, in practical application, the second electronic device may be a terminal device such as a mobile phone, a tablet or a notebook, which is not limited herein; the client is a terminal application that may include, but is not limited to, managing a first electronic device through which a first wireless network created by the first electronic device may be searched. Here, the first wireless network may be a WIFI network, a bluetooth network, or a ZigBee network, which is not limited herein.
In step S304, in actual application, the first wireless network information corresponding to the first wireless network may include, but is not limited to, a network identifier and a network password of the WIFI network, or an identifier and a matching code of the bluetooth network, which is not limited herein.
In step S306, in practical application, the client connects to the first wireless network by using the first wireless network information, and at this time, the first electronic device and the second electronic device establish a network communication connection.
In step S308, in actual application, after the first electronic device and the second electronic device establish network communication connection, the first electronic device (for example, a mobile phone) activates its WIFI or bluetooth module to create a second wireless network, where the second wireless network may include, but is not limited to, a WIFI network, a bluetooth network, or a ZigBee network, and is not limited herein. And then the client sends second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network. Here, the second wireless network information may include, but is not limited to, a network identifier and a network password of the WIFI network, or an identifier and a matching code of the bluetooth network, which is not limited herein.
In step S310, in an actual application, for example, in a case that the first electronic device is connected to the second wireless network in the client of the first electronic device, the first electronic device is bound to the management platform corresponding to the client through the second wireless network. For example, when the first electronic device is an intelligent air conditioner and the second electronic device is a mobile phone, the intelligent air conditioner can share a communication network of the mobile phone through a WIFI hotspot of the mobile phone to be connected to the management platform, then the management platform stores the identifier of the intelligent air conditioner after receiving the identifier of the intelligent air conditioner, completes the binding of the intelligent air conditioner on the management platform, then the management platform can receive a control instruction sent by a client in the mobile phone, and then sends the control instruction to the intelligent air conditioner for control operation.
In the embodiment of the invention, a first wireless network created by first electronic equipment is searched in a client operated by second electronic equipment; receiving first wireless network information corresponding to the first wireless network; connecting to the first wireless network using the first wireless network information; under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network; the first electronic equipment is connected under the condition of the second wireless network, the management platform mode corresponding to the client side is bound to the first electronic equipment through the second wireless network, the purpose that intelligent equipment is bound through the network of third-party WIFI equipment is achieved, and therefore the network binding of the intelligent equipment can be achieved only through the mobile terminal, the technical effect of controlling the control efficiency is improved, and the technical problem that the efficiency of installing and debugging the intelligent equipment is low due to the fact that the intelligent equipment is bound through the network of the third-party WIFI equipment is solved.
In one embodiment, step S306 may include the steps of: determining the type of the searched first wireless network; and activating a function module matched with the type of the first wireless network in the second electronic equipment so as to connect the second electronic equipment to the first wireless network through the function module. Here, since the type of the first wireless network may include, but is not limited to, a WIFI network, a bluetooth network, a ZigBee network, or the like, the second electronic device needs to activate a function module corresponding to the type of the first wireless network according to the type of the first wireless network. For example, if the type of the first wireless network is a WIFI network type, the WIFI module of the second electronic device is activated, and the first electronic device is connected to the WIFI network created by the first electronic device through the WIFI module.
In one embodiment, activating a function module in the second electronic device that matches the type of the first wireless network to connect the second electronic device to the first wireless network through the function module includes: activating a WIFI module matched with the WIFI network in the second electronic equipment under the condition that the type of the first wireless network is the WIFI network; connecting a first wireless network through a WIFI module according to the first wireless network information; the first wireless network information comprises a network identifier and an access password of the WIFI network.
In an embodiment, activating a function module, which is in the second electronic device and is matched with the type of the first wireless network, according to the type of the first wireless network, so that the second electronic device connects to the first wireless network according to the first wireless network information further includes: under the condition that the type of the first wireless network is a Bluetooth network, activating a Bluetooth module matched with the Bluetooth network in the second electronic equipment; connecting a first wireless network through a Bluetooth module according to the first wireless network information; the first wireless network information comprises a Bluetooth identifier and a matching code of the first wireless network.
In an embodiment, step S308 further includes: and under the condition of receiving the feedback information of the first electronic equipment connected to the second wireless network, disconnecting the second electronic equipment from the first wireless network. Here, for example, in a case where the client receives that the first electronic device successfully connects to the second wireless network created by the second electronic device, the second electronic device may disconnect from the first wireless network created by the first electronic device. At this point, the first electronic device can access the management platform via a communication network (e.g., a 4G or 5G communication network) shared by the second wireless network to the second electronic device.
In one embodiment, step S310 includes: under the condition that the first electronic equipment is determined to be connected with the second wireless network, the identification of the first electronic equipment is sent to the management platform through the communication network associated with the second wireless network, so that the management platform records that the first electronic equipment is in a bound state; wherein, the communication network is used for connecting the client to the management platform; and prompting that the first electronic equipment is successfully bound in the client under the condition that the response information returned by the management platform is received and indicates that the first electronic equipment is successfully bound. For example, when the first electronic device is an intelligent air conditioner and the second electronic device is a mobile phone, the intelligent air conditioner can share a communication network of the mobile phone through a WIFI hotspot of the mobile phone to be connected to the management platform, then the management platform receives the identifier of the intelligent air conditioner, stores the identifier of the intelligent air conditioner, completes the binding of the intelligent air conditioner on the management platform, records the first electronic device as a bound state, then the management platform can receive a control instruction sent by a client in the mobile phone, and then sends the control instruction to the intelligent air conditioner for control operation.
In the embodiment of the invention, a first wireless network created by first electronic equipment is searched in a client operated by second electronic equipment; receiving first wireless network information corresponding to the first wireless network; connecting to the first wireless network using the first wireless network information; under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network; the first electronic equipment is connected under the condition of the second wireless network, the management platform mode corresponding to the client side is bound to the first electronic equipment through the second wireless network, the purpose that intelligent equipment is bound through the network of third-party WIFI equipment is achieved, and therefore the network binding of the intelligent equipment can be achieved only through the mobile terminal, the technical effect of controlling the control efficiency is improved, and the technical problem that the efficiency of installing and debugging the intelligent equipment is low due to the fact that the intelligent equipment is bound through the network of the third-party WIFI equipment is solved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Based on the foregoing embodiment, in an application embodiment, as shown in fig. 4, the device binding method may include the following steps: step S402, the APP client side issues a binding instruction to a u + application Development Kit (u + Software Development Kit, abbreviated as uSDK), and step S404, the uSDK searches for a wireless hotspot of a wireless module (located in the first electronic device); then, step S406 is executed, and the ussdk returns the wireless hotspot established by the wireless module to the APP client; then, step S408 is performed, where the APP client controls the mobile phone (i.e., the second electronic device) to connect to the wireless hotspot created by the wireless module; step S410, the mobile phone successfully connects to the wireless hotspot created by the wireless module. Then, step S412 is carried out, and the APP client sends the wireless hotspot information created by the mobile phone to the uSDK; then, step S414 is performed, the ussdk is connected to the wireless hotspot created by the mobile phone through the wireless module, then step S416 is performed, the wireless module receives the wireless hotspot information created by the mobile phone and feeds back the information to the ussdk, and then step S418 is performed, and the ussdk sends the feedback information which is sent by the wireless module and is connected to the mobile phone creation hotspot to the APP client. Step S420, the APP client controls the mobile phone to disconnect from the wireless module hotspot; step S422, the APP client controls the mobile phone to wait for the wireless module to connect the wireless hotspot created by the mobile phone; then step S424 is carried out, the wireless module sends the information that the wireless module is successfully connected with the wireless hotspot created by the mobile phone to the uSDK; step S426, binding the first electronic equipment to a management platform by the uSDK; step 428, the management platform notifies the APP client that the first electronic device has been successfully bound to the management platform; step S430, the uSDK informs the APP client that the first electronic device is successfully bound to the management platform; in step S432, the APP client starts controlling the first electronic device.
In the embodiment of the invention, a first wireless network created by first electronic equipment is searched in a client operated by second electronic equipment; receiving first wireless network information corresponding to the first wireless network; connecting to the first wireless network using the first wireless network information; under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network; the first electronic equipment is connected under the condition of the second wireless network, the management platform mode corresponding to the client side is bound to the first electronic equipment through the second wireless network, the purpose that intelligent equipment is bound through the network of third-party WIFI equipment is achieved, and therefore the network binding of the intelligent equipment can be achieved only through the mobile terminal, the technical effect of controlling the control efficiency is improved, and the technical problem that the efficiency of installing and debugging the intelligent equipment is low due to the fact that the intelligent equipment is bound through the network of the third-party WIFI equipment is solved.
According to another aspect of the embodiment of the present invention, there is also provided an apparatus binding apparatus for implementing the apparatus binding method. As shown in fig. 5, the apparatus includes:
a searching unit 502, configured to search a currently running client for a first wireless network created by a first electronic device; the client runs in second electronic equipment;
a receiving unit 504, configured to receive first wireless network information corresponding to a first wireless network;
a connecting unit 506, configured to connect to a first wireless network using the first wireless network information;
a sending unit 508, configured to send, when the second electronic device is connected to the first wireless network, second wireless network information corresponding to a second wireless network created by the second electronic device to the first electronic device, so that the first electronic device is connected to the second wireless network;
a binding unit 510, configured to bind, when it is determined that the first electronic device is connected to the second wireless network, the first electronic device to a management platform corresponding to the client through the second wireless network.
Optionally, in this embodiment, the device binding method may be applied to, but not limited to, a binding process of home devices in the internet of things. That is, a plurality of home devices to be bound are managed on the management platform. The home devices herein may include, but are not limited to: humidifiers, air conditioners, sweeping robots, and the like. This is an example, and this is not a limitation in this embodiment.
It should be noted that, according to the schemes in the related art, a third-party network device environment is required, that is, a network and third-party WIFI devices need to be additionally arranged, and the intelligent device can be controlled and debugged only by binding the intelligent device with the network of the third-party WIFI device. In order to solve the above problems, the device binding method provided in the embodiment of the present application establishes the second wireless network through the second electronic device to share the communication network to directly bind the first electronic device, and then performs device debugging, which is convenient and fast, and achieves the purpose of binding the intelligent device without the network of the third-party WIFI device, thereby achieving the purpose of network binding of the intelligent device only through the mobile terminal.
In the embodiment of the present invention, the second electronic device may be a terminal device such as a mobile phone, a tablet, or a notebook computer, which is not limited herein; the client is a terminal application that may include, but is not limited to, managing a first electronic device through which a first wireless network created by the first electronic device may be searched. Here, the first wireless network may be a WIFI network, a bluetooth network, or a ZigBee network, which is not limited herein.
In this embodiment of the present invention, the first wireless network information corresponding to the first wireless network may include, but is not limited to, a network identifier and a network password of a WIFI network, or an identifier and a matching code of a bluetooth network, which is not limited herein.
In the embodiment of the present invention, the client connects to the first wireless network by using the first wireless network information, and at this time, the first electronic device and the second electronic device establish a network communication connection.
In this embodiment of the present invention, after the first electronic device and the second electronic device establish a network communication connection, the first electronic device (for example, a mobile phone) activates its WIFI or bluetooth module to create a second wireless network, where the second wireless network may include, but is not limited to, a WIFI network, a bluetooth network, or a ZigBee network, and this is not limited herein. And then the client sends second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network. Here, the second wireless network information may include, but is not limited to, a network identifier and a network password of the WIFI network, or an identifier and a matching code of the bluetooth network, which is not limited herein.
In the embodiment of the present invention, for example, in a case where the first electronic device is connected to the second wireless network as shown in the client of the first electronic device, the first electronic device is bound to the management platform corresponding to the client through the second wireless network. For example, when the first electronic device is an intelligent air conditioner and the second electronic device is a mobile phone, the intelligent air conditioner can share a communication network of the mobile phone through a WIFI hotspot of the mobile phone to be connected to the management platform, then the management platform stores the identifier of the intelligent air conditioner after receiving the identifier of the intelligent air conditioner, completes the binding of the intelligent air conditioner on the management platform, then the management platform can receive a control instruction sent by a client in the mobile phone, and then sends the control instruction to the intelligent air conditioner for control operation.
In the embodiment of the invention, a first wireless network created by first electronic equipment is searched in a client operated by second electronic equipment; receiving first wireless network information corresponding to the first wireless network; connecting to the first wireless network using the first wireless network information; under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network; the first electronic equipment is connected under the condition of the second wireless network, the management platform mode corresponding to the client side is bound to the first electronic equipment through the second wireless network, the purpose that intelligent equipment is bound through the network of third-party WIFI equipment is achieved, and therefore the network binding of the intelligent equipment can be achieved only through the mobile terminal, the technical effect of controlling the control efficiency is improved, and the technical problem that the efficiency of installing and debugging the intelligent equipment is low due to the fact that the intelligent equipment is bound through the network of the third-party WIFI equipment is solved.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the device binding method, where the electronic device may be the terminal device or the management platform shown in fig. 1. As shown in fig. 6, the electronic device comprises a memory 602 and a processor 604, wherein the memory 602 stores a computer program, and the processor 604 is configured to execute the steps of any of the above method embodiments by the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, searching a first wireless network created by the first electronic equipment in the currently running client; the client runs in the second electronic device;
s2, receiving first wireless network information corresponding to the first wireless network;
s3, connecting to the first wireless network using the first wireless network information;
s4, when the second electronic device is connected with the first wireless network, sending second wireless network information corresponding to the second wireless network created by the second electronic device to the first electronic device, so that the first electronic device is connected with the second wireless network;
and S5, under the condition that the first electronic equipment is determined to be connected with the second wireless network, the first electronic equipment is bound to the management platform corresponding to the client through the second wireless network.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 6 is merely an illustration, and the electronic device or electronic device may also be a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Devices (MID), a PAD, or other electronic Devices. Fig. 6 is a diagram illustrating a structure of the electronic device. For example, the electronics may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
The memory 602 may be used to store software programs and modules, such as program instructions/modules corresponding to the device binding method and apparatus in the embodiments of the present invention, and the processor 604 executes various functional applications and data processing by running the software programs and modules stored in the memory 602, that is, implementing the device binding method described above. The memory 602 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 examples, the memory 602 may further include memory located remotely from the processor 604, which may be connected to the terminal over 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 memory 602 may be specifically, but not limited to, used to store virtual first network wireless network information, second wireless network information, and information such as an identifier of the first electronic device. As an example, as shown in fig. 6, the memory 602 may include, but is not limited to, the searching unit 502, the receiving unit 504, the connecting unit 506, the sending unit 508, and the binding unit 510 in the device binding apparatus. In addition, other module units in the device binding apparatus may also be included, but are not limited to, and are not described in detail in this example.
Optionally, the transmitting device 606 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 606 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 606 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 608 for displaying the first network wireless network information and the second network wireless network information; and a connection bus 610 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to a further aspect of an embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, 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 above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, searching a first wireless network created by the first electronic equipment in the currently running client; the client runs in the second electronic device;
s2, receiving first wireless network information corresponding to the first wireless network;
s3, connecting to the first wireless network using the first wireless network information;
s4, when the second electronic device is connected with the first wireless network, sending second wireless network information corresponding to the second wireless network created by the second electronic device to the first electronic device, so that the first electronic device is connected with the second wireless network;
and S5, under the condition that the first electronic equipment is determined to be connected with the second wireless network, the first electronic equipment is bound to the management platform corresponding to the client through the second wireless network.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be substantially or partially implemented in the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, or network devices) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that it is obvious to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements should also be considered as the protection scope of the present invention.

Claims (10)

1. A device binding method, comprising:
searching a first wireless network created by first electronic equipment in a currently running client; the client runs in second electronic equipment;
receiving first wireless network information corresponding to the first wireless network;
connecting to the first wireless network using the first wireless network information;
under the condition that the second electronic equipment is connected with the first wireless network, sending second wireless network information corresponding to a second wireless network created by the second electronic equipment to the first electronic equipment so that the first electronic equipment is connected with the second wireless network;
and under the condition that the first electronic equipment is determined to be connected with the second wireless network, the first electronic equipment is bound to a management platform corresponding to the client through the second wireless network.
2. The method of claim 1, wherein utilizing the first wireless network information to connect to the first wireless network comprises:
determining the type of the searched first wireless network;
and activating a function module matched with the type of the first wireless network in the second electronic equipment so as to connect the second electronic equipment to the first wireless network through the function module.
3. The method of claim 2, wherein the activating a function module of the second electronic device matching the type of the first wireless network to connect the second electronic device to the first wireless network via the function module comprises:
activating a WIFI module matched with the WIFI network in the second electronic equipment under the condition that the type of the first wireless network is the WIFI network;
connecting the first wireless network through the WIFI module according to the first wireless network information; the first wireless network information comprises a network identifier and an access password of the WIFI network.
4. The method of claim 2, wherein the activating a function module of the second electronic device that matches the type of the first wireless network to connect the second electronic device to the first wireless network via the function module further comprises:
activating a Bluetooth module matched with the Bluetooth network in the second electronic equipment under the condition that the type of the first wireless network is the Bluetooth network;
connecting the first wireless network through the Bluetooth module according to the first wireless network information; wherein the first wireless network information comprises a bluetooth identifier and a matching code of the first wireless network.
5. The method according to claim 1, wherein after sending the second wireless network information corresponding to the second wireless network created by the second electronic device to the first electronic device, further comprising:
and under the condition of receiving feedback information of the first electronic equipment connected to the second wireless network, disconnecting the second electronic equipment from the first wireless network.
6. The method of claim 1, wherein the binding the first electronic device to a management platform corresponding to the client to enable the client to control the first electronic device if it is determined that the first electronic device is connected to the second wireless network comprises:
under the condition that the first electronic equipment is determined to be connected with the second wireless network, sending the identifier of the first electronic equipment to the management platform through a communication network associated with the second wireless network, so that the management platform records the state that the first electronic equipment is bound; wherein the communication network is used for connecting the client to the management platform;
and prompting that the first electronic device is successfully bound in the client when response information returned by the management platform is received and indicates that the first electronic device is successfully bound.
7. An apparatus for binding a device, comprising:
the searching unit is used for searching a first wireless network created by the first electronic equipment in a currently running client; the client runs in second electronic equipment;
a receiving unit, configured to receive first wireless network information corresponding to the first wireless network;
a connection unit configured to connect to the first wireless network using the first wireless network information;
a sending unit, configured to send, when the second electronic device is connected to the first wireless network, second wireless network information corresponding to a second wireless network created by the second electronic device to the first electronic device, so that the first electronic device is connected to the second wireless network;
and the binding unit is used for binding the first electronic equipment to a management platform corresponding to the client through the second wireless network under the condition that the first electronic equipment is determined to be connected with the second wireless network.
8. The apparatus of claim 7, comprising: the connection unit includes:
a determining subunit, configured to determine a type of the searched first wireless network;
and the activation subunit is used for activating a function module, matched with the type of the first wireless network, in the second electronic device, so that the second electronic device is connected to the first wireless network through the function module.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when executed performs the method of any of claims 1 to 6.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program and the processor is arranged to execute the method of any of claims 1 to 6 by means of the computer program.
CN202110114164.7A 2021-01-27 2021-01-27 Device binding method and device, storage medium and electronic device Pending CN112954770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110114164.7A CN112954770A (en) 2021-01-27 2021-01-27 Device binding method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110114164.7A CN112954770A (en) 2021-01-27 2021-01-27 Device binding method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN112954770A true CN112954770A (en) 2021-06-11

Family

ID=76238229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110114164.7A Pending CN112954770A (en) 2021-01-27 2021-01-27 Device binding method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN112954770A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422383A (en) * 2022-01-19 2022-04-29 北京全路通信信号研究设计院集团有限公司 Network resource management and control method and device, electronic equipment and storage medium
CN115484115A (en) * 2022-08-30 2022-12-16 海尔优家智能科技(北京)有限公司 Binding method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150351004A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Client-initiated tethering for electronic devices
CN105553931A (en) * 2015-11-27 2016-05-04 深圳市美贝壳科技有限公司 Mobile phone and household intelligent equipment rapid activation and binding method
CN106773797A (en) * 2015-11-19 2017-05-31 ***通信集团公司 A kind of information processing method, system and management platform
CN109890012A (en) * 2018-12-29 2019-06-14 北京旷视科技有限公司 Data transmission method, device, system and storage medium
CN111800317A (en) * 2020-05-29 2020-10-20 深圳拓邦股份有限公司 Method for automatically binding account, intelligent device and handheld terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150351004A1 (en) * 2014-05-30 2015-12-03 Apple Inc. Client-initiated tethering for electronic devices
CN106773797A (en) * 2015-11-19 2017-05-31 ***通信集团公司 A kind of information processing method, system and management platform
CN105553931A (en) * 2015-11-27 2016-05-04 深圳市美贝壳科技有限公司 Mobile phone and household intelligent equipment rapid activation and binding method
CN109890012A (en) * 2018-12-29 2019-06-14 北京旷视科技有限公司 Data transmission method, device, system and storage medium
CN111800317A (en) * 2020-05-29 2020-10-20 深圳拓邦股份有限公司 Method for automatically binding account, intelligent device and handheld terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422383A (en) * 2022-01-19 2022-04-29 北京全路通信信号研究设计院集团有限公司 Network resource management and control method and device, electronic equipment and storage medium
CN114422383B (en) * 2022-01-19 2024-04-12 北京全路通信信号研究设计院集团有限公司 Network resource management and control method and device, electronic equipment 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
CN112737899B (en) Intelligent device management method and device, storage medium and electronic device
CN112738805B (en) Device control method and apparatus, storage medium, and electronic device
CN103023681B (en) Smart home control device, update method
CN102665123B (en) A kind of TV control method, handheld device, TV and TV control system
EP3761606A1 (en) Method for transmitting configuration file, related device and storage medium
CN102932695A (en) Remote control method, intelligent terminal and intelligent remote control system
CN112073471A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN104702665A (en) Information sharing method and information sharing device
CN104836848A (en) Method for remotely upgrading intelligent household electrical appliances
CN112152853A (en) Equipment network distribution method and device, computer-readable storage medium and electronic device
CN112954770A (en) Device binding method and device, storage medium and electronic device
CN105530683A (en) Network connection method and apparatus
WO2009109980A2 (en) Method and system for transfer of application between devices
CN113168334A (en) Data processing method and device, electronic equipment and readable storage medium
CN113485134A (en) Device control method and apparatus, storage medium, and electronic device
CN104270204A (en) Testing method and testing equipment for wireless communication module
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN111787540A (en) Method and device for accessing Internet of things, electronic equipment and readable storage medium
CN112637931A (en) Method and device for establishing network connection
CN102185701A (en) Method and system for realizing group information interaction
US20150178068A1 (en) Electric product and method for updating firmware of the same
CN113329241A (en) Air conditioner and method and device for multimedia playing in air conditioner
CN105246129A (en) Intelligent terminal networking method and device
CN103138961B (en) server control method, controlled server and central control server
CN112333295A (en) Multipath connection method and device, electronic equipment and storage medium

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: 20210611

RJ01 Rejection of invention patent application after publication