CN117275211A - Control method and device of infrared equipment, electronic equipment and storage medium - Google Patents
Control method and device of infrared equipment, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117275211A CN117275211A CN202311170518.5A CN202311170518A CN117275211A CN 117275211 A CN117275211 A CN 117275211A CN 202311170518 A CN202311170518 A CN 202311170518A CN 117275211 A CN117275211 A CN 117275211A
- Authority
- CN
- China
- Prior art keywords
- infrared
- equipment
- control
- interface
- intelligent
- 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
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000006870 function Effects 0.000 claims description 51
- 238000004891 communication Methods 0.000 claims description 32
- 238000001514 detection method Methods 0.000 claims description 29
- 230000004044 response Effects 0.000 claims description 25
- 238000004590 computer program Methods 0.000 claims description 18
- 238000012360 testing method Methods 0.000 claims description 17
- 239000000758 substrate Substances 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 16
- 238000007726 management method Methods 0.000 description 7
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 6
- 230000009466 transformation Effects 0.000 description 5
- 238000010438 heat treatment Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000036760 body temperature Effects 0.000 description 2
- 238000001816 cooling Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Selective Calling Equipment (AREA)
Abstract
The application relates to a control method and device of infrared equipment, electronic equipment and storage medium, wherein the method comprises the following steps: acquiring an infrared code set corresponding to the infrared equipment, wherein the infrared code set comprises at least one infrared code; displaying a corresponding control interface of the infrared equipment, wherein the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set; responsive to operation of the operation control, a corresponding infrared code is transmitted by the intelligent device for communicating with the infrared device to control the infrared device. According to the technical scheme, the control interface is associated with the control function of the infrared code, the infrared equipment can be controlled through the operation of the control interface, and unified access management and intelligent control of different infrared equipment are facilitated.
Description
Technical Field
The present disclosure relates to the field of infrared devices, and in particular, to a method and apparatus for controlling an infrared device, an electronic device, and a storage medium.
Background
Infrared devices refer to a type of device that uses infrared signals for information transmission. At present, infrared equipment is increasingly widely used, and infrared equipment in daily life is more common, such as air conditioners, water heaters, televisions and the like. The infrared equipment is mainly operated and controlled by configuring the corresponding remote controller, and is simple to operate, however, because protocols between brands are different, unified access management is difficult to be carried out on different infrared equipment, in addition, the infrared equipment is usually only configured with an infrared communication module, intelligent modification on the infrared equipment is also difficult, and the experience of using the infrared equipment by a user is influenced to a certain extent.
Disclosure of Invention
Based on the above, it is necessary to provide a control method, apparatus, electronic device and storage medium for an infrared device, where a control interface is associated with a control function of an infrared code, so that the infrared device can be controlled by operating on the control interface, which is beneficial to realizing unified access management and intelligent control of different infrared devices.
A method of controlling an infrared device, the method comprising:
acquiring an infrared code set corresponding to the infrared equipment, wherein the infrared code set comprises at least one infrared code;
displaying a control interface corresponding to the infrared device, wherein the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set;
and responding to the operation of the operation control, and transmitting a corresponding infrared code through an intelligent device for communicating with the infrared device to control the infrared device.
A control apparatus for an infrared device, comprising:
the acquisition module is used for acquiring an infrared code set corresponding to the infrared equipment, wherein the infrared code set comprises at least one infrared code;
the display module is used for displaying a control interface corresponding to the infrared device, and the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set;
And the control module is used for responding to the operation of the operation control and sending a corresponding infrared code through the intelligent equipment used for communicating with the infrared equipment so as to control the infrared equipment.
In one embodiment, the display module is configured to:
acquiring a device selection instruction, wherein the device selection instruction is used for indicating the device type of the infrared device;
and displaying a control interface corresponding to the infrared equipment according to the equipment type of the infrared equipment and the infrared code set.
In one embodiment, the acquiring module is configured to:
displaying a first interface, wherein the first interface is used for indicating the equipment type of a first infrared equipment which is plugged into the intelligent equipment;
displaying a second interface based on the device type selected in the first interface, wherein the second interface is used for indicating the device information for selecting the first infrared device;
and acquiring an infrared code set corresponding to the first infrared device according to the equipment information selected in the second interface.
In one embodiment, when acquiring the set of infrared codes corresponding to the first infrared device according to the device information selected in the second interface, the acquiring module is configured to:
Determining at least one target infrared code set according to the equipment information selected in the second interface;
displaying a first test control corresponding to the first control function;
responding to the operation of triggering the first test control, and transmitting a target infrared code corresponding to the first control function in the target infrared code set through the intelligent equipment;
and acquiring an infrared code set corresponding to the first infrared device from the at least one target infrared code set according to a response result of the first infrared device to the target infrared code.
In one embodiment, when the obtaining module obtains the set of infrared codes corresponding to the first infrared device from the at least one set of target infrared codes according to the response result of the first infrared device to the target infrared codes, the obtaining module is configured to:
judging whether a target infrared code set associated with the target infrared code is unique or not based on confirming that the first infrared device responds to the target infrared code;
and if the associated target infrared code set is unique, acquiring the associated target infrared code set as an infrared code set corresponding to the first infrared device.
In one embodiment, the apparatus further comprises:
The first control interface display module is used for displaying a first control interface, and the first control interface is a control interface corresponding to a first infrared device inserted on the intelligent equipment;
the third interface display module is used for responding to the switching operation of the first control interface and displaying a third interface, wherein the third interface is used for indicating the equipment information of a second infrared equipment which is in communication connection with the intelligent equipment and is not spliced on the intelligent equipment;
the acquisition module is used for:
and acquiring an infrared code set corresponding to the second infrared device according to the added device information of the second infrared device.
In one embodiment, the display module is configured to:
displaying a control inlet corresponding to the second infrared device on the third interface;
and responding to the triggering operation of the control inlet, and displaying a second control interface corresponding to the second infrared equipment.
In one embodiment, the apparatus further comprises:
the equipment state acquisition module is used for acquiring the equipment state of the infrared equipment after being controlled by the infrared code;
the equipment state display module is used for displaying the equipment state of the infrared equipment on the control interface;
Or, the intelligent device is connected between the infrared device and a power supply, and the device further comprises:
the parameter acquisition module is used for acquiring the working parameters of the infrared equipment acquired by the intelligent equipment;
and the equipment state display module is used for displaying the equipment state of the infrared equipment on the control interface according to the working parameters.
In one embodiment, the apparatus further comprises:
the device type judging module is used for responding to the instruction of replacing the infrared device and judging whether the device type of the infrared device after replacement is matched with the device type of the infrared device before replacement;
and the configuration module is used for applying the configuration information of at least one function of the infrared equipment before replacement to the infrared equipment after replacement if the configuration information is matched with the infrared equipment before replacement.
In one embodiment, the apparatus further comprises:
the detection data acquisition module is used for acquiring detection data of at least one sensing device associated with the intelligent device;
the infrared code determining module is used for determining a target infrared code according to the detection data;
and the control module is used for sending the target infrared code through the intelligent equipment so as to control the infrared equipment.
In one embodiment, the apparatus further comprises:
and the detection data display module is used for displaying the detection data of the sensing equipment on a control interface of the infrared equipment.
The intelligent device is used for being in communication connection with infrared equipment and comprises a first communication unit, a second communication unit and a controller, wherein the first communication unit and the second communication unit are respectively connected with the controller;
the first communication unit is used for receiving a control instruction;
the controller is used for determining the infrared code corresponding to the control instruction according to the control instruction and the infrared code set corresponding to the infrared device;
the second communication unit is used for sending the infrared code to control the infrared equipment.
In one embodiment, the intelligent device includes a power input interface, a first power output interface and a second power output interface, where the power input interface is used to connect an external power source with the intelligent device, the first power output interface and the second power output interface are both used to plug in an infrared device, and output powers corresponding to the first power output interface and the second power output interface are the same or different.
In one embodiment, the controller is configured to:
and detecting the current output power of the first power output interface and the second power output interface, and executing a corresponding strategy according to the detection result.
An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method of controlling an infrared device as described above.
A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, which computer program, when being executed by a processor, implements the steps of the method for controlling an infrared device as described above.
The control method, the device, the electronic device and the storage medium of the infrared device, and the method comprises the following steps: acquiring an infrared code set corresponding to the infrared equipment, wherein the infrared code set comprises at least one infrared code; displaying a corresponding control interface of the infrared equipment, wherein the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set; responsive to operation of the operation control, a corresponding infrared code is transmitted by the intelligent device for communicating with the infrared device to control the infrared device. According to the technical scheme, the control interface is associated with the control function of the infrared code, the infrared equipment can be controlled through the operation of the control interface, and unified access management and intelligent control of different infrared equipment are facilitated.
Drawings
FIG. 1 is a diagram of an application environment of a method for controlling an infrared device according to an embodiment;
FIG. 2 is a flow chart of a method for controlling an infrared device according to an embodiment;
FIG. 3 is a schematic diagram of a control interface of an air conditioner according to an embodiment;
FIG. 4 is a schematic diagram of a control interface of a socket in an embodiment;
FIG. 5 is a schematic diagram of an operation interface for determining a first infrared device and an infrared code set according to an embodiment;
FIG. 6 is a schematic diagram of an operation interface for determining a second infrared device according to an embodiment;
FIG. 7 is a schematic diagram of a configuration interface for exchanging infrared devices in an embodiment;
FIG. 8 is a schematic diagram of an interface for associating an infrared device with a sensing device in one embodiment;
FIG. 9 is a schematic diagram of a display interface of detection data of a sensing device according to an embodiment;
FIG. 10 is a schematic diagram of a control device of an infrared device according to an embodiment;
FIG. 11 is a schematic diagram of a smart device according to an embodiment;
FIG. 12 is an internal block diagram of an electronic device in one embodiment;
fig. 13 is an internal structural diagram of an electronic device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The control method of the infrared equipment can be applied to an application environment shown in fig. 1. The terminal 102 communicates with the server 104 through a network, the server 104 communicates with the gateway 106 through a network, the internet of things device accesses the gateway 106 through a local area network, the internet of things device comprises devices such as an intelligent device 101 and an infrared device 105, and the intelligent device 101 is used for being in communication connection with the infrared device 105. In some application environments, the functions of the gateway 106 and the smart device 101 may be integrated into the same device, i.e. the smart device 101 has the functions of the gateway at the same time.
After the gateway 106, the intelligent device 101, the infrared device 105 and the like are applied to the target space, for example, the space of a home, a company, a hotel and the like, the terminal 102 can control the internet of things device to the gateway 106 through the network and the server 104. In actual implementation, after the terminal 102 accesses the local area network where the gateway 106 is located, a control instruction may be directly sent to the gateway 106 through the local area network or working data may be obtained, so as to control the internet of things device. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In some implementations, after the devices of the internet of things such as the intelligent device 101 and the infrared device 105 are installed, an infrared code set corresponding to the infrared device 105 may be acquired, a control interface is associated with a control function of the infrared code, and based on the operation on the control interface, the corresponding infrared code is sent through the intelligent device 101 to control the infrared device 105, so that unified access management and intelligent control of different infrared devices are facilitated.
As shown in fig. 2, a control method of an infrared device is provided, and an example of application of the method to an electronic device is described, where the electronic device may be, for example, a terminal shown in fig. 1, and the control method of an infrared device includes:
step 202, acquiring an infrared code set corresponding to an infrared device, wherein the infrared code set comprises at least one infrared code;
wherein different infrared codes correspond to different control functions, and the set of infrared codes corresponding to the infrared device represents the set of control functions for the infrared device. Because the protocols between different brands are different, the control functions of different infrared devices may also be different, so that the infrared code sets corresponding to different infrared devices may also be different. Different infrared devices mainly refer to infrared devices of different brands or infrared devices of different models of the same brand.
Step 204, displaying a control interface corresponding to the infrared device, wherein the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set;
the operation controls in the control interface correspond to different control functions, and the different control functions correspond to different infrared codes, so that the corresponding functions of the infrared devices can be controlled by operating the corresponding controls on the control interface. By associating the operation control of the control interface with the control function of the infrared codes, the infrared code sets corresponding to different infrared devices are different, and correspondingly, the corresponding control interfaces are different, so that the different infrared devices can be controlled through the corresponding control interfaces, and the management of the different infrared devices on one application program is facilitated, and the unified access of the different infrared devices is realized.
In response to the operation of the operation control, a corresponding infrared code is transmitted by the intelligent device for communicating with the infrared device to control the infrared device, step 206.
The intelligent equipment is used for communicating with the electronic equipment and the infrared equipment, and a control instruction generated by the operation of the operation control is sent in the form of an infrared code by a user, so that the control of the infrared equipment is realized, and the intelligent control of the infrared equipment can be realized without carrying out hardware transformation on the infrared equipment.
In one embodiment, step 204, displaying a control interface corresponding to the infrared device includes:
acquiring a device selection instruction, wherein the device selection instruction is used for indicating the device type of the infrared device;
and displaying a control interface corresponding to the infrared equipment according to the equipment type and the infrared code set of the infrared equipment.
The device types of the infrared devices refer to types of the infrared devices, including different types of air conditioners, water heaters, sockets and the like, control interfaces of the infrared devices of the same type (which can be different brands and types) can be the same or similar, but infrared codes corresponding to operation controls of the same control function in different control interfaces correspond to infrared codes of the current infrared device, so that after the control interfaces of the infrared devices of the same type are switched, a user can conveniently operate, and the time for searching the operation controls of the same function is reduced. Referring to fig. 3, a control interface of an air conditioner is illustrated, in which an operation control of an air conditioner switch and current working parameters of the air conditioner, such as temperature, mode, wind speed, wind direction, etc., are displayed, and different working parameters configure corresponding operation controls to operate, where the operation controls respectively correspond to control functions of an infrared code, and the interfaces shown in (a) and (b) in fig. 3 may be two parts of one long interface or two interfaces that can be switched mutually.
Different types of infrared equipment adopt different control interfaces due to the fact that the control functions of the infrared equipment are greatly different. As shown in fig. 4, a control interface of the socket is illustrated, unlike the control interface shown in fig. 3, the control interface of the socket displays operation controls and working parameters of the socket switch, such as electricity consumption, power, etc., where the operation controls of the socket switch correspond to control functions of the infrared code. When the socket is used, a user operates the operation control of the socket switch, and the operation control is defaulted to be a relay for switching on/off the socket.
When the control interface corresponding to the infrared equipment is displayed, the equipment type of the infrared equipment is selected by the user, and then the electronic equipment displays the control interface according to the equipment type of the infrared equipment and the corresponding infrared code set so as to be convenient for the user to operate.
In one embodiment, step 202, obtaining a set of infrared codes corresponding to an infrared device includes:
displaying a first interface, wherein the first interface is used for indicating the equipment type of a first infrared equipment which is plugged into the intelligent equipment;
displaying a second interface based on the device type selected in the first interface, wherein the second interface is used for indicating the device information of the selected first infrared device;
and acquiring an infrared code set corresponding to the first infrared device according to the device information selected in the second interface.
The intelligent device may be provided with a plug interface, and the first infrared device refers to infrared devices that need to be plugged into the intelligent device, such as an air conditioner, a water heater, a socket, and the like. After the first interface is selected to select the device type corresponding to the first infrared device, a corresponding second interface is displayed based on the selected device type of the first infrared device, and the user can continue to select the device information of the first infrared device on the second interface. And the infrared code set corresponding to the first infrared device is determined according to the type of the device and the device information, and the device information comprises information such as the brand, the model and the like of the device.
In one embodiment, acquiring the set of infrared codes corresponding to the first infrared device according to the device information selected in the second interface includes:
determining at least one target infrared code set according to the equipment information selected in the second interface;
displaying a first test control corresponding to the first control function;
responding to the operation of triggering the first test control, and transmitting a target infrared code corresponding to the first control function in the target infrared code set through the intelligent equipment;
and acquiring an infrared code set corresponding to the first infrared device from at least one target infrared code set according to a response result of the first infrared device to the target infrared code.
After the device information is selected, the device information may be matched with a plurality of infrared code sets, and the control function of the infrared codes in the infrared code sets can be further responded and verified through the operation of the test control, so that the infrared code set corresponding to the current first infrared device is determined, and accurate control can be performed.
Referring to fig. 5, a related operational interface of a process of determining a first infrared device and a set of infrared codes is illustrated. After the user selects the device type, as shown in fig. 5 (b), the user selects to confirm whether the plug of the first infrared device (such as an air conditioner) is plugged into the intelligent device according to the situation, so as to ensure that the first infrared device is plugged into the intelligent device, and the plug of the first infrared device cannot be directly plugged into the wall socket, so that related working parameters of the first infrared device, such as power consumption, power, device state and the like, can be obtained through the intelligent device. Then, after the user performs the operation of confirming the plugging, as shown in fig. 5 (c), selectable device information, such as a brand list, may be displayed on the second interface, and a model list may be further displayed to prompt the user to select a device model, so that, according to the selected device information, a target infrared code set, that is, an infrared code set to be subjected to response verification, is determined. Then, as shown in (d) of fig. 5, a first test control corresponding to a first control function in the target infrared code set, for example, a "start-up" test control is displayed, and after the user clicks the control, the infrared code corresponding to the "start-up" function in the target infrared code set can be sent through the intelligent device, and the infrared code set corresponding to the first infrared device is screened out according to the response result of the first infrared device to the infrared code.
In one embodiment, according to a response result of the first infrared device to the target infrared code, acquiring an infrared code set corresponding to the first infrared device from at least one target infrared code set, including:
judging whether a target infrared code set associated with the target infrared code is unique or not based on confirming that the first infrared device responds to the target infrared code;
and if the associated target infrared code set is unique, acquiring the associated target infrared code set as an infrared code set corresponding to the first infrared device.
In one embodiment, according to a response result of the first infrared device to the target infrared code, acquiring an infrared code set corresponding to the first infrared device from at least one target infrared code set, and further including:
filtering a target infrared code set associated with the target infrared code and displaying a first test key of a first control function again in response to the fact that the first infrared device does not respond to the target infrared code or responds incorrectly;
and responding to the operation of triggering the first test key, and sending another target infrared code corresponding to the first control function in the currently reserved target infrared code set through the intelligent equipment so as to confirm the response result of the first infrared equipment to the target infrared code again.
In one embodiment, according to a response result of the first infrared device to the target infrared code, acquiring an infrared code set corresponding to the first infrared device from at least one target infrared code set, and further including:
if the associated target infrared code set is not unique, displaying a second test key of a second control function;
and responding to the operation of triggering the second test key, and transmitting a target infrared code corresponding to the second control function in the associated target infrared code set through the intelligent equipment so as to confirm the response result of the first infrared equipment to the target infrared code.
The user can determine a response result according to the actual response of the first infrared device, and the response result according to the first infrared device is divided into the following three processing logics:
first, the first infrared device responds to the target infrared code, and the infrared code with response is only associated with one unique infrared code set, so that the infrared code set is the infrared code set corresponding to the first infrared device;
second, the first infrared device responds to the target infrared code, but the infrared code set associated with the responded infrared code is not unique, and a second test key of a second control function is displayed, and response verification is continued so as to further screen the infrared code set;
Third, if the first infrared device does not respond or responds incorrectly to the target infrared code, the target infrared code set associated with the infrared code is filtered, and the first test key of the first control function is displayed again, and response verification is continued, so that the infrared code set is further screened.
The above three processing logic may be executed in a cross-wise fashion based on the response of the first infrared device until a set of infrared codes corresponding to the first infrared device is uniquely determined.
Specifically, when the equipment type is an air conditioner, after the matched infrared code set is determined, whether the current inserted air conditioner is a stateful air conditioner or a stateless air conditioner is analyzed according to the infrared code set, if the infrared code is stateless (except for lamplight), the air conditioner only plays a role of initiating a command, and after the infrared code is received, the air conditioner needs to combine the current state of the air conditioner to judge what action needs to be performed, and the air conditioner is called a stateless air conditioner. If the infrared code is a stateful indication, the air conditioner can know what action needs to be done according to the indication of the infrared code after receiving the infrared code, and the air conditioner is called a stateful air conditioner. For a stateless air conditioner, the control interface displays all functions supported by the infrared code set, including: switch, mode, temperature +/-, wind speed, sweep, lights, etc. The stateless air conditioner is different from the control interface displayed by the stateful air conditioner.
When the equipment type is a water heater, after the matched infrared code set is determined, the control interface displays all functions supported by the infrared code set, and the method comprises the following steps: switch, temperature+/-, water usage pattern, function, subscription, etc.
In one embodiment, before step 202 obtains the set of infrared codes corresponding to the infrared device, the method further comprises:
displaying a first control interface, wherein the first control interface is a control interface corresponding to a first infrared device inserted on the intelligent equipment;
responding to the switching operation of the first control interface, displaying a third interface, wherein the third interface is used for indicating the equipment information of the second infrared equipment, and the second infrared equipment is in communication connection with the intelligent equipment and is not inserted into the intelligent equipment;
step 202 obtains a set of infrared codes corresponding to an infrared device, comprising:
and acquiring an infrared code set corresponding to the second infrared device according to the added device information of the second infrared device.
The second infrared device is in communication connection with the intelligent device and is not plugged into the intelligent device, such as a television, a fan, a sound box and the like, and the infrared devices can be controlled through infrared rays, but are not required to be plugged into the intelligent device.
For the second infrared device, the setting mode of the adding inlet of the second infrared device may be: and switching the control interface corresponding to the first infrared equipment, entering a third interface, and indicating equipment information of the second infrared equipment to be added by the third interface. As shown in fig. 6 (a), sliding is performed on the control interface of the air conditioner, and the interface of the air conditioner may be switched to the interface of the other electric appliance, that is, the third interface, and a control of "add electric appliance" is displayed on the third interface, so as to indicate that the device information of the second infrared device is added. After the user clicks the control of "add appliances", as shown in fig. 6 (b), device information of the second infrared device that can be added is displayed, the user selects and determines the appliances to be added, and after the addition is successful, as shown in fig. 6 (c), a control entry corresponding to the second infrared device, such as "grignard fan", is displayed on the third interface.
In one embodiment, step 204 displays a control interface for an infrared device, comprising:
displaying a control inlet corresponding to the second infrared device on a third interface;
and responding to the triggering operation of the control inlet, and displaying a second control interface corresponding to the second infrared equipment.
As shown in fig. 6 (c), a control entry corresponding to the second infrared device, such as a "grignard fan", is displayed on the third interface, and after the user clicks the "grignard fan" control, the user enters the control interface corresponding to the second infrared device, and at this time, the working parameters of the second infrared device may be checked, and the second infrared device may be controlled.
Therefore, through correlating the infrared code control functions of different control interfaces and different infrared devices, unified access of infrared devices of different brands and types can be realized, a user can manage a plurality of infrared devices only through one application program, the intelligent transformation of the non-intelligent electrical appliance is realized more conveniently and rapidly, and the cost is lower.
In one embodiment, step 206, in response to the operation of the operation control, further includes, after transmitting, by the smart device for communicating with the infrared device, a corresponding infrared code to control the infrared device:
Acquiring the equipment state of the infrared equipment after being controlled by the infrared code;
displaying the equipment state of the infrared equipment on a control interface;
alternatively, the smart device is connected between the infrared device and the power supply, the method further comprising:
acquiring working parameters of infrared equipment acquired by intelligent equipment;
and displaying the equipment state of the infrared equipment on the control interface according to the working parameters.
The device state displayed in the control interface is synchronously updated according to the control of the infrared device. When the intelligent device is connected between the infrared device and the power supply, such as the infrared device is plugged into the intelligent device, the intelligent device can also collect working parameters of the infrared device, such as power, current, voltage and the like, and display the device state of the infrared device according to the collected control interface, so that richer state display can be realized.
In one embodiment, the method of the present application further comprises:
responding to an instruction for replacing the infrared equipment, and judging whether the equipment type of the infrared equipment after replacement is matched with the equipment type of the infrared equipment before replacement;
if the information is matched with the information, the configuration information of at least one function of the infrared equipment before replacement is applied to the infrared equipment after replacement.
After the infrared equipment is replaced, if the types of the equipment before and after the replacement are the same, the configuration information originally set by the user, such as information of timing, sleep mode or automatic creation, can be kept and used on the replaced infrared equipment. As shown in fig. 7, taking the replacement of the air conditioner as an example, in the setting interface, the user clicks the "currently matching" option to prompt whether to replace the matching air conditioner, if the user clicks the "ok", the configuration information of at least one function of the infrared device before replacement is applied to the infrared device after replacement, and clicks the "cancel", and the application of the configuration information is not performed. Therefore, when the infrared equipment is replaced, new infrared equipment can be rapidly configured, and the operation is simple and convenient.
In one embodiment, the method of the present application further comprises:
acquiring detection data of at least one sensing device associated with the intelligent device;
determining a target infrared code according to the detection data;
and sending the target infrared code through the intelligent equipment to control the infrared equipment.
The infrared equipment can be linked with other sensing equipment through the intelligent equipment, automatic linkage control is achieved, and the sensing equipment and the intelligent setting can be bound by default in factory delivery or added by a user.
Aiming at air-conditioning equipment, the linkage of temperature can be realized by selecting an associated external temperature and humidity sensor, the air-conditioner is provided with a built-in temperature sensor, the automatic temperature control of the air-conditioner can be realized, and the air-conditioner is closed when the set temperature is reached. But the temperature sensor of the air conditioner is arranged at the air outlet of the air conditioner, and the difference between the temperature sensor and the actual body temperature is relatively large, so that a user can bind an external temperature sensor and intelligent equipment for linkage according to the needs, better temperature control experience is realized, and the temperature control result is closer to the body temperature of the current user. For example, a temperature sensor is arranged at the position of the bed head, the intelligent equipment and the air conditioner are arranged at the bed tail, and at the moment, the refrigerating or heating temperature of the air conditioner can be adjusted according to the temperature sensed by the temperature sensor at the position of the bed head. Specifically, according to the detection data of at least one sensing device, a target infrared code, such as an infrared code for controlling heating and cooling, is determined according to the detection data, and then the target infrared code is sent through the intelligent device, so that heating and cooling of the infrared device can be controlled.
Fig. 8 is a schematic diagram of an operation interface for associating an infrared device with a sensing device. As shown in fig. 8 (a), the interface is an interface to which no infrared device is added, after the infrared device is added, if the sensor device is not currently bound, the interface shown in fig. 8 (b) is displayed to prompt the addition of the sensor device, and if the addition is confirmed, the operation interface of the addition of the sensor device is skipped. After the sensor devices are added, the interface shown in (c) in fig. 8 can be further displayed, the associated sensor devices are prompted, if the association is confirmed, the interface shown in (d) in fig. 8 is entered, the list of the sensor devices which are added currently is listed, the sensor devices needing to be associated are selected by the user, and after one or more sensor devices are selected by the user, the association of the intelligent device and the sensor devices is completed.
In one embodiment, after acquiring the detection data of at least one sensing device associated with the smart device, the method further comprises:
and displaying the detection data of the sensing device on a control interface of the infrared device.
The detection data of the sensing device can also be displayed in a control interface of the corresponding infrared device, for example, the ambient temperature, the ambient humidity and the like. After the intelligent device is associated with the sensing device, the information of the currently associated sensing device can be checked, as shown in (a) of fig. 9, and meanwhile, as shown in (b) of fig. 9, the detection data of the sensing device is displayed in the control interface of the infrared device, so that the user can check and refer to the detection data conveniently.
According to the technical scheme, the quick modification and upgrading of electric appliances such as a traditional air conditioner and a water heater can be realized at low cost, the barriers among different brands of products are broken through, and intelligent home linkage is realized. Different infrared devices are matched with different interactive control interfaces, unified access management of the different infrared devices is realized through the association of the control interfaces and the infrared code functions, and a user can quickly get on hand. In addition, the infrared equipment can be selectively inserted or not inserted on the intelligent equipment, and the infrared equipment using 10A and 16A power supplies can be selected, so that the intelligent control of multiple scenes can be realized due to diversified product forms.
The application scenario of the control method of the infrared device of the present application is illustrated below by taking an electronic device as a terminal, an intelligent device as an intelligent socket, and an infrared device as a common air conditioner as an example.
When a user needs to carry out intelligent transformation on a common air conditioner, the intelligent socket is plugged into the wall socket, the intelligent socket is electrified, networking and registration of the intelligent socket are completed, and then the air conditioner is plugged into the intelligent socket. Then, the user operates the application program on the terminal, selects the equipment type as an air conditioner, determines an infrared code set corresponding to the air conditioner according to the operation flow shown in fig. 5, then enters a control interface of the air conditioner, and can display the control interface as shown in fig. 3. On the basis, through the operation flow shown in fig. 8, sensing equipment associated with the intelligent socket, such as a temperature and humidity sensor, can be added, so that equipment linkage between an air conditioner and the temperature and humidity sensor is realized, and a better temperature control effect is obtained. When a user needs to add other infrared devices which are not required to be plugged into the intelligent socket, such as adding a common fan, the infrared devices can be added according to the operation flow shown in fig. 6, the infrared code set corresponding to the fan is determined, and after the addition is successful, the infrared devices can enter a control interface of the fan for checking and operation. Therefore, intelligent transformation, equipment linkage and unified access management of multiple equipment of the common electric appliance are realized, the operation is simple, the transformation cost is low, and better experience can be obtained.
Fig. 10 is a schematic structural diagram of a control device of an infrared device in an embodiment. As shown in fig. 10, a control device of an infrared apparatus includes:
an acquisition module 602, configured to acquire an infrared code set corresponding to an infrared device, where the infrared code set includes at least one infrared code;
the display module 604 is configured to display a control interface corresponding to the infrared device, where the control interface includes an operation control corresponding to a control function of at least one infrared code in the infrared code set;
a control module 606 for transmitting, in response to operation of the operation control, a corresponding infrared code through the smart device for communicating with the infrared device to control the infrared device.
In one embodiment, the display module 604 is configured to:
acquiring a device selection instruction, wherein the device selection instruction is used for indicating the device type of the infrared device;
and displaying a control interface corresponding to the infrared equipment according to the equipment type and the infrared code set of the infrared equipment.
In one embodiment, the acquisition module 602 is configured to:
displaying a first interface, wherein the first interface is used for indicating the equipment type of a first infrared equipment which is plugged into the intelligent equipment;
displaying a second interface based on the device type selected in the first interface, wherein the second interface is used for indicating the device information of the selected first infrared device;
And acquiring an infrared code set corresponding to the first infrared device according to the device information selected in the second interface.
In one embodiment, when acquiring the set of infrared codes corresponding to the first infrared device according to the device information selected in the second interface, the acquiring module 602 is configured to:
determining at least one target infrared code set according to the equipment information selected in the second interface;
displaying a first test control corresponding to the first control function;
responding to the operation of triggering the first test control, and transmitting a target infrared code corresponding to the first control function in the target infrared code set through the intelligent equipment;
and acquiring an infrared code set corresponding to the first infrared device from at least one target infrared code set according to a response result of the first infrared device to the target infrared code.
In one embodiment, when acquiring the infrared code set corresponding to the first infrared device from the at least one target infrared code set according to the response result of the first infrared device to the target infrared code, the acquiring module 602 is configured to:
judging whether a target infrared code set associated with the target infrared code is unique or not based on confirming that the first infrared device responds to the target infrared code;
and if the associated target infrared code set is unique, acquiring the associated target infrared code set as an infrared code set corresponding to the first infrared device.
In one embodiment, the apparatus further comprises:
the first control interface display module is used for displaying a first control interface, and the first control interface is a control interface corresponding to a first infrared device inserted on the intelligent equipment;
the third interface display module is used for responding to the switching operation of the first control interface, displaying a third interface, wherein the third interface is used for indicating the addition of equipment information of second infrared equipment which is in communication connection with the intelligent equipment and is not inserted into the intelligent equipment;
an acquisition module 602, configured to:
and acquiring an infrared code set corresponding to the second infrared device according to the added device information of the second infrared device.
In one embodiment, the display module 604 is configured to:
displaying a control inlet corresponding to the second infrared device on a third interface;
and responding to the triggering operation of the control inlet, and displaying a second control interface corresponding to the second infrared equipment.
In one embodiment, the apparatus further comprises:
the device state acquisition module is used for acquiring the device state of the infrared device after being controlled by the infrared code;
the equipment state display module is used for displaying the equipment state of the infrared equipment on the control interface;
Or, the intelligent device is connected between the infrared device and the power supply, and the device further comprises:
the parameter acquisition module is used for acquiring working parameters of the infrared equipment acquired by the intelligent equipment;
and the equipment state display module is used for displaying the equipment state of the infrared equipment on the control interface according to the working parameters.
In one embodiment, the apparatus further comprises:
the device type judging module is used for responding to the instruction of replacing the infrared device and judging whether the device type of the infrared device after replacement is matched with the device type of the infrared device before replacement;
and the configuration module is used for applying the configuration information of at least one function of the infrared equipment before replacement to the infrared equipment after replacement if the configuration information is matched with the infrared equipment before replacement.
In one embodiment, the apparatus further comprises:
the detection data acquisition module is used for acquiring detection data of at least one sensing device associated with the intelligent device;
the infrared code determining module is used for determining a target infrared code according to the detection data;
the control module 606 is configured to send the target infrared code through the smart device to control the infrared device.
In one embodiment, the apparatus further comprises:
and the detection data display module is used for displaying detection data of the sensing equipment on a control interface of the infrared equipment.
The working process of each module of the control device of the infrared device may refer to the limitation of the control method of the infrared device in the above embodiment, which is not described herein. The respective modules in the above-described control device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
As shown in fig. 11, there is provided an intelligent device for communication connection with infrared devices, the intelligent device including a first communication unit 704, a second communication unit 705, and a controller 702, the first communication unit 704 and the second communication unit 705 being connected to the controller 702, respectively.
The first communication unit 704 is configured to receive a control instruction. The controller 702 is configured to determine an infrared code corresponding to the control instruction according to the control instruction and an infrared code set corresponding to the infrared device. The second communication unit 705 is configured to send an infrared code to control the infrared device, where the infrared device may be directly plugged into the smart device, or may be connected to the smart device through wireless communication.
The control instruction may be sent by the terminal, received by the smart device through the first communication unit 704, and the control instruction is generated according to an operation of the user on a control interface of the infrared device. In addition, the smart device may also establish a connection with the cloud end through the first communication unit 704.
Alternatively, the control command may be generated by the smart device based on the acquired detection data of the sensing device. The second communication unit 705 may also be used for receiving infrared codes.
In one embodiment, the smart device includes a power input interface 703, a first power output interface 708, and a second power output interface 701, where the power input interface 703 is used to connect an external power source (such as an ac power source 706) to the smart device, the first power output interface 708 and the second power output interface 701 are used to plug in an infrared device or other electrical equipment, and output powers corresponding to the first power output interface 708 and the second power output interface 701 are the same or different. The ac power 706 is provided through a wall outlet and the smart device sets the ac to dc module 702 to power the controller 702.
Specifically, the ac power 706 is provided through an external 16A ac socket, and is output to an external device through the first power output interface 708 and the second power output interface 701 while supplying power to the smart device, where the first power output interface 708 and the second power output interface 701 may be output interfaces of 10A and 16A, respectively, or may be output interfaces of 10A. Thus, more diversified scene uses can be satisfied, for example, the air conditioner is located near the window edge, and the 16A socket is reserved for the intelligent curtain at the position, so that the intelligent device can provide the first power output interface 708 and the second power output interface 701 for the air conditioner of 16A and for the curtain motor of 10A respectively, and therefore, the problem of power supply of a plurality of power supplies can be solved at the same position. Meanwhile, the product form can also be compatible with the application scene that some air conditioners are plugs of 10A.
In one embodiment, the controller 702 is configured to:
the current output power of the first power output interface 708 and the second power output interface 701 is detected, and a corresponding policy is executed according to the detection result.
The current output power of the first power output interface 708 and the second power output interface 701 is controlled according to the device type and different device states of the infrared device, and in order to ensure safety, the power of different voltage output interfaces needs to be detected, so that the output power is prevented from exceeding the maximum power that can be borne by the 16A socket. Specifically, when the smart device is plugged into the 16A socket, the integrated power output by the smart device, the first power output interface 708 and the second power output interface 701 does not exceed 4000W of the total power of the 16A socket. In the process of detecting the current output power of the first power output interface 708 and the second power output interface 701, a corresponding strategy is executed according to the detection result, for example, when the total output power exceeds the power threshold of the socket, the power supply of the intelligent device is turned off, and when the total output power approaches the power threshold of the socket, prompt information and the like are output.
In one embodiment, an electronic device is provided, which may be a server, and an internal structure thereof may be as shown in fig. 12. The electronic device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the electronic device is used for storing information push data. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling an infrared device.
It will be appreciated by those skilled in the art that the structure shown in fig. 12 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic device to which the present application is applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device, which may be a terminal, is provided, and an internal structure thereof may be as shown in fig. 13. The electronic device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the electronic device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of controlling an infrared device. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the electronic equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 13 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic device to which the present application is applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device is provided that includes a memory having a computer program stored therein and a processor that when executing the computer program performs the steps described in the method embodiments above. For specific limitation of the electronic device, reference may be made to limitation of the control method of the infrared device in the above embodiments, which is not described herein.
In one embodiment, a computer program product or computer program is provided that includes 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 steps in the above-described method embodiments.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, carries out the steps described in the method embodiments above. For specific limitation of the steps, reference may be made to limitation of a control method of the infrared device in each method embodiment, which is not described herein.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the various embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples merely represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.
Claims (17)
1. A method for controlling an infrared device, the method comprising:
acquiring an infrared code set corresponding to the infrared equipment, wherein the infrared code set comprises at least one infrared code;
displaying a control interface corresponding to the infrared device, wherein the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set;
And responding to the operation of the operation control, and transmitting a corresponding infrared code through an intelligent device for communicating with the infrared device to control the infrared device.
2. The method of claim 1, wherein the displaying the control interface corresponding to the infrared device comprises:
acquiring a device selection instruction, wherein the device selection instruction is used for indicating the device type of the infrared device;
and displaying a control interface corresponding to the infrared equipment according to the equipment type of the infrared equipment and the infrared code set.
3. The method of claim 1, wherein the acquiring the set of infrared codes corresponding to the infrared device comprises:
displaying a first interface, wherein the first interface is used for indicating the equipment type of a first infrared equipment which is plugged into the intelligent equipment;
displaying a second interface based on the device type selected in the first interface, wherein the second interface is used for indicating the device information for selecting the first infrared device;
and acquiring an infrared code set corresponding to the first infrared device according to the equipment information selected in the second interface.
4. The method of claim 3, wherein obtaining the set of infrared codes corresponding to the first infrared device based on the device information selected in the second interface, comprises:
Determining at least one target infrared code set according to the equipment information selected in the second interface;
displaying a first test control corresponding to the first control function;
responding to the operation of triggering the first test control, and transmitting a target infrared code corresponding to the first control function in the target infrared code set through the intelligent equipment;
and acquiring an infrared code set corresponding to the first infrared device from the at least one target infrared code set according to a response result of the first infrared device to the target infrared code.
5. The method according to claim 4, wherein the obtaining the set of infrared codes corresponding to the first infrared device from the at least one set of target infrared codes according to the response result of the first infrared device to the target infrared codes comprises:
judging whether a target infrared code set associated with the target infrared code is unique or not based on confirming that the first infrared device responds to the target infrared code;
and if the associated target infrared code set is unique, acquiring the associated target infrared code set as an infrared code set corresponding to the first infrared device.
6. The method of claim 1, wherein the step of determining the position of the substrate comprises,
Before the acquiring the set of infrared codes corresponding to the infrared device, the method further includes:
displaying a first control interface, wherein the first control interface is a control interface corresponding to a first infrared device inserted on the intelligent equipment;
responding to the switching operation of the first control interface, displaying a third interface, wherein the third interface is used for indicating the equipment information of adding second infrared equipment, and the second infrared equipment is in communication connection with the intelligent equipment and is not plugged into the intelligent equipment;
the acquiring the infrared code set corresponding to the infrared device comprises:
and acquiring an infrared code set corresponding to the second infrared device according to the added device information of the second infrared device.
7. The method of claim 6, wherein displaying the control interface of the infrared device comprises:
displaying a control inlet corresponding to the second infrared device on the third interface;
and responding to the triggering operation of the control inlet, and displaying a second control interface corresponding to the second infrared equipment.
8. The method of claim 1, wherein after the responding to the operation of the operation control to control the infrared device by transmitting a corresponding infrared code through the intelligent device for communicating with the infrared device, further comprising:
Acquiring the equipment state of the infrared equipment after being controlled by the infrared code;
displaying the device state of the infrared device on the control interface;
alternatively, the smart device is connected between the infrared device and a power source, the method further comprising:
acquiring working parameters of the infrared equipment acquired by the intelligent equipment;
and displaying the equipment state of the infrared equipment on the control interface according to the working parameters.
9. The method according to claim 1, characterized in that the method further comprises:
responding to the instruction of replacing the infrared equipment, and judging whether the equipment type of the infrared equipment after replacement is matched with the equipment type of the infrared equipment before replacement;
if the information is matched with the information, the configuration information of at least one function of the infrared equipment before replacement is applied to the infrared equipment after replacement.
10. The method according to claim 1, characterized in that the method further comprises:
acquiring detection data of at least one sensing device associated with the intelligent device;
determining a target infrared code according to the detection data;
and sending the target infrared code through the intelligent equipment so as to control the infrared equipment.
11. The method of claim 10, wherein after obtaining detection data of at least one sensing device associated with the smart device, the method further comprises:
and displaying the detection data of the sensing device on a control interface of the infrared device.
12. A control device for an infrared apparatus, comprising:
the acquisition module is used for acquiring an infrared code set corresponding to the infrared equipment, wherein the infrared code set comprises at least one infrared code;
the display module is used for displaying a control interface corresponding to the infrared device, and the control interface comprises an operation control corresponding to a control function of at least one infrared code in the infrared code set;
and the control module is used for responding to the operation of the operation control and sending a corresponding infrared code through the intelligent equipment used for communicating with the infrared equipment so as to control the infrared equipment.
13. The intelligent device is used for being in communication connection with infrared equipment and is characterized by comprising a first communication unit, a second communication unit and a controller, wherein the first communication unit and the second communication unit are respectively connected with the controller;
The first communication unit is used for receiving a control instruction;
the controller is used for determining the infrared code corresponding to the control instruction according to the control instruction and the infrared code set corresponding to the infrared device;
the second communication unit is used for sending the infrared code to control the infrared equipment.
14. The intelligent device of claim 13, wherein the intelligent device comprises a power input interface, a first power output interface and a second power output interface, the power input interface is used for connecting an external power source with the intelligent device, the first power output interface and the second power output interface are both used for plugging in an infrared device, and output power corresponding to the first power output interface and the second power output interface is the same or different.
15. The intelligent device according to claim 14, wherein the controller is configured to detect current output power of the first power output interface and the second power output interface, and execute a corresponding policy according to the detection result.
16. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method of controlling an infrared device according to any one of claims 1 to 11.
17. A computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of controlling an infrared device according to any one of claims 1 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311170518.5A CN117275211A (en) | 2023-09-11 | 2023-09-11 | Control method and device of infrared equipment, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311170518.5A CN117275211A (en) | 2023-09-11 | 2023-09-11 | Control method and device of infrared equipment, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117275211A true CN117275211A (en) | 2023-12-22 |
Family
ID=89215239
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311170518.5A Pending CN117275211A (en) | 2023-09-11 | 2023-09-11 | Control method and device of infrared equipment, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117275211A (en) |
-
2023
- 2023-09-11 CN CN202311170518.5A patent/CN117275211A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109413515B (en) | Equipment control method and device, mobile terminal and server | |
US9916631B2 (en) | Multi-purpose electronic switch | |
US20170023270A1 (en) | Universal demand-response remote control for ductless split system | |
US20200169428A1 (en) | Terminal apparatus, control apparatus, installation-location-ascertainment support system, installation-location-setting support system, installation-location-ascertainment support method, installation-location-setting support method, and program | |
CN104468779B (en) | Monitoring method and device of intelligent equipment and router | |
CN103941663A (en) | Method and system for controlling household appliances | |
CN108156058B (en) | Method and device for accessing intelligent gateway equipment and readable storage medium | |
CN104683197A (en) | Network control device, as well as intelligent household system and control method thereof | |
CN107576025B (en) | Control method and system of air conditioner, wire controller and indoor unit | |
KR20170075333A (en) | A smart control device for use in an air conditioner for heating and cooling and energy management system | |
CN110567107A (en) | Regional control method, device and system and air conditioning system | |
CN105527848B (en) | Communication apparatus and method of controlling the same | |
CN113009843A (en) | Household appliance control method and device, household appliance and storage medium | |
CN109945296A (en) | Air conditioner, the control method of household appliance, household appliance and storage medium | |
CN112013517A (en) | Air conditioning apparatus, control method thereof, terminal control apparatus, and storage medium | |
CN111108489A (en) | Server, information processing method, network system and air purifier | |
CN108873834A (en) | A kind of smart machine inter-linked controlling method and device | |
CN111094859A (en) | Air cleaner and network system | |
CN117275211A (en) | Control method and device of infrared equipment, electronic equipment and storage medium | |
CN104654521A (en) | Function starting method and mobile electronic equipment | |
CN110199158A (en) | Air conditioner | |
JP5650816B1 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
CN115523635A (en) | Intelligent guest room control method, device, equipment, medium and program product | |
CN115407671A (en) | Page display method, device, control system, computer equipment and storage medium | |
CN111288613B (en) | Air conditioner state monitoring method and device |
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 |