Method and device for sending control instructions, and electronic device

CN115930378BActive Publication Date: 2025-08-22HAIER YOUJIA INTELLIGENT TECH (BEIJING) CO LTD +2
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211522126.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-08-22
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

[0005]本申请实施例提供了一种控制指令的发送方法及装置、电子装置,以至少解决相关技术中传统温度调节设备只能够根据客户主动发起的指令进行温度调节,进而温度调节功能的灵活性差的问题

Benefits of technology

[0016] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control instruction sending method through the computer program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115930378B_ABST
    Figure CN115930378B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for sending control instructions, and an electronic device, relating to the field of smart home technology. The method for sending control instructions includes: when a target object turns on an identification instruction mode for a temperature control device at the first moment, obtaining geographic location information of the area where the target object is located, time information corresponding to the first moment, and identity information of the target object; determining a control instruction for controlling the temperature control device based on the geographic location information, the time information, and the identity information; and sending the control instruction to the temperature control device. The above technical solution solves the problem in the related art that traditional temperature control devices can only adjust the temperature according to instructions actively initiated by the customer, thereby poorly flexible in the temperature control function; and achieves the technical effect of improving the flexibility of the temperature control function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and more specifically, to a method and device for sending control instructions, and an electronic device. Background Art

[0002] In related technologies, traditional temperature control devices, such as air conditioners, have fixed default settings such as cooling, 26 degrees, and automatic wind when turned on. They cannot provide users with a comfortable home environment based on region, season, crowd, and user characteristics, such as voiceprints.

[0003] Regarding the related technologies, traditional temperature control equipment can only adjust the temperature according to instructions initiated by customers, and the flexibility of the temperature control function is poor. No effective solution has been proposed yet.

[0004] Therefore, it is necessary to improve the related technology to overcome the above-mentioned defects in the related technology. Summary of the Invention

[0005] The embodiments of the present application provide a method and device for sending control instructions, and an electronic device, so as to at least solve the problem in the related art that traditional temperature control equipment can only adjust the temperature according to instructions actively initiated by the customer, and thus the temperature control function has poor flexibility.

[0006] According to one aspect of an embodiment of the present application, a method for sending a control instruction is provided, comprising: when a target object turns on an identification instruction mode for a temperature control device at a first moment, obtaining geographic location information of an area where the target object is located, time information corresponding to the first moment, and identity information of the target object; determining a control instruction for controlling the temperature control device based on the geographic location information, the time information, and the identity information; and sending the control instruction to the temperature control device.

[0007] In an exemplary embodiment, a control instruction for controlling the temperature control device is determined based on the geographic location information, the time information, and the identity information, including: obtaining a first temperature range corresponding to the geographic location information, a second temperature range corresponding to the time information, and a third temperature range corresponding to the identity information; determining a first intersection range of the first temperature range, the second temperature range, and the third temperature range; and determining a control instruction for controlling the temperature control device based on the first intersection range.

[0008] In an exemplary embodiment, determining a control instruction for controlling the temperature control device based on the first intersection range includes: obtaining historical usage data of the temperature control device by the target object, wherein the historical usage data includes: the target temperature that has been set the most times; when it is determined that the target temperature exists in the first intersection range, generating the control instruction based on the target temperature; when it is determined that the target temperature does not exist in the first intersection range, obtaining the average temperature of the first intersection range, and generating the control instruction based on the average temperature.

[0009] In an exemplary embodiment, after obtaining the first temperature range corresponding to the geographic location information, the second temperature range corresponding to the time information, and the third temperature range corresponding to the identity information, the method further includes: when there is no first intersection range among the first temperature range, the second temperature range and the third temperature range, obtaining the first priority of the geographic location information, the second priority of the time information and the third priority of the identity information; determining the two highest priorities among the first priority, the second priority and the third priority, and determining the temperature ranges corresponding to the two highest priorities; determining the second intersection range of the temperature ranges corresponding to the two priorities as a control instruction for controlling the temperature regulation device.

[0010] In an exemplary embodiment, the method further includes: when the target object turns off the recognition instruction mode at the second moment, obtaining the target control instruction generated for the temperature control device during the process of turning on the recognition instruction mode; when it is detected that the target object has an intention to use the temperature control device, sending the target control instruction to the temperature control device.

[0011] In an exemplary embodiment, obtaining the target control instruction generated for the temperature control device during the process of starting the identification instruction mode includes at least one of the following: determining the control instruction most recently generated for the temperature control device as the target control instruction; determining the control instruction generated most times for the temperature control device as the target control instruction.

[0012] In an exemplary embodiment, after sending the control instruction to the temperature control device, the method further includes: controlling the temperature control device to operate for a preset time period according to the control instruction; receiving voice feedback from the target object when the temperature control device operates for the preset time period; and adjusting the operating mode of the temperature control device according to the voice feedback.

[0013] In an exemplary embodiment, the method further includes: when it is determined that the recognition instruction mode is turned on for the first time, determining the target group command to be completed; completing the target group command according to preset rules, and obtaining the complete group command corresponding to the completed target group command as the control instruction corresponding to the recognition instruction mode turned on for the first time.

[0014] According to another aspect of an embodiment of the present application, a control instruction sending device is also provided, including: an acquisition module, used to obtain the geographical location information of the area where the target object is located, the time information corresponding to the first moment and the identity information of the target object when the target object turns on the identification instruction mode for the temperature control device at the first moment; a determination module, used to determine the control instruction for controlling the temperature control device based on the geographical location information, the time information and the identity information; and a sending module, used to send the control instruction to the temperature control device.

[0015] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the above-mentioned method for sending control instructions when running.

[0016] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the control instruction sending method through the computer program.

[0017] Through the present application, when the target object turns on the identification instruction mode for the temperature control device at the first moment, the geographical location information of the area where the target object is located, the time information corresponding to the first moment, and the identity information of the target object are obtained; based on the geographical location information, the time information, and the identity information, a control instruction for controlling the temperature control device is determined; and the control instruction is sent to the temperature control device. In other words, the control instruction is determined based on the current geographical location information of the target object, the current time information, and the identity information of the target object. The above technical solution solves the problem in the related art that traditional temperature control devices can only adjust the temperature according to instructions actively initiated by the customer, and thus the flexibility of the temperature control function is poor; and the technical effect of improving the flexibility of the temperature control function is achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0020] Figure 1 1 is a schematic diagram of a hardware environment for an optional method for sending a control instruction according to an embodiment of the present application;

[0021] Figure 2 is a flowchart of an optional method for sending a control instruction according to an embodiment of the present application;

[0022] Figure 3 This is a flow chart of an optional method for sending a control instruction according to an embodiment of the present application;

[0023] Figure 4 This is a structural block diagram of an optional control instruction sending device according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] According to one aspect of the embodiment of the present application, a method for sending a control instruction is provided. The method for sending a control instruction is widely used in smart home (Smart Home), smart home, smart home device ecology, smart home (IntelligenceHouse) ecology and other whole-house intelligent digital control application scenarios. Optionally, in this embodiment, the above-mentioned method for sending a control instruction can be applied to Figure 1 In the hardware environment shown in FIG. 1 , a plurality of terminal devices 102 and a server 104 are formed. Figure 1 As shown, the server 104 is connected to multiple terminal devices 102 through a network, and can be used to provide services (such as application services, etc.) for the terminals or clients installed on the terminals. A database can be set up on the server or independently of the server to provide data storage services for the server 104. Cloud computing and / or edge computing services can be configured on the server or independently of the server to provide data computing services for the server 104.

[0027] The aforementioned network may include, but is not limited to, at least one of the following: a wired network and a wireless network. The aforementioned wired network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The aforementioned wireless network may include, but is not limited to, at least one of the following: Wi-Fi (Wireless Fidelity) and Bluetooth. The terminal device 102 may be, but is not limited to, a PC, a mobile phone, a tablet computer, a smart air conditioner, a smart range hood, a smart refrigerator, a smart oven, a smart stove, a smart washing machine, a smart water heater, a smart washing machine, a smart dishwasher, a smart projection device, a smart TV, a smart clothes drying rack, smart curtains, smart audio and video, a smart socket, a smart speaker, a smart fresh air device, smart kitchen and bathroom equipment, smart bathroom equipment, a smart sweeping robot, a smart window cleaning robot, a smart mopping robot, a smart air purifier, a smart steamer, a smart microwave oven, a smart kitchen treasure, a smart purifier, a smart water dispenser, a smart door lock, etc.

[0028] In this embodiment, a method for sending a control instruction is provided, including but not limited to being applied to a computer terminal. Figure 2 1 is a flow chart of a method for sending a control instruction according to an embodiment of the present application, the flow includes the following steps:

[0029] Step S202: When the target object starts the recognition instruction mode for the temperature adjustment device at the first moment, obtain the geographical location information of the area where the target object is located, the time information corresponding to the first moment, and the identity information of the target object;

[0030] Step S204: determining a control instruction for controlling the temperature adjustment device according to the geographic location information, the time information, and the identity information;

[0031] Step S206: Send the control instruction to the temperature adjustment device.

[0032] Through the above steps, when the target object activates the identification instruction mode for the temperature control device at the first moment, the geographic location information of the area where the target object is located, the time information corresponding to the first moment, and the identity information of the target object are obtained; a control instruction for controlling the temperature control device is determined based on the geographic location information, the time information, and the identity information; and the control instruction is sent to the temperature control device. In other words, the control instruction is determined based on the target object's current geographic location information, the current time information, and the target object's identity information. The above technical solution solves the problem in the related art that traditional temperature control devices can only adjust the temperature based on instructions initiated by the customer, thereby having poor flexibility in the temperature control function; and achieves the technical effect of improving the flexibility of the temperature control function.

[0033] There are multiple implementation methods for the above-mentioned step S204. In an optional embodiment, the control instructions for controlling the temperature control device are determined based on the geographic location information, the time information and the identity information, including: obtaining a first temperature range corresponding to the geographic location information, a second temperature range corresponding to the time information, and a third temperature range corresponding to the identity information; determining a first intersection range of the first temperature range, the second temperature range and the third temperature range; and determining the control instructions for controlling the temperature control device based on the first intersection range.

[0034] Specifically, the current geographical location of the target object is obtained through the cloud. The geographical location can be divided according to longitude and latitude, or simply divided according to the north and south. This embodiment of the present application does not limit this. Different geographical locations will correspond to different temperature ranges, namely the first temperature range. The current time information is obtained through the cloud, and then the temperature range corresponding to the time information is obtained, namely the second temperature range. The time information can roughly determine the current season and month, or it can be more precisely determined that it is a certain time in a certain month and day. For example, late at night on December 1st, the temperature value in the temperature range corresponding to this time information must be higher overall. The identity information of the target object is obtained, and then the preferred temperature range of the target object stored in the cloud is obtained based on the identity information, namely the third temperature range. After determining the first temperature range, the second temperature range and the third temperature range, the first intersection range of the three temperature ranges is determined; and the control instructions for controlling the temperature control device are determined based on the first intersection range.

[0035] After determining the first intersection range, optionally, a control instruction for controlling the temperature control device is determined based on the first intersection range, including: obtaining historical usage data of the temperature control device by the target object, wherein the historical usage data includes: the target temperature that has been set the most times; when it is determined that the target temperature exists in the first intersection range, generating the control instruction based on the target temperature; when it is determined that the target temperature does not exist in the first intersection range, obtaining the average temperature of the first intersection range, and generating the control instruction based on the average temperature.

[0036] It is understood that after determining the first intersection range, a temperature value within the first intersection range needs to be selected as part of the control instruction information to be sent. Specifically, the target temperature that has been set most frequently in the target object's historical usage data can be obtained from the cloud. If this target temperature is within the first intersection range, a control instruction is generated based on the target temperature. If it is not within the first intersection range, the average temperature of the first intersection range is obtained by averaging all temperatures within the first intersection range, and the control instruction is generated based on the average temperature.

[0037] Optionally, after obtaining the first temperature range corresponding to the geographic location information, the second temperature range corresponding to the time information, and the third temperature range corresponding to the identity information, the method further includes: obtaining the first priority of the geographic location information, the second priority of the time information, and the third priority of the identity information when there is no first intersection range among the first temperature range, the second temperature range, and the third temperature range; determining the two priorities with the highest priorities among the first priority, the second priority, and the third priority, and determining the temperature ranges corresponding to the two priorities with the highest priorities; determining the second intersection range of the temperature ranges corresponding to the two priorities as a control instruction for controlling the temperature regulation device.

[0038] It should be noted that, regarding the determination of the second intersection range, it is first necessary to determine whether there is an intersection between any two of the first temperature range, the second temperature range, and the third temperature range, including at least one of the following: the intersection of the first temperature range and the second temperature range, the intersection of the first temperature range and the third temperature range, and the intersection of the second temperature range and the third temperature range. The second intersection range is selected from this intersection cluster; secondly, the first priority corresponding to the geographic location information corresponding to the first temperature range is determined, the second priority corresponding to the time information corresponding to the second temperature range is determined, and the third priority corresponding to the identity information corresponding to the third temperature range is determined. Based on the first priority, the second priority, and the third priority, the temperature range with the highest priority in the intersection cluster is determined, that is, the second intersection range. In particular, if there is no intersection between any two of the first temperature range, the second temperature range, and the third temperature range, the temperature range with the highest priority among the first temperature range, the second temperature range, and the third temperature range is determined as the second temperature range.

[0039] The target object stops using the temperature control device, and the method further includes: when the target object turns off the recognition instruction mode at the second moment, obtaining the target control instruction generated for the temperature control device during the process of turning on the recognition instruction mode; when it is detected that the target object has an intention to use the temperature control device, sending the target control instruction to the temperature control device.

[0040] It is understandable that when the target object stops using the temperature control device, the cloud detects that the target object turns off the recognition instruction mode at the second moment, and then obtains the control instructions generated for the temperature control device during the process of turning on the recognition instruction mode after the first moment before the second moment and saves them as target control instructions. When the target object wants to use the temperature control device again, the cloud detects the target object's intention to use the temperature control device and sends the saved target control instructions to the temperature control device. Detecting the target object's intention to use the temperature control device may include detecting the target object's voiceprint, detecting the target object's perceived temperature, etc., which is not limited in this optional embodiment.

[0041] Obtaining the target control instruction generated for the temperature control device during the process of turning on the identification instruction mode includes at least one of the following: determining the control instruction most recently generated for the temperature control device as the target control instruction; determining the control instruction generated most times for the temperature control device as the target control instruction.

[0042] That is, the method of obtaining the target control instruction includes at least one of the following: 1) determining the latest control instruction generated by the most recent use of the temperature control device as the target control instruction; 2) determining the control instruction generated most times by the temperature control device in the historical data as the target control instruction.

[0043] Optionally, after sending the control instruction to the temperature control device, the method further includes: controlling the temperature control device to operate for a preset time period according to the control instruction; receiving voice feedback from the target object when the temperature control device operates for the preset time period; and adjusting the working mode of the temperature control device according to the voice feedback.

[0044] Specifically, after the temperature adjustment device operates for a preset period of time according to the control instruction, if the target object provides voice feedback, the operating mode of the temperature control device is adjusted according to the voice feedback.

[0045] In an exemplary embodiment, the method further includes: when it is determined that the recognition instruction mode is turned on for the first time, determining the target group command to be completed; completing the target group command according to preset rules, and obtaining the complete group command corresponding to the completed target group command as the control instruction corresponding to the recognition instruction mode turned on for the first time.

[0046] That is, in actual operation, the group command to be issued is likely to be incomplete. This problem is most likely to occur when the recognition command mode is first enabled. In this case, the target group command to be completed is first screened out; then the target group command is completed according to the preset rules to obtain the complete group command corresponding to the target group command.

[0047] For example, the above-mentioned identification instruction mode is a comfortable home mode, which includes a group command consisting of a constant temperature and dehumidification instruction, a power-on instruction, and an air supply instruction. The constant temperature and dehumidification instruction, the power-on instruction, and the air supply instruction correspond to, for example, controlling the humidifier and the air conditioner to be set to a specific temperature, a specific humidity, and a specific air supply size, as well as adjusting the opening and closing status of the windows. When the comfortable home mode is started for the first time, if it is determined that the current household appliance has turned on the constant temperature and humidity instruction and the power-on instruction, the household appliance will only be controlled based on the air supply instruction. In this case, the control instructions sent to the temperature control device will not include the constant temperature and humidity instruction and the power-on instruction. In order to ensure that the control instructions sent to the temperature control device are the same under the same identification instruction mode, the embodiment of the present application completes the target group command according to preset rules to obtain a complete group command corresponding to the target group command. The completion operation of the above embodiment can adopt any possible command completion method, and the embodiment of the present invention is not limited to this.

[0048] Obviously, the embodiments described above are only part of the embodiments of the present application, not all of the embodiments. In order to better understand the method for sending the above control instructions, the above process is described below in conjunction with the embodiments, but it is not intended to limit the technical solutions of the embodiments of the present application. Specifically:

[0049] Figure 3 is a flow chart of an optional method for sending a control instruction according to an embodiment of the present application, such as Figure 3 As shown, there are the following steps:

[0050] Step 1: The user activates the Comfort Home service;

[0051] The user (equivalent to the target object in the above embodiment) activates the Comfort Home service through touch (screen or APP) or voice and uses the temperature adjustment device;

[0052] Step 2: Cloud;

[0053] Step 3: Retrieve the city where the device is located;

[0054] Step 4: Retrieve the current month;

[0055] Step 5: Retrieve user voiceprint features;

[0056] Step 6: Retrieve air conditioner usage habits;

[0057] The cloud retrieves the device region, current season, user characteristics, and air conditioning usage habits to form the characteristic value of the user's current control (equivalent to the first temperature range, second temperature range, and third temperature range in the above embodiment);

[0058] Step 7: Four seasons distribution table for different regions;

[0059] Step 8: Multi-dimensional air control instruction table;

[0060] Step 9: Voiceprint feature control instruction table;

[0061] Step 10: Air conditioning operation habit instruction table;

[0062] Step 11: Specific device instructions;

[0063] The cloud analyzes and decides based on the characteristic values ​​and pre-stored regional seasonal distribution tables, multi-dimensional air control instruction tables, voiceprint feature control instruction tables, and air conditioning operation habit instruction tables, and generates appropriate equipment control instructions.

[0064] Step 12: The device executes the instruction;

[0065] The cloud sends control instructions to the device, and the device executes the control instructions.

[0066] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0067] In this embodiment, a device for sending a control instruction is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0068] Figure 4 1 is a structural block diagram of an optional device for sending a control instruction according to an embodiment of the present application, the device comprising:

[0069] An acquisition module 42 is configured to acquire, when the target object starts the recognition instruction mode for the temperature adjustment device at a first moment, geographical location information of the area where the target object is located, time information corresponding to the first moment, and identity information of the target object;

[0070] a determination module 44, configured to determine a control instruction for controlling the temperature adjustment device based on the geographic location information, the time information, and the identity information;

[0071] The sending module 46 is configured to send the control instruction to the temperature adjustment device.

[0072] Through the above-mentioned device, when the target object activates the identification instruction mode for the temperature control device at the first moment, the geographic location information of the area where the target object is located, the time information corresponding to the first moment, and the identity information of the target object are obtained; a control instruction for controlling the temperature control device is determined based on the geographic location information, the time information, and the identity information; and the control instruction is sent to the temperature control device. In other words, the control instruction is determined based on the target object's current geographic location information, the current time information, and the target object's identity information. The above-mentioned technical solution solves the problem in the related art that traditional temperature control devices can only adjust the temperature based on instructions initiated by the customer, thereby having poor flexibility in the temperature control function; and achieves the technical effect of improving the flexibility of the temperature control function.

[0073] The determination module 44 is further used to obtain a first temperature range corresponding to the geographic location information, a second temperature range corresponding to the time information, and a third temperature range corresponding to the identity information; determine a first intersection range of the first temperature range, the second temperature range, and the third temperature range; and determine a control instruction for controlling the temperature regulating device based on the first intersection range.

[0074] Specifically, the current geographical location of the target object is obtained through the cloud. The geographical location can be divided according to longitude and latitude, or simply divided according to the north and south. This embodiment of the present application does not limit this. Different geographical locations will correspond to different temperature ranges, namely the first temperature range. The current time information is obtained through the cloud, and then the temperature range corresponding to the time information is obtained, namely the second temperature range. The time information can roughly determine the current season and month, or it can be more precisely determined that it is a certain time in a certain month and day. For example, late at night on December 1st, the temperature value in the temperature range corresponding to this time information must be higher overall. The identity information of the target object is obtained, and then the preferred temperature range of the target object stored in the cloud is obtained based on the identity information, namely the third temperature range. After determining the first temperature range, the second temperature range and the third temperature range, the first intersection range of the three temperature ranges is determined; and the control instructions for controlling the temperature control device are determined based on the first intersection range.

[0075] After determining the first intersection range, the determination module 44 is also used to obtain the historical usage data of the temperature control device by the target object, wherein the historical usage data includes: the target temperature that has been set the most times; when it is determined that the target temperature exists in the first intersection range, the control instruction is generated according to the target temperature; when it is determined that the target temperature does not exist in the first intersection range, the average temperature of the first intersection range is obtained, and the control instruction is generated according to the average temperature.

[0076] It is understood that after determining the first intersection range, a temperature value within the first intersection range needs to be selected as part of the control instruction information to be sent. Specifically, the target temperature that has been set most frequently in the target object's historical usage data can be obtained from the cloud. If this target temperature is within the first intersection range, a control instruction is generated based on the target temperature. If it is not within the first intersection range, the average temperature of the first intersection range is obtained by averaging all temperatures within the first intersection range, and the control instruction is generated based on the average temperature.

[0077] The determination module 44 is also used to obtain the first temperature range corresponding to the geographic location information, the second temperature range corresponding to the time information, and the third temperature range corresponding to the identity information, and then, when there is no first intersection range among the first temperature range, the second temperature range and the third temperature range, obtain the first priority of the geographic location information, the second priority of the time information and the third priority of the identity information; determine the two priorities with the highest priority among the first priority, the second priority and the third priority, and determine the temperature ranges corresponding to the two priorities with the highest priority; determine the second intersection range of the temperature ranges corresponding to the two priorities as a control instruction for controlling the temperature regulation device.

[0078] It should be noted that, regarding the determination of the second intersection range, it is first necessary to determine whether there is an intersection between any two of the first temperature range, the second temperature range, and the third temperature range, including at least one of the following: the intersection of the first temperature range and the second temperature range, the intersection of the first temperature range and the third temperature range, and the intersection of the second temperature range and the third temperature range. The second intersection range is selected from this intersection cluster; secondly, the first priority corresponding to the geographic location information corresponding to the first temperature range is determined, the second priority corresponding to the time information corresponding to the second temperature range is determined, and the third priority corresponding to the identity information corresponding to the third temperature range is determined. Based on the first priority, the second priority, and the third priority, the temperature range with the highest priority in the intersection cluster is determined, that is, the second intersection range. In particular, if there is no intersection between any two of the first temperature range, the second temperature range, and the third temperature range, the temperature range with the highest priority among the first temperature range, the second temperature range, and the third temperature range is determined as the second temperature range.

[0079] The determination module 44 is also used to obtain the target control instruction generated for the temperature control device during the process of turning on the recognition instruction mode when the target object turns off the recognition instruction mode at the second moment; and send the target control instruction to the temperature control device when it is detected that the target object has the intention to use the temperature control device.

[0080] It is understandable that when the target object stops using the temperature control device, the cloud detects that the target object turns off the recognition instruction mode at the second moment, and then obtains the control instructions generated for the temperature control device during the process of turning on the recognition instruction mode after the first moment before the second moment and saves them as target control instructions. When the target object wants to use the temperature control device again, the cloud detects the target object's intention to use the temperature control device and sends the saved target control instructions to the temperature control device. Detecting the target object's intention to use the temperature control device may include detecting the target object's voiceprint, detecting the target object's perceived temperature, etc., which is not limited in this optional embodiment.

[0081] The determining module 44 is further configured to determine the control instruction most recently generated for the temperature regulating device as the target control instruction; and determine the control instruction generated most times for the temperature regulating device as the target control instruction.

[0082] That is, the method of obtaining the target control instruction includes at least one of the following: 1) determining the latest control instruction generated by the most recent use of the temperature control device as the target control instruction; 2) determining the control instruction generated most times by the temperature control device in the historical data as the target control instruction.

[0083] The sending module 46 is also used to control the temperature control device to operate for a preset time period according to the control instruction after sending the control instruction to the temperature control device; receive voice feedback from the target object when the temperature control device operates for the preset time period; and adjust the working mode of the temperature control device according to the voice feedback.

[0084] Specifically, after the temperature adjustment device operates for a preset period of time according to the control instruction, if the target object provides voice feedback, the operating mode of the temperature control device is adjusted according to the voice feedback.

[0085] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any of the above method embodiments when run.

[0086] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0087] S1, when a target object turns on an identification instruction mode for a temperature control device at a first moment, obtaining geographic location information of an area where the target object is located, time information corresponding to the first moment, and identity information of the target object;

[0088] S2, determining a control instruction for controlling the temperature adjustment device according to the geographic location information, the time information, and the identity information;

[0089] S3: Send the control instruction to the temperature adjustment device.

[0090] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0091] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0092] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0093] Optionally, in this embodiment, the processor may be configured to execute the following steps through a computer program:

[0094] S1, when a target object turns on an identification instruction mode for a temperature control device at a first moment, obtaining geographic location information of an area where the target object is located, time information corresponding to the first moment, and identity information of the target object;

[0095] S2, determining a control instruction for controlling the temperature adjustment device according to the geographic location information, the time information, and the identity information;

[0096] S3: Send the control instruction to the temperature adjustment device.

[0097] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0098] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0099] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0100] The above is only a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for sending a control instruction, characterized in that: include: When the target object starts the recognition instruction mode for the temperature adjustment device at the first moment, obtaining geographical location information of the area where the target object is located, time information corresponding to the first moment, and identity information of the target object; Acquire a first temperature range corresponding to the geographic location information, a second temperature range corresponding to the time information, and a third temperature range corresponding to the identity information; Determine a first intersection range of the first temperature range, the second temperature range, and the third temperature range; Acquiring historical usage data of the temperature adjustment device by the target object, wherein the historical usage data includes: a target temperature that has been set the most times; If it is determined that the target temperature exists in the first intersection range, generating the control instruction according to the target temperature; When it is determined that the target temperature does not exist in the first intersection range, obtaining an average temperature of the first intersection range, and generating the control instruction according to the average temperature; The control instruction is sent to the temperature adjustment device.

2. The method according to claim 1, characterized in that After obtaining the first temperature range corresponding to the geographic location information, the second temperature range corresponding to the time information, and the third temperature range corresponding to the identity information, the method further includes: When there is no first intersection among the first temperature range, the second temperature range, and the third temperature range, obtaining the first priority of the geographic location information, the second priority of the time information, and the third priority of the identity information; Determine the two highest priorities among the first priority, the second priority, and the third priority, and determine the temperature ranges corresponding to the two highest priorities; A second intersection range of the temperature ranges corresponding to the two priorities is determined as a control instruction for controlling the temperature adjustment device.

3. The method according to claim 1, characterized in that The method further comprises: When the target object turns off the recognition instruction mode at the second moment, obtaining a target control instruction generated for the temperature adjustment device during the process of turning on the recognition instruction mode; When it is detected that the target object intends to use the temperature adjustment device, the target control instruction is sent to the temperature adjustment device.

4. The method according to claim 3, characterized in that Acquiring a target control instruction generated for the temperature adjustment device during the process of starting the recognition instruction mode includes at least one of the following: determining the control instruction most recently generated for the temperature adjustment device as the target control instruction; The control instruction generated most times for the temperature adjustment device is determined as the target control instruction.

5. The method according to claim 1, wherein After sending the control instruction to the temperature adjustment device, the method further includes: Controlling the temperature regulating device to operate for a preset time period according to the control instruction; receiving voice feedback from the target object when the temperature adjustment device operates for the preset time period; The operating mode of the temperature regulating device is adjusted according to the voice feedback.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When it is determined that the recognition instruction mode is enabled for the first time, determining a target group command for a completion operation to be performed; The target group commands are completed according to a preset rule, and the complete group commands corresponding to the completed target group commands are obtained as control commands corresponding to the recognition command mode that is enabled for the first time.

7. A device for sending a control instruction, characterized in that: include: An acquisition module, configured to acquire, when the target object starts the recognition instruction mode for the temperature adjustment device at a first moment, geographical location information of the area where the target object is located, time information corresponding to the first moment, and identity information of the target object; a determination module, configured to obtain a first temperature range corresponding to the geographic location information, a second temperature range corresponding to the time information, and a third temperature range corresponding to the identity information; and determine a first intersection range of the first temperature range, the second temperature range, and the third temperature range; Obtaining historical usage data of the temperature control device by the target object, wherein the historical usage data includes: a target temperature that has been set the most times; if it is determined that the target temperature exists in the first intersection range, generating the control instruction based on the target temperature; if it is determined that the target temperature does not exist in the first intersection range, obtaining an average temperature of the first intersection range, and generating the control instruction based on the average temperature; A sending module is used to send the control instruction to the temperature adjustment device.

8. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 6 through the computer program.

Citation Information

Patent Citations

  • Control method and device for air conditioner and related equipment

    CN105020860A