Equipment control method and device, electronic equipment and readable storage medium

Through user interaction, the target room and parameter group are determined, and the home equipment is adjusted to simulate different urban environments, which solves the problem of low equipment control efficiency when users live in different cities, and achieves efficient and flexible equipment control.

CN119472320APending Publication Date: 2025-02-18GREE ELECTRIC APPLIANCE INC OF ZHUHAI

Patent Information

Application Number
CN202411470937.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Users living in different cities need to manually adjust their home equipment to adapt to environmental differences, resulting in low control efficiency.

Method used

Through user interaction, the target room and parameter group are determined from multiple rooms to be selected and the parameter group is sent to adjust the environmental parameters, and the environment of different cities is simulated.

Benefits of technology

It improves the efficiency and flexibility of equipment control, meets the environmental needs of different groups of people, and realizes personalized and customized equipment control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119472320A_ABST
    Figure CN119472320A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an equipment control method and device, electronic equipment and a readable storage medium. The method comprises the steps of determining a target room corresponding to a first interaction operation from a plurality of rooms to be selected in response to the first interaction operation of a user; in response to a second interaction operation of the user, determining a target parameter group corresponding to the second interaction operation from a plurality of to-be-selected parameter groups; different to-be-selected parameter groups correspond to different to-be-selected cities; and sending a control instruction to the to-be-controlled home equipment contained in the target room based on the target parameter group, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group. The user can adjust the environment parameters of the target room to the desired city environment only through the first interaction operation and the second interaction operation, the user does not need to control each home device in sequence, and the device control efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a device control method, device, electronic device and readable storage medium. Background Art

[0002] With the development of computer technology, the usage rate of household appliances in daily life is getting higher and higher, such as air conditioners, humidifiers, etc., through which indoor environmental parameters such as temperature and humidity can be adjusted.

[0003] However, with the development of the economy, most people often work and live away from home. Due to the environmental differences between different cities, users need to manually perform adaptive control of different home appliances in order to adapt to the environmental differences, and the control efficiency is poor. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a device control method, apparatus, electronic device and readable storage medium to improve the efficiency of device control. The specific technical solution is as follows:

[0005] In a first aspect of the present invention, a device control method is provided, the method comprising:

[0006] In response to a first interaction operation of a user, determining a target room corresponding to the first interaction operation from a plurality of rooms to be selected;

[0007] In response to the second interaction operation of the user, determining a target parameter group corresponding to the second interaction operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected;

[0008] Based on the target parameter group, a control instruction is sent to the home appliances to be controlled contained in the target room, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

[0009] Optionally, determining a target room corresponding to the first interactive operation from a plurality of rooms to be selected includes:

[0010] Obtaining control authority of the user;

[0011] Based on the control authority and the first interactive operation, a target room is determined from the multiple rooms to be selected.

[0012] Optionally, the determining a target room from the multiple rooms to be selected based on the control authority and the first interactive operation includes:

[0013] In a case where the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, the room to be selected indicated by the first interactive operation is determined as a target room.

[0014] Optionally, the determining a target room from the multiple rooms to be selected based on the control authority and the first interactive operation includes:

[0015] In a case where the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, the room to be selected preset by the user is determined as the target room.

[0016] Optionally, the method further comprises:

[0017] Obtaining environmental parameters of each of the candidate cities;

[0018] Based on the environmental parameters of each of the candidate cities, the plurality of candidate parameter groups are constructed.

[0019] Optionally, the method further comprises:

[0020] generating a plurality of interactive components based on the plurality of parameter groups to be selected;

[0021] The multiple interactive components are displayed; and the second interactive operation is triggered by the user based on the multiple interactive components.

[0022] Optionally, the method further comprises:

[0023] In response to the user's city adding operation, obtaining the city corresponding to the city adding operation as the city to be added;

[0024] The city to be added is added to the cities to be selected.

[0025] Optionally, the control parameter includes at least one of temperature, humidity, air quality index, air pressure and oxygen content.

[0026] In a second aspect of the present invention, there is also provided a device control apparatus, which may include:

[0027] A first determining module, configured to determine, in response to a first interactive operation of a user, a target room corresponding to the first interactive operation from a plurality of rooms to be selected;

[0028] A second determination module is used to determine, in response to the second interaction operation of the user, a target parameter group corresponding to the second interaction operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected;

[0029] A sending module is used to send control instructions to the home appliances to be controlled contained in the target room based on the target parameter group, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

[0030] Optionally, the first determining module includes:

[0031] The permission acquisition submodule is used to obtain the control permission of the user;

[0032] The room determination submodule is used to determine a target room from the multiple candidate rooms based on the control authority and the first interactive operation.

[0033] Optionally, the room determination submodule is specifically configured to:

[0034] In a case where the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, the room to be selected indicated by the first interactive operation is determined as a target room.

[0035] Optionally, the room determination submodule is specifically configured to:

[0036] In a case where the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, the room to be selected preset by the user is determined as the target room.

[0037] Optionally, the device further comprises:

[0038] A parameter acquisition module, used to acquire the environmental parameters of each of the candidate cities;

[0039] A construction module is used to construct the multiple candidate parameter groups based on the environmental parameters of each candidate city.

[0040] Optionally, the device further comprises:

[0041] A component generation module, used for generating a plurality of interactive components based on the plurality of parameter groups to be selected;

[0042] The display module is used to display the multiple interactive components; the second interactive operation is triggered by the user based on the multiple interactive components.

[0043] Optionally, the device further comprises:

[0044] A city acquisition module, configured to respond to a user's city adding operation and acquire a city corresponding to the city adding operation as a city to be added;

[0045] The city adding module is used to add the city to be added to the cities to be selected.

[0046] Optionally, the control parameter includes at least one of temperature, humidity, air quality index, air pressure and oxygen content.

[0047] In a third aspect of the present invention, there is also provided an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0048] Memory, used to store computer programs;

[0049] The processor is used to implement the method described in the first aspect when executing the program stored in the memory.

[0050] In a fourth aspect of the implementation of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method described in the first aspect above.

[0051] In a fifth aspect of the implementation of the present invention, there is also provided a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect above.

[0052] The device control method provided in the embodiment of the present invention determines the target room corresponding to the first interactive operation from multiple rooms to be selected in response to the first interactive operation of the user; determines the target parameter group corresponding to the second interactive operation from multiple parameter groups to be selected in response to the second interactive operation of the user; different parameter groups to be selected correspond to different cities to be selected; and sends a control instruction to the household equipment to be controlled contained in the target room based on the target parameter group to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group. In the embodiment of the present invention, by setting the parameter groups to be selected corresponding to different cities to be selected, different users can select the environment of the desired city according to actual needs, meet the needs of different groups of people for the environment, and improve the flexibility of device control. And the user only needs to adjust the environmental parameters of the target room to the environment of the desired city through the first interactive operation and the second interactive operation, without the user controlling each household device in turn, and the control efficiency is high. At the same time, by setting the rooms to be selected, the user can quickly adjust the environmental parameters of the target room to be controlled, and different target parameter groups are selected for different rooms to be selected, which can further improve the flexibility of device control and realize personalized and customized device control. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0054] Figure 1 is a flowchart of the steps of an article recycling method in an embodiment of the present invention;

[0055] Figure 2 is a structural schematic diagram of an interactive interface in an embodiment of the present invention;

[0056] Figure 3 is a flow chart of another device control method in an embodiment of the present invention;

[0057] Figure 4 is a schematic structural diagram of a device control device in an embodiment of the present invention;

[0058] Figure 5 Schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Figure 1 is a flow chart of the steps of a device control method in an embodiment of the present invention, such as Figure 1 As shown, the method includes:

[0061] Step 101: In response to a first interaction operation of a user, determine a target room corresponding to the first interaction operation from a plurality of rooms to be selected.

[0062] Step 102: In response to the second interactive operation of the user, determine a target parameter group corresponding to the second interactive operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected.

[0063] Step 103: Send control instructions to the home appliances to be controlled contained in the target room based on the target parameter group, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

[0064] With respect to the above steps 101 to 103, the embodiments of the present invention can be applied to any electronic device, such as a mobile phone, a tablet computer, a laptop computer, etc. The above electronic device can be connected to each home appliance to be controlled in the selected room, and can be connected through a network or other means. The electronic device can send control instructions to each home appliance to be controlled through a preset communication protocol to control the operating parameters of each home appliance to be controlled.

[0065] The user may be a user who uses the electronic device, and the room to be selected may be a room in the residence where the user lives. It is understandable that, since the current residence usually includes multiple rooms such as a master bedroom, a second bedroom, a living room, and a study, the embodiment of the present invention may pre-acquire a room in the user's residence where a device control requirement exists as a room to be selected. The room to be selected may be pre-set according to the actual needs of the user, and the embodiment of the present invention does not limit this. Exemplarily, the room to be selected may include a master bedroom, a living room, a second bedroom, and a study.

[0066] The above-mentioned candidate cities may be preset by the user, and may include the user's hometown city, or other cities selected by the user, and may include multiple different cities in the north and south. Furthermore, the above-mentioned different candidate parameter groups correspond to different candidate cities, and the above-mentioned candidate parameter groups may include a group of control parameters, and the above-mentioned control parameters may include at least one of temperature, humidity, air quality index (particulate matter, PM), air pressure and oxygen content.

[0067] Specifically, the above-mentioned parameter groups to be selected may be generated based on the real-time environment of each city to be selected, or may be generated after optimizing and adjusting the real-time environment of each city to be selected according to the actual needs of the user, and the embodiment of the present invention does not limit this. Specifically, the above-mentioned target room refers to the room to be selected indicated by the first interactive operation, and the above-mentioned target parameter group refers to the parameter group to be selected indicated by the second interactive operation.

[0068] Furthermore, the embodiment of the present invention can display an interactive interface through a display component, and the above-mentioned rooms and cities to be selected can be displayed through the interactive interface, and accordingly, the user can perform interactive operations through the interactive interface. Among them, the above-mentioned first interactive operation and second interactive operation can be triggered by the user through the interactive interface of the electronic device, can be triggered by different interactive keys in the interactive interface, can be click operations, long press operations, sliding operations, etc., can be set according to actual needs, and the embodiment of the present invention does not limit this.

[0069] For example, Figure 2 is a schematic diagram of the structure of an interactive interface in an embodiment of the present invention, such as Figure 2 As shown, the interactive interface includes room selection and city selection. The rooms to be selected include the master bedroom, living room, second bedroom and study. The cities to be selected for the master bedroom include Lhasa, Harbin, Hangzhou and Zhuhai. Different cities to be selected correspond to different control parameters such as humidity, temperature and air pressure.

[0070] Specifically, the user enters Figure 2 After the interactive interface is displayed, you can first select the room where you want to perform device control. Figure 2Taking the selection of the master bedroom as an example, the interactive interface can display multiple cities for selection, and different cities include different control parameters. Specifically, the cities and parameter groups can be displayed through preset interactive components, which can be in different forms such as rectangles, triangles, etc. Figure 2 The form of the suspended ball shown can be set according to actual needs, and the embodiment of the present invention is not limited to this.

[0071] The home appliances to be controlled may be smart homes, such as air conditioners, humidifiers, dehumidifiers, electric heaters, and air purifiers, and different rooms to be selected may contain different home appliances to be controlled. The control instructions may be sent through a preset communication protocol, and each home appliance may be connected to the electronic device used in the embodiment of the present invention, and then communicate with the home appliance by sending control instructions.

[0072] Among them, the above control instructions may include the control parameters included in the target parameter group. Further, since different household appliances can adjust different environmental parameters, for example, humidifiers and dehumidifiers can adjust humidity, air conditioners and electric heaters can adjust temperature, air purifiers can adjust air quality index, and fresh air air conditioners can also adjust air pressure and oxygen content, therefore, in the embodiment of the present invention, different control instructions can also be issued for different types of household appliances to be controlled according to the control parameters included in the target parameter group and the types of household appliances to be controlled included in the target room, so that different household appliances to be controlled adjust different environmental parameters. Exemplarily, taking the target parameter group including temperature 26° and humidity 60% as an example, a temperature control instruction and a humidity control instruction can be generated and sent to the air conditioner and the humidifier respectively. The temperature control instruction may include a control parameter: temperature 26°, and the air conditioner can adjust the indoor temperature based on the temperature control instruction to adjust the temperature of the target room to 26°. Correspondingly, the humidity control instruction may include a control parameter: humidity 60%, and the humidifier can adjust the indoor humidity based on the humidity adjustment instruction to adjust the humidity of the target room to 60%.

[0073] In the related technology, the data fed back from the Internet is often used to make intelligent judgments and adjust the indoor environment according to the environmental data monitored by itself. However, this method is only based on the current local weather system data and living environment judgments, and cannot simulate the air environment in other places, cannot solve the environmental adaptation problems of different users living in different places, and the control method is relatively single. The embodiments of the present invention can meet the environmental needs of different groups of people, can solve the adaptation problems of people from different regions living in different places and the air environment. Users can choose cities independently, can quickly switch to simulate familiar or comfortable air environments, and restore the air environments of different cities. At the same time, the embodiments of the present invention can solve the single indoor air environment allocation method, and provide better personalized control and customized services.

[0074] In summary, in the embodiment of the present invention, by responding to the first interactive operation of the user, the target room corresponding to the first interactive operation is determined from multiple rooms to be selected; in response to the second interactive operation of the user, the target parameter group corresponding to the second interactive operation is determined from multiple parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected; based on the target parameter group, a control instruction is sent to the home appliance to be controlled contained in the target room to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group. In the embodiment of the present invention, by setting the parameter groups to be selected corresponding to different cities to be selected, different users can select the environment of the desired city according to actual needs, meet the needs of different groups of people for the environment, and improve the flexibility of device control. And the user only needs to adjust the environmental parameters of the target room to the environment of the desired city through the first interactive operation and the second interactive operation, without the user controlling each home appliance in turn, and the control efficiency is high. At the same time, by setting the rooms to be selected, the user can quickly adjust the environmental parameters of the target room to be controlled, and different target parameter groups are selected for different rooms to be selected, which can further improve the flexibility of device control and realize personalized and customized device control.

[0075] Optionally, the operation of determining a target room corresponding to the first interactive operation from a plurality of rooms to be selected may specifically include:

[0076] S21. Obtain the control authority of the user.

[0077] S22: Determine a target room from the multiple rooms to be selected based on the control authority and the first interactive operation.

[0078] The above control authority is used to characterize the range of rooms that can be controlled by the user. Specifically, since a family usually includes multiple family members, or roommates come from different cities, and different groups of people often want different environmental parameters, some people may be accustomed to lower humidity, while others are accustomed to higher humidity. In this case, the environmental parameters required by the rooms where these different groups of people live are different. Therefore, the embodiment of the present invention can pre-configure different control authorities for different users, so that each user can only control the room he or she lives in, so as to avoid the situation where the user accidentally touches the device in other rooms.

[0079] Specifically, different control permissions can be configured for different user accounts (Identity documents, IDs) in advance, and the room where the user lives can be determined based on the user's input information, and then the control permission is generated for the user to control only the room where the user lives. Of course, other control permissions can also be generated for different users based on actual conditions, and the embodiment of the present invention does not limit this. Furthermore, the embodiment of the present invention can obtain the control permission of the user who triggers the interactive operation based on the user account that logs in to the interactive interface.

[0080] Furthermore, the target room may be determined based on the control authority and the first interactive operation.

[0081] Optionally, the operation of determining the target room from the multiple rooms to be selected based on the control authority and the first interactive operation may specifically include:

[0082] S221: When the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, determine the room to be selected indicated by the first interactive operation as a target room.

[0083] Specifically, the controllable room refers to a selectable room that can be controlled by the user. The control authority may include one controllable room or multiple controllable rooms, which may be set according to the actual situation of different users, and the embodiment of the present invention does not limit this.

[0084] Furthermore, when the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, it indicates that the current user has the control authority over the room to be selected, and thus the room to be selected indicated by the first interactive operation can be directly determined as the target room.

[0085] In the embodiment of the present invention, when the room to be selected indicated by the first interactive operation belongs to the controllable room represented by the control authority, the room to be selected indicated by the first interactive operation is determined as the target room. In this way, different users can interactively control the room to be selected with control authority, avoiding the situation of room control error caused by accidental touch.

[0086] Optionally, the operation of determining the target room from the multiple rooms to be selected based on the control authority and the first interactive operation may specifically include:

[0087] S222: When the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, determine the room to be selected preset by the user as the target room.

[0088] Among them, the above-mentioned preset room to be selected can be a default room pre-set by the user, can be the room where the user lives, or can be a public room such as a living room or study. It can be set according to the actual needs of different users and the actual conditions of different residences, and the embodiment of the present invention does not limit this.

[0089] Specifically, when the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, it indicates that the current user does not have the control authority over the room to be selected. In order to reduce invalid interactive operations of the user, the embodiment of the present invention can determine the room to be selected preset by the user as the target room.

[0090] In the embodiment of the present invention, when the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, the room to be selected preset by the user is determined as the target room. In this way, when the user does not have the control authority for the room selected by the interactive operation, the room to be selected preset by the user can be directly determined as the target room, which can avoid the wrong control of the room where other users are located to a certain extent, reduce the user's invalid operations, and improve the device control effect.

[0091] In the embodiment of the present invention, the control authority of the user is obtained; based on the control authority and the first interactive operation, the target room is determined from the multiple rooms to be selected. In this way, by setting the control authority, respective control authorities can be generated for different users according to actual conditions, meeting the personalized control requirements of different users, and avoiding the problem of device control errors caused by user misoperation.

[0092] Optionally, the embodiment of the present invention may further include:

[0093] S31, obtaining environmental parameters of each of the candidate cities.

[0094] S32: construct the plurality of candidate parameter groups based on the environmental parameters of the candidate cities.

[0095] For the above steps S31-S32, the above environmental parameters may include parameters such as temperature, humidity, air quality index, air pressure and oxygen content. Specifically, the embodiment of the present invention can obtain the environmental parameters of each candidate city through the data interface provided by the environmental parameter website. Specifically, the above environmental parameter website may include websites such as China Weather Network, China Air Index Network, China Data Network, World Weather Information Service Network, etc. These websites contain environmental parameters of different cities on different dates. The embodiment of the present invention can regularly obtain the environmental parameters of each candidate city according to a preset period. Among them, the above preset period can be 24 hours, 12 hours, etc. For example, the embodiment of the present invention can obtain the environmental parameters of each candidate city at zero o'clock every day to construct a candidate parameter group. Of course, other preset periods can also be set, and the embodiment of the present invention does not limit this.

[0096] Furthermore, after obtaining the environmental parameters of each candidate city, multiple candidate parameter groups can be constructed, and one candidate city corresponds to one candidate parameter group. Specifically, for any candidate city, the environmental parameters of the candidate city can be directly used as a candidate parameter group. Alternatively, since the livability of the environment of some cities in some cases is poor, the embodiment of the present invention can also optimize and adjust the obtained environmental parameters to generate a candidate parameter group.

[0097] Exemplarily, taking Harbin as an example, since the temperature in Harbin is often low in winter, if the environmental parameters of Harbin obtained are directly used as the parameter group to be selected, the room temperature will be too low and the user experience will be poor. In this case, the embodiment of the present invention can adjust the temperature parameters of Harbin obtained higher and then use them as the parameter group to be selected. Among them, the above-mentioned reference adjustment operation can be set according to the actual needs of the user, for example, it can be adjusted by 10°, 15°, or it can be adjusted to 24°, 25°, etc., and the embodiment of the present invention does not limit this.

[0098] In another example, if there is a candidate city with a high PM2.5 value on a certain day and a poor air quality index, if it is directly used as a candidate parameter group, it may have a negative impact on the user's health. In this case, the embodiment of the present invention can reduce the obtained PM2.5 value and then use it as a candidate parameter group. Optionally, the above parameter adjustment operation can be implemented according to the adjustment range preset by the user. For example, the user can preset the PM2.5 value range to 0-35μg / m 3 , then when the PM2.5 value in the environmental parameters of the candidate city obtained is greater than this range, it can be reduced to this range.

[0099] In the embodiment of the present invention, the environmental parameters of each of the candidate cities are obtained; based on the environmental parameters of each of the candidate cities, the multiple candidate parameter groups are constructed. In this way, the environmental parameters of each candidate city can be obtained through data collection, and multiple candidate parameter groups can be generated according to the environmental parameters of different candidate cities, which can facilitate the simulation of the air environment of different candidate cities in different candidate rooms, ensure the flexibility of device control, and meet the personalized needs of users.

[0100] Optionally, the embodiment of the present invention may further include:

[0101] S41. Generate multiple interactive components based on the multiple parameter groups to be selected.

[0102] S42. Display the multiple interactive components; the second interactive operation is triggered by the user based on the multiple interactive components.

[0103] The above-mentioned interactive component refers to a component that can interact with the user, which can be Figure 2 The suspended ball shown may of course be in other forms, which is not limited in the embodiment of the present invention.

[0104] Specifically, one interactive component may correspond to one parameter group to be selected, and the interactive component may include the control parameters included in the parameter group to be selected, and the city to be selected corresponding to the parameter group to be selected.

[0105] Furthermore, after generating a plurality of interactive components, the interactive components can be output to the interactive interface for display. Accordingly, the user can trigger the second interactive operation through the interactive components.

[0106] In the embodiment of the present invention, multiple interactive components are generated based on the multiple parameter groups to be selected; the multiple interactive components are displayed; and the second interactive operation is triggered by the user based on the multiple interactive components. In this way, by generating and displaying interactive components, it is convenient for the user to intuitively obtain each parameter group to be selected, and further convenient for the user to select the target parameter group, thereby improving the efficiency of device control.

[0107] Optionally, the embodiment of the present invention may further include:

[0108] S51. In response to a city adding operation by a user, obtaining a city corresponding to the city adding operation as a city to be added.

[0109] S52: Add the city to be added to the cities to be selected.

[0110] The above-mentioned city adding operation may be triggered by a user through a preset component or preset control, or may be triggered by a user through a voice command, which is not limited in the embodiment of the present invention.

[0111] Accordingly, the above-mentioned city to be added can be a city carried by a voice command, or a city input by a user through a preset component or preset control. Specifically, when the city adding operation is triggered by a voice command, the city to be added can be obtained through a voice recognition algorithm. Accordingly, when the city adding operation is directly input by the user, the city to be added can be obtained through a text recognition algorithm. For example, Figure 2 As shown, the interactive interface shows an "add city" control, and the user can input the city to be added by clicking the control.

[0112] Furthermore, after obtaining the city to be added, the city to be added can be directly added to the cities to be selected, and a corresponding parameter group to be selected can be constructed for the city to be selected.

[0113] In the embodiment of the present invention, in response to the user's city adding operation, the city corresponding to the city adding operation is obtained as the city to be added; and the city to be added is added to the cities to be selected. In this way, the cities to be selected can be added according to the actual needs of the user, further improving the flexibility of device control.

[0114] Optionally, the embodiment of the present invention can also set an administrator mode, and a user account can be set as an administrator according to user needs, and the administrator can have control authority over all rooms to be selected. In one case, the city addition authority can also be opened only for the administrator.

[0115] It should be noted that with the progress of the times and the development of the economy, more and more people are working or settling in other places, but the environment in different places is different. And with the improvement of living standards, people have higher and higher requirements for the comfort of working and living environment. Some people cannot adapt to the air environment in other places. For example, people from the south will have dry skin and dry nasal cavity leading to nosebleeds in the north, and the humid air in the south is also unbearable for people from the north. In this case, the role of indoor air environment control is particularly important.

[0116] In related technologies, the indoor environment is often adjusted by intelligent judgment based on the data fed back from the Internet and the environmental data monitored by itself. However, this method only judges the current local weather system data and living environment, but cannot simulate the air environment in other places, cannot solve the environmental adaptation problems of different users living in different places, and the control method is relatively simple.

[0117] The device control method provided by the embodiment of the present invention is as follows: Figure 3 As shown, Figure 3Flow chart of another device control method in an embodiment of the present invention, wherein a smart home application (Application, App) is an application running on an electronic device, which can execute the device control method provided in an embodiment of the present invention. An environmental control system is a system corresponding to the device control method in an embodiment of the present invention.

[0118] Specifically, Figure 3 As shown, the user enters the environmental control system in the smart home app. You can choose the room (which can be the whole family) where the air environment needs to be changed. There are colored balls corresponding to the environmental parameters of each city floating around the room. Users can choose the city according to their preferences. The environmental control system can control the home sensors, humidifiers, air conditioners and other home appliances according to the selected city to simulate the air environment of the city, so as to solve the problem of not adapting to the environment in a different place and improve the single indoor air environment allocation method, lack of personalized management and customized services. Among them, the above sensors can be used to detect the current environmental parameters of the room, which makes it easier for other home appliances to adjust the environment.

[0119] For example, after the user enters the air management system and selects the master bedroom as the room, multiple interactive components corresponding to the selected cities are suspended around the master bedroom. The bottom of different selected cities may include detailed control parameters: humidity, temperature, oxygen content, etc. If the user is from Guangzhou and lives in Lhasa for a long time, the humidity, temperature, oxygen content and other parameters in Lhasa are very different from those in Guangzhou, and as a Guangzhou native, the user is not adapted to it. Then the user can choose the city air environment that is comfortable for him (such as: Guangzhou). After receiving the command, the system will issue commands to sensors and smart appliances, and change the current environment of the master bedroom through smart appliances to achieve the effect of simulating the air environment of "Guangzhou".

[0120] As another example, when the user enters the air management system and selects the living room as the room, several candidate cities are suspended around the living room. If the user is from Harbin and lives in Guangzhou for a long time, the humidity, temperature, and oxygen content in Guangzhou are all relatively high, especially the high humidity, which the user cannot adapt to. The user can then choose a comfortable city air environment (such as Harbin). After receiving the command, the system will issue commands to sensors and smart appliances, so as to simulate the northern air environment through smart appliances.

[0121] In summary, the embodiments of the present invention can meet the environmental needs of different groups of people, solve the problem of people from different regions living in different places and adapting to the air environment, and users can choose cities independently, quickly switch to simulate familiar or comfortable air environments, and restore the air environments of different cities. At the same time, the embodiments of the present invention can solve the problem of a single indoor air environment allocation method, and provide better personalized control and customized services.

[0122] Figure 4FIG. 1 is a schematic diagram of a structure of a device control device in an embodiment of the present invention. Figure 4 As shown, the device 20 may include:

[0123] A first determination module 201 is used to determine, in response to a first interaction operation of a user, a target room corresponding to the first interaction operation from a plurality of rooms to be selected;

[0124] A second determination module 202 is used to determine, in response to the second interaction operation of the user, a target parameter group corresponding to the second interaction operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected;

[0125] The sending module 203 is used to send a control instruction to the home appliances to be controlled contained in the target room based on the target parameter group, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

[0126] Optionally, the first determining module 201 includes:

[0127] The permission acquisition submodule is used to obtain the control permission of the user;

[0128] The room determination submodule is used to determine a target room from the multiple candidate rooms based on the control authority and the first interactive operation.

[0129] Optionally, the room determination submodule is specifically configured to:

[0130] In a case where the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, the room to be selected indicated by the first interactive operation is determined as a target room.

[0131] Optionally, the room determination submodule is specifically configured to:

[0132] In a case where the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, the room to be selected preset by the user is determined as the target room.

[0133] Optionally, the device further comprises:

[0134] A parameter acquisition module, used to acquire the environmental parameters of each of the candidate cities;

[0135] A construction module is used to construct the multiple candidate parameter groups based on the environmental parameters of each candidate city.

[0136] Optionally, the device further comprises:

[0137] A component generation module, used for generating a plurality of interactive components based on the plurality of parameter groups to be selected;

[0138] The display module is used to display the multiple interactive components; the second interactive operation is triggered by the user based on the multiple interactive components.

[0139] Optionally, the device further comprises:

[0140] A city acquisition module, configured to respond to a user's city adding operation and acquire a city corresponding to the city adding operation as a city to be added;

[0141] The city adding module is used to add the city to be added to the cities to be selected.

[0142] Optionally, the control parameter includes at least one of temperature, humidity, air quality index, air pressure and oxygen content.

[0143] In the related technology, the data fed back from the Internet is often used to make intelligent judgments and adjust the indoor environment according to the environmental data monitored by itself. However, this method is only based on the current local weather system data and living environment judgments, and cannot simulate the air environment in other places, cannot solve the environmental adaptation problems of different users living in different places, and the control method is relatively single. The embodiments of the present invention can meet the environmental needs of different groups of people, can solve the adaptation problems of people from different regions living in different places and the air environment. Users can choose cities independently, can quickly switch to simulate familiar or comfortable air environments, and restore the air environments of different cities. At the same time, the embodiments of the present invention can solve the single indoor air environment allocation method, and provide better personalized control and customized services.

[0144] In summary, the device control device provided in the embodiment of the present invention determines the target room corresponding to the first interactive operation from multiple rooms to be selected in response to the first interactive operation of the user; determines the target parameter group corresponding to the second interactive operation from multiple parameter groups to be selected in response to the second interactive operation of the user; different parameter groups to be selected correspond to different cities to be selected; and sends a control instruction to the household equipment to be controlled contained in the target room based on the target parameter group to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group. In the embodiment of the present invention, by setting the parameter groups to be selected corresponding to different cities to be selected, different users can select the environment of the desired city according to actual needs, meet the needs of different groups of people for the environment, and improve the flexibility of device control. And the user only needs to adjust the environmental parameters of the target room to the environment of the desired city through the first interactive operation and the second interactive operation, without the user controlling each household device in turn, and the control efficiency is high. At the same time, by setting the rooms to be selected, the user can quickly adjust the environmental parameters of the target room to be controlled, and different target parameter groups are selected for different rooms to be selected, which can further improve the flexibility of device control and realize personalized and customized device control.

[0145] The embodiment of the present invention further provides an electronic device, such as Figure 5 As shown, it includes a processor 9001, a communication interface 9002, a memory 9003 and a communication bus 9004, wherein the processor 9001, the communication interface 9002, and the memory 9003 communicate with each other through the communication bus 9004.

[0146] Memory 9003, used for storing computer programs;

[0147] The processor 9001 is used to implement the following method steps when executing the program stored in the memory 9003:

[0148] In response to a first interaction operation of a user, determining a target room corresponding to the first interaction operation from a plurality of rooms to be selected;

[0149] In response to the second interaction operation of the user, determining a target parameter group corresponding to the second interaction operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected;

[0150] Based on the target parameter group, a control instruction is sent to the home appliances to be controlled contained in the target room, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

[0151] Optionally, determining a target room corresponding to the first interactive operation from a plurality of rooms to be selected includes:

[0152] Obtaining control authority of the user;

[0153] Based on the control authority and the first interactive operation, a target room is determined from the multiple rooms to be selected.

[0154] Optionally, the determining a target room from the multiple rooms to be selected based on the control authority and the first interactive operation includes:

[0155] In a case where the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, the room to be selected indicated by the first interactive operation is determined as a target room.

[0156] Optionally, the determining a target room from the multiple rooms to be selected based on the control authority and the first interactive operation includes:

[0157] In a case where the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, the room to be selected preset by the user is determined as the target room.

[0158] Optionally, the method further comprises:

[0159] Obtaining environmental parameters of each of the candidate cities;

[0160] Based on the environmental parameters of each of the candidate cities, the plurality of candidate parameter groups are constructed.

[0161] Optionally, the method further comprises:

[0162] generating a plurality of interactive components based on the plurality of parameter groups to be selected;

[0163] The multiple interactive components are displayed; and the second interactive operation is triggered by the user based on the multiple interactive components.

[0164] Optionally, the method further comprises:

[0165] In response to the user's city adding operation, obtaining the city corresponding to the city adding operation as the city to be added;

[0166] The city to be added is added to the cities to be selected.

[0167] Optionally, the control parameter includes at least one of temperature, humidity, air quality index, air pressure and oxygen content.

[0168] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0169] The communication interface is used for communication between the above terminal and other devices.

[0170] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0171] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0172] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the object recycling method described in any one of the above embodiments.

[0173] In another embodiment provided by the present invention, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the object recycling methods described in the above embodiments.

[0174] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.

[0175] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0176] It should be noted that the various data-related processes in the embodiments of the present application are all carried out in compliance with the corresponding data protection laws and policies of the country where the device is located, and with the authorization given by the owner of the corresponding device.

[0177] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0178] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A device control method, characterized in that: The method comprises: In response to a first interaction operation of a user, determining a target room corresponding to the first interaction operation from a plurality of rooms to be selected; In response to the second interaction operation of the user, determining a target parameter group corresponding to the second interaction operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected; Based on the target parameter group, a control instruction is sent to the home appliances to be controlled contained in the target room, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

2. The method according to claim 1, characterized in that The determining a target room corresponding to the first interactive operation from a plurality of rooms to be selected includes: Obtaining control authority of the user; Based on the control authority and the first interactive operation, a target room is determined from the multiple rooms to be selected.

3. The method according to claim 2, characterized in that The determining a target room from the multiple rooms to be selected based on the control authority and the first interactive operation includes: In a case where the room to be selected indicated by the first interactive operation belongs to a controllable room represented by the control authority, the room to be selected indicated by the first interactive operation is determined as a target room.

4. The method according to claim 2, characterized in that: The determining a target room from the multiple rooms to be selected based on the control authority and the first interactive operation includes: In a case where the room to be selected indicated by the first interactive operation does not belong to the controllable room represented by the control authority, the room to be selected preset by the user is determined as the target room.

5. The method according to claim 1, characterized in that The method further comprises: Obtaining environmental parameters of each of the candidate cities; Based on the environmental parameters of each of the candidate cities, the plurality of candidate parameter groups are constructed.

6. The method according to claim 5, characterized in that The method further comprises: generating a plurality of interactive components based on the plurality of parameter groups to be selected; The multiple interactive components are displayed; and the second interactive operation is triggered by the user based on the multiple interactive components.

7. The method according to claim 1, characterized in that The method further comprises: In response to the user's city adding operation, obtaining the city corresponding to the city adding operation as the city to be added; The city to be added is added to the cities to be selected.

8. The method according to any one of claims 1 to 7, characterized in that: The control parameter includes at least one of temperature, humidity, air quality index, air pressure and oxygen content.

9. A device control device, characterized in that: The device comprises: A first determining module, configured to determine, in response to a first interactive operation of a user, a target room corresponding to the first interactive operation from a plurality of rooms to be selected; A second determination module is used to determine, in response to the second interaction operation of the user, a target parameter group corresponding to the second interaction operation from a plurality of parameter groups to be selected; different parameter groups to be selected correspond to different cities to be selected; A sending module is used to send control instructions to the home appliances to be controlled contained in the target room based on the target parameter group, so as to adjust the environmental parameters of the target room to the control parameters contained in the target parameter group.

10. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing any of the methods described in claims 1-8 when executing a program stored in a memory.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

12. A computer program, characterized in that When the computer program is executed by a computer, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Control method for smart home, control device for smart home and storage medium

    CN110673505A

  • Whole house smart home control method

    CN113359505A

  • Air conditioner control method, air conditioner control device and readable storage medium

    CN115854503A

  • Remote use method of automatic control model, air conditioner and computer readable storage medium

    CN115899941A

  • Smart home equipment control method and device, equipment and storage medium

    CN117420767A

Cited By

  • Multi-device joint control method and system applied to digital human

    CN120630746A