CN110262367B - Intelligent household equipment control method and device - Google Patents

Intelligent household equipment control method and device Download PDF

Info

Publication number
CN110262367B
CN110262367B CN201910719466.XA CN201910719466A CN110262367B CN 110262367 B CN110262367 B CN 110262367B CN 201910719466 A CN201910719466 A CN 201910719466A CN 110262367 B CN110262367 B CN 110262367B
Authority
CN
China
Prior art keywords
control terminal
nearest
signal value
intelligent household
household 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
CN201910719466.XA
Other languages
Chinese (zh)
Other versions
CN110262367A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201910719466.XA priority Critical patent/CN110262367B/en
Publication of CN110262367A publication Critical patent/CN110262367A/en
Application granted granted Critical
Publication of CN110262367B publication Critical patent/CN110262367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0428Safety, monitoring
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Selective Calling Equipment (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for controlling intelligent home equipment, which relate to the technical field of intelligent home control, and can extract a signal value in each broadcast data packet when the broadcast data packets sent by a plurality of control terminals at regular intervals are obtained, screen out the control terminal closest to the intelligent home equipment through the signal value, judge whether the closest control terminal is in a locking state, and control the intelligent home equipment according to the broadcast data packet sent by the closest control terminal if the closest control terminal is not in the locking state; the problem of control interference of multiple intelligent terminals to multiple control devices and the problem of complex operation process caused by manual connection pairing of the control devices are effectively solved.

Description

Intelligent household equipment control method and device
Technical Field
The invention relates to the technical field of intelligent home control, in particular to an intelligent home equipment control method and device.
Background
With the development of science and technology and the improvement of the living standard of people, household appliances are not limited to traditional televisions, washing machines and refrigerators, various intelligent electronic devices are available, such as microwave ovens, electric ovens, dish washers, intelligent electric cookers and the like in kitchens, indoor air purifiers, humidifiers, various intelligent control lamps, floor sweepers, intelligent locks, intelligent sounds, intelligent curtains and the like.
With The development of Wireless Communication Technology, there are various Wireless Communication modes for users to select, such as bluetooth, wifi (Wireless-broadband), zigbee (zigbee protocol), 4G (The 4Generation Mobile Communication Technology, fourth Generation Communication Technology), and The like, but no matter which Wireless mode is used, when interacting with a control device, The user still needs to manually perform control connection, so that The operation flow is cumbersome, resulting in poor user experience, and when there are more control devices or users are more, it is difficult to distinguish The corresponding relationship between The intelligent terminal and The control device, interference is easily generated, and user experience is reduced.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for controlling smart home devices to alleviate the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for controlling an intelligent home device, where the method is applied to a controller of the intelligent home device, and the method includes: acquiring broadcast data packets periodically transmitted by a plurality of control terminals; extracting a signal value in each broadcast data packet; screening out a control terminal closest to the intelligent household equipment according to the signal value; judging whether the nearest control terminal is in a locking state; and if not, controlling the intelligent household equipment according to the broadcast data packet sent by the nearest control terminal.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the step of screening out a control terminal closest to the smart home device according to the signal value includes: calculating a distance value between each control terminal and the intelligent household equipment according to the signal value; and screening out the minimum distance value from the plurality of distance values, and determining the control terminal corresponding to the minimum distance value as the nearest control terminal.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where an expression of the distance value is:
Figure BDA0002155453740000021
wherein rssi represents a signal value, n represents an environment attenuation factor, and a represents a signal value when the control terminal is one meter away from the intelligent household equipment.
With reference to the first possible implementation manner of the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of determining whether a nearest control terminal is in a locked state includes: receiving synchronous data packets sent by other controllers; extracting identification information of the locked control terminal carried in the synchronous data packet; judging whether the identification information is consistent with the identity carried in the broadcast data packet sent by the nearest control terminal; and if not, determining that the nearest control terminal is in a non-locking state.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the step of controlling the smart home devices according to the broadcast data packet sent by the nearest control terminal includes: establishing a locking relation with the nearest control terminal; extracting a control code in a broadcast data packet sent by a nearest control terminal; and controlling the intelligent household equipment by using the control code.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where after establishing a locking relationship with a nearest control terminal, the method further includes: and sending the synchronous data packet to other controllers.
With reference to the fourth possible implementation manner of the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where after establishing a locking relationship with a nearest control terminal, the method further includes: acquiring broadcast data packets periodically transmitted by a plurality of control terminals; extracting a signal value in each broadcast data packet; judging whether the signal intensity corresponding to the signal value of the nearest control terminal is higher than the signal intensities corresponding to the signal values of other control terminals or not according to the signal values; and if not, releasing the locking relation established with the nearest control terminal.
In a second aspect, an embodiment of the present invention further provides an apparatus for controlling smart home devices, where the apparatus is applied to a controller of a smart home device, and the apparatus includes: the acquisition module is used for acquiring broadcast data packets periodically sent by a plurality of control terminals; the extraction module is used for extracting the signal value in each broadcast data packet; the screening module is used for screening out the control terminal closest to the intelligent household equipment according to the signal value; the judging module is used for judging whether the nearest control terminal is in a locking state; and the control module is used for controlling the intelligent household equipment according to the broadcast data packet sent by the nearest control terminal if the judgment module judges that the intelligent household equipment is not the intelligent household equipment.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the screening module is further configured to: calculating a distance value between each control terminal and the intelligent household equipment according to the signal value; and screening out the minimum distance value from the plurality of distance values, and determining the control terminal corresponding to the minimum distance value as the nearest control terminal.
With reference to the first possible implementation manner of the second aspect, the embodiment of the present invention provides a second possible implementation manner of the second aspect, where the expression of the distance value is:
Figure BDA0002155453740000031
wherein rssi represents a signal value, n represents an environment attenuation factor, and a represents a signal value when the control terminal is one meter away from the intelligent household equipment.
The embodiment of the invention has the following beneficial effects:
according to the method and the device for controlling the intelligent home equipment, provided by the embodiment of the invention, when the broadcast data packets sent by a plurality of control terminals at regular intervals are obtained, the signal value in each broadcast data packet is extracted, the control terminal closest to the intelligent home equipment is screened out through the signal value, whether the closest control terminal is in a locking state or not is judged, and if not, the intelligent home equipment is controlled according to the broadcast data packet sent by the closest control terminal; the problem of interference of multiple intelligent terminals to multiple control devices is effectively solved, and the problem of complex operation process caused by manual connection pairing of the control devices is solved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for controlling smart home devices according to an embodiment of the present invention;
fig. 2 is a preemption flow chart provided by an embodiment of the present invention;
FIG. 3 is a diagram illustrating a state transition of a controller according to an embodiment of the present invention;
fig. 4 is a schematic circuit diagram according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent home device control apparatus according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. 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.
The current house industry intellectuality becomes a trend, and various electronic sofas, the intelligent control of electronic deck chair product gradually become people's rigidity demand in daily, by the house equipment with bluetooth communication control widely used.
At present, the intelligent control based on bluetooth communication still needs the manual connection of user to pair controlgear for operation flow is loaded down with trivial details, leads to user experience poor, and, when the sofa is more, perhaps when personnel are more the user hardly distinguishes the sofa that every bluetooth corresponds control specifically be which interference problem. Based on this, the method and the device for controlling the smart home device provided by the embodiment of the invention can alleviate the technical problem.
In order to facilitate understanding of the embodiment, a detailed description is first given to a method for controlling smart home devices disclosed in the embodiment of the present invention.
The first embodiment is as follows:
an embodiment of the present invention provides a method for controlling an intelligent home device, where the method is applied to a controller of an intelligent home device, and as shown in fig. 1, the method includes the following steps:
step S102, acquiring broadcast data packets periodically transmitted by a plurality of control terminals;
step S104, extracting a signal value in each broadcast data packet;
during specific implementation, in order to realize the communication connection between the controller of the smart home device and the control terminal, in this embodiment, bluetooth connectionless broadcast communication is adopted as a basic communication link, where the control terminal may be an intelligent terminal such as a smart phone or a tablet computer that can be networked.
Specifically, the control terminal can periodically send a broadcast data packet to a controller of the smart home device within a set range according to a preset sending period, where the broadcast data packet is a communication data packet specified in a bluetooth low energy protocol, the controller can extract a signal value in each received broadcast data packet, and meanwhile, the controller can also extract a bluetooth identification address in each broadcast data packet, and the bluetooth identification address is used as a basis for identifying the identity of the control terminal, so that the controller can clearly know which control terminals send the specifically received broadcast data packets.
S106, screening out a control terminal closest to the intelligent household equipment according to the signal value;
step S108, judging whether the nearest control terminal is in a locking state;
and step S110, if not, controlling the intelligent household equipment according to the broadcast data packet sent by the nearest control terminal.
When the intelligent home equipment is actually used, the controller determines which control terminal is closest to the controller according to the signal value in the broadcast data packet sent by each control terminal, and when the controller judges that the control terminal closest to the controller currently does not control other intelligent home equipment, namely the closest control terminal is in a non-locking state, the intelligent home equipment is controlled according to the broadcast data packet sent by the closest control terminal.
According to the intelligent home equipment control method provided by the embodiment of the invention, when the broadcast data packets sent by a plurality of control terminals regularly are obtained, the signal value in each broadcast data packet is extracted, the control terminal closest to the intelligent home equipment is screened out through the signal value, whether the closest control terminal is in a locking state or not is judged, and if not, the intelligent home equipment is controlled according to the broadcast data packet sent by the closest control terminal; the problem of control interference of multiple intelligent terminals to multiple control devices and the problem of complex operation process caused by manual connection pairing of the control devices are effectively solved.
Specifically, in order to clarify how the controller selects the control terminal closest to the smart home device according to the signal value in the plurality of control terminals, step S106 may be implemented by step 11 and step 12 based on this:
step 11, calculating a distance value between each control terminal and the intelligent household equipment according to the signal value;
and step 12, screening out the minimum distance value from the plurality of distance values, and determining the control terminal corresponding to the minimum distance value as the nearest control terminal.
In practical applications, the signal value is usually referred to as a signal strength value, i.e., a distance value can be calculated from the signal strength value. Specifically, the distance value between each control terminal and the smart home device is calculated according to the signal value and the expression of the distance value, then the minimum distance value is screened out from the calculated distance values, and the control terminal corresponding to the minimum distance value is determined as the nearest control terminal. Wherein the expression of the distance value is:
Figure BDA0002155453740000071
in the distance value expression, rssi represents a signal value, n represents an environment attenuation factor, and a represents a signal value when the control terminal is one meter away from the intelligent household equipment;
During specific use, after the controller determines the nearest control terminal, in order to avoid that multiple controllers repeatedly lock the same control terminal, it is further necessary to further determine whether the control terminal closest to the controller is in a locked state, and based on this, step S108 may be implemented by step 21, step 22, step 23, and step 24:
step 21, receiving synchronous data packets sent by other controllers;
step 22, extracting the identification information of the locked control terminal carried in the synchronous data packet;
step 23, judging whether the identification information is consistent with the identity carried in the broadcast data packet sent by the nearest control terminal;
and 24, if not, determining that the nearest control terminal is in a non-locking state.
Generally, the current controller receives and extracts a synchronization data packet which is sent by another controller and carries identification information of a locked control terminal, if the identification information is an identity of the control terminal, the current controller judges whether the identification information is consistent with an identity carried in a broadcast data packet sent by a determined nearest control terminal, if not, the current controller indicates that the nearest control terminal determined by the current controller is not locked by another controller, the nearest control terminal is in a non-locked state, and if so, the current controller indicates that the nearest control terminal determined by the current controller is locked by another controller, that is, the nearest control terminal is in a locked state.
Further, when the controller determines that the nearest control terminal is in a non-locked state, the control terminal can control the smart home device, and specifically, the step of controlling the smart home device according to the broadcast data packet sent by the nearest control terminal includes: establishing a locking relation with the nearest control terminal; extracting a control code in a broadcast data packet sent by a nearest control terminal; and controlling the intelligent household equipment by using the control code.
In actual use, only when the current controller determines that the nearest control terminal is in a non-locking state, the control terminal can establish a locking relation with the current controller, the current controller extracts a control code in a broadcast data packet sent by the nearest control terminal, and the intelligent home equipment is controlled by using the control code.
Specifically, if the current controller determines that the nearest control terminal is in the locked state, the current controller enters a preemption flow, that is, the current controller and the controller locking the control terminal preempt the control terminal according to a signal value in a broadcast data packet sent by the control terminal, wherein the current controller is in a preemption state, and the controller locking the control terminal is in a locked state. Fig. 2 shows a preemption flow chart, as shown in fig. 2, comprising the steps of:
step 202, the current controller extracts the signal value in the broadcast data packet sent by the control terminal to be locked;
step 204, the current controller receives and extracts the signal value in the synchronous data packet sent by the controller locking the control terminal;
step 206, judging whether the signal value in the extracted broadcast data packet is greater than the signal value in the extracted synchronous data packet; if yes, go to step S208; if not, executing step S210;
step 208, the current controller successfully locks the control terminal;
in step 210, the control terminal fails to control locking of the control terminal.
Further, after establishing a locking relationship with the nearest control terminal, the method further comprises: and sending the synchronous data packet to other controllers.
In practical application, after the controller and the control terminal establish a locking relationship, a synchronous data packet is sent to other controllers, and the synchronous data packet is mainly used for informing other controllers in a Bluetooth signal range of the control terminal currently locked by the other controllers and preventing the other controllers from repeatedly locking the control terminal.
Specifically, the controller in the locked state continuously receives broadcast data packets sent by other control terminals, and the controller in the locked state determines whether there is another control terminal closer to itself according to a signal value in the broadcast data packet, and usually determines whether to release a current locking relationship with the locked control terminal through the following processes (1) to (4), where the specific processes are as follows:
(1) acquiring broadcast data packets periodically transmitted by a plurality of control terminals;
(2) extracting a signal value in each of the broadcast packets;
(3) judging whether the signal intensity corresponding to the signal value of the nearest control terminal is higher than the signal intensities corresponding to the signal values of other control terminals or not according to the signal values;
(4) and if not, releasing the locking relation established with the nearest control terminal.
In specific implementation, when a plurality of control terminals are provided, the controller in the locked state needs to judge whether the locked relation is released with the locked control terminal according to the signal strength corresponding to the signal value in the broadcast data packet sent by the plurality of control terminals in real time, so as to ensure that the control terminal closest to the controller can control the smart home device.
Further, when there are multiple controllers, the controller in the locked state may also continuously receive the synchronization packets sent by other controllers, and when it is found that there are other controllers in the synchronization packets trying to lock the controller that has been locked by itself, the current controller enters a preempted flow, where a specific preempted process is as follows: the current controller can extract the signal value of the synchronous data packet and judge whether the signal value of the synchronous data packet is larger than the signal value of the broadcast data packet which is extracted by the current controller and sent by the locking control terminal, if so, the current controller and the locking control terminal are unlocked; if not, the current controller and the locked control terminal are unlocked.
According to the above embodiment, the states of the controller in the control process of the smart home device may be divided into an idle state, a preemption state, and a locking state, fig. 3 shows a state transition diagram of the controller, and as shown in fig. 3, when the controller is in the idle state 300, the synchronous data packet is not sent, and only the synchronous data packet is received. And continuously receiving the broadcast data packet sent by the control terminal, selecting the control terminal closest to the signal value according to the signal value, and starting to try to connect, thereby entering a preemption state.
When the controller is in the preemption state 301, the control terminal closest to the controller enters the locked state if it is not locked by other controllers. And if the control terminal closest to the controller is locked by other controllers, starting to preempt the flow, if the preemption is successful, entering a locking state, and if the preemption is unsuccessful, entering an idle state.
When the controller is in the locked state 302, a synchronization packet is sent while a synchronization packet is received. And starting to receive the control code sent by the locked control terminal, controlling the intelligent household equipment to move according to the control code, and entering an idle state if the locked control terminal is locked by other controllers and preempted.
In a specific implementation, the controller is usually a Central Processing Unit (CPU) of the entire smart home device, and may be configured with a corresponding operating system and a control interface, and may be a Digital logic controller that can be used for automatic control, such as a single chip, a DSP (Digital Signal Processing), an ARM (Advanced RISC machine, ARM processor), and the like, and may load a control instruction into a memory at any time for storage and execution, and meanwhile, units such as a CPU instruction and a data memory, an input/output Unit, a power module, and a Digital analog Unit may be built in, and may be specifically set according to an actual use situation.
In order to implement the above-mentioned smart home device control method, fig. 4 shows a schematic circuit structure, as shown in fig. 4, a controller 400 of each smart home includes a single chip 401, and a bluetooth module 402 and a synchronization module 403 connected to the single chip, and for convenience of description, only two control terminals 404 are shown in fig. 4. When in specific use, the Bluetooth module of the current controller can receive the broadcast data packets sent by the two control terminals, the Bluetooth module sends the two broadcast data packets to the single chip microcomputer, the single chip microcomputer screens out the control terminal closest to the current controller according to the signal value extracted from each broadcast data packet, and judges whether the nearest control terminal establishes a locking relationship with other controllers according to the synchronous data packet received by the synchronous module and sent by the other controllers through the synchronous module, if the nearest control terminal does not establish a locking relationship with other controllers, the current controller singlechip controls a driving circuit 405 of the smart home connected with the singlechip by a control code extracted from a broadcast data packet sent by the nearest control terminal, therefore, automatic control over the smart home is achieved, and the current controller can send information of the control terminal locked by the current controller to other controllers through the synchronization module.
Example two:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides an intelligent home device control apparatus, which is applied to a controller of an intelligent home device, and as shown in fig. 5, the apparatus includes:
an obtaining module 502, configured to obtain broadcast data packets periodically sent by multiple control terminals;
an extraction module 504, configured to extract a signal value in each broadcast packet;
the screening module 506 is used for screening out the control terminal closest to the intelligent household equipment according to the signal value;
a judging module 508, configured to judge whether the latest control terminal is in a locked state;
and the control module 510 is configured to control the smart home device according to the broadcast data packet sent by the nearest control terminal if the determination module determines that the smart home device is not the smart home device.
Specifically, the screening module is further configured to: calculating a distance value between each control terminal and the intelligent household equipment according to the signal value; and screening out the minimum distance value from the plurality of distance values, and determining the control terminal corresponding to the minimum distance value as the nearest control terminal.
In particular use, the expression for the distance value is:
Figure BDA0002155453740000111
where rssi represents the signal value and n represents the environmental attenuation factorAnd a represents a signal value when the control terminal is one meter away from the intelligent household equipment.
The intelligent household equipment control device provided by the embodiment of the invention has the same technical characteristics as the intelligent household equipment control method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (9)

1. A control method of intelligent household equipment is characterized in that the method is applied to a controller of the intelligent household equipment, and the method comprises the following steps:
acquiring broadcast data packets periodically transmitted by a plurality of control terminals;
extracting a signal value in each of the broadcast packets;
screening out the control terminal closest to the intelligent household equipment according to the signal value;
judging whether the nearest control terminal is in a locking state;
if not, controlling the intelligent household equipment according to a broadcast data packet sent by the nearest control terminal;
wherein the step of judging whether the nearest control terminal is in a locked state comprises:
receiving synchronous data packets sent by other controllers;
extracting the identification information of the locked control terminal carried in the synchronous data packet;
judging whether the identification information is consistent with the identity carried in the broadcast data packet sent by the nearest control terminal;
and if not, determining that the latest control terminal is in a non-locking state.
2. The method according to claim 1, wherein the step of screening out the control terminal closest to the smart home device according to the signal value comprises:
calculating a distance value between each control terminal and the intelligent household equipment according to the signal value;
and screening out the minimum distance value from the plurality of distance values, and determining the control terminal corresponding to the minimum distance value as the nearest control terminal.
3. The method of claim 2, wherein the distance value is expressed by:
Figure FDA0002649598130000011
wherein rssi represents the signal value, n represents an environment attenuation factor, and a represents the signal value when the control terminal is one meter away from the intelligent household equipment.
4. The method according to claim 1, wherein the step of controlling the smart home devices according to the broadcast data packet sent by the nearest control terminal comprises:
establishing a locking relation with the nearest control terminal;
extracting a control code in a broadcast data packet sent by the nearest control terminal;
and controlling the intelligent household equipment by using the control code.
5. The method of claim 4, wherein after establishing the locking relationship with the nearest control terminal, the method further comprises:
and sending the synchronous data packet to other controllers.
6. The method of claim 4, wherein after establishing the locking relationship with the nearest control terminal, the method further comprises:
acquiring broadcast data packets periodically transmitted by a plurality of control terminals;
extracting a signal value in each of the broadcast packets;
judging whether the signal intensity corresponding to the signal value of the nearest control terminal is higher than the signal intensities corresponding to the signal values of other control terminals or not according to the signal values;
and if not, releasing the locking relation established with the nearest control terminal.
7. The utility model provides an intelligent household equipment controlling means, its characterized in that, the controller of intelligent household equipment is applied to the device, the device includes:
the acquisition module is used for acquiring broadcast data packets periodically sent by a plurality of control terminals;
an extraction module for extracting a signal value in each of the broadcast packets;
the screening module is used for screening the control terminal closest to the intelligent household equipment according to the signal value;
the judging module is used for judging whether the latest control terminal is in a locking state;
the control module is used for controlling the intelligent household equipment according to the nearest broadcast data packet sent by the control terminal if the judgment module judges that the intelligent household equipment is not the intelligent household equipment;
wherein the judging module is further configured to:
receiving synchronous data packets sent by other controllers;
extracting the identification information of the locked control terminal carried in the synchronous data packet;
judging whether the identification information is consistent with the identity carried in the broadcast data packet sent by the nearest control terminal;
and if not, determining that the latest control terminal is in a non-locking state.
8. The apparatus of claim 7, wherein the screening module is further configured to:
calculating a distance value between each control terminal and the intelligent household equipment according to the signal value;
and screening out the minimum distance value from the plurality of distance values, and determining the control terminal corresponding to the minimum distance value as the nearest control terminal.
9. The apparatus of claim 8, wherein the distance value is expressed by:
Figure FDA0002649598130000031
wherein rssi represents the signal value, n represents an environment attenuation factor, and a represents the signal value when the control terminal is one meter away from the intelligent household equipment.
CN201910719466.XA 2019-08-05 2019-08-05 Intelligent household equipment control method and device Active CN110262367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910719466.XA CN110262367B (en) 2019-08-05 2019-08-05 Intelligent household equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910719466.XA CN110262367B (en) 2019-08-05 2019-08-05 Intelligent household equipment control method and device

Publications (2)

Publication Number Publication Date
CN110262367A CN110262367A (en) 2019-09-20
CN110262367B true CN110262367B (en) 2021-03-30

Family

ID=67912906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910719466.XA Active CN110262367B (en) 2019-08-05 2019-08-05 Intelligent household equipment control method and device

Country Status (1)

Country Link
CN (1) CN110262367B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112866928B (en) * 2021-01-12 2022-10-28 刘盛荣 Control method and device of intelligent furniture and intelligent furniture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094558A (en) * 2016-08-19 2016-11-09 江苏达伦电子股份有限公司 Intelligent home furnishing control method and intelligent domestic system
CN106468907A (en) * 2015-08-17 2017-03-01 佛山市顺德区美的电热电器制造有限公司 The induction controller of household electrical appliance, method and household electrical appliance
CN207115056U (en) * 2017-08-24 2018-03-16 深圳市易控迪智能家居科技有限公司 Rubber sleeve touch control system and touch control sofa, illuminating lamp and air-conditioning
CN107967064A (en) * 2018-01-22 2018-04-27 南京邮电大学 The intelligent home control system aimed at based on brain-computer interface and laser assisted
CN109870984A (en) * 2018-12-26 2019-06-11 浙江大学 A kind of more household electric appliance control methods based on wearable device
CN110018642A (en) * 2019-04-15 2019-07-16 美的集团股份有限公司 A kind of quick control method of smart home device, medium and smart home device

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9373149B2 (en) * 2006-03-17 2016-06-21 Fatdoor, Inc. Autonomous neighborhood vehicle commerce network and community
CN102209022B (en) * 2010-03-31 2014-12-17 华为终端有限公司 Device control method, network device and network system
CN102858023A (en) * 2011-06-30 2013-01-02 安移通网络公司 Method and equipment for role discovery and automatic wireless configuration of grid nodes
CN102635379B (en) * 2012-03-28 2015-02-11 太原理工大学 Online program updating method for hydraulic support controllers
US10223508B2 (en) * 2012-03-30 2019-03-05 Sony Corporation Consumer rights locker
CN104155938B (en) * 2014-07-21 2018-01-09 惠州Tcl移动通信有限公司 A kind of home equipment management method and system
CN104166396B (en) * 2014-08-27 2016-09-28 深圳创维-Rgb电子有限公司 A kind of intelligent home furnishing control method and system
CN104635502B (en) * 2014-12-26 2017-08-25 深圳市兰丁科技有限公司 Intelligent home furnishing control method, device and system
CN105573134A (en) * 2015-12-30 2016-05-11 深圳众乐智府科技有限公司 Intelligent household equipment control method and intelligent household system
CN106325240B (en) * 2016-06-30 2018-10-16 浙江汉华节能技术有限公司 Intelligent and safe power consumption management apparatus and system based on communication
WO2018082006A1 (en) * 2016-11-04 2018-05-11 深圳市奥星澳科技有限公司 Control method, control apparatus, and control system
US20180364673A1 (en) * 2017-06-16 2018-12-20 Honeywell International Inc. Process data synchronization between redundant process controllers
CN109699063B (en) * 2017-10-24 2021-10-26 普天信息技术有限公司 Processing and sending method of preemption indication signaling, terminal and base station
CN107992181B (en) * 2017-11-28 2019-09-24 恒宝股份有限公司 A kind of method and device of safe unit control management
CN109194420A (en) * 2018-09-26 2019-01-11 四川长虹电器股份有限公司 A method of different Bluetooth devices are connected based on signal strength
CN110007615A (en) * 2019-04-15 2019-07-12 美的集团股份有限公司 A kind of intelligent home furnishing control method, medium, home equipment and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106468907A (en) * 2015-08-17 2017-03-01 佛山市顺德区美的电热电器制造有限公司 The induction controller of household electrical appliance, method and household electrical appliance
CN106094558A (en) * 2016-08-19 2016-11-09 江苏达伦电子股份有限公司 Intelligent home furnishing control method and intelligent domestic system
CN207115056U (en) * 2017-08-24 2018-03-16 深圳市易控迪智能家居科技有限公司 Rubber sleeve touch control system and touch control sofa, illuminating lamp and air-conditioning
CN107967064A (en) * 2018-01-22 2018-04-27 南京邮电大学 The intelligent home control system aimed at based on brain-computer interface and laser assisted
CN109870984A (en) * 2018-12-26 2019-06-11 浙江大学 A kind of more household electric appliance control methods based on wearable device
CN110018642A (en) * 2019-04-15 2019-07-16 美的集团股份有限公司 A kind of quick control method of smart home device, medium and smart home device

Also Published As

Publication number Publication date
CN110262367A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN103916982B (en) Intelligent appliance equipment accesses the method and apparatus of wireless router
CN105652675B (en) A kind of control method of smart home device, device, terminal and system
CN109753034B (en) Control method, control device, electronic equipment and storage medium
CN107526633B (en) Energy-saving control method and device for electric equipment, energy-saving system and storage medium
JP5718531B2 (en) Relay device
CN104539504B (en) A kind of event triggering method and device
CN107422644B (en) Control method of household appliance, mobile terminal, device, system and storage medium
WO2011153664A1 (en) Intelligent home system and operating method thereof
CN112804697B (en) Network distribution method and device for equipment to be networked, electronic equipment and computer readable medium
CN106292308A (en) User terminal, household central controller, intelligent home furnishing control method and system
CN110262367B (en) Intelligent household equipment control method and device
CN104765349A (en) Method for managing smart home equipment, server and center control equipment
CN113835348A (en) Intelligent household control system
US20220044685A1 (en) Voice Recognition Device, Waking-Up and Responding Method of the Same, and Computer Storage Medium
CN105573132A (en) Control method for household gateway, intelligent household system and household electrical appliance
CN110045705B (en) Intelligent home control method, device and system adopting heterogeneous wireless network
CN107329404B (en) Control method of intelligent household equipment and intelligent gateway
CN105020849A (en) Air conditioning control method and device
CN108809777B (en) Operation control method, Wi-Fi communication module, home appliance device, system, and storage medium
JP5008628B2 (en) Home appliance control device and home appliance control system
CN109005093B (en) Intelligent household appliance energy-saving method and system based on remote wireless control
CN106797505A (en) Control process method, electric equipment and control process program
JP6176170B2 (en) A controller that is installed in a building and controls equipment in the building
CN111862964A (en) Voice recognition device, wake-up response method thereof, and computer storage medium
CN211826978U (en) Energy-saving and intelligent control device for household appliances

Legal Events

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