Device control method, apparatus, device, and computer readable storage medium

By acquiring environmental parameters and predicting energy consumption, combined with user interaction and gamified design, the problem that existing equipment control solutions cannot meet individual needs has been solved, achieving more efficient energy saving and a better user experience.

CN119439769BActive Publication Date: 2025-11-21TSINGHUA SHENZHEN INTERNATIONAL GRADUATE SCHOOL
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411617108.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-11-21
Estimated Expiration
2044-11-12

AI Technical Summary

Technical Problem

Existing equipment control solutions cannot meet the individual needs of users, resulting in poor user experience and energy-saving effects.

Method used

By acquiring environmental parameters of the target environment, the energy consumption of electrical equipment is predicted using an energy consumption prediction model. The predicted energy consumption and environmental parameters are displayed on the interface. User interaction requests are received, and device control is performed according to the user's control intentions and preferences. Gamification design and voting mechanisms are introduced to stimulate user participation.

Benefits of technology

It has raised users' awareness and participation in energy conservation, met individual electricity needs, and achieved better energy-saving results and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119439769B_ABST
    Figure CN119439769B_ABST
Patent Text Reader

Abstract

The application relates to the field of intelligent devices, in particular to a device control method and device, a device control apparatus and a computer readable storage medium. The device control method comprises the following steps: acquiring an environment parameter of a target environment; determining a predicted energy consumption of an electric device in the target environment according to the environment parameter; receiving an interaction request sent by a user in a preset interface; wherein the interface displays the predicted energy consumption and / or the environment parameter; and controlling the electric device according to at least one of the interaction request, the predicted energy consumption and the environment parameter. The application can achieve better energy-saving effect and more comfortable user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent device technology, specifically to a device control method, apparatus, device, and computer-readable storage medium. Background Technology

[0002] With the development and popularization of technology, the types and quantities of electrical equipment in various environments are increasing day by day. While this provides users with convenience and a good experience, it also brings a greater burden on electricity consumption. Therefore, how to control these devices is an important issue.

[0003] In implementing the existing technology, the inventors found that existing equipment control is generally based on expert experience or big data analysis to achieve automated control. It can only guarantee a universal basic equipment user experience and basic energy-saving effect. This kind of automatic control based on average experience cannot meet the individual needs of users, nor can it be well adapted to the current power environment. As a result, the user experience and energy-saving effect of the existing equipment control scheme are not good.

[0004] Therefore, a device control solution with better energy efficiency and user experience is needed. Summary of the Invention

[0005] Therefore, embodiments of this application provide a device control method, apparatus, device, and computer-readable storage medium, which can achieve better energy-saving effects and user experience.

[0006] In a first aspect, embodiments of this application provide a device control method, the device control method comprising:

[0007] Obtain the environmental parameters of the target environment;

[0008] Based on the environmental parameters, the predicted energy consumption of electrical equipment in the target environment is determined;

[0009] Receive an interaction request sent by a user in a preset interface; wherein the interface displays the predicted energy consumption and / or the environmental parameters;

[0010] The electrical equipment is controlled based on at least one of the interaction request, the predicted energy consumption, and the environmental parameters.

[0011] By employing the above technical solution, users can intuitively see the impact of their actions on the environment by displaying predicted energy consumption and environmental parameters. Furthermore, the interactive interface enhances users' energy-saving awareness and enthusiasm for participating in energy conservation. Electrical equipment is controlled based on at least one of the following: interactive requests, predicted energy consumption, and environmental parameters. The interactive requests incorporate the user's control intentions and preferences during the control process, while the predicted energy consumption and environmental parameters ensure energy-saving effects. This achieves better energy efficiency while fully meeting individual user electricity needs, resulting in a more comfortable user experience.

[0012] In some embodiments, the method further includes:

[0013] In response to the target environment parameter value input by the user on the interface;

[0014] The interface displays the target predicted energy consumption corresponding to the target environmental parameter values;

[0015] And / or, in response to the target predicted energy consumption input by the user in the interface;

[0016] The interface displays the target environmental parameter values ​​corresponding to the predicted energy consumption.

[0017] In some embodiments, the interaction request includes a parameter setting request for the electrical device and / or a voting request; the voting request is used to request a vote on the device parameters of the electrical device among a plurality of users;

[0018] The method further includes:

[0019] If at least one voting request sent by the user and / or multiple parameter setting requests sent by the users are detected, a voting prompt message is displayed on the interface; wherein, the voting request is used to request initiating a vote on the selection of device parameters for the target device; the parameter setting request is used to request setting the device parameters of the electrical device to target values; and the voting prompt message is used to prompt the user to vote on the selection of device parameters for the target device.

[0020] Obtain the voting results sent by each of the users in response to the voting prompt information;

[0021] The electrical equipment is controlled based on all the voting results.

[0022] In some embodiments, the method further includes:

[0023] For each user, energy-saving suggestion information is determined based on at least one of the user's user status, the user's corresponding energy-saving target, and the predicted energy consumption.

[0024] Based on the energy-saving suggestion information and the parameter setting requests sent by other users, the voting prompt information corresponding to the user is generated.

[0025] In some embodiments, the interface is a gamified interface; the gamified interface includes at least one interactive component; the method further includes:

[0026] For each user, an energy-saving behavior score is determined based on a comparison of the user's voting results with the voting results of all users.

[0027] The user's interaction permissions for the interactive components are adjusted based on the energy-saving behavior score.

[0028] In some embodiments, the gamified interface is implemented based on a preset virtualization technology; the interactive components include virtual character components and / or game components.

[0029] In some embodiments, the environmental parameters include at least one of the user's status parameters, the indoor and outdoor environmental parameters of the target environment, and the regional environmental parameters of the area where the target environment is located.

[0030] Secondly, embodiments of this application also provide a device control apparatus, the device control apparatus comprising:

[0031] The acquisition module is used to acquire environmental parameters of the target environment;

[0032] The prediction module is used to input the environmental parameters into a preset energy consumption prediction model to obtain the predicted energy consumption of electrical equipment in the target environment.

[0033] A receiving module is used to receive interactive requests sent by users through a preset interface; wherein the interface displays the predicted energy consumption and / or the environmental parameters.

[0034] The control module is used to control the electrical equipment according to at least one of the interaction request, the predicted energy consumption, and the environmental parameters.

[0035] Thirdly, embodiments of this application also provide a device control device, including a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call the instructions in the memory to cause the device control device to execute the device control method as described in the first aspect.

[0036] Fourthly, embodiments of this application also provide a computer-readable storage medium that stores computer instructions that, when executed on a processor, cause the processor to perform the device control method as described in the first aspect. Attached Figure Description

[0037] Figure 1 This is a flowchart of the steps of a device control method provided according to an embodiment of this application.

[0038] Figure 2 This is a flowchart of a sub-step of a device control method provided according to an embodiment of this application.

[0039] Figure 3 This is a flowchart of the steps of a device control method provided according to an embodiment of this application.

[0040] Figure 4 This is a flowchart of the steps of a device control method provided according to an embodiment of this application.

[0041] Figure 5 This is a flowchart of the steps of a device control method provided according to an embodiment of this application.

[0042] Figure 6 This is a schematic diagram of the system on which the device control method provided according to an embodiment of this application is based.

[0043] Figure 7 This is a diagram showing the state changes of the interface during interface interaction in a device control method provided according to an embodiment of this application.

[0044] Figure 8 This is a schematic diagram of the structure of a device control apparatus provided according to an embodiment of this application.

[0045] Figure 9 This is a schematic diagram of the structure of a device control device provided according to an embodiment of this application. Detailed Implementation

[0046] To better understand the above-mentioned objectives, features, and advantages of this application, the application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.

[0047] The following description sets forth many specific details to provide a full understanding of this application. The described embodiments are only some, not all, of the embodiments of this application.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application.

[0049] It should be further noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0050] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and drawings of this application are used to distinguish similar objects, not to describe a specific order or sequence.

[0051] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0052] In the field of intelligent control and energy-saving systems, existing technologies typically employ components such as the Internet of Things (IoT), sensors, and intelligent control devices to achieve the perception and regulation of the indoor environment. Examples include intelligent building control systems, which use a bus system to achieve intelligent control of indoor lighting and security; whole-house smart home systems, which use the IoT to achieve intelligent control of home appliances, including lighting, curtains, and air conditioning; and smart airport solutions, which monitor and automatically adjust various environmental parameters in real time.

[0053] However, the inventors discovered the following problems with the aforementioned technical issues:

[0054] Automation control is generally achieved based on expert experience or big data analysis. It can only guarantee a universally applicable basic equipment user experience and basic energy-saving effect. This kind of automatic control based on average experience cannot meet the individual needs of users, nor can it be well adapted to the current power environment. As a result, the user experience and energy-saving effect of existing equipment control solutions are not good.

[0055] As can be seen from the above, existing equipment control solutions suffer from poor energy-saving effects and low user comfort.

[0056] Therefore, embodiments of this application provide a device control method, apparatus, device, and computer-readable storage medium, which can improve energy efficiency and user comfort.

[0057] Please see Figure 1 The above is a flowchart illustrating the steps of a device control method according to another embodiment of this application. The order of the steps in the flowchart can be changed, and some steps can be omitted, depending on different requirements.

[0058] See Figure 1 As shown, the device control method may include the following steps:

[0059] Step 101: Obtain the environmental parameters of the target environment.

[0060] Specifically, the target environment can be an environment that requires equipment control. The target environment contains at least one electrical device and can be, for example, an office environment, a classroom environment, a cinema, a gymnasium, a factory workshop, a shopping mall / supermarket, a hotel room, or a tourist attraction.

[0061] It is understandable that users use electrical equipment in a target environment. Therefore, the user experience of using the equipment will be affected by the environmental parameters of the target environment, such as adjusting the air conditioner temperature according to the ambient temperature and adjusting the light intensity of the lamps according to the ambient brightness. Therefore, in this embodiment, in order to ensure the user's equipment experience and to control the equipment more accurately, the environmental parameters of the target environment are obtained and used as the basis for adjusting the electrical equipment.

[0062] Specifically, considering that users are generally directly in the target environment, the environmental parameters can include indoor and outdoor environmental parameters of the target environment. For example, indoor and outdoor environmental data can be collected by preset sensors inside and outside the target environment, and can include information such as illuminance, temperature, humidity, and carbon dioxide concentration of the target environment.

[0063] Furthermore, considering the impact of the climate characteristics of the target environment on the use of electrical equipment within that environment, environmental parameters include regional environmental parameters of the target environment. For example, regional environmental parameters may include annual meteorological data, global irradiance, diffuse horizontal irradiance, outdoor dry-bulb temperature, and solar altitude angle of the target environment.

[0064] Optionally, even for electrical devices using the same control parameters, the user's own state can affect the user experience. To introduce individual differences and thus provide more personalized device control based on the user's physical state, ensuring user comfort in the device control scenario, the environmental parameters in this embodiment also include user state parameters. Specifically, state parameters can include the user's physiological parameters and the environmental parameters of the area where the user is located. Physiological parameters can be collected through wearable devices worn by the user and may include the user's heart rate, blood oxygen, body temperature, and mood. Environmental parameters may include the temperature, illuminance, and humidity of the user's location.

[0065] It should be noted that the environmental parameters may include at least one of the user's status parameters, the indoor and outdoor environmental parameters of the target environment, and the regional environmental parameters of the area where the target environment is located.

[0066] Step 102: Determine the predicted energy consumption of electrical equipment in the target environment based on the environmental parameters.

[0067] Considering that users may not understand the principles of energy saving and therefore cannot save energy more efficiently, this embodiment predicts the energy consumption of electrical equipment in the target environment based on environmental parameters. This provides users with an intuitive basis for making energy-saving decisions, lowers the threshold for users to participate in energy saving, and enhances users' enthusiasm for participating in energy saving.

[0068] Specifically, environmental parameters can be input into a pre-defined energy consumption prediction model to obtain the predicted energy consumption of electrical equipment in the target environment. The energy consumption prediction model can be pre-trained using a machine learning algorithm. Specifically, the energy consumption prediction model is trained using environmental parameter samples and their corresponding energy consumption labels as training samples.

[0069] Step 103: Receive an interaction request sent by the user in a preset interface; wherein the interface displays the predicted energy consumption and / or the environmental parameters.

[0070] Specifically, to further enhance users' enthusiasm for energy conservation and make energy-saving behaviors more engaging, a pre-defined interface displays predicted energy consumption and / or environmental parameters, allowing users to input interactive requests based on the displayed data and participate in energy-saving activities. Specifically, the interface can display multiple interactive components, which are used to process and respond to user-input interactive requests in real time. These interactive components include control components for direct user control of electrical equipment, components for collaborative interaction among multiple users regarding equipment control, and game components that allow users to play games based on their historical energy-saving behaviors. During the process of users controlling equipment through interaction, to subtly encourage users to achieve energy-saving goals and ensure energy-saving effects, gamification is introduced into the interactive interface. Methods such as points, leaderboards, and virtual rewards are used to stimulate users' enthusiasm for interaction and the sustainability of energy-saving behaviors. Unlike traditional energy-saving slogans or notices, the gamification design in this embodiment enhances user participation in energy-saving behaviors.

[0071] When displaying environmental parameters, a virtual approach can be used, combining the user's real-world environment with the displayed data. This provides a more intuitive understanding of the current environment and offers strong support for controlling electrical equipment. For example, when a user enters a target environment, the temperature, illuminance, and humidity of the environment can be displayed in real time using the user's wearable virtual reality device (such as a headset). Optionally, predictions can be made based on the user's status parameters and environmental parameters to recommend the most suitable equipment parameters and environmental location for the user.

[0072] Optionally, considering that the reasons for low user participation and enthusiasm in energy-saving behaviors include high barriers to energy saving and users' inability to obtain and learn about energy-saving knowledge, in order to make users understand the impact of their operations on energy consumption more intuitively, in some embodiments, such as Figure 2 As shown, step 103 also includes:

[0073] Step 1031: In response to the target environment parameter value input by the user in the interface.

[0074] Specifically, the interface can display the selectable range of environmental parameter values, such as indoor temperature ranging from -40 degrees Celsius to 40 degrees Celsius, allowing users to select the target environmental parameter value based on this range. Optionally, to further enrich the user's interactive experience and increase the fun of interaction, the selectable range of parameter values ​​can be displayed based on a preset sliding interactive component. This sliding interactive component can respond to the user's sliding operation, moving the indicator within the selectable range of parameter values ​​until it is finally positioned on the target environmental parameter value selected by the user.

[0075] Step 1032: Display the target predicted energy consumption corresponding to the target environmental parameter value on the interface.

[0076] Specifically, the target predicted energy consumption can be obtained by predicting the target environmental parameter values ​​based on the aforementioned energy consumption prediction model, and the target predicted energy consumption can be displayed.

[0077] Optionally, considering that user device use will affect environmental parameters, and to intuitively demonstrate the relationship between environmental parameters and predicted energy consumption, the environmental parameters and predicted energy consumption can be displayed in a related manner. For example, the sliding interactive component in the aforementioned steps responds to the user's movement operation within the selectable range of parameter values, and displays the target predicted energy consumption corresponding to the target environmental parameter that the user is currently pointing to.

[0078] Alternatively, considering that traditional energy-saving systems often lack intuitive feedback mechanisms, virtual reality technology can be introduced to provide a visual display of the aforementioned real-time energy consumption and environmental parameters. Users can view the impact of their actions on energy consumption and environmental comfort in real time through an interface built on virtual reality technology, and adjust settings interactively. This intuitive visualization method not only improves user participation and energy-saving awareness, but also allows users to preview the adjustment results in a virtual environment, thereby making more rational decisions.

[0079] And / or, step 1033: in response to the target predicted energy consumption input by the user in the interface.

[0080] Specifically, the interface can display a selectable range of predicted energy consumption values, such as 0 kWh to 200 kWh, allowing users to choose a target predicted energy consumption based on this range. Optionally, to further enrich the user experience and increase the fun of interaction, the selectable range of predicted energy consumption can be displayed using a preset sliding interactive component. This component responds to the user's sliding action, moving an indicator within the selectable range until it is positioned on the user's chosen target predicted energy consumption.

[0081] Step 1034: Display the target environmental parameter values ​​corresponding to the target predicted energy consumption on the interface.

[0082] Among them, the target environmental parameter values ​​can be obtained by reverse prediction based on the target predicted energy consumption according to the aforementioned energy consumption prediction model, and the target environmental parameter values ​​can be displayed.

[0083] Optionally, considering that user device use will affect environmental parameters, and to intuitively demonstrate the relationship between environmental parameters and predicted energy consumption, the environmental parameters and predicted energy consumption can be displayed in a related manner. For example, the sliding interactive component in the aforementioned steps responds to the user's movement operation within the selectable range of energy consumption values, and displays the target environmental parameter value corresponding to the target predicted energy consumption that the user has indicated the location to.

[0084] Step 104: Control the electrical equipment according to at least one of the interaction request, the predicted energy consumption, and the environmental parameters.

[0085] Specifically, the user's control intent is parsed from the interaction request. When the user's control intent is unclear or contradictory, or when it is unavailable, predictions can be made based on predicted energy consumption and environmental parameters to obtain a control scheme suggestion for the electrical equipment. Based on the suggested scheme, intelligent automatic equipment control of the electrical equipment can be achieved.

[0086] Specifically, users can directly select control parameters based on at least one of the environmental parameters and predicted energy consumption shown in the preceding steps. That is, the interaction request includes a parameter setting request for the electrical equipment, which requests that the equipment parameters be set to target values. When a parameter setting request from a single user is received, the equipment parameters are set according to that request.

[0087] Optionally, considering that there may be multiple users in the target environment, controlling the electrical equipment based solely on the control operations of a single user may not guarantee the comfort of other users. Therefore, the interactive operation can also include a voting operation. A voting request is used to initiate a vote on the selection of device parameters for the target device. In this case, a vote on the device parameters of the electrical equipment can be initiated among multiple users based on the voting request, and the target device parameters are determined based on the voting results of multiple users.

[0088] Specifically, such as Figure 3 As shown, step 104 also includes:

[0089] Step 1041: If at least one voting request sent by the user and / or multiple parameter setting requests sent by the users are detected, a voting prompt message is displayed on the interface; wherein the voting prompt message is used to prompt the user to vote on the selection of device parameters for the target device.

[0090] It is understandable that, in addition to initiating a vote based on a user's voting request, when multiple parameter setting requests sent by the users are detected, in order to ensure the comfort of the majority of users, a voting activity can be initiated based on the interface, and voting prompts can be used to encourage multiple users to select the device parameters of the target device they want.

[0091] Optionally, such as Figure 4 As shown, step 1041 may further include:

[0092] Step 411: For each user, determine energy-saving suggestion information corresponding to the user based on at least one of the user status, the energy-saving target corresponding to the user, and the predicted energy consumption.

[0093] To improve the efficiency and energy-saving effect of users selecting equipment parameters and lower the threshold for users to implement and participate in energy-saving behaviors, energy-saving suggestions can be determined for each user based on at least one of their status, pre-set energy-saving goals, and predicted energy consumption. The user's status includes their physical and mental state, such as their physical and emotional state. Energy-saving goals can be preset by the user or determined based on big data technology.

[0094] Specifically, energy-saving recommendations may include recommended equipment parameters for the target device, such as recommending that the air conditioner be set to 26 degrees Celsius. Based on at least one of the user's status, the user's corresponding energy-saving goals, and the predicted energy consumption, energy-saving recommendations are obtained through analysis using artificial intelligence technology. These recommendations aim to match the current user status, meet the user's energy-saving goals, and / or ensure that the energy consumption of the controlled device does not exceed the predicted energy consumption.

[0095] Step 412: Based on the energy-saving suggestion information and the parameter setting requests sent by other users, generate the voting prompt information corresponding to the user.

[0096] Specifically, energy-saving suggestions and other parameter setting requests sent by other users are displayed to the users currently voting. This allows users to vote based on the selections and suggestions of other users, improving the effectiveness of the voting results. For example, the voting prompt message could be: "User Alice has initiated a vote on air conditioner temperature adjustment. Currently, 10 people suggest setting the air conditioner to 24 degrees Celsius, and 5 people suggest setting it to 26 degrees Celsius. Your current perceived comfort level is predicted to be comfortable, so we suggest you choose to set it to 26 degrees Celsius."

[0097] Step 1042: Obtain the voting results sent by each user in response to the voting prompt information.

[0098] The voting results include the device parameters of the electrical equipment selected by the user.

[0099] Step 1043: Control the electrical equipment according to all the voting results.

[0100] Following the principle of majority rule, the control parameter with the most votes is selected as the target control parameter, and the electrical equipment is controlled according to the target control parameter.

[0101] In some embodiments, the interface includes at least one interactive component; the interactive component is used for visual display and responding to user interaction operations. For example... Figure 5 As shown, step 1042 is followed by:

[0102] Step 421: For each user, determine the user's energy-saving behavior score based on the comparison between the user's voting results and the voting results of all users.

[0103] The voting results of all users are statistically analyzed, and the device parameter selected most frequently is taken as the target device parameter. The current user's voting result is compared with this target device parameter, and the similarity between the two is proportional to the current user's energy-saving behavior score. That is, if the parameter selected by the user's vote is the final target device parameter, the user's energy-saving behavior score is the highest, and thus the user's participation and correct energy-saving behavior are rewarded based on the energy-saving behavior score.

[0104] Step 422: Adjust the user's interaction permissions for the interactive components based on the energy-saving behavior score.

[0105] Among these factors, the higher the energy-saving behavior score, the higher the user's interaction permissions for interactive components. Interaction permissions represent the interactive operations that the user can perform. For example, for the interactive component of virtual character interaction, the higher the user's energy-saving behavior score, the more interactive operations the user can perform on the virtual characters displayed in the interface (such as virtual pets or virtual plants).

[0106] Specifically, considering that users may lack energy-saving awareness and habits, thus failing to achieve effective energy management, for example, they might forget to turn off lights when not needed or fail to open curtains in time under suitable natural light conditions. Traditional energy-saving measures often only prompt users to manually adjust the air conditioner temperature through simple energy-saving reminders or notifications, or automatically switch components on and off based on get off work hours, lacking perceptual appeal and incentive, resulting in low user engagement. Therefore, in this embodiment, the user's interaction permissions in the interface are adjusted according to the energy-saving behavior score, indirectly rewarding users with good energy-saving habits and richer energy-saving knowledge. This allows them to obtain a more comprehensive, smoother, and richer gaming experience in the interface, thereby increasing user stickiness in implementing energy-saving behaviors. This helps users continuously learn energy-saving knowledge, develop energy-saving habits, and further ensure energy-saving effects.

[0107] Optionally, the interface is implemented based on a preset virtualization technology; the interactive components include virtual character components and / or game components.

[0108] Virtualization technology can include augmented reality, virtual reality, and other technologies.

[0109] The virtual character component can include virtual character images that respond to user interactions, such as virtual farms, virtual animals, and virtual plants. Users earn energy-saving behavior scores to redeem interactive permissions for these virtual character images. For example, as a user's energy-saving behavior score increases, they may progress from simply touching the virtual pet to dressing it up and then commanding it to complete preset tasks, such as taking the virtual pet out or to school.

[0110] The game component can include preset interactive games, such as puzzle games, action games, reasoning games, and multiplayer games. The type of game a user can participate in, their level, and items within the game are determined based on their energy-saving behavior score. For example, the game component could include a throwing game where users can redeem throwable items and game scenes based on their energy-saving behavior score. By interacting with the game component, users can throw these items in the game scene to gain gameplay experience, which serves as a reward for their energy-saving behavior.

[0111] Optionally, users can also purchase control rights for electrical equipment through energy-saving behavior scores. For example, in voting activities to control equipment, users can purchase multiple votes through energy-saving behavior scores, or exchange energy-saving behavior scores to achieve exclusive control over electrical equipment. By introducing gamification mechanisms, not only is it encouraged for users to actively participate in energy-saving behaviors, but it also ensures the effective implementation of energy-saving measures.

[0112] Optionally, to further motivate users to conserve energy, the energy-saving scores of multiple users can be compared, and the comparison results can be visualized, such as in the form of a real-time leaderboard. Alternatively, users at the top of the leaderboard can be rewarded with features such as highlighted user icons or unique avatar decorations to encourage them to maintain energy-saving habits.

[0113] In some embodiments, a schematic diagram of the system on which the device control method provided in this application is based may be referred to. Figure 6 .like Figure 6 As shown, the system upon which the equipment control method is based comprises three subsystems: a decision-making system, a control system, and a gamification system. Furthermore, the system upon which the equipment control method is based is designed using energy-saving feedback mechanisms, voting mechanisms, and incentive mechanisms.

[0114] The energy-saving feedback mechanism visualizes the relationship between user decisions and energy consumption through real-time environmental and human parameter collection and energy consumption prediction, providing immediate energy-saving feedback. The voting mechanism, based on energy consumption simulation, judges the rationality of user actions and promotes energy-saving behavior through guided collective voting. The incentive mechanism, combined with an immersive experience, encourages users to choose energy-saving options through points redemption and team pets. Guided by the principles of human-centeredness, intelligence, and gamification, these mechanisms are implemented by the decision-making system, control system, and gamification system, respectively, ensuring efficient system operation and active user participation, thereby improving the energy-saving effect and user comfort of the office environment. The human-centered principle considers individual differences, incorporating individual data (such as wristband skin temperature and sensor desktop illuminance) into the mechanism design, allowing for adaptive adjustments based on different user needs. Compared to traditional fixed equipment control schemes, this better meets individual needs and provides greater democratic and rational decision-making. The gamification principle, through points, leaderboards, and virtual rewards, stimulates user enthusiasm and the sustainability of energy-saving behavior. Unlike traditional energy-saving slogans or notices, gamification design enhances user participation in energy-saving behaviors.

[0115] Specifically, the decision-making system integrates three parts: environmental data acquisition, model prediction, and game rule determination. It completes the entire decision-making and control process through a combination of sensing, transmission, computation, and decision-making. Environmental data primarily comes from deployed sensors, using sensors such as black ball thermometers to measure and collect detailed environmental parameters in real time, transmitting illuminance, temperature, humidity, and carbon dioxide concentration to the Unity front-end interface for user reference. For model predictive control, it combines machine learning prediction models with gamified rules to retrieve and modify the states of various components.

[0116] For predicting energy consumption from air conditioning equipment, hourly data from meteorological websites was crawled, referencing city baseline data templates, inputting actual spatial activity schedules, and Shenzhen's annual meteorological data. Using 26 degrees Celsius as the baseline, simulated hourly energy consumption for the entire year was obtained. Meteorological data and schedules were compared with energy consumption data, and the data with the highest correlation—personnel activity schedules, Global Horizontal Radiation (GHR), Diffuse Horizontal Radiation (DHI), outdoor dry-bulb temperature, and solar altitude angle—were selected as feature groups. The prediction model was trained using energy consumption data as the result group. When the model is called, the baseline value for energy consumption prediction can be obtained. For illuminance simulation prediction, a multilayer perceptron model was trained using high-performance environmental performance analysis software Climate Studio in the 3D modeling software Rhino. The model was validated by comparing simulations with measured data and trained with meteorological parameters from typical meteorological years in Shenzhen. Some structural adjustments were made, and model depth and a dropout layer were added to improve prediction accuracy.

[0117] Based on the above data, combined with the wristband's measurement of body temperature or desktop illuminance, these data serve as the criteria for determining four voting types in the game rules: "energy-saving and comfortable," "energy-saving but uncomfortable," "not energy-saving but comfortable," and "not energy-saving and uncomfortable." Points are then calculated based on the majority rule.

[0118] The control system, supported by the logic of the decision-making system, realizes the process of user operation, component state change, and game production. Users, through the front-end Unity interface, select seats, set goals, preview changes, and ultimately initiate or participate in voting based on visualized environmental parameters and energy consumption data. The Python server, after collecting environmental data, also sends energy-saving suggestions through basic control strategies. User operations are recorded in the C# client, communicating with the server via TCP (Transmission Control Protocol). The final voting results are transmitted to the microcontroller via the communication protocol, which then controls the component entities to change their states according to the environment.

[0119] The gamification system includes Unity client interaction, interactive feedback of building components controlled by Home Assistant, and Meta Quest3 interaction. A visual front-end interface is scripted using Unity, and Quest3's spatial recognition function scans the actual office space to obtain real-world spatial data. Finally, the program written in Unity is uploaded to Meta Quest3, allowing interaction with the control system via buttons, sliders, etc., providing real-time feedback on the automatic adjustments of building components controlled by Home Assistant. Simultaneously, Unity's spatial positioning components are used to match the real space with the virtual scene, enabling free switching between virtual scenes.

[0120] In some embodiments, the equipment temperature is regulated based on the equipment control scheme of this application to achieve energy-saving goals. Specifically, Figure 7 This is a diagram showing the interface state changes during interface interaction in a device control method provided according to an embodiment of this application.

[0121] like Figure 7 As shown, the method for controlling devices based on an interface includes the following steps, wherein the interface display changes as follows: Figure 7 As shown.

[0122] Status 430: Displays the environment screen display window and seat selection controls.

[0123] Based on state 430, obtain the user's input request for seat selection.

[0124] Specifically, the environment display window can show the user's current surroundings, such as a real-world view of the office environment the user has entered. Optionally, it can also recommend personalized, comfortable seats based on seat sensor data, providing a reference for the user when selecting a seat in the seat selection control.

[0125] Status 431: Displays the energy consumption display window and energy-saving target setting controls.

[0126] Specifically, the system displays controls for setting energy-saving targets, allowing users to set their goals. It also predicts energy consumption based on seat selection requests and displays this prediction in an energy consumption display window. Users can see real-time predicted and actual data on energy consumption and carbon emissions, reminding them to maintain energy-saving awareness.

[0127] Status 432: Displays the environment parameters display window and voting controls.

[0128] A voting mechanism is introduced, allowing users to refer to real-time environmental parameters and component information, and decide whether to initiate a temperature adjustment vote by observing energy consumption changes through adjusting the temperature slider.

[0129] Status 433: Displays the voting results window, the user points display window, and the points redemption game permission control.

[0130] Based on the user's interaction with the voting control, the control interface enters state 433. Specifically, after detecting that a user has initiated a voting request based on the voting control, other users are notified according to the content of the voting request, and the voting results for all users are displayed.

[0131] Based on the consistency between the voting results and the current user's voting choice, the user's score is calculated and displayed in the user score display window. Specifically, the user score display window may show a score leaderboard, which displays the user's cumulative score after voting, and highlights the user with the highest score.

[0132] An incentive mechanism is introduced, displaying a control for redeeming game permissions with points, encouraging users to exchange points earned from participating in energy-saving activities for game permissions, thereby promoting user participation in energy-saving behaviors through games.

[0133] Status 434: Displays the game screen display window and game interaction controls.

[0134] Augmented reality games can be accessed through game screen displays and interactive controls. Users can open treasure chests with points, plant carrots, and raise rabbits, creating a virtuous cycle that strengthens the emotional connection between the user and the virtual farm, encouraging continued participation in energy-saving games. Optionally, each user's farm can also include a farmer character who introduces energy-saving tips through dialogue. Alternatively, agility-based games, such as throwing items to a target location, can be displayed, where the number of items and game opportunities can be redeemed with points, thereby enhancing the user's experience of linking gameplay with energy-saving behaviors.

[0135] In some embodiments, a control system for luminaires and louvers is provided to guide energy-saving lighting behavior.

[0136] Based on an energy-saving feedback mechanism, users can view the occupancy of each seat and the lighting environment on the interface upon entering the room. This data is updated in real time by the server and sent to the augmented reality glasses. The office only has one-way side windows for natural light, so the illuminance and glare probability vary depending on the location. The user's choices reflect their preference for different lighting environments. The system provides specific suggestions based on the day's predicted illuminance and glare rate. For example, if outdoor lighting is good but blocked by blinds, the system will suggest that the user close the blinds at the beginning of the hour to allow natural light.

[0137] Based on a voting mechanism, the system determines the illuminance and glare thresholds for lighting components through multiple simulations. Using hourly prediction, the system iterates through and calculates information such as user seat selections, votes, and intentions to change lighting components sent by clients, and outputs the final state of the lighting components according to pre-designed weights. Users can autonomously change the state of lighting components and initiate multi-user consensus votes. If the voting results do not meet expectations, users can spend coins to purchase the privilege of controlling the lighting components. This avoids a long-term situation where the majority rules over the minority, and uses points as a cost to achieve a "Nash equilibrium" among users, thus promoting energy-saving behavior.

[0138] Based on a reward mechanism, after a user finishes their workday, the system evaluates their energy consumption and awards points accordingly. Accumulated points can be used to purchase interactive office decorations or reserve a seat for the following day. In the AR environment, users can seamlessly switch between virtual scenes by clicking on walls or ceilings.

[0139] Please refer to Figure 8 This is a schematic diagram of the structure of the device control device 501 provided in an embodiment of this application. Figure 8 As shown, the equipment control device 501 includes:

[0140] Module 5001 is used to acquire environmental parameters of the target environment;

[0141] The prediction module 5002 is used to input the environmental parameters into a preset energy consumption prediction model to obtain the predicted energy consumption of electrical equipment in the target environment.

[0142] The receiving module 5003 is used to receive interactive requests sent by users through a preset interface; wherein the interface displays the predicted energy consumption and / or the environmental parameters.

[0143] The control module 5004 is used to control the electrical equipment according to at least one of the interaction request, the predicted energy consumption, and the environmental parameters.

[0144] Please refer to Figure 9 This is a schematic diagram of the hardware structure of the electronic device 601 provided in an embodiment of this application. Figure 9 As shown, the electronic device 601 may include a processor 6001 and a memory 6002. The memory 6002 is used to store one or more computer programs 6003. The one or more computer programs 6003 are configured to be executed by the processor 6001. The one or more computer programs 6003 include instructions that can be used to implement the device control method described above in the electronic device 601.

[0145] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 601. In other embodiments, the electronic device 601 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements.

[0146] Processor 6001 may include one or more processing units, such as: application processor (AP), modem, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0147] The processor 6001 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 6001 is a cache memory. This memory can store instructions or data that the processor 6001 has just used or is recurring. If the processor 6001 needs to use the instruction or data again, it can retrieve it directly from this memory. This avoids repeated accesses, reduces the waiting time of the processor 6001, and thus improves the efficiency of the system.

[0148] In some embodiments, the processor 6001 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, and / or a USB interface, etc.

[0149] In some embodiments, the processor 6001 is used to execute acceleration schemes such as Single Instruction Multiple Data (SIMD) and Very Long Instruction Word (VLIW).

[0150] In some embodiments, memory 6002 may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0151] This embodiment also provides a computer-readable storage medium storing computer instructions. When the instructions are executed on a processor, the processor performs the aforementioned method steps to implement the device control method described in the above embodiment.

[0152] In this embodiment, the electronic device, apparatus, and computer-readable storage medium are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0153] In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0154] In the several embodiments provided in this application, the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are illustrative. For instance, the division of modules or units is a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0155] The unit described as a separate component may or may not be physically separate. The component shown as a unit can be one physical unit or multiple physical units, that is, it can be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of the solution in this embodiment according to actual needs.

[0156] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0157] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially or in other words, the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0158] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the scope of protection of this application.

Claims

1. A device control method, characterized in that, The device control method includes: Obtain the environmental parameters of the target environment; Based on the environmental parameters, the predicted energy consumption of electrical equipment in the target environment is determined; Receive an interaction request sent by a user in a preset interface; wherein the interface displays the predicted energy consumption and / or the environmental parameters; The electrical equipment is controlled based on at least one of the interaction request, the predicted energy consumption, and the environmental parameters. The interaction request includes a parameter setting request and / or a voting request for the electrical equipment; the voting request is used to request initiating a vote on the selection of equipment parameters for the target equipment; the parameter setting request is used to request setting the equipment parameters of the electrical equipment to target values; The method further includes: If at least one voting request sent by the user and / or multiple parameter setting requests sent by the users are detected, a voting prompt message is displayed on the interface; wherein, the voting prompt message is used to prompt the user to vote on the selection of device parameters for the target device; Obtain the voting results of each user in response to the voting prompt information; The electrical equipment is controlled according to all the voting results; The interface is a gamified interface; the gamified interface includes at least one interactive component; the method further includes: For each user, an energy-saving behavior score is determined based on a comparison of the user's voting results with the voting results of all users. The interaction permissions of the corresponding interactive components for the user are adjusted based on the energy-saving behavior score.

2. The method according to claim 1, characterized in that, The method further includes: In response to the target environment parameter value input by the user in the interface, The interface displays the target predicted energy consumption corresponding to the target environmental parameter values; and / or; In response to the target predicted energy consumption input by the user in the interface, The interface displays the target environmental parameter values ​​corresponding to the predicted energy consumption.

3. The method according to claim 1, characterized in that, The process of determining the voting prompt information also includes: For each user, energy-saving suggestion information is determined based on at least one of the user's user status, the user's corresponding energy-saving target, and the predicted energy consumption. Based on the energy-saving suggestion information and the parameter setting requests sent by other users, the voting prompt information corresponding to the user is generated.

4. The method according to claim 1, characterized in that, The gamified interface is implemented based on a preset virtualization technology; the interactive components include virtual character components and / or game components.

5. The method according to claim 1, characterized in that, The environmental parameters include at least one of the user's status parameters, the indoor and outdoor environmental parameters of the target environment, and the regional environmental parameters of the area where the target environment is located.

6. A device control apparatus, characterized in that, The equipment control device includes: The acquisition module is used to acquire environmental parameters of the target environment; The prediction module is used to input the environmental parameters into a preset energy consumption prediction model to obtain the predicted energy consumption of electrical equipment in the target environment. A receiving module is used to receive interactive requests sent by users through a preset interface; wherein the interface displays the predicted energy consumption and / or the environmental parameters. A control module is configured to control the electrical equipment based on at least one of the interaction request, the predicted energy consumption, and the environmental parameters. The interaction request includes a parameter setting request and / or a voting request for the electrical equipment; the voting request is used to request initiating a vote on the selection of equipment parameters for the target equipment; the parameter setting request is used to request setting the equipment parameters of the electrical equipment to target values; The receiving module is further configured to display voting prompt information in the interface if it detects at least one voting request sent by the user and / or multiple parameter setting requests sent by the users; wherein the voting prompt information is used to prompt the user to vote on the selection of device parameters for the target device; The acquisition module is also used to acquire the voting results of each user in response to the voting prompt information; The control module is also used to control the electrical equipment according to all the voting results; The interface is a gamified interface; the gamified interface includes at least one interactive component; The receiving module is further configured to determine the energy-saving behavior score of each user based on a comparison of the user's voting results with the voting results of all users. The control module is also used to adjust the interaction permissions of the interactive components corresponding to the user based on the energy-saving behavior score.

7. A device control device, comprising a processor and a memory, characterized in that, The memory is used to store instructions, and the processor is used to call the instructions in the memory, causing the device to control the device to execute the device control method as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a processor, cause the processor to perform the device control method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and system for controlling power consumption of smart home equipment

    CN108536026A

  • Electric appliance intelligent management method, device and system based on power consumption scene

    CN116909160A