CN111913397A - Device control method, device, storage medium, and electronic apparatus - Google Patents

Device control method, device, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN111913397A
CN111913397A CN202010665103.5A CN202010665103A CN111913397A CN 111913397 A CN111913397 A CN 111913397A CN 202010665103 A CN202010665103 A CN 202010665103A CN 111913397 A CN111913397 A CN 111913397A
Authority
CN
China
Prior art keywords
control
receiving
instruction
devices
control instructions
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.)
Granted
Application number
CN202010665103.5A
Other languages
Chinese (zh)
Other versions
CN111913397B (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.)
Qingdao Yilai Intelligent Technology Co Ltd
Original Assignee
Qingdao Yilai Intelligent 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 Qingdao Yilai Intelligent Technology Co Ltd filed Critical Qingdao Yilai Intelligent Technology Co Ltd
Priority to CN202010665103.5A priority Critical patent/CN111913397B/en
Publication of CN111913397A publication Critical patent/CN111913397A/en
Application granted granted Critical
Publication of CN111913397B publication Critical patent/CN111913397B/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
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • 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
    • 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

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention provides a device control method, a device, a storage medium and an electronic device, wherein the method comprises the following steps: determining a plurality of control instructions, wherein different control instructions included in the plurality of control instructions are used for controlling different devices to execute the same or different target operations, the control instructions carry tag information, and the tag information is used for indicating the devices receiving the control instructions to execute the target operations corresponding to the received control instructions after receiving the execution instructions; correspondingly sending the control instructions to the equipment; and sending the execution instruction to a plurality of devices in a broadcasting mode so as to instruct the plurality of devices to execute the target operation corresponding to the received control instruction. According to the invention, the problem of response time difference existing in the related technology when a plurality of devices are controlled is solved, the cooperativity of the plurality of devices in execution time is improved, and the user experience is improved.

Description

Device control method, device, storage medium, and electronic apparatus
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a device control method, a device control device, a storage medium and an electronic device.
Background
The device control in the smart home is usually initiated by a cloud or a gateway, and is sent to the controlled device through a channel such as a TCP/IP (Transfer control Protocol/Internet Protocol) network or a bluetooth mesh (wireless mesh network).
In the related art, when a plurality of devices are controlled simultaneously, a cloud or a gateway needs to sequentially send control instructions to a plurality of device addresses or a plurality of packet addresses (each instruction may contain different operation contents), and as most of the smart home devices adopt Wi-Fi (wireless network), Bluetooth Low Energy (Bluetooth Low Energy) or Bluetooth mesh (Bluetooth Low Energy mesh network) as transmission media, a large delay exists among a plurality of instructions, so that time differences visible to the naked eye exist in response to control requests of the plurality of devices, and poor user experience is brought.
Therefore, the problem that the response time is different when a plurality of devices are controlled exists in the related art.
In view of the above problems in the related art, no effective solution has been proposed.
Disclosure of Invention
Embodiments of the present invention provide an apparatus control method, an apparatus, a storage medium, and an electronic apparatus, so as to at least solve a problem that a response time difference exists when a plurality of apparatuses are controlled in the related art.
According to an embodiment of the present invention, there is provided an apparatus control method including: determining a plurality of control instructions, wherein different control instructions included in the plurality of control instructions are used for controlling different devices to execute the same or different target operations, the control instructions carry tag information, and the tag information is used for indicating the devices receiving the control instructions to execute the target operations corresponding to the received control instructions after receiving the execution instructions; correspondingly sending the control instructions to the equipment; and sending the execution instruction to a plurality of devices in a broadcasting mode so as to instruct the plurality of devices to execute the target operation corresponding to the received control instruction.
According to another embodiment of the present invention, there is also provided an apparatus control method including: receiving a control instruction from a control end; under the condition that the control instruction is determined to carry label information, executing waiting operation, wherein the label information is used for indicating the equipment receiving the control instruction to execute the target operation corresponding to the received control instruction after receiving the execution instruction; receiving the execution instruction sent by the control end in a broadcasting mode; and executing the target operation under the triggering of the execution instruction.
According to another embodiment of the present invention, there is provided an apparatus control device including: a determining module, configured to determine a plurality of control instructions, where different control instructions included in the plurality of control instructions are used to control different devices to execute the same or different target operations, where the control instructions carry tag information, and the tag information is used to instruct a device that receives the control instructions to execute the target operations corresponding to the received control instructions after receiving the execution instructions; the first sending module is used for correspondingly sending the control instructions to the equipment; and the second sending module is used for sending the execution instruction to the plurality of devices in a broadcasting manner so as to instruct the plurality of devices to execute the target operation corresponding to the received control instruction.
According to another embodiment of the present invention, there is also provided an apparatus control device including: the first receiving module is used for receiving a control instruction from the control end; a first execution module, configured to execute a waiting operation when it is determined that the control instruction carries tag information, where the tag information is used to instruct a device that receives the control instruction to execute a target operation corresponding to the received control instruction after receiving the execution instruction; the second receiving module is used for receiving the execution instruction sent by the control end in a broadcasting mode; and the second execution module is used for executing the target operation under the triggering of the execution instruction.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, different control instructions are included in the plurality of control instructions, the control instructions carry tag information used for instructing equipment receiving the control instructions to execute operations corresponding to the tag information, the plurality of control instructions are sent to the plurality of equipment in a broadcasting mode, the plurality of equipment stores the control instructions after receiving the control instructions, and executes target operations corresponding to the respective received control instructions when receiving the execution instructions. Because the device receives the control instruction before receiving the execution instruction, and can execute the target operation simultaneously when receiving the execution instruction, the problem of response time difference existing in the related technology when controlling a plurality of devices can be solved, the execution time cooperativity of the plurality of devices is improved, and the user experience is improved.
Drawings
Fig. 1 is a block diagram of a hardware configuration of a mobile terminal of an apparatus control method according to an embodiment of the present invention;
FIG. 2 is a first flowchart of a device control method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a device control process according to an embodiment of the invention;
FIG. 4 is a second flowchart of a device control method according to an embodiment of the present invention;
FIG. 5 is a flow chart of a method of controlling a device according to a specific embodiment of the present invention;
FIG. 6 is a first block diagram of the apparatus control device according to the embodiment of the present invention;
fig. 7 is a block diagram of a second configuration of the device control apparatus according to the embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of an apparatus control method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the mobile terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the device control method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a device control method is provided, and fig. 2 is a first flowchart of the device control method according to the embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, determining a plurality of control instructions, wherein different control instructions included in the plurality of control instructions are used for controlling different devices to execute the same or different target operations, the control instructions carry tag information, and the tag information is used for indicating the devices receiving the control instructions to execute the target operations corresponding to the received control instructions after receiving the execution instructions;
step S204, correspondingly sending the control instructions to the equipment;
step S206, sending the execution instruction to the multiple devices in a broadcast manner, so as to instruct the multiple devices to execute the target operation corresponding to the received control instruction.
In the above embodiments, the plurality of devices may be a plurality of devices of the same kind, for example, a plurality of lamps, a plurality of computers, and the like. The device can also be a plurality of different types of devices, for example, the plurality of devices can comprise any combination of a plurality of household devices such as a ceiling lamp, a tube lamp group, a spot lamp group, a lamp strip, a television, a curtain motor and the like; the combination of any number of devices in an office environment is also possible, for example, the plurality of devices may include a combination of any number of devices in an office environment such as a computer, a printer, a water dispenser, and the like. When the plurality of devices are the same kind of device, the control instruction may control the plurality of devices to perform the same or different target operations. When the control instruction controls the multiple devices to perform the same target operation, for example, when the multiple devices are all lamps, the control instruction may control the multiple lamps to be turned on, that is, the target operation is turning on, at this time, the lamps may be numbered, and the lamps at different positions are numbered in sequence, for example, 1,2, 3 … …, so that the identification information carried in the control instruction received by the lamp No. 1 may be (1, 1), the identification information carried in the control instruction received by the lamp No. 2 may be (2, 1), and so on. When the target is turned off during operation, the identification information carried in the control command received by the lamp 1 may be (1, 0), and the identification information carried in the control command received by the lamp 2 may be (2, 0). That is, the device may be turned on by 1 and turned off by 0. Of course, the control instruction may also be to control multiple devices to perform different operations, for example, after numbering multiple luminaires, part of the luminaires may be controlled to be in an open state, and part of the luminaires are in a closed state, and the identification information carried by the control execution received by the luminaires may be (1, 1), (2, 0), (3, 0), (4, 1) … ….
In the above-described embodiment, when the plurality of devices include different kinds of devices, for example, when the plurality of devices include a lamp, an air conditioner, a computer, the equipment can be numbered, such as a lamp 1, a lamp 2 … …, an air conditioner 1, an air conditioner 2 … …, a computer 1 and a computer 2 … …, the control command can be to control the lamps 1 and 3 to be turned on, the lamps 2 and 4 to be turned off, the temperatures of the air conditioners 1 and 2 to be 26 ℃, the model of the air conditioner 3 to be in a cooling mode, the model of the air conditioner 4 to be in a dehumidifying mode, the computers 1 and 2 to be turned on, the identification information carried by the control command may be (lamp 1,1), (lamp 2,0), (lamp 3,1), (lamp 4,0), (air conditioner 1,26), (air conditioner 2, 26), (air conditioner 3, refrigeration), (air conditioner 4, dehumidification), (computer 1,1), (computer 2, 1).
It should be noted that the above identification information is only an exemplary illustration, the identification information is not limited in the present invention, and a user may set the content of the identification information according to needs and control instructions. And after receiving the execution instruction, the equipment executes the target operation corresponding to the control instruction according to the identification information carried in the control instruction.
For example, the executing entity of the above steps may control a party, such as a gateway, a cloud server, a background processor, or other devices with similar processing capabilities, and may also be a machine integrated with at least a data processing device, where the data processing device may include a terminal, such as a computer, a mobile phone, and the like, but is not limited thereto. The control method sends a control instruction to a plurality of devices, the devices are controlled parties, and receive the control instruction sent by the control method and execute corresponding commands, wherein a schematic diagram of a device control process can be seen in fig. 3.
According to the invention, different control instructions are included in the plurality of control instructions, the control instructions carry tag information used for instructing equipment receiving the control instructions to execute operations corresponding to the tag information, the plurality of control instructions are sent to the plurality of equipment in a broadcasting mode, the plurality of equipment stores the control instructions after receiving the control instructions, and executes target operations corresponding to the respective received control instructions when receiving the execution instructions. Because the device receives the control instruction before receiving the execution instruction, and can execute the target operation simultaneously when receiving the execution instruction, the problem of response time difference existing in the related technology when controlling a plurality of devices can be solved, the execution time cooperativity of the plurality of devices is improved, and the user experience is improved.
In one exemplary embodiment, determining the plurality of control instructions comprises: receiving a control request; determining that a plurality of the control instructions need to be constructed based on the control request; constructing a plurality of the control commands. In this embodiment, the control request includes a plurality of different control instructions that need to be sent to a plurality of controlled parties (corresponding to the plurality of devices), and after receiving the control request from a user or from an automation rule, the cloud or the gateway determines a plurality of control instructions that need to be constructed and are included in the control request, and constructs the plurality of control instructions. For example, when the plurality of devices include a lamp, an air conditioner, a television, and the like, the control request may include turning on or off the lamp, the air conditioner, the television, adjusting a lighting mode of the lamp, adjusting a temperature, a mode, and the like of the air conditioner, adjusting a channel, a volume, and the like of the television.
In one exemplary embodiment, determining that a plurality of the control instructions need to be constructed based on the control request comprises: in a case where it is determined that the control request is for requesting to control different devices included in the plurality of devices to perform the same or different target operations, respectively, it is determined that a plurality of the control instructions need to be constructed. In this embodiment, when the webmaster or the cloud receives the control request, it may be determined whether a plurality of control instructions need to be constructed first, that is, when the control request is to execute the same operation on a plurality of devices, only one control instruction may be constructed, for example, when the control request is to open all the lamps, it is not necessary to construct a plurality of control instructions to control each lamp respectively, only one control instruction needs to be constructed to control all the lamps, and at this time, the identification information carried by the control instruction may be (lamp all, 1) (the identification information is only an implementable manner, and a user may customize the identification information carried by the control instruction as needed). When the control request is to perform different operations on the multiple devices, multiple control instructions may be configured according to the operations performed on the different devices, for example, when the control request is to turn on the light fixtures in the living room and turn off the light fixtures in the bedroom, different control instructions may be configured to control the light fixtures in the living room and the light fixtures in the bedroom to perform different target operations. When the light fixture and the air conditioner in the living room are turned on at the time of the control request, different control instructions may be configured to control the light fixture and the air conditioner to perform the same target operation.
In this embodiment, a device control method is provided, and fig. 4 is a second flowchart of the device control method according to the embodiment of the present invention, as shown in fig. 4, the flowchart includes the following steps:
step S402, receiving a control instruction from a control end;
step S404, under the condition that the control instruction is determined to carry mark information, executing waiting operation, wherein the mark information is used for indicating the equipment receiving the control instruction to execute the target operation corresponding to the received control instruction after receiving the execution instruction;
step S406, receiving the execution instruction sent by the control end in a broadcast mode;
step S408, under the trigger of the execution instruction, executing the target operation.
In the above embodiment, the control end may be a cloud end or a gateway, and after receiving the control instruction sent by the control end, determines the identification information carried in the control instruction, waits for a further command, and executes a target operation corresponding to the received control instruction when the device receives the execution instruction. The equipment can be ceiling lamps, tube lamp banks, spot lamp banks, lamp belts, televisions, curtain motors and other household equipment; and can also be equipment in office environment, such as computers, printers, water dispensers and the like. Different devices can receive the control instruction sent by the control terminal, so the devices can be numbered, the same device can be numbered sequentially according to positions, such as device 1, device 2 and device 3 … …, different devices can be numbered according to names of the devices, such as air conditioner 1, lamp 1 and television 1, the numbering mode is only an exemplary implementation mode, a user can customize the numbering mode according to needs, and the numbering mode is not limited by the invention.
In the above-described embodiments, the control instruction may be a target operation of controlling the apparatus to perform turning on or off, and may also be an operation of controlling the apparatus to perform an adjustment mode, adjust a temperature, or the like. For example, when the device receiving the control instruction is a lamp, the control instruction may be to turn on or off the lamp, adjust an illumination mode of the lamp, and the like, and the corresponding identification information may indicate that the lamp 1 performs an on operation by using (lamp 1,1), indicate that the lamp 1 performs an off operation by using (lamp 1,0), and indicate that the lamp 1 performs a ticker mode by using (lamp 1, ticker), that is, the identification information may be the corresponding device and a target operation performed by the device, and may indicate that the device is turned on by using 1, and 0 indicates that the device is turned off. When the device receiving the control instruction is an air conditioner, the identification information carried by the control instruction may be (air conditioner 1,26), (air conditioner 2, 26), (air conditioner 3, refrigeration), (air conditioner 4, dehumidification), and the like, that is, the temperature of the air conditioner 1,2 is adjusted to 26 ℃, the mode of the air conditioner 3 is adjusted to refrigeration, and the mode of the air conditioner 4 is adjusted to dehumidification.
It should be noted that the above identification information is only an exemplary illustration, the identification information is not limited in the present invention, and a user may set the content of the identification information according to needs and control instructions. And after receiving the respective control instruction, the equipment executes the target operation corresponding to the control instruction according to the identification information carried in the control instruction.
Illustratively, the executing subject of the above steps may be a controlled party, such as home equipment, office equipment, etc.
According to the invention, different control instructions are included in the plurality of control instructions, the control instructions carry tag information used for instructing equipment receiving the control instructions to execute operations corresponding to the tag information, the plurality of control instructions are sent to the plurality of equipment in a broadcasting mode, the plurality of equipment stores the control instructions after receiving the control instructions, and executes target operations corresponding to the respective received control instructions when receiving the execution instructions. Because the device receives the control instruction before receiving the execution instruction, and can execute the target operation simultaneously when receiving the execution instruction, the problem of response time difference existing in the related technology when controlling a plurality of devices can be solved, the execution time cooperativity of the plurality of devices is improved, and the user experience is improved.
In an exemplary embodiment, after receiving the control instruction from the control terminal, the method further includes: and under the condition that the control instruction is determined not to carry the marking information, immediately executing the target operation. In this embodiment, after the device receives the control instruction, it is determined that the control instruction carries the tag information, and the target operation may be directly performed, that is, if the device is a lamp, the lamp is turned on when the control instruction is received, and the control instruction does not carry the identification information, that is, the operation of turning on the lamp may be directly performed.
How to control the apparatus is explained below with reference to specific embodiments:
fig. 5 is a flowchart of an apparatus control method according to an embodiment of the present invention, and as shown in fig. 5, the flowchart includes:
step S502, after receiving a control request initiated by a user or an automation rule, a cloud or a gateway (corresponding to the control end, hereinafter referred to as the control end) determines a plurality of different control instructions to be sent to a plurality of controlled parties (corresponding to the plurality of devices), such as an intelligent lamp, included in the control request.
In step S504, the controller determines whether the command needs to be decomposed into a plurality of control commands, and if yes, performs step S506, and if no, performs step S516.
In step S506, the controlling party sequentially sends control commands with different contents to the controlled party, where the control commands include a special mark (corresponding to the above-mentioned identification information) to distinguish from the general commands.
In step S508, after receiving the instruction, the controlled party saves the instruction content, but does not execute it.
Step S510, the controlled party sends a special mark instruction to all devices.
In step S512, after the controller sends the control command to all devices, it broadcasts an "execute" command (the command does not include specific execution content, so that the broadcast mode can be adopted).
In step S514, the controlled party immediately executes the instruction saved in step S508 after receiving the execution instruction.
In step S516, the controller sends a general command to the controlled party.
In step S518, the controlled party executes the normal instruction.
In the foregoing embodiment, the controller first sends control instructions to all devices that need to be controlled, where the instructions include operations that the devices are expected to perform, and the devices cache the contents of the operations but do not perform the operations. The controller then sends an "execute" command, either broadcast or multicast, which is received by all devices to begin performing the desired operations previously received. The control party issues the control instructions in sequence and unifies the execution strategy, so that the cooperativity of the intelligent equipment in the execution time can be greatly improved, and the user experience is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an apparatus control device is further provided, and the apparatus control device is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus control device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of a first structure of a device control apparatus according to an embodiment of the present invention, as shown in fig. 6, the apparatus includes:
a determining module 62, configured to determine a plurality of control instructions, where different control instructions included in the plurality of control instructions are used to control different devices to execute the same or different target operations, where the control instructions carry tag information, and the tag information is used to instruct a device that receives the control instructions to execute the target operation corresponding to the received control instruction after receiving the execution instruction;
a first sending module 64, configured to correspondingly send the control instructions to the devices;
a second sending module 66, configured to send the execution instruction to the multiple devices in a broadcast manner, so as to instruct the multiple devices to execute the target operation corresponding to the received control instruction.
In an exemplary embodiment, the determination module 62 includes: a receiving unit configured to receive a control request; a determination unit configured to determine that a plurality of the control instructions need to be configured based on the control request; a construction unit for constructing a plurality of the control instructions.
In an exemplary embodiment, the determination module 62 may determine that a plurality of the control instructions need to be constructed based on the control request by: in a case where it is determined that the control request is for requesting to control different devices included in the plurality of devices to perform the same or different target operations, respectively, it is determined that a plurality of the control instructions need to be constructed.
Fig. 7 is a block diagram ii of the structure of the device control apparatus according to the embodiment of the present invention, and as shown in fig. 7, the apparatus includes:
a first receiving module 72, configured to receive a control instruction from a control end;
a first executing module 74, configured to execute a waiting operation when it is determined that the control instruction carries tag information, where the tag information is used to instruct a device that receives the control instruction to execute a target operation corresponding to the received control instruction after receiving the execution instruction;
a second receiving module 76, configured to receive the execution instruction sent by the control end in a broadcast manner;
and a second execution module 78, configured to execute the target operation under the trigger of the execution instruction.
In an exemplary embodiment, the apparatus may be configured to, after receiving a control instruction from a control end, immediately execute the target operation when it is determined that the control instruction does not carry the tag information.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above-mentioned method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and they may be implemented using program code executable by the computing devices, such that they may be stored in a memory device and executed by the computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into various integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An apparatus control method characterized by comprising:
determining a plurality of control instructions, wherein different control instructions included in the plurality of control instructions are used for controlling different devices to execute the same or different target operations, the control instructions carry tag information, and the tag information is used for indicating the devices receiving the control instructions to execute the target operations corresponding to the received control instructions after receiving the execution instructions;
correspondingly sending the control instructions to the equipment;
and sending the execution instruction to a plurality of devices in a broadcasting mode so as to instruct the plurality of devices to execute the target operation corresponding to the received control instruction.
2. The method of claim 1, wherein determining a plurality of control commands comprises:
receiving a control request;
determining that a plurality of the control instructions need to be constructed based on the control request;
constructing a plurality of the control commands.
3. The method of claim 2, wherein determining that a plurality of the control instructions need to be constructed based on the control request comprises:
in a case where it is determined that the control request is for requesting to control different devices included in the plurality of devices to perform the same or different target operations, respectively, it is determined that a plurality of the control instructions need to be constructed.
4. An apparatus control method characterized by comprising:
receiving a control instruction from a control end;
under the condition that the control instruction is determined to carry label information, executing waiting operation, wherein the label information is used for indicating the equipment receiving the control instruction to execute the target operation corresponding to the received control instruction after receiving the execution instruction;
receiving the execution instruction sent by the control end in a broadcasting mode;
and executing the target operation under the triggering of the execution instruction.
5. The method of claim 4, wherein after receiving the control instruction from the control end, the method further comprises:
and under the condition that the control instruction is determined not to carry the marking information, immediately executing the target operation.
6. An apparatus control device, characterized by comprising:
a determining module, configured to determine a plurality of control instructions, where different control instructions included in the plurality of control instructions are used to control different devices to execute the same or different target operations, where the control instructions carry tag information, and the tag information is used to instruct a device that receives the control instructions to execute the target operations corresponding to the received control instructions after receiving the execution instructions;
the first sending module is used for correspondingly sending the control instructions to the equipment;
and the second sending module is used for sending the execution instruction to the plurality of devices in a broadcasting manner so as to instruct the plurality of devices to execute the target operation corresponding to the received control instruction.
7. The apparatus of claim 6, wherein the determining module comprises:
a receiving unit configured to receive a control request;
a determination unit configured to determine that a plurality of the control instructions need to be configured based on the control request;
a construction unit for constructing a plurality of the control instructions.
8. An apparatus control device, characterized by comprising:
the first receiving module is used for receiving a control instruction from the control end;
a first execution module, configured to execute a waiting operation when it is determined that the control instruction carries tag information, where the tag information is used to instruct a device that receives the control instruction to execute a target operation corresponding to the received control instruction after receiving the execution instruction;
the second receiving module is used for receiving the execution instruction sent by the control end in a broadcasting mode;
and the second execution module is used for executing the target operation under the triggering of the execution instruction.
9. A computer-readable storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 3 when executed, or to perform the method of any of claims 4 to 5.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 3, or to perform the method of any of claims 4 to 5.
CN202010665103.5A 2020-07-10 2020-07-10 Device control method, device, storage medium, and electronic apparatus Active CN111913397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010665103.5A CN111913397B (en) 2020-07-10 2020-07-10 Device control method, device, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010665103.5A CN111913397B (en) 2020-07-10 2020-07-10 Device control method, device, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN111913397A true CN111913397A (en) 2020-11-10
CN111913397B CN111913397B (en) 2022-08-26

Family

ID=73226390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010665103.5A Active CN111913397B (en) 2020-07-10 2020-07-10 Device control method, device, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN111913397B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784486A (en) * 2021-08-11 2021-12-10 深圳市智岩科技有限公司 Device control method, device, electronic device and storage medium
CN114280949A (en) * 2021-12-10 2022-04-05 深圳市欧瑞博科技股份有限公司 Intelligent control method and device for equipment, intelligent equipment and storage medium
CN114422559A (en) * 2021-12-31 2022-04-29 深圳海翼智新科技有限公司 Device control method and device, electronic device and storage medium
CN115686630A (en) * 2022-10-28 2023-02-03 龙芯中科(南京)技术有限公司 Control method and system of controlled assembly, electronic device and readable medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130046298A (en) * 2011-10-27 2013-05-07 삼성전자주식회사 Method for performing synchronization between devices
CN103905894A (en) * 2014-03-06 2014-07-02 北京国电通网络技术有限公司 Intelligent domestic electric appliance control method and system and intelligent set top box
CN104079957A (en) * 2014-06-25 2014-10-01 广东欧珀移动通信有限公司 Multimedia device synchronous operation method and system
CN104811752A (en) * 2015-04-24 2015-07-29 上海智物信息技术有限公司 Multi-screen synchronization method and playing system for the same local area network
CN105204477A (en) * 2015-10-19 2015-12-30 泰凌微电子(上海)有限公司 Synchronization control method in wireless network, wireless network and intelligent household devices
CN105527931A (en) * 2014-09-28 2016-04-27 丰唐物联技术(深圳)有限公司 Intelligent household device and control method
CN106131331A (en) * 2016-07-01 2016-11-16 诚迈科技(南京)股份有限公司 A kind of method, apparatus and system that multiple smart machines are uniformly controlled
CN107566881A (en) * 2017-08-31 2018-01-09 深圳创维-Rgb电子有限公司 A kind of VR apparatus control methods, device and system
US20180068555A1 (en) * 2016-09-02 2018-03-08 Beijing Xiaomi Mobile Software Co., Ltd. Device control method and apparatus
CN108366283A (en) * 2018-02-12 2018-08-03 苏州佳世达电通有限公司 The media sync playback method of more equipment rooms
CN108769929A (en) * 2018-05-07 2018-11-06 深圳探科技术有限公司 A kind of more controlled plant synchronisation control means and system based on wireless network
CN109725543A (en) * 2018-12-25 2019-05-07 深圳绿米联创科技有限公司 Equipment control code configuration method, device, Cloud Server and network system
CN111176130A (en) * 2020-01-07 2020-05-19 华为技术有限公司 Equipment control method, equipment control method and equipment control system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130046298A (en) * 2011-10-27 2013-05-07 삼성전자주식회사 Method for performing synchronization between devices
CN103905894A (en) * 2014-03-06 2014-07-02 北京国电通网络技术有限公司 Intelligent domestic electric appliance control method and system and intelligent set top box
CN104079957A (en) * 2014-06-25 2014-10-01 广东欧珀移动通信有限公司 Multimedia device synchronous operation method and system
CN105527931A (en) * 2014-09-28 2016-04-27 丰唐物联技术(深圳)有限公司 Intelligent household device and control method
CN104811752A (en) * 2015-04-24 2015-07-29 上海智物信息技术有限公司 Multi-screen synchronization method and playing system for the same local area network
CN105204477A (en) * 2015-10-19 2015-12-30 泰凌微电子(上海)有限公司 Synchronization control method in wireless network, wireless network and intelligent household devices
CN106131331A (en) * 2016-07-01 2016-11-16 诚迈科技(南京)股份有限公司 A kind of method, apparatus and system that multiple smart machines are uniformly controlled
US20180068555A1 (en) * 2016-09-02 2018-03-08 Beijing Xiaomi Mobile Software Co., Ltd. Device control method and apparatus
CN107566881A (en) * 2017-08-31 2018-01-09 深圳创维-Rgb电子有限公司 A kind of VR apparatus control methods, device and system
CN108366283A (en) * 2018-02-12 2018-08-03 苏州佳世达电通有限公司 The media sync playback method of more equipment rooms
CN108769929A (en) * 2018-05-07 2018-11-06 深圳探科技术有限公司 A kind of more controlled plant synchronisation control means and system based on wireless network
CN109725543A (en) * 2018-12-25 2019-05-07 深圳绿米联创科技有限公司 Equipment control code configuration method, device, Cloud Server and network system
CN111176130A (en) * 2020-01-07 2020-05-19 华为技术有限公司 Equipment control method, equipment control method and equipment control system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113784486A (en) * 2021-08-11 2021-12-10 深圳市智岩科技有限公司 Device control method, device, electronic device and storage medium
CN113784486B (en) * 2021-08-11 2024-04-12 深圳市智岩科技有限公司 Equipment control method, device, electronic equipment and storage medium
CN114280949A (en) * 2021-12-10 2022-04-05 深圳市欧瑞博科技股份有限公司 Intelligent control method and device for equipment, intelligent equipment and storage medium
CN114422559A (en) * 2021-12-31 2022-04-29 深圳海翼智新科技有限公司 Device control method and device, electronic device and storage medium
CN115686630A (en) * 2022-10-28 2023-02-03 龙芯中科(南京)技术有限公司 Control method and system of controlled assembly, electronic device and readable medium

Also Published As

Publication number Publication date
CN111913397B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN111913397B (en) Device control method, device, storage medium, and electronic apparatus
US7564804B2 (en) Method of assigning addresses to a plurality of devices on a network and a network system therefor
US10039174B2 (en) Systems and methods for acknowledging broadcast messages in a wireless lighting control network
CN111865736B (en) Equipment control method and device
CN103512159A (en) Air conditioner and air conditioner control system
CN106411667A (en) Intelligent home multi-cloud control method and system based on network chip
CN111885144A (en) Equipment binding method and device
CN105357255A (en) Remote update method and system
CN105425603A (en) Method and apparatus for controlling intelligent equipment
CN104320347B (en) A kind of method and apparatus for actively updating LLDP
CN111866856A (en) Mesh device control method and system, storage medium and electronic device
CN110662197A (en) Parameter configuration method, device, communication equipment and storage medium
CN105827443A (en) Network device discovery method and device
US11098914B2 (en) System and method for operating a HVAC system by determining occupied state of a structure via IP address
CN202630316U (en) Air conditioner and air conditioner control system
CA2964914A1 (en) Systems and methods for acknowledging broadcast messages in a wirelss lighting control netowrk
CN108566441B (en) Method for processing data by NAS device, NAS device and medium
CN110661896B (en) Method for determining mapping address of data stream and server
CN105049266A (en) Method for achieving network node control
CN110109380A (en) A kind of time control method, timing control system, gateway and readable storage medium storing program for executing
CN103973502A (en) Wireless program updating method for devices of intelligent housing system
CN110311841A (en) Method, equipment and the Intelligent household system of wisdom household equipment management
CN109640339B (en) Method, device, system and storage medium for managing multiple Bluetooth antenna devices
CN110611589A (en) Control method and device of regional control system and air conditioning system
CN111465081A (en) Control instruction receiving and sending method, device, equipment and storage medium

Legal Events

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