CN115356937A - Device control method, device, storage medium, and electronic apparatus - Google Patents
Device control method, device, storage medium, and electronic apparatus Download PDFInfo
- Publication number
- CN115356937A CN115356937A CN202210871056.9A CN202210871056A CN115356937A CN 115356937 A CN115356937 A CN 115356937A CN 202210871056 A CN202210871056 A CN 202210871056A CN 115356937 A CN115356937 A CN 115356937A
- Authority
- CN
- China
- Prior art keywords
- control instruction
- control
- equipment
- cluster
- internet
- 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
Links
- 238000003860 storage Methods 0.000 title claims abstract description 18
- 238000000034 method Methods 0.000 title claims description 65
- 230000004044 response Effects 0.000 claims abstract description 106
- 238000004891 communication Methods 0.000 claims abstract description 61
- 230000001960 triggered effect Effects 0.000 claims abstract description 31
- 238000010998 test method Methods 0.000 claims abstract 3
- 238000004590 computer program Methods 0.000 claims description 20
- 230000015654 memory Effects 0.000 claims description 20
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000009286 beneficial effect Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000003993 interaction Effects 0.000 description 4
- 238000005406 washing Methods 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010408 sweeping Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000004887 air purification Methods 0.000 description 1
- 235000019504 cigarettes Nutrition 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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)
- Telephonic Communication Services (AREA)
- Selective Calling Equipment (AREA)
Abstract
The application discloses an equipment control test method, a storage medium and an electronic device, and relates to the technical field of smart homes/smart families, wherein the equipment control test method comprises the following steps: responding to a first control instruction triggered by an object account on an Internet of things application program, and determining an object device cluster matched with the object account from a plurality of device clusters associated with the Internet of things application program, wherein the device cluster is a cluster formed by a plurality of devices associated with each other and comprises first devices; forwarding the first control instruction to gateway equipment in the object equipment cluster so that the gateway equipment establishes temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment; and forwarding the first control response to the client of the target account under the condition of acquiring the first control response of the first control instruction. The invention solves the technical problem of lower equipment control efficiency.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a device control method, device, storage medium, and electronic apparatus.
Background
The control of the related technology to the equipment usually depends on signals with higher requirements on distance, such as Bluetooth, infrared rays, radio frequency and the like, so that the distance limitation is difficult to break through, a user is supported to complete the control to the equipment at any time and any place, and the control efficiency to the equipment is further reduced. Namely, the related art has a technical problem of low equipment efficiency.
Disclosure of Invention
The embodiment of the application provides a device control method and device, a storage medium and an electronic device, so as to at least solve the technical problem of low device control efficiency.
According to an aspect of an embodiment of the present application, there is provided an apparatus control method including:
determining an object device cluster matched with an object account from a plurality of device clusters associated with an internet of things application program in response to a first control instruction triggered by the object account on the internet of things application program, wherein the first control instruction is used for indicating to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster comprises the first device;
forwarding the first control instruction to a gateway device in the object device cluster, so that the gateway device establishes a temporary communication connection with the first device, and transmits the first control instruction through the temporary communication connection to control the first device;
and forwarding the first control response to the client of the target account under the condition of acquiring the first control response of the first control instruction, wherein the client of the target account is provided with the internet of things application program.
According to another aspect of the embodiments of the present application, there is also provided an apparatus control device, including:
a first determining unit, configured to determine, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account from multiple device clusters associated with the internet of things application program, where the first control instruction is used to instruct to control a first device, the device cluster is a cluster formed by multiple devices associated with each other, and the object device cluster includes the first device;
a first connection unit, configured to forward the first control instruction to a gateway device in the target device cluster, so that the gateway device establishes a temporary communication connection with the first device, and transmit the first control instruction through the temporary communication connection to control the first device;
and a first response unit, configured to, in a case where a first control response of the first control instruction is obtained, forward the first control response to a client of the target account, where the client of the target account is installed with the internet of things application program.
As an optional solution, the first connection unit further includes: and the first forwarding module is used for forwarding the first control instruction to the gateway device in the object device cluster through a wireless network.
As an optional scheme, before the determining, by the first determining unit, a target device cluster matched with the target account from a plurality of device clusters associated with the internet of things application program in response to a first control instruction triggered by the target account on the internet of things application program, the method includes: a first obtaining unit, configured to obtain, through the wireless network, the first control instruction sent by a client of the object account; or, the second obtaining unit is configured to obtain, through infrared emission light, the first control instruction sent by a terminal device where a client of the object account is located; or, the third obtaining unit is configured to obtain, through a bluetooth signal, the first control instruction sent by the terminal device where the client of the object account is located.
As an optional solution, the first determining unit includes: a first obtaining module, configured to respond to the first control instruction, and obtain device identification information carried in the first control instruction; and a first determining module, configured to determine, from the multiple device clusters associated with the internet of things application, the object device cluster that is matched with the device identification information.
As an optional solution, the first obtaining module includes at least one of: a first response submodule, configured to respond to the first control instruction, and acquire an MAC address carried in the first control instruction; and the second response submodule is used for responding to the first control instruction and acquiring the product serial number carried in the first control instruction.
As an optional scheme, after the first response unit, in a case of acquiring a first control response of the first control instruction, forwards the first control response to the client of the target account, the method further includes: and the fourth acquisition unit is used for acquiring the matching relationship between the object account and the gateway equipment and storing the matching relationship into a database.
As an optional scheme, after the obtaining of the matching relationship between the object account and the gateway device and storing the matching relationship in a database, the fourth obtaining unit further includes: a second determining unit, configured to determine, in response to a second control instruction triggered by the object account on the internet of things application, the gateway device having the matching relationship with the object account from the database; a second connection unit, configured to forward the second control instruction to the gateway device, so that the gateway device establishes a temporary communication connection with a second device, and transmits the second control instruction through the temporary communication connection with the second device to control the second device; and a second response unit, configured to forward, when a second control response to the second control instruction is obtained, the second control response to the client of the target account.
According to yet another aspect of embodiments herein, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the device control method as above.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the device control method through the computer program.
In the embodiment of the application, in response to a first control instruction triggered by an object account on an internet of things application program, determining an object device cluster matched with the object account from a plurality of device clusters associated with the internet of things application program, where the first control instruction is used to instruct to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster includes the first device; forwarding the first control instruction to a gateway device in the object device cluster, so that the gateway device establishes a temporary communication connection with the first device, and transmits the first control instruction through the temporary communication connection to control the first device; and under the condition that a first control response of the first control instruction is acquired, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with the internet of things application program. A system is formed by utilizing WIFI and BLE Bluetooth technologies through gateway equipment, so that remote control of intelligent household appliances at any time and any place is realized, the reliability of control is further ensured on the basis of realizing remote control of a multi-equipment cluster, the technical effect of improving the control efficiency of the equipment is realized, and the technical problem of lower control efficiency of the equipment is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic diagram of a hardware environment of an interaction method of a first device according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of an alternative plant control method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an example of an alternative plant control method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an example of another alternative plant control method according to an embodiment of the application;
FIG. 5 is a schematic diagram of an example of another alternative plant control method according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an example of an alternative plant control method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an example of an alternative plant control method according to an embodiment of the application;
FIG. 8 is a schematic diagram of an alternative appliance control method apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, an interaction method of intelligent household equipment is provided. The interaction method of the intelligent Home equipment is widely applied to full-house intelligent digital control application scenes such as intelligent homes (Smart Home), intelligent homes, intelligent Home equipment ecology, intelligent house (Intellignee House) ecology and the like. Optionally, in this embodiment, the interaction method of the smart home device may be applied to a hardware environment formed by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be configured to provide a service (e.g., an application service) for the terminal or a client installed on the terminal, provide a database on or independent of the server for providing a data storage service for the server 104, and configure a cloud computing and/or edge computing service on or independent of the server for providing a data operation service for the server 104.
The network may include, but is not limited to, at least one of: wired networks, wireless networks. The wired network may include, but is not limited to, at least one of: wide area networks, metropolitan area networks, local area networks, which may include, but are not limited to, at least one of the following: WIFI (Wireless Fidelity ), bluetooth. Terminal equipment 102 can be but not limited to be PC, the cell-phone, the panel computer, intelligent air conditioner, intelligent cigarette machine, intelligent refrigerator, intelligent oven, intelligent kitchen range, intelligent washing machine, intelligent water heater, intelligent washing equipment, intelligent dish washer, intelligent projection equipment, intelligent TV, intelligent clothes hanger, intelligent (window) curtain, intelligence audio-visual, smart jack, intelligent stereo set, intelligent audio amplifier, intelligent new trend equipment, intelligent kitchen guarding equipment, intelligent bathroom equipment, intelligence robot of sweeping the floor, intelligence robot of wiping the window, intelligence robot of mopping the ground, intelligent air purification equipment, intelligent steam ager, intelligent microwave oven, intelligent kitchen is precious, intelligent clarifier, intelligent water dispenser, intelligent lock etc..
Optionally, as an optional implementation manner, as shown in fig. 2, the device control method includes:
s202, responding to a first control instruction triggered by an object account on an internet of things application program, and determining an object equipment cluster matched with the object account from a plurality of equipment clusters associated with the internet of things application program, wherein the first control instruction is used for indicating to control first equipment, the equipment cluster is a cluster formed by a plurality of mutually associated equipment, and the object equipment cluster comprises the first equipment;
s204, forwarding the first control instruction to the gateway equipment in the object equipment cluster so that the gateway equipment establishes temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment;
and S206, under the condition that the first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with an Internet of things application program.
Optionally, in this embodiment, the device control method may be applied to, but not limited to, an intelligent home control scene, with the development of computers and the internet, people have higher and higher requirements for intelligence of a home, and existing intelligent household appliances all support BLE bluetooth.
The WIFI technology can be used for realizing remote control, when intelligent equipment which needs to be controlled is more, namely a control unit is an intelligent equipment cluster, accurate control cannot be guaranteed for each equipment in the equipment cluster, namely the reliability of the control cannot be guaranteed.
Optionally, in this embodiment, the internet of things application is an application that connects the physical device with the internet according to a network protocol to realize intelligent management of the device, and may be, but is not limited to, a mobile phone APP, a computer webpage, and the like; the first device may be an intelligent household appliance in a device cluster, and may be, but is not limited to, an intelligent air conditioner, an intelligent washing machine, an intelligent water heater, and the like; the equipment cluster is a cluster formed by a plurality of pieces of equipment which are mutually associated, and the equipment cluster can be configured with different cluster labels according to different application scenes, such as an equipment cluster which is formed by a smart television, a smart air conditioner and a smart floor sweeping robot and is labeled as a living room; the first control instruction is an instruction which is triggered by the object account on the internet of things application program and used for indicating control of the first device, the mode for triggering the first control instruction can be but is not limited to modes of screen touch triggering, sound control triggering, vibration triggering and the like, the mode for triggering the first control instruction can also be a mode for triggering the control instruction according to distance information, for example, the internet of things application program is allowed to acquire GPS position information and preset position information of a user mobile phone, when the distance between the position of the user mobile phone and the preset position reaches a preset distance, the control instruction is automatically triggered, for example, the user A presets to start an air conditioner at a distance of 1 kilometer from home, and to close the air conditioner at a distance of more than 1 kilometer, so that the diversity of control triggering modes is improved.
Optionally, in this embodiment, after receiving the control instruction, the gateway device actively scans a bluetooth broadcast of a peripheral device, establishes a bluetooth connection with the device, and sends a control instruction to the first device according to a content of the first control instruction, and after receiving a first control response fed back by the first device, the gateway device forwards the first control response to the internet of things application program of the object account, where the gateway device may be, but is not limited to, installed on a router, a smart speaker, a door lock, or the like; the temporary communication connection mainly refers to short-distance short-time data connection and communication link through Bluetooth; the first control response is a response made by the first device after receiving the control instruction, and may be, but not limited to, feedback to result information of success or failure of execution of the gateway device; the temporary communication connection is a short-time communication connection that is performed, and may be, but is not limited to, a short-time short-range communication connection implemented by bluetooth.
Optionally, in this embodiment, the gateway device obtains device information of the device cluster, and the gateway device sends the device information of the device cluster to the internet of things application program of the object account, where the device information includes a product serial number of the device, a control instruction available for response, a device name, and the like.
It should be noted that, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account is determined from a plurality of device clusters associated with the internet of things application program, where the first control instruction is used to instruct to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster includes the first device; forwarding the first control instruction to gateway equipment in the object equipment cluster so that the gateway equipment establishes temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment; and under the condition that a first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with an internet of things application program. The method has the beneficial effect of improving the control reliability of the equipment.
For further example, optionally as shown in fig. 3, in response to a first control instruction triggered by the object account on the internet of things application program 302, the cloud platform 304 determines, from a plurality of device clusters associated with the internet of things application program 302, an object device cluster matched with the object account; the cloud platform forwards the first control instruction to the gateway device 306 in the object device cluster, so that the gateway device 306 establishes a temporary communication connection with the first device 308, and transmits the first control instruction through the temporary communication connection to control the first device 308; and forwarding the first control response to the client of the target account under the condition of acquiring the first control response of the first control instruction.
According to the embodiment provided by the application, in response to a first control instruction triggered by an object account on an internet of things application program, determining an object device cluster matched with the object account from a plurality of device clusters associated with the internet of things application program, wherein the first control instruction is used for indicating to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster comprises the first device; forwarding the first control instruction to gateway equipment in the object equipment cluster so that the gateway equipment establishes temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment; and under the condition that a first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with an internet of things application program. Utilize WIFI and BLE bluetooth technology to constitute a system through gateway equipment, and then realize the remote control of the intelligent household electrical appliances of anytime and anywhere, further guaranteed the reliability of control on the basis of realizing the remote control of many equipment clusters to realized improving equipment control efficiency's technological effect, and then solved the lower technical problem of equipment control efficiency.
As an optional scheme, forwarding the first control instruction to a gateway device in the object device cluster, including;
and forwarding the first control instruction to the gateway equipment in the object equipment cluster through the wireless network.
For further example, optionally, as shown in fig. 4, for example, the user a wants to remotely turn on a camera in the living room through the internet of things application 402, the user a issues a control instruction of "turning on the camera in the living room" in a voice-controlled manner through the mobile phone APP, the wireless network 404 obtains a Mac address carried by the control instruction, the Mac address is configured in advance when the user a registers the mobile phone APP, and the wireless network determines the position of the gateway device 406 through the Mac address and forwards the first control instruction to the gateway device 406.
According to the embodiment provided by the application, the first control instruction is forwarded to the gateway device in the object device cluster through the wireless network, so that the aim of connecting the gateway device with the wireless network is fulfilled, and the technical effect of improving the transmission efficiency of the control instruction is achieved.
As an optional scheme, before determining an object device cluster matched with an object account from a plurality of device clusters associated with an internet of things application program in response to a first control instruction triggered by the object account on the internet of things application program, the method includes the steps of;
s1, acquiring a first control instruction sent by a client of a target account through a wireless network; or the like, or, alternatively,
s2, acquiring a first control instruction sent by a terminal device where a client of the object account is located through infrared emission light; or the like, or, alternatively,
and S3, acquiring a first control instruction sent by the terminal equipment where the client of the object account is located through the Bluetooth signal.
Optionally, in this embodiment, the sending manner of the control instruction is determined according to the distance between the gateway device and the client and the placement scenario of the device cluster, that is, the internet of things application is installed on different devices, and the distance is different, and the operation of sending the first control instruction in different manners is used, but not limited to sending the first control instruction to the gateway device through the infrared ray emission light when the distance is short and the internet of things application is installed on a device with an infrared ray emission function, and sending the first control instruction to the gateway device through the bluetooth connection when the distance is short and the internet of things application is installed on a device with a bluetooth function; the distance threshold value can be set, and when the distance threshold value is larger than the preset distance threshold value, the wireless network acquisition mode is adopted, and when the distance threshold value is smaller than the preset distance threshold value, the infrared ray or Bluetooth connection mode is adopted to acquire the control instruction.
It should be noted that, a first control instruction sent by a client of an object account is acquired through a wireless network; or acquiring a first control instruction sent by the terminal equipment where the client of the object account is located by infrared emission light; or acquiring a first control instruction sent by the terminal equipment where the client of the object account is located through the Bluetooth signal. The method has the beneficial effect of improving the diversity of control means.
According to the embodiment provided by the application, a first control instruction sent by a client of an object account is acquired through a wireless network; or acquiring a first control instruction sent by the terminal equipment where the client of the object account is located by infrared emission light; or, the first control instruction sent by the terminal device where the client of the object account is located is obtained through the Bluetooth signal, so that the purposes of limiting and remote control and obtaining the control instruction in a short distance by using an infrared technology or Bluetooth information are achieved, and the comprehensive beneficial effect of device control is achieved.
As an optional scheme, in response to a first control instruction triggered by an object account on an internet of things application program, determining an object device cluster matched with the object account from a plurality of device clusters associated with the internet of things application program, including;
s1, responding to a first control instruction, and acquiring equipment identification information carried in the first control instruction;
and S2, determining an object equipment cluster matched with the equipment identification information from the plurality of equipment clusters associated with the Internet of things application program.
Optionally, in this embodiment, the gateway device receives the application internet of things program, and obtains device identification information carried in the first control instruction through a first control instruction sent by the wireless network, where the device identification information may be, but is not limited to, information with a device name, a product serial number, and the like, and determines a device cluster in which the device information matches from multiple device clusters in the gateway device, to further determine the first device in the device cluster.
It should be noted that, in response to the first control instruction, the device identification information carried in the first control instruction is obtained; and determining an object equipment cluster matched with the equipment identification information from a plurality of equipment clusters associated with the Internet of things application program. The method has the beneficial effect of improving the accuracy of equipment matching.
For further example, optionally, as shown in fig. 5, for example, the user a wants to turn on a bedroom air conditioner, the gateway device 504 determines a bedroom device cluster from multiple device clusters in a bedroom, a living room, a kitchen, and the like, further determines the first device 506, sends a start instruction to the bedroom air conditioner device, acquires a control response of the start of the air conditioner after the air conditioner is started, and sends the control response to the application program of the user a through the wireless network, so that the user a knows that the bedroom air conditioner is successfully turned on, and information such as the temperature and the mode of the turn-on air conditioner, and thus the user can conveniently perform the next control, for example, after receiving the instruction of turning on the air conditioner, the user further controls the smart window to be turned off.
According to the embodiment provided by the application, equipment identification information carried in a first control instruction is obtained in response to the first control instruction; the object equipment cluster matched with the equipment identification information is determined from the multiple equipment clusters associated with the Internet of things application program, and the matched object equipment cluster is determined through the equipment label, so that the purpose of quickly and accurately matching the equipment clusters is achieved, and the technical effect of improving the efficiency of matching equipment is achieved.
As an optional scheme, in response to the first control instruction, acquiring device identification information carried in the first control instruction, where the device identification information includes at least one of the following information;
responding to the first control instruction, and acquiring an MAC address carried in the first control instruction;
and responding to the first control instruction, and acquiring the product serial number carried in the first control instruction.
Optionally, in this embodiment, the MAC address may be, but is not limited to, an adapter address or an adapter identifier, which is dedicated to the data link layer and transmits a data frame from one node to another node of the same link; the product serial number is a unique code defining each product produced by the enterprise, wherein the code can be automatically generated according to a predefined coding rule, or can be manually created, and can be used for controlling the product process, managing the production quality, tracking the material inventory, serving after the product and the like.
According to the embodiment provided by the application, the MAC address carried in the first control instruction is acquired in response to the first control instruction; and responding to the first control instruction, acquiring the product serial number carried in the first control instruction, and further achieving the purpose of improving the directness of the acquired control instruction, thereby realizing the technical effect of improving the accuracy of control.
As an optional scheme, in the case of acquiring a first control response of the first control instruction, after forwarding the first control response to the client of the target account, the method further includes;
and acquiring a matching relation between the object account and the gateway equipment, and storing the matching relation into a database.
Optionally, in this embodiment, information of the target device and the gateway device is obtained, whether a matching relationship corresponding to the target device exists in the database is determined, if the matching relationship does not exist, the address of the gateway device is searched through the wireless network and the matching relationship is stored in the database, and if the matching relationship exists in the database, the control instruction may be directly forwarded to the gateway device. History matching information of the user can be recorded in the server, but not limited to, and can be combined with the history to facilitate direct matching when the object device and the gateway device establish connection.
According to the embodiment provided by the application, the matching relation between the object account and the gateway equipment is obtained, and the matching relation is stored in the database, so that the aim of improving the matching efficiency is fulfilled, and the technical effect of improving the control efficiency is achieved.
As an optional scheme, after acquiring a matching relationship between the object account and the gateway device and storing the matching relationship in the database, the method further includes;
s1, in response to a second control instruction triggered by an object account on an internet of things application program, determining gateway equipment having a matching relationship with the object account from a database;
s2, forwarding the second control instruction to the gateway equipment so that the gateway equipment establishes temporary communication connection with the second equipment, and transmitting the second control instruction through the temporary communication connection with the second equipment to control the second equipment;
and S3, under the condition that a second control response of the second control instruction is obtained, forwarding the second control response to the client of the target account.
Optionally, in this embodiment, the second control device is another device except the first device, which is not unnecessarily limited herein, and the second control instruction is one of the control instructions.
It should be noted that, in response to a second control instruction triggered by the object account on the internet of things application program, gateway equipment having a matching relationship with the object account is determined from the database; forwarding the second control instruction to the gateway device so that the gateway device establishes a temporary communication connection with the second device, and transmits the second control instruction through the temporary communication connection with the second device to control the second device; and forwarding the second control response to the client of the target account under the condition of acquiring the second control response of the second control instruction. The advantageous effect of improving the convenience of re-establishing the communication connection.
For further example, optionally, for example, when the user a sends a control instruction to a gateway device in a home through an internet of things application program for the first time, the cloud platform determines from the database that information of an account of the user a and the gateway device cannot be queried in the database, reads a Mac address in the control instruction, determines an address of the gateway device through a wireless network, sends a first control instruction to the gateway device, and when the user a sends the control instruction to the gateway device again, the cloud platform reads a matching relationship between the account of the user a and the gateway device from the database, and directly sends a second control instruction to the gateway device.
According to the embodiment provided by the application, in response to a second control instruction triggered by the object account on the internet of things application program, determining gateway equipment having a matching relationship with the object account from a database; forwarding the second control instruction to the gateway device so that the gateway device establishes a temporary communication connection with the second device, and transmits the second control instruction through the temporary communication connection with the second device to control the second device; under the condition that a second control response of a second control instruction is obtained, the second control response is forwarded to the client side of the target account, and the purpose of improving the efficiency of secondary matching in combination with the history matching record is further achieved, so that the technical effect of improving the matching efficiency is achieved.
For convenience of understanding, the reporting method is applied to a specific device control scene:
optionally, for example, as shown in fig. 6, the whole remote control system is composed of a mobile phone APP, a cloud platform, a gateway device supporting BLE and WIFI, and an intelligent household appliance device; specifically, for example, as shown in fig. 7, a mobile phone is connected to a wireless network, and a mobile phone APP702 sends a control instruction to a cloud platform 704 through a WIFI protocol; the cloud platform 704 sends a control instruction based on the WIFI protocol to the gateway device 706 through the wireless network according to the MAC address and the product serial number of the intelligent household appliance 708 in the received control instruction. After receiving the WIFI control command, the gateway device 706 actively scans BLE bluetooth broadcasts of the smart home device 708, actively establishes a BLE bluetooth connection with the smart home device, and sends the BLE control command to the smart home device 708; after receiving the BLE control command sent by the gateway device 706, the intelligent household appliance 708 responds to the control command and sends a BLE control command response result to the gateway device 706; after receiving the control response, the gateway device 706 sends a WIFI control response to the cloud platform 704; the cloud platform 704 sends a WIFI control response to the mobile phone APP702; the mobile phone APP702 displays a remote control result according to the WIFI control response;
it is understood that in the specific implementation of the present application, related data such as user information, when the above embodiments of the present application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use and processing of related data need to comply with related laws and regulations and standards of related countries and regions.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
According to another aspect of the embodiments of the present application, there is also provided an appliance control apparatus for implementing the above appliance control method. As shown in fig. 8, the apparatus includes:
a first determining unit 802, configured to determine, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account from multiple device clusters associated with the internet of things application program, where the first control instruction is used to instruct to control a first device, the device cluster is a cluster formed by multiple devices associated with each other, and the object device cluster includes the first device;
a first connection unit 804, configured to forward the first control instruction to a gateway device in the object device cluster, so that the gateway device establishes a temporary communication connection with the first device, and transmits the first control instruction through the temporary communication connection to control the first device;
a first responding unit 806, configured to forward the first control response to the client of the target account when the first control response of the first control instruction is acquired, where an internet of things application is installed on the client of the target account.
Optionally, in this embodiment, the device control method may be but not limited to be applied in an intelligent home control scenario, along with the development of computers and the internet, people have higher and higher requirements for intelligence of a home, and existing intelligent home devices all support BLE bluetooth.
The WIFI technology can be used for realizing remote control, when intelligent equipment which needs to be controlled is more, namely a control unit is an intelligent equipment cluster, accurate control cannot be guaranteed for each equipment in the equipment cluster, namely the reliability of the control cannot be guaranteed.
Optionally, in this embodiment, the internet of things application is an application that connects the physical device with the internet according to a network protocol to realize intelligent management of the device, and may be, but is not limited to, a mobile phone APP, a computer webpage, and the like; the first device may be an intelligent household appliance in a device cluster, and may be but not limited to an intelligent air conditioner, an intelligent washing machine, an intelligent water heater, and the like; the equipment cluster is a cluster formed by a plurality of pieces of equipment which are mutually associated, and the equipment cluster can be configured with different cluster labels according to different application scenes, such as an equipment cluster which is formed by a smart television, a smart air conditioner and a smart floor sweeping robot and is labeled as a living room; the first control instruction is an instruction which is triggered by the object account on the internet of things application program and used for indicating to control the first device, the mode for triggering the first control instruction can be but is not limited to modes of using screen touch trigger, sound control trigger, vibration trigger and the like, the mode for triggering the first control instruction can also be a mode for triggering the control instruction according to distance information, for example, the internet of things application program is allowed to obtain GPS position information and preset position information of a user mobile phone, when the distance between the position of the user mobile phone and the preset position reaches a preset distance, the control instruction is automatically triggered, for example, the user A starts an air conditioner when the distance from the user A reaches 1 kilometer, and closes the air conditioner when the distance exceeds 1 kilometer, so that the diversity of control triggering modes is improved.
Optionally, in this embodiment, after receiving the control instruction, the gateway device actively scans a bluetooth broadcast of a peripheral device, establishes a bluetooth connection with the device, and sends a control instruction to the first device according to a content of the first control instruction, and after receiving a first control response fed back by the first device, the gateway device forwards the first control response to the internet of things application program of the object account, where the gateway device may be, but is not limited to, installed on a router, a smart speaker, a door lock, or the like; the temporary communication connection mainly refers to short-distance short-time data connection and communication link through Bluetooth; the first control response is a response made by the first device after receiving the control instruction, and may be, but not limited to, feedback to result information of success or failure of execution of the gateway device; the temporary communication connection is a short-time communication connection that is performed, and may be, but is not limited to, a short-time short-range communication connection implemented by bluetooth.
Optionally, in this embodiment, the gateway device obtains device information of the device cluster, and the gateway device sends the device information of the device cluster to the internet of things application program of the object account, where the device information includes a product serial number of the device, a control instruction available for response, a device name, and the like.
It should be noted that, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account is determined from a plurality of device clusters associated with the internet of things application program, where the first control instruction is used to instruct to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster includes the first device; forwarding the first control instruction to gateway equipment in the object equipment cluster so that the gateway equipment establishes temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment; and under the condition that a first control response of the first control instruction is obtained, forwarding the first control response to a client of the target account, wherein an internet of things application program is installed on the client of the target account. The method has the beneficial effect of improving the control reliability of the equipment.
According to the embodiment provided by the application, in response to a first control instruction triggered by an object account on an internet of things application program, determining an object device cluster matched with the object account from a plurality of device clusters associated with the internet of things application program, wherein the first control instruction is used for indicating to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster comprises the first device; forwarding the first control instruction to gateway equipment in the object equipment cluster so as to enable the gateway equipment to establish temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment; and under the condition that a first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with an internet of things application program. Utilize WIFI and BLE bluetooth technology to constitute a system through gateway equipment, and then realize the remote control of the intelligent household electrical appliances of anytime and anywhere, further guaranteed the reliability of control on the basis of realizing the remote control of many equipment clusters to realized improving equipment control efficiency's technological effect, and then solved the lower technical problem of equipment control efficiency.
For a specific embodiment, reference may be made to the example shown in the device control apparatus, which is not described herein again in this example.
As an optional solution, the first connection unit further includes: and the first forwarding module is used for forwarding the first control instruction to the gateway equipment in the object equipment cluster through a wireless network.
For a specific embodiment, reference may be made to an example shown in the above device control method, and details in this example are not described herein again.
As an optional scheme, before determining, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account from a plurality of device clusters associated with the internet of things application program, the first determining unit includes: the first acquisition unit is used for acquiring a first control instruction sent by a client of the object account through a wireless network; or the second acquisition unit is used for acquiring a first control instruction sent by the terminal equipment where the client of the object account is located through infrared emission light; or, the third obtaining unit is configured to obtain, through the bluetooth signal, the first control instruction sent by the terminal device where the client of the object account is located.
For a specific embodiment, reference may be made to the example shown in the device control apparatus, which is not described herein again in this example.
As an optional solution, the first determining unit includes: the first obtaining module is used for responding to the first control instruction and obtaining the equipment identification information carried in the first control instruction; the first determining module is used for determining an object device cluster matched with the device identification information from a plurality of device clusters associated with the Internet of things application program.
For a specific embodiment, reference may be made to an example shown in the above device control apparatus, and details in this example are not described herein again.
As an optional solution, the first obtaining module includes at least one of: the first response submodule is used for responding to the first control instruction and acquiring an MAC address carried in the first control instruction; and the second response submodule is used for responding to the first control instruction and acquiring the product serial number carried in the first control instruction.
For a specific embodiment, reference may be made to an example shown in the above device control apparatus, and details in this example are not described herein again.
As an optional scheme, after the first response unit obtains the first control response of the first control instruction, and forwards the first control response to the client of the target account, the method further includes: and the fourth acquisition unit is used for acquiring the matching relationship between the object account and the gateway equipment and storing the matching relationship into the database.
For a specific embodiment, reference may be made to the example shown in the device control apparatus, which is not described herein again in this example.
As an optional scheme, after the fourth obtaining unit obtains a matching relationship between the object account and the gateway device, and stores the matching relationship in the database, the method further includes: the second determining unit is used for determining gateway equipment which has a matching relation with the object account from the database in response to a second control instruction which is triggered by the object account on the internet of things application program; the second connection unit is used for forwarding the second control instruction to the gateway device so that the gateway device establishes temporary communication connection with the second device, and transmits the second control instruction through the temporary communication connection with the second device to control the second device; and the second response unit is used for forwarding the second control response to the client of the target account under the condition that the second control response of the second control instruction is obtained.
For a specific embodiment, reference may be made to an example shown in the above device control apparatus, and details in this example are not described herein again.
According to yet another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the device control method, as shown in fig. 9, the electronic device includes a memory 902 and a processor 904, the memory 902 stores a computer program, and the processor 904 is configured to execute the steps in any one of the method embodiments by the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
the method comprises the steps that S1, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account is determined from a plurality of device clusters associated with the internet of things application program, wherein the first control instruction is used for indicating control of first devices, the device clusters are formed by a plurality of devices associated with each other, and the object device cluster comprises the first devices;
s2, forwarding the first control instruction to the gateway equipment in the object equipment cluster so as to enable the gateway equipment to establish temporary communication connection with the first equipment, transmitting the first control instruction through the temporary communication connection and controlling the first equipment;
and S3, under the condition that the first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with an Internet of things application program.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 9 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 9 does not limit the structure of the electronic apparatus. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 9, or have a different configuration than shown in FIG. 9.
The memory 902 may be used to store software programs and modules, such as program instructions/modules corresponding to the device control method and apparatus in the embodiments of the present application, and the processor 904 executes various functional applications and data processing by running the software programs and modules stored in the memory 902, so as to implement the device control method. The memory 902 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 902 may further include memory located remotely from the processor 904, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 902 may be specifically, but not limited to, used for storing information such as a first control instruction, a second control instruction, and the like. As an example, as shown in fig. 9, the memory 902 may include, but is not limited to, the first determining unit 802, the first connecting unit 804, and the first responding unit 806 in the device control apparatus. In addition, other module units in the above device control apparatus may also be included, but are not limited to these, and are not described in detail in this example.
Optionally, the transmitting device 906 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 906 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 1906 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 908 for displaying the first control command, the second control command, and other information; and a connection bus 910 for connecting the respective module components in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. The nodes may form a Peer-To-Peer (P2P) network, and any type of computing device, such as a server, a terminal, and other electronic devices, may become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the present application, there is provided a computer program product comprising a computer program/instructions containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. When executed by the central processing unit, the computer program performs various functions provided by the embodiments of the present application.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments.
It should be noted that the computer system of the electronic device is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments.
The computer system includes a Central Processing Unit (CPU) that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) or a program loaded from a storage section into a Random Access Memory (RAM). In the random access memory, various programs and data necessary for the operation of the system are also stored. The central processor, the read-only memory and the random access memory are connected with each other through a bus. An Input/Output interface (i.e., I/O interface) is also connected to the bus.
The following components are connected to the input/output interface: an input section including a keyboard, a mouse, and the like; an output section including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section including a hard disk and the like; and a communication section including a network interface card such as a local area network card, a modem, or the like. The communication section performs communication processing via a network such as the internet. The driver is also connected to the input/output interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive as necessary, so that a computer program read out therefrom is mounted into the storage section as necessary.
In particular, according to embodiments of the present application, the processes described in the various method flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program, when executed by the central processor, performs various functions defined in the system of the present application.
According to an aspect of the present application, there is provided a computer-readable storage medium from which a processor of a computer device reads computer instructions, the processor executing the computer instructions to cause the computer device to perform the method provided in the above-mentioned various alternative implementations.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
the method comprises the steps that S1, in response to a first control instruction triggered by an object account on an Internet of things application program, an object device cluster matched with the object account is determined from a plurality of device clusters associated with the Internet of things application program, wherein the first control instruction is used for indicating to control first devices, the device clusters are formed by a plurality of devices associated with one another, and the object device cluster comprises first devices;
s2, forwarding the first control instruction to gateway equipment in the object equipment cluster so that the gateway equipment establishes temporary communication connection with the first equipment, and transmitting the first control instruction through the temporary communication connection to control the first equipment;
and S3, under the condition that the first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with an Internet of things application program.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods of the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of a logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.
Claims (10)
1. An apparatus control test method, comprising:
determining an object device cluster matched with an object account from a plurality of device clusters associated with an internet of things application program in response to a first control instruction triggered by the object account on the internet of things application program, wherein the first control instruction is used for indicating to control a first device, the device cluster is a cluster formed by a plurality of devices associated with each other, and the object device cluster comprises the first device;
forwarding the first control instruction to a gateway device in the object device cluster, so that the gateway device establishes a temporary communication connection with the first device, and transmits the first control instruction through the temporary communication connection to control the first device;
and under the condition that a first control response of the first control instruction is obtained, forwarding the first control response to the client of the target account, wherein the client of the target account is provided with the internet of things application program.
2. The method of claim 1, wherein forwarding the first control instruction to a gateway device in the cluster of object devices comprises;
forwarding the first control instruction to the gateway device in the object device cluster through a wireless network.
3. The method according to claim 2, characterized in that before the first control instruction triggered by the object account on the internet of things application program is determined, from a plurality of device clusters associated with the internet of things application program, an object device cluster matched with the object account is determined;
acquiring the first control instruction sent by the client of the object account through the wireless network; or the like, or a combination thereof,
acquiring the first control instruction sent by the terminal equipment where the client of the object account is located through infrared emission light; or the like, or, alternatively,
and acquiring the first control instruction sent by the terminal equipment where the client of the object account is located through a Bluetooth signal.
4. The method according to claim 1, wherein the determining, in response to a first control instruction triggered by an object account on an internet of things application, an object device cluster matching the object account from a plurality of device clusters associated with the internet of things application includes;
responding to the first control instruction, and acquiring equipment identification information carried in the first control instruction; and determining the object equipment cluster matched with the equipment identification information from a plurality of equipment clusters associated with the Internet of things application program.
5. The method according to claim 4, wherein the obtaining, in response to the first control instruction, device identification information carried in the first control instruction includes at least one of the following;
responding to the first control instruction, and acquiring an MAC address carried in the first control instruction; and responding to the first control instruction, and acquiring a product serial number carried in the first control instruction.
6. The method according to any one of claims 1 to 5, wherein after the forwarding a first control response to the client of the target account in the case of acquiring the first control response of the first control instruction, the method further includes;
and acquiring a matching relation between the object account and the gateway equipment, and storing the matching relation into a database.
7. The method according to claim 6, wherein after the obtaining of the matching relationship between the object account and the gateway device and the storing of the matching relationship in a database, the method further comprises;
in response to a second control instruction triggered by the object account on the internet of things application program, determining the gateway equipment having the matching relationship with the object account from the database;
forwarding the second control instruction to the gateway device, so that the gateway device establishes a temporary communication connection with the second device, and transmits the second control instruction through the temporary communication connection with the second device to control the second device;
and forwarding a second control response to the client of the object account under the condition of acquiring the second control response of the second control instruction.
8. An apparatus control device, comprising:
a first determining unit, configured to determine, in response to a first control instruction triggered by an object account on an internet of things application program, an object device cluster matched with the object account from multiple device clusters associated with the internet of things application program, where the first control instruction is used to instruct to control a first device, the device cluster is a cluster formed by multiple devices associated with each other, and the object device cluster includes the first device;
a first connection unit, configured to forward the first control instruction to a gateway device in the object device cluster, so that the gateway device establishes a temporary communication connection with the first device, and transmits the first control instruction through the temporary communication connection to control the first device;
and a first response unit, configured to forward a first control response of the first control instruction to a client of the target account when the first control response is obtained, where the client of the target account is installed with the internet of things application program.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210871056.9A CN115356937A (en) | 2022-07-22 | 2022-07-22 | Device control method, device, storage medium, and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210871056.9A CN115356937A (en) | 2022-07-22 | 2022-07-22 | Device control method, device, storage medium, and electronic apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115356937A true CN115356937A (en) | 2022-11-18 |
Family
ID=84032323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210871056.9A Pending CN115356937A (en) | 2022-07-22 | 2022-07-22 | Device control method, device, storage medium, and electronic apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115356937A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024113584A1 (en) * | 2022-11-29 | 2024-06-06 | 海尔优家智能科技(北京)有限公司 | Method for controlling device, and storage medium and electronic apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007143901A1 (en) * | 2006-05-25 | 2007-12-21 | China Mobile Communications Corporation | Remote control system and control method for information household electrical appliances |
JP2015050766A (en) * | 2013-09-03 | 2015-03-16 | パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America | Equipment control method, audio equipment control system and cooking equipment |
CN205229700U (en) * | 2015-12-08 | 2016-05-11 | 深圳众乐智府科技有限公司 | Smart home system |
CN109218098A (en) * | 2018-09-20 | 2019-01-15 | 武汉指针科技有限公司 | A kind of connection and configuration method of home gateway |
CN109831362A (en) * | 2019-03-29 | 2019-05-31 | 深圳创维-Rgb电子有限公司 | A kind of electronic equipment control method and system |
US20200099576A1 (en) * | 2018-09-21 | 2020-03-26 | Silicon Laboratories Inc. | Group Association Fallback For Improved Network Resilience |
-
2022
- 2022-07-22 CN CN202210871056.9A patent/CN115356937A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007143901A1 (en) * | 2006-05-25 | 2007-12-21 | China Mobile Communications Corporation | Remote control system and control method for information household electrical appliances |
JP2015050766A (en) * | 2013-09-03 | 2015-03-16 | パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America | Equipment control method, audio equipment control system and cooking equipment |
CN205229700U (en) * | 2015-12-08 | 2016-05-11 | 深圳众乐智府科技有限公司 | Smart home system |
CN109218098A (en) * | 2018-09-20 | 2019-01-15 | 武汉指针科技有限公司 | A kind of connection and configuration method of home gateway |
US20200099576A1 (en) * | 2018-09-21 | 2020-03-26 | Silicon Laboratories Inc. | Group Association Fallback For Improved Network Resilience |
CN109831362A (en) * | 2019-03-29 | 2019-05-31 | 深圳创维-Rgb电子有限公司 | A kind of electronic equipment control method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024113584A1 (en) * | 2022-11-29 | 2024-06-06 | 海尔优家智能科技(北京)有限公司 | Method for controlling device, and storage medium and electronic apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11019130B2 (en) | Method and apparatus for remotely controlling home device in home network system | |
CN107101326B (en) | Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal | |
EP3506031B1 (en) | Smart household control method and system | |
CN111930082B (en) | Method and device for replacing intelligent household equipment | |
AU2012317050B2 (en) | Method and apparatus for communication connection service | |
CN104808557B (en) | Intelligent control method, system and related equipment | |
CN112584364A (en) | Bluetooth network, communication method, device and storage medium thereof | |
CN111372222A (en) | Device connection method and system, corresponding terminal device and server | |
CN106789466B (en) | Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance | |
CN112350907A (en) | Scene linkage control method, terminal and computer readable storage medium | |
US9836521B2 (en) | Device classification method, device classification system, and device | |
CN116016002A (en) | Intelligent household appliance network distribution method and device and electronic device | |
CN115356937A (en) | Device control method, device, storage medium, and electronic apparatus | |
CN115175152A (en) | Intelligent device binding method and device, storage medium and electronic device | |
CN113296729A (en) | Prompt message broadcasting method, device and system, storage medium and electronic device | |
WO2024016539A1 (en) | Device control method and apparatus, and storage medium and electronic apparatus | |
CN106331163B (en) | Method and device for controlling service platform | |
CN111314398A (en) | Equipment control method, network distribution method, system and equipment | |
CN115167160A (en) | Device control method and apparatus, device control system, and storage medium | |
CN115474225A (en) | Online state determination method and device, storage medium and electronic device | |
CN111726267A (en) | Connection method of household appliance, household appliance and computer storage medium | |
CN115314549B (en) | Offline equipment management method, storage medium and electronic device | |
WO2023202029A1 (en) | Tag data adjustment method and apparatus, and storage medium | |
CN114697345B (en) | Information updating method and device, storage medium and electronic device | |
CN114745777A (en) | Network configuration method and interface and computer readable 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 |