CN110838959B - Smart home equipment binding method and device, electronic equipment and storage medium - Google Patents

Smart home equipment binding method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110838959B
CN110838959B CN201911082832.1A CN201911082832A CN110838959B CN 110838959 B CN110838959 B CN 110838959B CN 201911082832 A CN201911082832 A CN 201911082832A CN 110838959 B CN110838959 B CN 110838959B
Authority
CN
China
Prior art keywords
information
management group
group information
sub
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911082832.1A
Other languages
Chinese (zh)
Other versions
CN110838959A (en
Inventor
王雄辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN201911082832.1A priority Critical patent/CN110838959B/en
Publication of CN110838959A publication Critical patent/CN110838959A/en
Application granted granted Critical
Publication of CN110838959B publication Critical patent/CN110838959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a method and a device for binding smart home equipment, electronic equipment and a storage medium, and relates to the technical field of smart home. Wherein, the method comprises the following steps: when a first device accesses a local area network, broadcasting inquiry information in the local area network, wherein the inquiry information is used for inquiring management group information to which a second device in a second local area network belongs; receiving response information returned by the second equipment according to the inquiry information; and the first equipment acquires the management group information to which the second equipment belongs according to the response information, uploads the management group information to which the second equipment belongs and the first equipment information to the server, and requests the server to bind and store the first equipment information and the management group information to which the second equipment belongs. Therefore, the user can be prevented from carrying out a complicated manual binding process, and the first device can be quickly bound to the corresponding management group.

Description

Smart home equipment binding method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of smart home, in particular to a smart home equipment binding method and device, electronic equipment and a storage medium.
Background
At present, smart homes are increasingly integrated into the lives of people, and a lot of convenience is provided for people. For convenience of management, devices in the smart home system are usually bound to one or more groups. At present, the manual binding mode is mainly adopted for realizing, for example, a user manually scans a two-dimensional code on home equipment through a mobile phone APP, and binds the home equipment to a corresponding family group, so that a great deal of inconvenience exists.
Disclosure of Invention
In view of the above problems, the present application provides a method and an apparatus for binding smart home devices, an electronic device, and a storage medium, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a method for binding smart home devices, including: s1, when a first device accesses a local area network, broadcasting inquiry information in the local area network, wherein the inquiry information is used for inquiring management group information to which a second device in the local area network belongs; s2, receiving response information returned by the second equipment according to the inquiry information; and S3, the first device acquires the management group information to which the second device belongs according to the response information, uploads the management group information to which the second device belongs and the first device information to a server, and requests the server to bind and store the first device information and the management group information of the second device.
In a second aspect, an embodiment of the present application provides an intelligent home device binding apparatus, including: the first inquiry module is used for broadcasting inquiry information in a local area network when a first device accesses the local area network, wherein the inquiry information is used for inquiring management group information to which a second device in the local area network belongs; the receiving module is used for receiving response information returned by the second equipment according to the inquiry information; and the binding module is used for acquiring the management group information to which the second equipment belongs according to the response information, uploading the management group information to which the second equipment belongs and the first equipment information to a server, and requesting the server to bind and store the first equipment information and the management group information of the second equipment.
In a third aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium, in which program code is stored, and the program code can be called by a processor to execute the method described above.
Compared with the prior art, according to the scheme provided by the application, when the first device is accessed to the local area network, inquiry information is broadcasted in the local area network to inquire the management group information to which the second device belongs in the local area network, the management group information to which the second device belongs is acquired according to response information returned by the second device, the first device information and the management group information to which the second device belongs are uploaded to the server, and the server is requested to bind and store the first device information and the management group information to which the second device belongs. Therefore, automatic binding of the first device and the management group can be quickly realized, the whole binding process does not need to be manually carried out by a user, and the binding efficiency is improved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of an application environment suitable for the embodiment of the present application.
Fig. 2 shows a flowchart of a smart home device binding method according to an embodiment of the present application.
Fig. 3 is a flowchart illustrating a smart home device binding method according to another embodiment of the present application.
Fig. 4 shows another flow chart of the smart home device binding method in fig. 3.
Fig. 5 is a block diagram of an electronic device for executing a smart home device binding method according to an embodiment of the present application.
Fig. 6 is a block diagram of a structure of a smart home device binding apparatus according to an embodiment of the present application.
Fig. 7 is a storage unit for storing or carrying program codes for implementing the smart home device binding method according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In practical application, the device in the smart home system may be bound to a specific user account, and the user corresponding to the user account may control the bound device. Each user account can correspond to one or more management groups, and the equipment can be further bound to a specific management group, so that the user corresponding to the user account can realize linkage control on the equipment bound to the specific management group.
As found through research, in some embodiments, it is generally required that a user scans a two-dimensional code on a device to be bound to obtain device information (e.g., a device name, a device identifier, and the like) of the device to be bound, then loads or searches an optional management group, and selects at least one of the optional management group to be bound with the obtained device information. It can be seen that the binding mode has high dependency on user operation, and requires the user to be familiar with the manual binding operation flow, and the learning and using cost for binding is high, which is very inconvenient.
Based on the method, the device and the electronic equipment, the intelligent home equipment in the intelligent home system can be quickly and automatically bound with the management group, and the binding efficiency is improved. This will be described in detail below.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario according to an embodiment of the present application. The plurality of smart home devices are in communication connection with the ethernet device, for example, the smart home devices 101 and 102 are in communication connection with the ethernet device 201 respectively, the ethernet device 201 may be a gateway of the smart home devices 101 and 102, and the smart home devices 101 and 102 may communicate with the network device 300 of the external network through the ethernet device 201, and further communicate with the server 400 through the network device 300. For another example, the smart home devices 103 and 104 are respectively in communication connection with the ethernet device 202, the ethernet device 202 may be a gateway of the smart home devices 103 and 104, and the smart home devices 103 and 104 may communicate with the network device 300 of the external network through the ethernet device 202, so as to communicate with the server 400 through the network device 300.
Wherein, network device 300 for example can be forwarding devices such as router, switch, and the intelligent device in this application embodiment can be equipment such as light, floor heating, new trend system, door and window, lock, can also be environmental sensor etc. that is used for gathering environmental information. The ethernet device described above may also be replaced by other devices with similar functionality, such as smart panels, Wi-Fi devices, etc.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a smart home device binding method according to an embodiment of the present application. The individual steps of the method are explained in detail below.
Step S1, when the first device accesses the local area network, the first device broadcasts query information in the local area network, where the query information is used to query the management group information to which the second device in the local area network belongs.
The first device may be any device in the smart home system as long as the device can access the local area network, and may be, for example, ethernet devices 201 and 202 in fig. 1; also for example, the smart devices 101, 102, 103, 104 in fig. 1.
The Local Area Network may be a wired Local Area Network or a wireless Local Area Network, for example, a specific IP (Internet Protocol) Network segment, a VLAN (Virtual Local Area Network) Network segment, a VXLAN (Virtual eXtensible Local Area Network) Network segment, and the like, which are accessed by the first device, and this embodiment does not limit this. In implementation, when the first device is connected to a Wi-Fi (wireless network) or a network interface, it may be determined that the first device has accessed the network, so that query information may be sent in a broadcast manner, where the query information is sent to each device in a local area network to which the first device belongs. The device that receives the inquiry information is the second device in this embodiment. It will be appreciated that the second device may be an ethernet device or a smart device as described above.
The query information is used for querying management group information to which the receiving device belongs, the query information may be provided with a specific identifier, and when the receiving device receives the query information and recognizes the specific identifier, the receiving device may carry indication information indicating a management group to which the receiving device belongs in response information, and return the response information to the first device.
And step S2, the first device receives response information returned by the second device according to the inquiry information.
Step S3, the first device acquires the management group information to which the second device belongs according to the response information, uploads the management group information to which the second device belongs and the first device information to a server, and requests the server to bind and store the first device information and the management group information to which the second device belongs.
In this embodiment, the response information returned by the second device includes indication information indicating a management group to which the second device belongs, and the first device may recognize the indication information from the response information when receiving the response information, and acquire the management group information to which the second device belongs according to the indication information.
In an implementation process, after acquiring the management group information to which the second device belongs, the first device may send the first device information and the acquired management group information to the server 400, where the first device information refers to device information of the first device, and may be, for example, information such as a device name and a device identifier of the first device. When receiving the first device information and the management group information, the server 400 may establish a binding relationship between the first device information and the management group information, and store the binding relationship, where the binding relationship may be, for example, a data record including a binding identifier, the first device information, and the management group information to which the second device belongs.
In consideration of the fact that in practical application, devices belonging to the same local area network are usually located in the same environment, and a user usually has a requirement for performing linkage control on the devices in the same environment, therefore, through the process shown in fig. 2, a management group to which a second device in the local area network belongs is bound with a first device, which usually meets the requirement of the user, so that automatic binding of the first device and the management group can be quickly realized, further, a complex manual binding process is avoided, and the binding efficiency is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a method for binding smart home devices according to another embodiment of the present application. The individual steps involved in the method are described in detail below.
Step S210, when the first device accesses the local area network, sending a UDP (User Datagram Protocol) broadcast packet carrying a feature code in the local area network, and requesting, through the feature code, the second device in the local area network to return the belonging master management group information.
The feature code may be hardware identification information of the first device, or may be a self-defined identifier, and the feature code is used to indicate a type of management group information queried by the query information. In an implementation manner of this embodiment, if the query information carries the first feature code, it may be determined that the query information is used to query the information of the master management group to which the second device belongs.
Correspondingly, when the second device receives the inquiry information, the feature code can be extracted from the inquiry information, and the type of the feature code can be identified. If the second device recognizes that the feature code in the inquiry information is the first feature code, the second device may carry the information of the master management group to which the second device belongs in the response information and return the response information to the first device.
Step S220, the first device receives response information returned by the second device according to the inquiry information.
Step S230, the first device obtains, according to the response information, primary management group information to which the second device belongs, and requests, to the server, sub-management group information included in the primary management group information by using the primary management group information, and also prompts the sub-management group information included in the primary management group information, and uploads, according to a sub-management group to be added selected by a user, the sub-management group information to be added and the first device information to the server, and requests the server to bind and store the first device information and the sub-management group information to be added.
In this embodiment, the server 400 may store the sub-management group information included in each piece of the main management group information. When the query information is specifically used for querying the master management group information to which the second device belongs, the response information returned by the second device directly includes the master management group information to which the second device belongs. Then, the first device may extract the primary management group information from the received response information, and send an acquisition request carrying the primary management group information to the server 400, and the server 400 searches the sub-management group information included in the primary management group information according to the acquisition request, and sends the searched sub-management group information to the first device.
When the first device receives the sub-management group information sent by the server 400, in order to make the established binding relationship meet the user requirement, the first device may prompt the user, for example, may display each sub-management group information sent by the server 400 in a form of a list, so that the user selects a sub-management group to be added according to the prompt, and sends the sub-management group information to be added selected by the user and the first device information to the server 400. The server 400 receives the sub-management group information and the first device information sent by the first device, establishes a binding relationship between the sub-management group information and the first device information, and stores the binding relationship.
Optionally, in this embodiment, the primary management group information may be user primary account information, and the sub-management group information may be family information under the user primary account.
Through the flow shown in fig. 3, compared with a complex manual binding mode in the prior art, only one time of confirmation operation is needed, the binding flow is simplified, the binding of the first device and the management group can be quickly realized, and the binding efficiency is improved.
Alternatively, after the server 400 binds and stores the first device information with the sub-management group information selected by the user, the first device and the second device are bound to the same main management group. At this time, the control terminal logged in with the user main account may send a linkage control instruction for the main management group to the server 400, and then the server 400 may send the linkage control instruction to each device in the main management group, for example, the first device and the second device in this embodiment. The control terminal may be, for example, a terminal device installed with a client (e.g., an application) that can communicate with the server 400, and a user may log in account information at the client to further access the server 400.
In order to make the solution of the present embodiment more clearly understood by those skilled in the art, the following is further described with reference to specific examples. Referring to the scenario shown in fig. 1, the ethernet device 201 belongs to a network segment w10, the network segment w10 includes a subnet segment w11, the ethernet device 201 is a gateway of the network segment w11, and the smart devices 101 and 102 connected to the ethernet device 201 belong to a subnet segment w 11. The interaction process of binding the ethernet device 202 as the first device with the management group may specifically be as follows:
when the first ethernet device 202 accesses the network segment w10 as a first device, it generates a UDP broadcast packet m1 including the first feature code and transmits a UDP broadcast packet m 1.
Since the ethernet device 202 belongs to the segment w10, the UDP broadcast packet m1 will be transmitted to the ethernet device 201 in the segment w10, and the ethernet device 201 will forward the UDP broadcast packet m1 to the smart devices 101 and 102. In this case, the ethernet device 201 and the smart devices 101 and 102 all return corresponding response information as the second device, and the ethernet device 201 is taken as the second device for explanation.
Secondly, the ethernet device 201 receives the UDP broadcast packet m1, identifies the feature code in the UDP broadcast packet m1, and identifies that the feature code is the first feature code, then generates the response information r1, where the response information r1 includes the primary management group information data10 of the primary management group G10 bound to the ethernet device 201.
Third, the ethernet device 202 receives the response information r1, acquires the master management group information data10 from the response information r1, and sends an acquisition request including the master management group information data10 to the server 400.
Fourthly, the server 400 receives the acquisition request, extracts the main management group information data10 from the acquisition request, determines the main management group G10 indicated by the main management group information data10, searches the sub-management groups included in the main management group G10, such as G11 and G12, respectively acquires the sub-management group information data11 of the sub-management group G11 and the sub-management group information data12 of the sub-management group G12, and sends the sub-management group information data11 and the sub-management group information data12 to the ethernet device 202.
Fifthly, the ethernet device 202 receives the sub-management group information data11 and data12 and outputs prompt information to prompt the user to select a sub-management group to be joined from the sub-management groups G11 and G12, for example, when the user is detected to select the sub-management group G11, the sub-management group information data10 of the sub-management group G11 and the device information of the ethernet device 202 are transmitted to the server 400 together.
Sixth, the server 400 establishes a binding relationship between the sub-management group information data10 and the device information of the ethernet device 202 and stores it. As such, ethernet devices 201 and 202 are bound to the same master management group G10.
Seventh, the control terminal registered with the user main account sends a linkage control command t1 to the main management group G10.
Eighth, the server 400 receives the coordinated control command t1 and forwards the coordinated control command t1 to each device (including the ethernet devices 201 and 202) in the master management group G10.
It is understood that, for the response information returned by the smart home devices 101 and 102, the ethernet device 202 may perform processing according to steps three to six, respectively. And will not be described in detail herein.
Optionally, in another implementation manner of this embodiment, if the query information sent by the first device carries the second feature code, it may be determined that the query information is used to query sub-management group information under a main management group to which the second device belongs. Correspondingly, when the second device receives the query information, the feature code can be extracted from the query information, and the type of the feature code is identified to be the second feature code, so that the sub-management group information to which the device belongs can be carried in the response information and returned to the first device.
In the above case, referring to fig. 4, after executing step S220, the first device may perform processing by:
step S330, the first device acquires the sub-management group information to which the second device belongs according to the response information, prompts the sub-management group information to which the second device belongs, uploads the sub-management group information to which the second device belongs and the first device information to the server according to a confirmation join instruction input by a user, and requests the server to bind and store the first device information and the sub-management group information to which the second device belongs.
In this embodiment, when the query information is specifically used to query the sub-management group information under the master management group to which the second device belongs, the response information returned by the second device directly includes the sub-management group information to which the second device belongs. Then, the first device may extract the sub-management group information directly from the received reply information.
Further, in order to make the binding relationship established subsequently meet the requirements of the user, after extracting the sub-management group information from the response information, prompt information may be output to prompt the user to confirm whether to join the sub-management group indicated by the sub-management group information. If the user inputs a confirmation join instruction, the sub-management group information and the device information of the first device may be transmitted to the server 400 together. The server 400 may establish a binding relationship between the received sub-administrative group information and the device information of the first device, and store the established binding relationship.
An example is given below in conjunction with the scenario shown in fig. 1, and the flow shown in fig. 4 will be described in detail. After the ethernet device 202 accesses the lan, it is configured as a gateway for segment w12, in which case if the smart device 103 accesses segment w10 as the first device, the interaction can proceed as follows.
When the first intelligent device 103 accesses the network segment w12 as a first device, a UDP broadcast packet m2 including the feature code of the intelligent device 103 is generated, and the UDP broadcast packet m2 is transmitted over the network segment w 10.
In this example, the feature code of the smart device 103 may be the second feature code.
The UDP broadcast packet m2 will be sent to each device in the segment w10 except the smart device 103. First, the ethernet device 202 receives the UDP broadcast packet m2 and forwards the UDP broadcast packet m2 to the ethernet device 201, and the ethernet device 201 forwards the UDP broadcast packet m2 to the smart home devices 101 and 102. Wherein, each device that receives the UDP broadcast packet m2 may return the corresponding reply information as the second device. The following description will be made by taking the smart home device 101 as the second device as an example.
Secondly, the smart device 101 receives the UDP broadcast packet m2, recognizes that the feature code of the UDP broadcast packet m2 is the second feature code, acquires the sub-management group information of the sub-management group to which the smart device 101 binds, for example, the sub-management group information data12 of the sub-management group G12 under the master management group G10, generates the response information r2 including the sub-management group information data12, and sends the response information r2 to the smart device 103.
Thirdly, the smart device 103 receives the response information r2, extracts the sub-management group information data12 from the response information r2, outputs prompt information for prompting the user to confirm whether to add the sub-management group G1, detects a confirmation addition command input by the user, and transmits the sub-management group information data12 and the device information of the smart device 103 to the server 400.
Fourthly, the server 400 receives the sub-management group information data12 and the device information of the smart device 103, establishes a binding relationship between the two and stores the binding relationship. As such, smart devices 103 and 101 are bound to the same sub-management group G12.
Fifth, the control terminal logging in the main account of the user sends a linkage control command t2 for the sub-management group G12 to the server 400.
Sixthly, the server 400 receives the linkage control command t2, and sends the linkage control command t2 to each device (including the intelligent devices 103 and 101) in the sub management group G12, so as to realize linkage control of each device.
It can be understood that, in this embodiment, after the first device is bound to a certain management group, the first device may serve as a second device to provide information of the management group bound to the second device for a device newly accessing the local area network. The device binding method provided by this embodiment may further include the following steps:
the first equipment receives third inquiry information broadcasted by third equipment when accessing the local area network, wherein the third inquiry information comprises a feature code; identifying a feature code in the third inquiry information, and if the feature code is a first feature code, carrying the main management group information bound by the first device in response information and returning the response information to the third device; and if the feature code is the second feature code, carrying the sub-management group information bound by the first equipment in response information and returning the response information to the third equipment.
An example is given below with reference to the scenario shown in fig. 1, and the smart home devices 103 are taken as first devices, and the smart home devices 104 are taken as third devices, which further explains the above flow. After the smart device 103 is bound with the sub-management group G12, if the smart device 104 accesses the network segment w10 as a third device, the smart device 103 may provide the management group information to which the smart device 104 belongs, and in detail, an interaction process between the smart device 103 and the smart device 104 may be as follows:
when the first intelligent device 104 accesses the network segment w10, the first intelligent device generates a UDP broadcast packet m3 including the feature code, and transmits the UDP broadcast packet m3 in the network segment w 10. The feature code included in the UDP broadcast packet m3 is, for example, the second feature code.
Secondly, the intelligent device 103 receives the UDP broadcast packet m3, recognizes that the feature code in the UDP broadcast packet m3 is the second feature code, obtains the sub-management group information data12 of the sub-management group G12 bound by the intelligent device 103, generates response information r4 including the sub-management group information data12, and returns the response information to the intelligent device 104.
Thirdly, the smart device 104 receives the response information r4, extracts the sub-management group information data12 therefrom, and outputs prompt information for prompting the user to confirm whether to join the sub-management group G12 indicated by the sub-management group information data12, and if a confirmation join instruction input by the user is detected, sends the sub-management group information G12 and the device information of the smart device 104 to the server 400.
Fourthly, the server 400 receives the sub-management group information G12 and the device information of the smart device 104, establishes a binding relationship between the two and stores the binding relationship.
Fifthly, the user can send a linkage control command t3 to the server 400 through the control terminal logged in with the user main account, wherein the linkage control command t3 is a command for the sub management group G12.
Sixth, the server 400 forwards the linkage control command t3 to the individual devices in the sub-administrative group G12, such as the smart devices 101, 103, 104.
By the device binding method provided by the embodiment, the device and the management group can be quickly bound, complex manual binding operation of a user is avoided, binding efficiency is improved, and user experience is improved.
Referring to fig. 5, fig. 5 is a block diagram of an electronic device 500 according to an embodiment of the present disclosure, where the electronic device may be any device capable of connecting to a local area network, for example, the electronic device may be an ethernet device or an intelligent home device in fig. 1. The electronic device 500 in the present application may include one or more of the following components: memory 510, processor 520, and one or more applications, wherein the one or more applications may be stored in the memory 510 and configured to be executed by the one or more processors 520, the one or more programs configured to perform a method as described in the aforementioned method embodiments.
Processor 520 may include one or more processing cores. The processor 520, using various interfaces and connections throughout the electronic device 500, performs various functions and processes data for the electronic device 500 by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 510, and invoking data stored in the memory 510. Alternatively, the processor 720 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 720 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 520, but may be implemented by a communication chip.
The Memory 510 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 510 may be used to store instructions, programs, code sets, or instruction sets. The memory 510 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created during use by the electronic device 800 (e.g., phone books, audio-visual data, chat log data), and so forth.
Referring to fig. 6, a block diagram of a smart home device binding apparatus 600 according to an embodiment of the present application is shown. Functionally divided, the apparatus 600 may comprise: a first query module 610, a receiving module 620 and a binding module 630.
The query module 610 is configured to broadcast query information in a local area network when a first device accesses the local area network, where the query information is used to query management group information to which a second device in the local area network belongs.
Alternatively, the query module 610 may broadcast query information in the local area network by: when the first device accesses a local area network, sending a UDP broadcast packet carrying a feature code in the local area network, and requesting the second device to return the main management group information or the sub-management group information through the feature code.
The local area network may be a wired local area network or a wireless local area network.
The receiving module 620 is configured to receive response information returned by the second device according to the query information.
The binding module 630 is configured to obtain management group information to which the second device belongs according to the response information, upload the management group information to which the second device belongs and the first device information to a server, and request the server to bind and store the first device information and the management group information of the second device.
It can be understood that the smart home device binding apparatus 600 in this embodiment may operate in the first device.
Optionally, in this embodiment, the query information is further used to query information of a main management group to which the second device belongs or information of a sub management group located under the main management group.
When the query information is further used to query the information of the master management group to which the second device belongs, the binding module 630 may be specifically configured to: and controlling the first device to acquire main management group information to which the second device belongs according to the response information, requesting sub-management group information contained in the main management group information from the server by using the main management group information, prompting the sub-management group information contained in the main management group information, uploading the sub-management group information required to be added and the first device information to the server according to the sub-management group required to be added selected by the user, and requesting the server to bind and store the first device information and the sub-management group information required to be added.
When the query information is further used to query the sub-management group information to which the second device belongs, the binding module 630 may be specifically configured to: and controlling the first equipment to acquire the sub-management group information to which the second equipment belongs according to the response information, prompting the sub-management group information to which the second equipment belongs, uploading the sub-management group information to which the second equipment belongs and the first equipment information to the server according to a confirmation adding instruction input by a user, and requesting the server to bind and store the first equipment information and the sub-management group information to which the second equipment belongs.
Optionally, in this embodiment, the main management group information may be user main account information, and the sub management group information may be family information under the user main account, which is not limited in this embodiment.
In this embodiment, after the server 400 binds and stores the first device and the management group information, the server may receive the linkage control instruction sent by the control terminal, and forward the linkage control instruction to the first device and the second device in the same management group, so as to perform linkage control on the first device and the second device.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 7, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 700 has stored therein program code that can be called by a processor to perform the methods described in the above-described method embodiments.
The computer-readable storage medium 700 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer-readable storage medium 700 includes a non-transitory computer-readable storage medium. The computer readable storage medium 900 has storage space for program code 710 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 710 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. The intelligent household equipment binding method is characterized by comprising the following steps:
s1, when a first device accesses a local area network, the first device broadcasts inquiry information in the local area network, wherein the inquiry information is used for inquiring management group information to which a second device in the local area network belongs according to a feature code in a UDP broadcast packet, and the management group information comprises main management group information and sub management group information;
s2, the first equipment receives response information returned by the second equipment according to the inquiry information;
and S3, the first device acquires the management group information to which the second device belongs according to the response information, requests the sub-management group information contained in the main management group information from the server by using the main management group information, prompts the sub-management group information contained in the main management group information, uploads the sub-management group information required to be added and the first device information to the server according to the sub-management group required to be added selected by the user, and requests the server to bind and store the first device information and the sub-management group information required to be added.
2. The method according to claim 1, wherein when the query information is further used for querying sub management group information to which the second device belongs, step S3 includes:
and the first equipment acquires the sub-management group information to which the second equipment belongs according to the response information, prompts the sub-management group information to which the second equipment belongs, uploads the sub-management group information to which the second equipment belongs and the first equipment information to the server according to a confirmation adding instruction input by a user, and requests the server to bind and store the first equipment information and the sub-management group information to which the second equipment belongs.
3. The method according to claim 1 or 2, wherein the main management group information is user main account information, and the sub management group information is family information under the user main account.
4. The method of claim 1, wherein the first device broadcasts query information in a local area network when accessing the local area network, and wherein the query information comprises:
when the first device accesses a local area network, sending a UDP broadcast packet carrying a feature code in the local area network, including: and requesting the second equipment to return the main management group information through a first feature code or requesting the second equipment to return the sub-management group information through a second feature code.
5. The method according to claim 1, further comprising, after step S3:
the control terminal receives a linkage control instruction input by a user, sends the linkage control instruction to the server, forwards the linkage control instruction to the first equipment and the second equipment under the same management group through the server, and carries out linkage control on the first equipment and the second equipment.
6. The method of claim 1, wherein the local area network is a wired local area network or a wireless local area network.
7. The utility model provides a device is bound to intelligent house equipment which characterized in that includes:
the first inquiry module is used for broadcasting inquiry information in a local area network when a first device is accessed to the local area network, wherein the inquiry information is used for inquiring management group information to which a second device in the local area network belongs according to a feature code in a UDP broadcast packet, and the management group information comprises main management group information and sub management group information;
the receiving module is used for receiving response information returned by the second equipment according to the inquiry information;
and the binding module is used for acquiring the management group information to which the second equipment belongs according to the response information, requesting the sub-management group information contained in the main management group information from the server by using the main management group information, prompting the sub-management group information contained in the main management group information, uploading the sub-management group information and the first equipment information which need to be added to the server according to the sub-management group which needs to be added and is selected by a user, and requesting the server to bind and store the first equipment information and the sub-management group information which needs to be added.
8. An electronic device, comprising:
one or more processors;
a memory;
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform the method of any of claims 1-6.
9. A computer-readable storage medium, characterized in that a program code is stored in the computer-readable storage medium, which program code can be called by a processor to perform the method according to any of claims 1-6.
CN201911082832.1A 2019-11-07 2019-11-07 Smart home equipment binding method and device, electronic equipment and storage medium Active CN110838959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911082832.1A CN110838959B (en) 2019-11-07 2019-11-07 Smart home equipment binding method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911082832.1A CN110838959B (en) 2019-11-07 2019-11-07 Smart home equipment binding method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110838959A CN110838959A (en) 2020-02-25
CN110838959B true CN110838959B (en) 2021-12-21

Family

ID=69576389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911082832.1A Active CN110838959B (en) 2019-11-07 2019-11-07 Smart home equipment binding method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110838959B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653608B (en) * 2020-12-14 2023-01-20 聚好看科技股份有限公司 Display device, mobile terminal and cross-network data transmission method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580265A (en) * 2015-02-13 2015-04-29 小米科技有限责任公司 Equipment binding method and equipment binding device
CN104639549A (en) * 2015-02-05 2015-05-20 小米科技有限责任公司 Equipment binding method and equipment binding device
CN104954399A (en) * 2014-03-27 2015-09-30 正文科技股份有限公司 Method for binding mobile carrier and intelligent device, and bound system thereof
CN105372998A (en) * 2015-09-29 2016-03-02 小米科技有限责任公司 A method and a device for binding of intelligent apparatuses
CN105487390A (en) * 2015-11-20 2016-04-13 青岛海信移动通信技术股份有限公司 Intelligent device, registration management method thereof and cloud server
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN109510796A (en) * 2017-09-14 2019-03-22 杭州萤石网络有限公司 A kind of apparatus bound method and system
CN109600252A (en) * 2018-11-21 2019-04-09 广东美的制冷设备有限公司 Equipment distribution method, apparatus and household appliance
CN110046876A (en) * 2018-10-29 2019-07-23 阿里巴巴集团控股有限公司 Data transmission method, calculates equipment and storage medium at device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399530B (en) * 2013-07-01 2017-03-15 惠州Tcl家电集团有限公司 Method, system and control platform and control terminal that intelligent appliance is uniformly controlled
US9459604B2 (en) * 2013-08-19 2016-10-04 Digi International Inc. Methods and system for joining a smart energy device to a zigbee network
CN105607499B (en) * 2016-01-05 2018-10-12 北京小米移动软件有限公司 Device packets method and device
CN107529169B (en) * 2017-08-21 2019-10-08 深圳市欧瑞博电子有限公司 Apparatus control method and device
CN108551413B (en) * 2018-03-27 2020-11-03 青岛海信智慧家居系统股份有限公司 Intelligent household equipment binding method and device, gateway equipment and storage medium
CN110392349A (en) * 2018-04-23 2019-10-29 九阳股份有限公司 A kind of smart machine group technology and mobile terminal
CN109445300B (en) * 2018-12-28 2022-01-04 江苏惠通集团有限责任公司 Intelligent home control method and intelligent home system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954399A (en) * 2014-03-27 2015-09-30 正文科技股份有限公司 Method for binding mobile carrier and intelligent device, and bound system thereof
CN104639549A (en) * 2015-02-05 2015-05-20 小米科技有限责任公司 Equipment binding method and equipment binding device
CN104580265A (en) * 2015-02-13 2015-04-29 小米科技有限责任公司 Equipment binding method and equipment binding device
CN105372998A (en) * 2015-09-29 2016-03-02 小米科技有限责任公司 A method and a device for binding of intelligent apparatuses
CN105487390A (en) * 2015-11-20 2016-04-13 青岛海信移动通信技术股份有限公司 Intelligent device, registration management method thereof and cloud server
CN107181651A (en) * 2017-06-23 2017-09-19 海信集团有限公司 Intelligent home device collocation method and device
CN109510796A (en) * 2017-09-14 2019-03-22 杭州萤石网络有限公司 A kind of apparatus bound method and system
CN110046876A (en) * 2018-10-29 2019-07-23 阿里巴巴集团控股有限公司 Data transmission method, calculates equipment and storage medium at device
CN109600252A (en) * 2018-11-21 2019-04-09 广东美的制冷设备有限公司 Equipment distribution method, apparatus and household appliance

Also Published As

Publication number Publication date
CN110838959A (en) 2020-02-25

Similar Documents

Publication Publication Date Title
US20200257495A1 (en) Device Control Apparatus, Method, and Device Comprising the Apparatus
US10116489B2 (en) Apparatus and method for managing network access device
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
JP2017506772A (en) Intelligent device scene mode customization method and apparatus
WO2020223854A1 (en) Device network configuration method and apparatus, electronic device and storage medium
CN110830575A (en) Data transmission method and control system of intelligent household equipment and intelligent gateway equipment
CN104980514A (en) Remote play control method and apparatus of wireless sound box
CN110932953A (en) Intelligent household control method and device, computer equipment and storage medium
US20030126239A1 (en) Mobile communication terminal, network access system and method thereof using the same
CN104244054A (en) Remote control method for multiple terminal devices, related devices and system
CN109617963B (en) Equipment control method and device and Internet of things system
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
CN103856374A (en) Data transmission method, terminal and home interconnected system
CN110690996A (en) Configuration method, system and device of intelligent household terminal equipment and terminal equipment
CN112532711A (en) Edge computing application deployment method, terminal, edge computing node and storage medium
CN115486038B (en) Internet of things configuration method, internet of things configuration device, computer equipment and storage medium
CN114244644A (en) Smart home control method and device, storage medium and electronic device
CN105791454A (en) Binding method and apparatus for intelligent terminal
CN107124337A (en) A kind of equipment configuration method, device, system and collection control terminal
CN110838959B (en) Smart home equipment binding method and device, electronic equipment and storage medium
CN115175152A (en) Intelligent device binding method and device, storage medium and electronic device
CN105007173A (en) Method and apparatus for managing home appliances on the condition of multiple gateways
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
CN104954449A (en) IoT (internet of things) control method and apparatus
CN110149679A (en) Method for discovering equipment, device 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518055 No. 1001 Nanshan Chi Park A7 building 7 floor

Applicant after: Shenzhen euribo Technology Co., Ltd

Address before: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518055 No. 1001 Nanshan Chi Park A7 building 7 floor

Applicant before: SHENZHEN ORVIBO TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant