CN114280949A - Intelligent control method and device for equipment, intelligent equipment and storage medium - Google Patents

Intelligent control method and device for equipment, intelligent equipment and storage medium Download PDF

Info

Publication number
CN114280949A
CN114280949A CN202111508568.0A CN202111508568A CN114280949A CN 114280949 A CN114280949 A CN 114280949A CN 202111508568 A CN202111508568 A CN 202111508568A CN 114280949 A CN114280949 A CN 114280949A
Authority
CN
China
Prior art keywords
execution
equipment
control instruction
control
execution devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111508568.0A
Other languages
Chinese (zh)
Inventor
李树彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202111508568.0A priority Critical patent/CN114280949A/en
Publication of CN114280949A publication Critical patent/CN114280949A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The application discloses an intelligent control method of equipment, an intelligent control device, intelligent equipment and a storage medium, wherein the intelligent control method of the equipment is applied to control equipment, the control equipment is connected with a plurality of execution equipment, and the intelligent control method of the equipment comprises the steps of receiving a control instruction which is used for controlling an equipment group consisting of the plurality of execution equipment; and sending the control instructions to the plurality of execution devices in a multicast mode or a unicast mode according to the grouped states of the plurality of execution devices, wherein the grouped states comprise a first state for representing grouped states and a second state for representing non-grouped states. The method realizes that the control instruction is sent to the plurality of execution devices in a multicast mode or a unicast mode according to the grouping state of the plurality of execution devices, can avoid the failure of group control operation on the execution devices caused by the fact that the execution devices which are not grouped cannot receive the control instruction, and can improve the success rate of the group control operation on the execution devices.

Description

Intelligent control method and device for equipment, intelligent equipment and storage medium
Technical Field
The present disclosure relates to the field of smart home technologies, and more particularly, to an intelligent device control method, an intelligent device, and a storage medium.
Background
Along with the rapid development of mobile intelligent terminals, home equipment is also more and more intelligent. The intelligent home is characterized in that a home space is used as a platform, devices related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology, an audio and video technology and the like, an efficient management system of home facilities and family schedule affairs is constructed, the safety, convenience, comfortableness and artistry of home devices are improved, and the environment-friendly and energy-saving living environment is realized.
When one-key quick operation of a plurality of household devices is required to be realized in an existing intelligent household control system, the household devices are often required to be successfully divided into a device group in advance, then a group control instruction is sent to the device group, and each household device receives and responds to the group control instruction at the same time, so that the group control operation of the household devices is realized. However, when the home devices are not successfully grouped into the device group, the group control operation on the home devices fails, and the success rate of the group control operation on the home devices is reduced.
Disclosure of Invention
In view of the foregoing problems, the present application provides an apparatus intelligent control method, an intelligent control apparatus, an intelligent apparatus, and a storage medium, which can implement sending a control instruction to a plurality of execution apparatuses in a multicast manner or a unicast manner according to a grouping state of the plurality of execution apparatuses, avoid a failure in group control operation on the execution apparatuses, and improve a success rate of the group control operation on the execution apparatuses.
In a first aspect, an embodiment of the present application provides an intelligent device control method, which is applied to a control device, where the control device is connected to multiple execution devices, and the intelligent device control method includes: receiving a control instruction, wherein the control instruction is used for controlling a device group consisting of a plurality of execution devices; and sending the control instructions to the plurality of execution devices in a multicast mode or a unicast mode according to the grouped states of the plurality of execution devices, wherein the grouped states comprise a first state for representing grouped states and a second state for representing non-grouped states.
In a second aspect, an embodiment of the present application provides an intelligent control apparatus, which is applied to a control device, where the control device is connected to a plurality of execution devices, and the intelligent control apparatus includes: the receiving module is used for receiving a control instruction; the sending module is used for sending the control instruction to the plurality of execution devices in a multicast mode or a unicast mode according to the grouped states of the plurality of execution devices, wherein the grouped states comprise a first state used for representing that the execution devices are grouped and a second state used for representing that the execution devices are not grouped.
In a third aspect, an embodiment of the present application provides an intelligent device, including a memory; one or more processors coupled with the memory; one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs being configured to perform the device intelligence control method as provided in the first aspect above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be called by a processor to execute the method for intelligently controlling a device according to the first aspect.
The scheme provided by the application is applied to the control equipment, the control equipment is connected with the execution equipment, the control equipment receives the control instruction, the control instruction is used for controlling the equipment group consisting of the execution equipment, and the control instruction is sent to the execution equipment in a multicast mode or a unicast mode according to the grouping state of the execution equipment, the grouping state comprises a first state used for representing that the equipment is grouped and a second state used for representing that the equipment is not grouped, the control instruction is sent to the execution equipment in the multicast mode or the unicast mode according to the grouping state of the execution equipment, the problem that the execution equipment which is not grouped fails to receive the control instruction and causes the group control operation failure of the execution equipment can be avoided, and the success rate of the group control operation of the execution equipment can be improved.
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 view of a scenario of a device control system provided in an embodiment of the present application.
Fig. 2 shows a flowchart of an intelligent device control method provided in an embodiment of the present application.
Fig. 3 is a flowchart illustrating a method of determining whether a plurality of execution devices have received a control command in the device intelligent control method illustrated in fig. 2.
Fig. 4 is another flowchart illustrating a method of determining whether a plurality of execution devices have received a control instruction in the device intelligent control method illustrated in fig. 2.
Fig. 5 shows another flowchart of the device intelligent control method provided in the embodiment of the present application.
Fig. 6 shows a block diagram of an intelligent control device provided in an embodiment of the present application.
Fig. 7 shows a functional block diagram of an intelligent device provided in an embodiment of the present application.
Fig. 8 illustrates a computer-readable storage medium storing or carrying program codes for implementing the intelligent device control method according to the embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is noted that the terms "first", "second", "third", and the like are used merely for distinguishing between descriptions and are not intended to indicate or imply relative importance.
Along with the rapid development of mobile intelligent terminals, home equipment is also more and more intelligent. The intelligent home is characterized in that a home space is used as a platform, devices related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology, an audio and video technology and the like, an efficient management system of home facilities and family schedule affairs is constructed, the safety, convenience, comfortableness and artistry of home devices are improved, and the environment-friendly and energy-saving living environment is realized.
When one-key quick operation of a plurality of household devices is required to be realized in an existing intelligent household control system, the household devices are often required to be successfully divided into a device group in advance, then a group control instruction is sent to the device group, and each household device receives and responds to the group control instruction at the same time, so that the group control operation of the household devices is realized. However, when the home devices are not successfully grouped into the device group, the group control operation on the home devices fails, and the success rate of the group control operation on the home devices is reduced.
In view of the above problems, the inventors have studied and proposed for a long time an intelligent control method, an intelligent control apparatus, an intelligent device, and a storage medium for devices according to embodiments of the present application, so as to implement that a control instruction is sent to a plurality of execution devices in a multicast manner or a unicast manner according to a grouping state of the plurality of execution devices, thereby avoiding that a group control operation on the execution devices fails due to the fact that an execution device that is not grouped does not receive the control instruction, and improving a success rate of the group control operation on the execution devices.
Referring to fig. 1, an application scenario diagram of the device control system provided in the embodiment of the present application is shown, and includes a control device 100 and a plurality of execution devices 200, where the control device 100 may be communicatively connected to the plurality of execution devices 200, and the control device 100 may perform data interaction with the plurality of execution devices 200. The control device 100 may be configured to receive the control instruction, and send the control instruction to the multiple execution devices 200 in a multicast manner or a unicast manner according to the grouped states of the multiple execution devices 200, so as to implement controlling the multiple execution devices 200 to operate simultaneously.
Among them, the control device 100 may be a gateway device, for example, a local area network/host gateway device, a local area network/local area network gateway device, or an internet/wide area network gateway device; the execution device 200 can be an intelligent socket, an intelligent socket board, an intelligent lighting device, an intelligent door lock, an intelligent lamp, an intelligent television, an intelligent sound box, an intelligent mirror, an intelligent floor sweeping robot, an intelligent clothes hanger, an intelligent curtain, an intelligent camera, an intelligent temperature and humidity detector, an intelligent carbon monoxide alarm, a door and window sensor, a human body sensor, an intelligent water immersion detector, an intelligent alarm device and the like; the types of the control device 100 and the execution device 200 are not limited herein, and may be specifically set according to actual requirements.
In some embodiments, the device control system may further include a server 300, and the server 300 may perform data interaction with the control device 100 and the execution device 200 through a network. The server 300 may be configured to send a control instruction to the control device 100, so that the control device 100 may send the control instruction to the plurality of execution devices 200 in a multicast manner or a unicast manner according to a grouping state of the plurality of execution devices 200, and receive feedback data of the control device 100 and the execution devices 200.
The server 300 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, a Content Delivery Network (CDN), big data, an artificial intelligence platform, and the like; the Network may be a Wide Area Network (WAN), a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Personal Area Network (PAN), etc.; the types of the server and the network are not limited herein, and the setting can be specifically performed according to actual requirements.
Reference will now be made to specific examples.
Referring to fig. 2, a flowchart of an intelligent control method for a device according to an embodiment of the present application is shown. In a specific embodiment, the device intelligent control method may be applied to the control device 100 in the device control system shown in fig. 1, and the flow shown in fig. 2 will be described in detail below by taking the control device 100 as an example, and the device intelligent control method may include the following steps S110 to S130.
Step S110: and receiving a control instruction.
In the embodiment of the present application, the control device may group the plurality of execution devices into at least one device group in advance before performing group control on the plurality of execution devices. After grouping the multiple execution devices into at least one device group, when a user needs to perform group control operation on the multiple execution devices, the control device may send a control instruction to the control device, and receive the control instruction of the user, where the control instruction may be used to control the device group consisting of the multiple execution devices.
In some embodiments, the control device may include a voice collecting module, and when a user needs to perform a group control operation on the plurality of execution devices, the user may send voice information including a control command, and the control device may control the voice collecting module to collect the voice information sent by the user, perform voice recognition on the voice information in response to the collected voice information, and then determine, according to a result of the voice recognition, that a keyword for instructing the group to control the plurality of execution devices is included in a recognition result, that is, determine that the control command sent by the user voice is received.
In some embodiments, the control device may further include a motion recognition module, when the user needs to perform group control operation on the multiple execution devices, the user may perform a body motion including the control instruction, and the control device may control the motion recognition module to recognize the body motion performed by the user, perform motion recognition on the body motion in response to the recognized body motion, and then determine, according to a result of the motion recognition, that the recognition result includes a keyword indicating that the group controls the multiple execution devices, that is, determine that the control instruction sent by the user voice is received.
The keyword for indicating that the group controls multiple execution devices may be "group control execution device", or "group control" and "execution device", etc. For example, the voice information uttered by the user is: and (4) controlling each executing device by the group, wherein the result of the voice recognition comprises a keyword group control and a keyword executing device, namely, the control instruction sent by the voice of the user is determined to be received.
In some embodiments, the device control system may further include a server and a terminal, and the server may be in communication connection with the control device and the terminal through a network, and may perform data interaction with the control device and the terminal through the network, respectively. When a user needs to perform group control operation on a plurality of execution devices, the user can input a control instruction at a terminal, the terminal responds to the received control instruction and forwards the control instruction to a server through a network, the server receives and responds to the control instruction and can send the control instruction to the control device, and the control device can receive the control instruction sent by the server.
The terminal may be a mobile terminal (e.g., a mobile phone, a Personal Digital Assistant (PDA), etc.). The user can touch and input the control command on the operation interface of the terminal, and can also send voice control information containing the control command to the terminal.
Step S130: and sending the control instruction to the plurality of execution devices in a multicast mode or a unicast mode according to the grouped state of the plurality of execution devices.
In the embodiment of the application, after receiving the control instruction, the control device may send the control instruction to the multiple execution devices in a multicast manner or a unicast manner according to the grouping state of the multiple execution devices, so that the control instruction is sent to the multiple execution devices in a multicast manner or a unicast manner according to the grouping state of the multiple execution devices in the device group, failure of group control operation on the execution devices due to the fact that the execution devices which are not grouped cannot receive the control instruction can be avoided, and success rate of the group control operation on the execution devices can be improved. Wherein the grouped states may include a first state for characterizing grouped states and a second state for characterizing ungrouped states.
For example, when the plurality of execution devices are all grouped, the grouped states of the plurality of execution devices are all the first state, the plurality of execution devices may be recorded as a first device group, the control device may send the control instruction to the first device group in a multicast manner, and each execution device in the first device group may receive the control instruction. When the plurality of execution devices are partially grouped, the grouped state of the plurality of execution devices includes a first state and a second state, the execution device corresponding to the first state in the plurality of execution devices may be denoted as a second device group, and the control device may send the control instruction to the second device group in a multicast manner and simultaneously send the control instruction to each execution device corresponding to the second state in a unicast manner. In addition, when none of the plurality of execution devices is grouped, the grouped state of the plurality of execution devices indicates a second state, and the control device may transmit the control instruction to each of the execution devices in a unicast manner.
It is understood that multicast is also called multicast, multicast. Multicast is a transport used in networks that allows for the delivery of a transmitted message to a selected subset of all possible destinations, i.e., to deliver information to a variety of addresses as specified. Is a method of communicating between a sender and a plurality of recipients. Multicast enables a point-to-multipoint network connection between a sender and each recipient. If a sender transmits the same data to multiple receivers simultaneously, only one copy of the same data packet is needed. The method improves the data transmission efficiency and reduces the possibility of congestion of the backbone network.
Unicast is a point-to-point connection between a client and a server. "Point-to-point" means that each client receives a remote stream from the server. The unicast stream is sent only when the client makes a request. Unicast (Unicast) is the communication between a single sender and a recipient over a network. The method can be applied to the fields of communication, computers and the like, and can also solve practical problems by utilizing a multicast and unicast hybrid algorithm.
In some embodiments, after the control device sends the control instruction to the multiple execution devices in a multicast manner or a unicast manner according to the group status of the multiple execution devices, the control device may detect the working information of the multiple execution devices within a preset time duration, and may determine whether the multiple execution devices have received the control instruction according to whether the detected working information reaches a corresponding preset setting, and when the control device determines that a third execution device that does not receive the control instruction exists in the multiple execution devices, the control device may send the control instruction to the third execution device in a multicast manner or a unicast manner according to the group status of the third execution device, which may ensure that each execution device may receive the control instruction, and may further provide a success rate of group control operation on the execution devices.
It can be understood that, in the process that the control device sends the control instruction to the multiple execution devices in a multicast manner or a unicast manner, some of the execution devices in the multiple execution devices have received the control instruction, and the remaining execution devices have not received the control instruction, the execution device that has not received the control instruction is the third execution device, and the control device may send the control instruction to the third execution device again in a multicast manner or a unicast manner according to the group state of the third execution device.
For example, the plurality of execution devices may be smart sockets, smart socket strips, smart door locks, smart cameras, smart sound devices, smart televisions, smart lamps, and the like, the control device may send the control command to the smart door locks, the smart cameras, the smart sound devices, the smart televisions, and the smart lamps in a multicast manner or a unicast manner according to a grouping state of the smart door locks, the smart cameras, the smart televisions, and the smart lamps, the control device may detect working information of the smart door locks, the smart cameras, the smart sound devices, the smart televisions, and the smart lamps within a preset time period, and may determine that the smart door locks, the smart cameras, and the smart televisions have received the control command according to the detected working information, the smart sound devices and the smart lamps have not received the control command, and the control device may determine the smart sound devices and the smart lamps as third execution devices, and the control instruction can be sent to the intelligent sound and the intelligent lamp in a multicast mode or a unicast mode according to the grouping state of the third execution device.
For one embodiment, the preset duration may include a first preset duration, and the operation information may include feedback information, where the feedback information may be used to represent response information that the execution device has received the control instruction. As shown in fig. 3, which shows a flowchart of a method for determining whether a plurality of execution devices have received a control instruction by a control device in the device intelligent control method provided in the present embodiment, the method for determining whether a plurality of execution devices have received a control instruction by a control device may include steps S131 to S135.
Step S131: and detecting the feedback information of the execution devices within a first preset time length.
The first preset time length may be a time length preset by a user, or a time length dynamically adjusted by the control device according to the detected actual time length of the feedback information of the execution device. The first preset time period may be 1 second(s), 2s, 5s, and the like, and the value of the first preset time period and the setting mode of the first preset time period are not limited herein, and may be specifically set according to actual requirements.
Step S133: and if the feedback information of each execution device is detected within the first preset time, determining that the plurality of execution devices all receive the control instruction.
Step S135: if the feedback information of all the execution devices is not detected within the first preset time, determining that a third execution device which does not receive the control instruction exists in the plurality of execution devices.
As another embodiment, the preset time period may include a second preset time period, and the operation information may include operation state information, for example, operation current information, or operation voltage information. As shown in fig. 4, which shows a flowchart of another method for determining whether a plurality of execution devices have received a control instruction by a control device in the device intelligent control method provided in this embodiment, the method for determining whether a plurality of execution devices have received a control instruction by a control device may include steps S132 to S136.
Step S132: and detecting the working state information of the plurality of execution devices in the second time length.
The second preset time length may be a time length preset by a user, or a time length dynamically adjusted by the control device according to the actual time length detected from the operating state information of the execution device. The second preset time period may be 3 seconds(s), 4s, 8s, and the like, and the value of the second preset time period and the setting mode of the second preset time period are not limited herein, and may be specifically set according to actual requirements.
As an example, the operating state information may include operating current information, and the control device may detect the operating current information of the plurality of execution devices within a second preset time period.
As another example, the operating state information may include operating voltage information, and the control device may detect the operating voltage information of the plurality of execution devices within a second preset time period.
As another example, the operating state information may include operating power information, and the control device may detect the operating power information of the plurality of execution devices within a second preset time period.
Step S134: and if the working state information of each execution device reaches the preset condition within the second preset time, determining that the plurality of execution devices all receive the control instruction.
The preset condition corresponds to the working state information, the preset condition may be used to represent condition information of the current working of the execution device, and the preset condition may include a current threshold, a voltage threshold, a power threshold, or the like.
As an example, the operating state information may include operating current information, and the preset condition may include a current threshold. And if the control equipment detects that the working current information of each execution equipment reaches the current threshold value within a second preset time period, determining that the execution equipment receives the control instruction.
As another example, the operating state information may include operating voltage information, and the preset condition may include a voltage threshold. And if the control equipment detects that the working voltage information of each execution equipment reaches the voltage threshold value within a second preset time, determining that the execution equipment receives the control instruction.
As yet another example, the operating state information may include operating power information, and the preset condition may include a power threshold. And if the control equipment detects that the working power information of each execution equipment reaches the power threshold value within a second preset time, determining that the execution equipment receives the control instruction.
Step S136: and if the working state information of all the execution equipment is not detected to reach the preset condition within the second preset time, determining that third execution equipment which does not receive the control instruction exists in the plurality of execution equipment.
As an example, the operating state information may include operating current information, and the preset condition may include a current threshold. If the control device does not detect that the working current information of all the execution devices reaches the current threshold value within a second preset time period, determining that a third execution device which does not receive the control instruction exists in the execution devices.
As another example, the operating state information may include operating voltage information, and the preset condition may include a voltage threshold. If the control device does not detect that the working voltage information of all the execution devices reaches the voltage threshold value within a second preset time period, determining that a third execution device which does not receive the control instruction exists in the plurality of execution devices.
As another example, the operating state information may include operating power information, and the preset condition may include a power threshold. And if the control device does not detect that the working power information of all the execution devices reaches the power threshold value within a second preset time, determining that a third execution device which does not receive the control instruction exists in the plurality of execution devices.
The scheme provided by the application is applied to the control equipment, the control equipment is connected with the execution equipment, the control equipment receives the control instruction, the control instruction is used for controlling the equipment group consisting of the execution equipment, and the control instruction is sent to the execution equipment in a multicast mode or a unicast mode according to the grouping state of the execution equipment, the grouping state comprises a first state used for representing that the equipment is grouped and a second state used for representing that the equipment is not grouped, the control instruction is sent to the execution equipment in the multicast mode or the unicast mode according to the grouping state of the execution equipment, the problem that the execution equipment which is not grouped fails to receive the control instruction and causes the group control operation failure of the execution equipment can be avoided, and the success rate of the group control operation of the execution equipment can be improved.
Further, the control device may determine whether the plurality of execution devices have received the control instruction, and when it is determined that a third execution device that does not receive the control instruction exists in the plurality of execution devices, may send the control instruction to the third execution device in a multicast manner or a unicast manner according to a grouping state of the third execution device, which may further ensure that the plurality of execution devices may all receive the control instruction, and further improve a success rate of group control operation on the execution devices.
Referring to fig. 5, a flowchart of an intelligent device control method according to another embodiment of the present application is shown. In a specific embodiment, the device intelligent control method may be applied to the control device 100 in the device control system shown in fig. 1, and the flow shown in fig. 5 will be described in detail below by taking the control device 100 as an example, and the device intelligent control method may include the following steps S210 to S270.
Step S210: and receiving a control instruction.
In this embodiment, the step S210 may refer to the content of the corresponding step in the foregoing embodiments, and is not described herein again.
Step S230: a group status of a plurality of execution devices is determined.
In this embodiment, when there is an ungrouped execution device in the plurality of execution devices, the control device will not receive the control instruction in the process of sending the control instruction to the plurality of execution devices in a multicast manner, which results in a failure in group control operation on the plurality of execution devices.
In some embodiments, the plurality of execution devices are grouped into at least one device group in advance, the control device may obtain binding information of the device group, the binding information may be used to characterize a binding state of the plurality of execution devices with the device group, and the control device may determine a grouping state of the plurality of execution devices according to the binding information.
As an example, the bound state may include a bound state and an unbound state. The control device may acquire, as the first execution device, an execution device of which the binding information is in a bound state among the plurality of execution devices, and may determine that the first execution device is in a first state; the control device may acquire, as the second execution device, the execution device of which the binding information is in the unbound state among the plurality of execution devices, and determine that the second execution device is in the second state.
For example, a plurality of execution devices can be smart home devices such as smart jack, intelligent socket, intelligent row of inserting, smart television, intelligent stereo set, intelligent air conditioner, intelligent lamps and lanterns and intelligent (window) curtain, and smart television, intelligent stereo set, intelligent air conditioner can be divided into a device group in advance, and then the information of binding of device group can be used for the representation smart television, intelligent stereo set and intelligent air conditioner and all are binding the state. The control equipment can determine that the intelligent lamp and the intelligent curtain are both in an unbound state according to the binding information. The control device can determine the smart television, the smart sound box and the smart air conditioner as first execution devices, and determine that the smart television, the smart sound box and the smart air conditioner are in a first state. The control device may determine both the intelligent lamp and the intelligent curtain as the second execution device, and determine both the intelligent lamp and the intelligent curtain as the second state.
Step S250: and when the first execution device is determined to be in the first state, sending the control instruction to the first execution device in a multicast mode.
In this embodiment, when determining that the first execution device is in the first state, the control device indicates that the first execution device is already grouped, the control device may send the control instruction to the first execution device in a multicast manner, and the first execution device receives the control instruction sent by the control device in the multicast manner.
Step S270: and when the second execution device is determined to be in the second state, sending the control instruction to the second execution device in a unicast mode or a mode of combining unicast and multicast.
In this embodiment, when the control device determines that the second execution device is in the second state, it indicates that the second execution device is not grouped, and in order to ensure that the control device sends the control instruction in a multicast manner, the second execution device can receive the control instruction, the control device may send the control instruction to the second execution device in a unicast manner or in a manner of combining unicast and multicast, and the second execution device receives the control instruction sent by the control device in a unicast manner, which can ensure that a plurality of execution devices can all receive the control instruction, and can improve a success rate of group control operations on the execution devices.
According to the scheme provided by the application, the control device receives the control instruction and determines the grouping state of the execution devices, when the first execution device is determined to be in the first state, the control instruction is sent to the first execution device in a multicast mode, and when the second execution device is determined to be in the second state, the control instruction is sent to the second execution device in a unicast mode or a mode of combining unicast and multicast, so that the execution devices can all receive the control instruction, and the success rate of grouping operation on the execution devices can be improved.
Referring to fig. 6, which illustrates an intelligent control apparatus 300 according to an embodiment of the present application, the intelligent control apparatus 300 may be applied to the control device 100 shown in fig. 1, and the intelligent control apparatus 300 shown in fig. 6 will be described in detail below by taking the control device 100 as an example, and the intelligent control apparatus 300 may include a receiving module 310 and a sending module 330.
The receiving module 310 may be configured to receive a control instruction; the sending module 330 may be configured to send the control instruction to the plurality of execution devices in a multicast manner or a unicast manner according to a grouping status of the plurality of execution devices, where the grouping status includes a first status for characterizing that the plurality of execution devices are grouped and a second status for characterizing that the plurality of execution devices are not grouped.
In some embodiments, the intelligent control device 300 may further include a first determination module.
The first determining module may be configured to determine the grouping status of the multiple execution devices before the sending module 330 sends the control instruction to the multiple execution devices in a multicast manner or a unicast manner according to the grouping status of the multiple execution devices;
in some embodiments, the transmitting module 330 may include a first transmitting unit and a second transmitting unit.
The first sending unit may be configured to send the control instruction to the first execution device in a multicast manner when it is determined that the first execution device is in the first state; the second sending unit may be configured to send the control instruction to the second execution device in a unicast manner or in a manner of combining unicast and multicast when it is determined that the second execution device is in the second state.
In some embodiments, the first determination module may include an acquisition unit and a first determination unit.
The acquiring unit may be configured to acquire binding information of the device group, where the binding information is used to represent a binding state of the multiple execution devices with the device group; the first determining unit may be configured to determine a grouping status of the plurality of execution devices according to the binding information.
In some embodiments, the binding state includes a bound state and an unbound state, and the first determination unit may include a first determination subunit and a second determination subunit.
The first determining subunit is configured to acquire, as the first execution device, an execution device of which the binding information is in a bound state from among the multiple execution devices, and determine that the first execution device is in a first state; the second determining subunit may be configured to acquire, as the second execution device, the execution device of which the binding information is in the unbound state, from the multiple execution devices, and determine that the second execution device is in the second state.
In some embodiments, the receiving module 310 may include a first receiving unit or a second receiving unit.
The first receiving unit may be configured to receive a control instruction sent by the server; the second receiving unit may be configured to receive a control instruction sent by a user voice.
In some embodiments, the intelligent control device 300 may further include a second determination module and a third determination module.
The second determining module may be configured to determine whether the plurality of execution devices have received the control instruction after the sending module 330 sends the control instruction to the plurality of execution devices in a multicast manner or a unicast manner according to the grouped state of the plurality of execution devices; the third determining module may be configured to, when it is determined that a third execution device that does not receive the control instruction exists in the plurality of execution devices, send the control instruction to the third execution device in a multicast manner or a unicast manner according to a group state of the third execution device.
In some embodiments, the second determination module may include a second determination unit and a third determination unit.
The second determining unit may be configured to determine that the plurality of execution devices have received the control instruction if the feedback information of each execution device is detected within the first preset time period; the third determining unit may be configured to determine that a third executing device that does not receive the control instruction exists in the multiple executing devices if the feedback information of all the executing devices is not detected within the first preset time period.
In some embodiments, the second determination module may include a fourth determination unit and a fifth determination unit.
The fourth determining unit may be configured to determine that the plurality of execution devices have received the control instruction if it is detected that the working state of each execution device reaches the preset condition within the second preset time period; the fifth determining unit may be configured to determine that a third executing device that does not receive the control instruction exists in the multiple executing devices if it is not detected that the working states of all the executing devices reach the preset condition within the second preset time period.
The scheme provided by the application is applied to the control equipment, the control equipment is connected with the execution equipment, the control equipment receives the control instruction, the control instruction is used for controlling the equipment group consisting of the execution equipment, and the control instruction is sent to the execution equipment in a multicast mode or a unicast mode according to the grouping state of the execution equipment, the grouping state comprises a first state used for representing that the equipment is grouped and a second state used for representing that the equipment is not grouped, the control instruction is sent to the execution equipment in the multicast mode or the unicast mode according to the grouping state of the execution equipment, the problem that the execution equipment which is not grouped fails to receive the control instruction and causes the group control operation failure of the execution equipment can be avoided, and the success rate of the group control operation of the execution equipment can be improved.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. For any processing manner described in the method embodiment, all the processing manners may be implemented by corresponding processing modules in the apparatus embodiment, and details in the apparatus embodiment are not described again.
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 functional block diagram of a smart device 400 provided by another embodiment of the present application is shown, where the smart device 400 may include one or more of the following components: memory 410, processor 420, and one or more applications, wherein the one or more applications may be stored in memory 410 and configured to be executed by the one or more processors 420, the one or more applications configured to perform a method as described in the aforementioned method embodiments.
The Memory 410 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 410 may be used to store instructions, programs, code sets, or instruction sets. The memory 410 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 receiving a control instruction, multicast sending, unicast sending, determining a group status, multicast sending to a first execution device, unicast sending to a second execution device, unicast and multicast combined sending to a second execution device, obtaining binding information, obtaining a first execution device, determining a first status, obtaining a second execution device, determining a second status, receiving a control instruction sent by a server, receiving a control instruction sent by a user's voice, determining whether to receive a control instruction, determining that a third execution device is present, detecting feedback information and detecting a working status, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may further store data (such as a control command, a device group, a group status, a multicast mode, a unicast mode, a first status, a second status, a first execution device, a second execution device, binding information, a binding status, a bound status, an unbound status, a third execution device, a first preset duration, feedback information, a second preset duration, and an operating status) created by the smart device 400 during use.
Processor 420 may include one or more processing cores. The processor 420 connects various parts throughout the smart device 400 using various interfaces and lines, performs various functions of the smart device 400 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 410, and calling data stored in the memory 410. Alternatively, the processor 420 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 420 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 420, but may be implemented by a communication chip.
Referring to fig. 8, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable storage medium 500 has stored therein a program code 510, and the program code 510 can be called by a processor to execute the method described in the above method embodiments.
The computer-readable storage medium 500 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. Alternatively, the computer-readable storage medium 500 includes a non-volatile computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing 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 510 may be compressed, for example, in a suitable form.
The scheme provided by the application is applied to the control equipment, the control equipment is connected with the execution equipment, the control equipment receives the control instruction, the control instruction is used for controlling the equipment group consisting of the execution equipment, and the control instruction is sent to the execution equipment in a multicast mode or a unicast mode according to the grouping state of the execution equipment, the grouping state comprises a first state used for representing that the equipment is grouped and a second state used for representing that the equipment is not grouped, the control instruction is sent to the execution equipment in the multicast mode or the unicast mode according to the grouping state of the execution equipment, the problem that the execution equipment which is not grouped fails to receive the control instruction and causes the group control operation failure of the execution equipment can be avoided, and the success rate of the group control operation of the execution equipment can be improved.
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 (10)

1. An intelligent control method for equipment is applied to control equipment, the control equipment is connected with a plurality of execution equipment, and the intelligent control method for the equipment comprises the following steps:
receiving a control instruction, wherein the control instruction is used for controlling a device group consisting of the plurality of execution devices;
and sending the control instruction to a plurality of execution devices in a multicast mode or a unicast mode according to the grouped states of the execution devices, wherein the grouped states comprise a first state used for representing grouped states and a second state used for representing non-grouped states.
2. The method according to claim 1, wherein before the sending the control command to the plurality of execution devices in a multicast manner or a unicast manner according to the grouping status of the plurality of execution devices, the method further comprises:
determining a group status of a plurality of the execution devices;
the sending the control instruction to the plurality of execution devices in a multicast mode or a unicast mode according to the grouped state of the plurality of execution devices includes:
when the first execution equipment is determined to be in the first state, the control instruction is sent to the first execution equipment in a multicast mode;
and when the second execution device is determined to be in the second state, sending the control instruction to the second execution device in a unicast mode or a mode of combining unicast and multicast.
3. The intelligent control method for equipment according to claim 2, wherein said determining a group status of a plurality of said execution equipments comprises:
acquiring binding information of the equipment group, wherein the binding information is used for representing the binding state of a plurality of execution equipment and the equipment group;
and determining the grouping state of the plurality of execution devices according to the binding information.
4. The intelligent device control method according to claim 3, wherein the binding status includes a bound status and an unbound status, and the determining the grouping status of the plurality of execution devices according to the binding information includes:
acquiring an executing device of which the binding information is in a bound state from the executing devices as a first executing device, and determining that the first executing device is in the first state;
and acquiring the executing equipment of which the binding information is in the unbound state from the plurality of executing equipment as second executing equipment, and determining that the second executing equipment is in the second state.
5. The intelligent control method for equipment according to claim 1, wherein the receiving of the control instruction comprises:
receiving a control instruction sent by a server; or the like, or, alternatively,
and receiving a control instruction sent by the user voice.
6. The device intelligent control method according to any one of claims 1 to 5, wherein after the sending the control instruction to the plurality of execution devices in a multicast manner or a unicast manner according to the grouping status of the plurality of execution devices, the device intelligent control method further comprises:
determining whether a plurality of the execution devices have received the control instruction;
and when determining that a third execution device which does not receive the control instruction exists in the plurality of execution devices, sending the control instruction to the third execution device in a multicast mode or a unicast mode according to the grouping state of the third execution device.
7. The device intelligent control method according to claim 6, wherein the determining whether the plurality of execution devices have received the control instruction comprises:
if the feedback information of each execution device is detected within a first preset time, determining that the plurality of execution devices have received the control instruction;
if the feedback information of all the execution devices is not detected within a first preset time, determining that a third execution device which does not receive the control instruction exists in the execution devices; or
If the working state information of each execution device reaches a preset condition within a second preset time, determining that the plurality of execution devices have received the control instruction;
if the working state information of all the execution devices is not detected to reach the preset condition within a second preset time, determining that a third execution device which does not receive the control instruction exists in the execution devices.
8. An intelligent control device, applied to a control device connected to a plurality of execution devices, comprising:
the receiving module is used for receiving a control instruction;
and the sending module is used for sending the control instruction to the plurality of execution devices in a multicast mode or a unicast mode according to the grouped states of the plurality of execution devices, wherein the grouped states comprise a first state used for representing that the execution devices are grouped and a second state used for representing that the execution devices are not grouped.
9. A smart device, comprising:
a memory;
one or more processors coupled with the memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by one or more processors, the one or more applications configured to perform the device intelligence control method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon a program code that can be invoked by a processor to execute the method for intelligently controlling an apparatus according to any one of claims 1 to 7.
CN202111508568.0A 2021-12-10 2021-12-10 Intelligent control method and device for equipment, intelligent equipment and storage medium Pending CN114280949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111508568.0A CN114280949A (en) 2021-12-10 2021-12-10 Intelligent control method and device for equipment, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111508568.0A CN114280949A (en) 2021-12-10 2021-12-10 Intelligent control method and device for equipment, intelligent equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114280949A true CN114280949A (en) 2022-04-05

Family

ID=80871695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111508568.0A Pending CN114280949A (en) 2021-12-10 2021-12-10 Intelligent control method and device for equipment, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114280949A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226768A1 (en) * 2022-05-23 2023-11-30 深圳绿米联创科技有限公司 Device control method and apparatus, device, and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808521A (en) * 2015-02-26 2015-07-29 百度在线网络技术(北京)有限公司 Intelligent device control method and device
CN105093942A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and group control method based on the intelligent household system
CN105206275A (en) * 2015-08-31 2015-12-30 小米科技有限责任公司 Device control method, apparatus and terminal
CN105632144A (en) * 2015-12-30 2016-06-01 小米科技有限责任公司 Intelligent equipment control method and device
US20170026431A1 (en) * 2015-07-20 2017-01-26 Intel IP Corporation Multicast mechanism for wireless devices
CN108135022A (en) * 2017-12-01 2018-06-08 海尔优家智能科技(北京)有限公司 A kind of apparatus control method, device, terminal and computer readable storage medium
CN110086782A (en) * 2019-03-29 2019-08-02 岭博科技(北京)有限公司 The method and electronic equipment of a kind of hotel's Internet of Things intelligent control system and intelligent control device
CN111885151A (en) * 2020-07-21 2020-11-03 深圳市讯方技术股份有限公司 Intelligent equipment communication method based on zigbee protocol and main intelligent equipment
CN111913397A (en) * 2020-07-10 2020-11-10 青岛易来智能科技股份有限公司 Device control method, device, storage medium, and electronic apparatus
CN112114527A (en) * 2020-09-22 2020-12-22 深圳绿米联创科技有限公司 Device control apparatus, method, and computer-readable storage medium
US20210021967A1 (en) * 2018-03-16 2021-01-21 Nec Corporation Multicast control device, multicast control method, and non-transitory computer readable medium
CN112327657A (en) * 2020-11-19 2021-02-05 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent device, electronic device and medium
CN113485129A (en) * 2021-06-11 2021-10-08 杭州控客信息技术有限公司 Method for controlling and reporting equipment under contextual model of whole-house intelligent system
CN113625589A (en) * 2021-09-15 2021-11-09 云茂互联智能科技(厦门)有限公司 Equipment control method and device, electronic equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105093942A (en) * 2014-10-26 2015-11-25 深圳市艾瑟网络技术有限公司 Intelligent household system and group control method based on the intelligent household system
CN104808521A (en) * 2015-02-26 2015-07-29 百度在线网络技术(北京)有限公司 Intelligent device control method and device
US20170026431A1 (en) * 2015-07-20 2017-01-26 Intel IP Corporation Multicast mechanism for wireless devices
CN105206275A (en) * 2015-08-31 2015-12-30 小米科技有限责任公司 Device control method, apparatus and terminal
CN105632144A (en) * 2015-12-30 2016-06-01 小米科技有限责任公司 Intelligent equipment control method and device
CN108135022A (en) * 2017-12-01 2018-06-08 海尔优家智能科技(北京)有限公司 A kind of apparatus control method, device, terminal and computer readable storage medium
US20210021967A1 (en) * 2018-03-16 2021-01-21 Nec Corporation Multicast control device, multicast control method, and non-transitory computer readable medium
CN110086782A (en) * 2019-03-29 2019-08-02 岭博科技(北京)有限公司 The method and electronic equipment of a kind of hotel's Internet of Things intelligent control system and intelligent control device
CN111913397A (en) * 2020-07-10 2020-11-10 青岛易来智能科技股份有限公司 Device control method, device, storage medium, and electronic apparatus
CN111885151A (en) * 2020-07-21 2020-11-03 深圳市讯方技术股份有限公司 Intelligent equipment communication method based on zigbee protocol and main intelligent equipment
CN112114527A (en) * 2020-09-22 2020-12-22 深圳绿米联创科技有限公司 Device control apparatus, method, and computer-readable storage medium
CN112327657A (en) * 2020-11-19 2021-02-05 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent device, electronic device and medium
CN113485129A (en) * 2021-06-11 2021-10-08 杭州控客信息技术有限公司 Method for controlling and reporting equipment under contextual model of whole-house intelligent system
CN113625589A (en) * 2021-09-15 2021-11-09 云茂互联智能科技(厦门)有限公司 Equipment control method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226768A1 (en) * 2022-05-23 2023-11-30 深圳绿米联创科技有限公司 Device control method and apparatus, device, and storage medium

Similar Documents

Publication Publication Date Title
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
KR100605177B1 (en) Connection handling apparatus of home network management system
CN109753034B (en) Control method, control device, electronic equipment and storage medium
CN109445292B (en) Automatic execution result collection method, device, system and storage medium
CN109725540B (en) Equipment control method and device, electronic equipment and storage medium
CN113412469A (en) Equipment network distribution method and device, electronic equipment and storage medium
CN110324216B (en) Automatic configuration method, device, system, server and storage medium
CN108494637B (en) Method for intelligent household equipment to be in butt joint with Control4 system
CN107196829A (en) Intelligent home furnishing control method, node and node interlock method and system
CN112764351A (en) Control method and device of intelligent device, electronic device and storage medium
CN112596406A (en) Control method and device of intelligent equipment, control panel and storage medium
CN111245677A (en) Communication abnormity reporting method and device, electronic equipment and storage medium
CN114280949A (en) Intelligent control method and device for equipment, intelligent equipment and storage medium
CN110113232A (en) Apparatus control method, device, system, electronic equipment and storage medium
CN109981424B (en) Linkage scheme processing method and device, electronic equipment and storage medium
CN114488828A (en) Control method and device of intelligent home system and intelligent home system
CN109936488B (en) Linkage scheme processing method and device, electronic equipment and storage medium
CN110045705B (en) Intelligent home control method, device and system adopting heterogeneous wireless network
WO2004107660A1 (en) Home network system
CN114326420A (en) Intelligent grouping method and device for equipment, intelligent equipment and storage medium
CN111781848A (en) Server connection method, device and system based on intelligent household equipment
CN113452589B (en) Wide area network intelligent home remote control system and working method thereof
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN115454520A (en) Equipment linkage method and mobile terminal
CN114531350B (en) Interface access method, interface access device and electronic equipment

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