Device control method, system, electronic device, and readable storage medium
Patent Information
- Application Number
- CN202411552432.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2044-11-01
AI Technical Summary
[0004]本发明实施例是提供一种设备控制方法、系统、电子设备以及计算机可读存储介质,以解决无法实现对设备的集中管理和智能调度,设备控制效果差的问题
[0045]在本发明实施例中,云计算平台获取边缘计算模块对设备的初步分析数据和设备的当前设备数据,其中,初步分析数据为边缘计算模块根据采集的设备的当前设备数据分析得到,然后,对初步分析数据和设备的设备数据进行分析得到针对设备的设备控制策略并发送至边缘计算模块,以使边缘计算模块可以在获取设备的实时设备数据后,根据设备控制策略和实时设备数据来适应性控制设备运行。本发明实施例基于边缘计算模块获取多个设备的初步分析数据和当前设备数据并提交至云计算平台,使得云计算平台可以根据初步分析数据和当前设备数据生成相应的设备控制策略,来实现对多个设备的集中管理和智能调度,达到更优的设备控制效果。
Smart Images

Figure CN119544740B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of Internet technology, and in particular to a device control method, a device control apparatus, an electronic device, and a computer-readable storage medium. Background Technology
[0002] With the acceleration of urbanization and the increase in large commercial buildings, equipment control systems for controlling equipment are being used more and more widely in modern buildings. These equipment can include devices such as air conditioners.
[0003] Equipment control systems include multiple devices. However, traditional equipment control systems have poor interconnectivity between these devices, making it impossible to achieve centralized management and intelligent scheduling of the devices, resulting in poor equipment control performance. Summary of the Invention
[0004] This invention provides a device control method, system, electronic device, and computer-readable storage medium to solve the problems of inability to achieve centralized management and intelligent scheduling of devices, resulting in poor device control performance.
[0005] This invention discloses a device control method applied to an intelligent network platform, wherein the intelligent network platform includes at least a device, an edge computing module, and a cloud computing platform, and the method includes:
[0006] The edge computing module acquires preliminary analysis data of the device and current device data of the device; wherein the preliminary analysis data is obtained by the edge computing module based on the collected current device data of the device.
[0007] The equipment control strategy is obtained by analyzing the preliminary analysis data and the equipment data of the equipment.
[0008] The device control strategy is sent to the edge computing module so that the edge computing module can control the operation of the device according to the device control strategy and the real-time device data after obtaining the device's real-time device data.
[0009] Optionally, the intelligent networking platform is equipped with smart contracts, and the method further includes;
[0010] Obtain real-time device data of the device according to the smart contract;
[0011] The real-time operating status of the device is determined based on the real-time device data.
[0012] When it is determined that the device is malfunctioning based on the real-time operating status, an alarm message is sent to the designated object.
[0013] Optionally, the method further includes:
[0014] Obtain operational feedback data for controlling the operation of the device according to the device control strategy;
[0015] The device control strategy is adjusted based on the operational feedback data, and the adjusted device control strategy is sent to the edge computing module so that the edge computing module can control the device to operate according to the updated device control strategy and the real-time device data after obtaining the device's real-time device data.
[0016] Optionally, the edge computing module stores data in a local blockchain, and the data is transmitted between the device, the edge computing module, and the cloud computing platform using blockchain technology for encrypted transmission.
[0017] Optionally, the device includes at least an air conditioning unit.
[0018] This invention also discloses a device control method applied to an intelligent network platform, wherein the intelligent network platform includes at least a device, an edge computing module, and a cloud computing platform, and the method includes:
[0019] Collect the current device data of the device;
[0020] Preliminary analysis data is obtained by analyzing the current device data;
[0021] The preliminary analysis data and the current device data are sent to the cloud computing platform; the cloud computing platform is used to analyze the preliminary analysis data and the device data to obtain a device control strategy;
[0022] Receive device control policies sent by the cloud computing platform;
[0023] Collect real-time device data from the device;
[0024] The device is controlled to operate according to the device control strategy and the real-time device data.
[0025] Optionally, controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0026] Obtain user equipment data from user equipment connected to the device;
[0027] The device operation is controlled based on the user equipment data, the device control strategy, and the real-time device data.
[0028] Optionally, controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0029] Obtain user setting data submitted by the user equipment connected to the device for settings configured on the device;
[0030] The device is controlled to operate based on the user settings data, the device control strategy, and the real-time device data.
[0031] Optionally, the environment in which the device is located includes associated devices, which are devices connected to the device or devices that can be controlled by the edge computing module. Controlling the operation of the device according to the device control policy and the real-time device data includes:
[0032] Obtain the associated device data of the associated device;
[0033] The operation of the device and the associated device is controlled based on the associated device data, the device control strategy, and the real-time device data.
[0034] Optionally, the real-time device data includes at least the device's real-time temperature, humidity, and energy consumption; the user device data includes at least the number of user devices connected to the device, the user device model, the user device signal strength, the user device status, and the user device distribution; and the user setting data includes at least the user-set operating mode of the device.
[0035] This invention also discloses an intelligent networking platform, which includes at least a device, an edge computing module, and a cloud computing platform, wherein:
[0036] The edge computing module is used to collect the current device data of the device, analyze the current device data to obtain preliminary analysis data, and send the preliminary analysis data and the current device data to the cloud computing platform;
[0037] The cloud computing platform is used to analyze the preliminary analysis data and the device data of the device to obtain a device control strategy, and send the device control strategy to the edge computing module;
[0038] The edge computing module is further configured to control the operation of the device according to the device control strategy and the real-time device data after acquiring the device's real-time device data.
[0039] This invention also discloses an electronic device, including 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;
[0040] The memory is used to store computer programs;
[0041] When the processor executes a program stored in the memory, it implements the method described in the embodiments of the present invention.
[0042] This invention also discloses a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in this invention.
[0043] This invention also discloses a computer-readable storage medium storing instructions that, when executed by one or more processors, cause the processors to perform the methods described in this invention.
[0044] The embodiments of the present invention have the following advantages:
[0045] In this embodiment of the invention, the cloud computing platform acquires preliminary analysis data and current device data of the devices from the edge computing module. The preliminary analysis data is obtained by the edge computing module based on the collected current device data. Then, the platform analyzes the preliminary analysis data and the device data to derive a device control strategy for each device, which is then sent to the edge computing module. This allows the edge computing module to adaptively control device operation based on the device control strategy and the real-time device data after acquiring the device's real-time data. This embodiment of the invention, based on the edge computing module acquiring preliminary analysis data and current device data of multiple devices and submitting them to the cloud computing platform, enables the cloud computing platform to generate corresponding device control strategies based on the preliminary analysis data and current device data. This achieves centralized management and intelligent scheduling of multiple devices, resulting in superior device control performance. Attached Figure Description
[0046] Figure 1 This is a flowchart of the steps of a device control method provided in an embodiment of the present invention;
[0047] Figure 2 This is a system block diagram of an intelligent networking platform provided in an embodiment of the present invention;
[0048] Figure 3 This is a flowchart of another device control method provided in an embodiment of the present invention;
[0049] Figure 4 This is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention. Detailed Implementation
[0050] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0051] This invention provides a device control method that can acquire device data from multiple devices in a device control system through an edge computing module and submit it to a cloud computing platform for further analysis to obtain a device control strategy. In this way, the edge computing module can control multiple devices according to the device control strategy, thereby achieving a better device control effect.
[0052] In practical implementation, traditional equipment control systems face numerous challenges, including low data security, complex management, and low energy efficiency. Data in traditional equipment control systems is typically stored and managed on centralized servers, making them vulnerable to threats such as cyberattacks, data tampering, and leaks. This is particularly critical for large commercial buildings, where the data from equipment control systems is directly related to the company's operations and management.
[0053] Equipment control systems typically consist of multiple devices. Traditional systems require a separate controller for each device, leading to complex installation and maintenance. Furthermore, poor interoperability between these devices hinders centralized management and intelligent scheduling. The development of the Internet of Things (IoT) technology offers a new approach to intelligent equipment control systems. Through IoT, devices can interconnect, collecting and transmitting data such as operating status, providing more refined management and control. However, IoT technology still has shortcomings in data security and system complexity, requiring new technological solutions to address these issues.
[0054] Blockchain technology, with its decentralized, immutable, and transparent characteristics, has become an effective means of solving data security issues. Through blockchain technology, the authenticity and immutability of device data can be ensured, providing strong protection for data security. Furthermore, blockchain technology can achieve distributed storage and management of data, avoiding single points of failure and improving system reliability. Intelligent networking technology, through machine learning and data analysis, can achieve intelligent scheduling and optimization of equipment control systems, improving energy efficiency and management levels. Intelligent networking technology can not only monitor the operating status of equipment in the equipment control system in real time, but also automatically adjust the operating mode of the equipment according to environmental changes and user needs, achieving energy-saving and comfort effects.
[0055] In summary, this invention also proposes a device control method combining blockchain and smart networking technologies to address the problems of traditional device control systems in terms of data security, management complexity, and low energy efficiency. Specifically, this invention aims to ensure the immutability and transparency of data through blockchain technology, utilize lightweight design to enable a single controller to manage multiple devices, and optimize the energy efficiency and management of the device control system through smart networking technology. This invention can provide an efficient, secure, and intelligent solution for device control systems (such as air conditioning systems) in commercial buildings, and has broad application prospects.
[0056] Reference Figure 1 This diagram illustrates a flowchart of a device control method provided in an embodiment of the present invention, applied to an intelligent network platform. The intelligent network platform includes at least a device, an edge computing module, and a cloud computing platform. The method may specifically include the following steps:
[0057] Step 101: Obtain the preliminary analysis data of the device and the current device data of the device from the edge computing module; wherein the preliminary analysis data is obtained by the edge computing module based on the collected current device data of the device.
[0058] The equipment mentioned herein may include at least an air conditioning unit, but may also include other equipment such as humidifiers, lighting equipment, security equipment, and ventilation equipment. This embodiment of the invention does not impose any limitations on these. For ease of explanation, the following description primarily uses an air conditioning unit as an example.
[0059] Reference Figure 2 This is a system block diagram of an intelligent networking platform provided in an embodiment of the present invention. The intelligent networking platform may include at least multiple devices (device 1, device 2, ..., device n), an edge computing module, and a cloud computing platform. The edge computing module may be integrated on the device or independent of the device.
[0060] In related technical solutions, traditional equipment control systems typically rely on centralized servers for data storage and management, making them vulnerable to threats such as network attacks, data tampering, and leaks. To ensure data security, in this embodiment of the invention, the edge computing module can store equipment data, preliminary analysis data, and other data in a local blockchain. Data transmission between the device, the edge computing module, and the cloud computing platform is encrypted using blockchain technology. Blockchain technology ensures the authenticity and immutability of the equipment control system's data, providing strong protection for data security. Furthermore, blockchain technology enables distributed data storage and management, avoiding single points of failure and improving the reliability of the equipment control system.
[0061] In this embodiment of the invention, the edge computing module may include multiple units, specifically including: a data acquisition unit: acquiring real-time device data such as temperature, humidity, and energy consumption through sensors integrated into the air conditioning device (e.g., temperature sensors, humidity sensors, energy consumption monitors, etc.). An edge computing unit: utilizing the computing power of the local device to perform preprocessing, filtering (data cleaning), data compression, and preliminary analysis of the raw data (current device data) locally, obtaining preliminary analysis data, reducing data transmission volume and dependence on cloud computing platforms, and lowering network load and latency. For example, data cleaning removes noise and outliers to ensure data accuracy and reliability; data compression reduces transmission volume and storage space; preliminary analysis is performed on the data in the edge computing module, such as calculating average temperature and humidity change rates, reducing the data processing pressure on the cloud computing platform. A device control unit: intelligently controlling the air conditioning device based on the device control strategy fed back from the cloud computing platform and the real-time device data of the air conditioning device, realizing functions such as temperature adjustment and energy consumption optimization. In some examples, the data collected by the device through sensors can be transmitted to the edge computing module wirelessly or via wired means.
[0062] Step 102: Analyze the preliminary analysis data and the equipment data of the device to obtain the equipment control strategy;
[0063] In this embodiment of the invention, the cloud computing platform can possess multiple functions, specifically including: Data storage and analysis: storing data uploaded by the edge computing unit (preliminary analysis data and device data, etc.) in a cloud database, and performing deep analysis and calculation using the LSTM (Long Short-Term Memory) algorithm to generate air conditioner energy consumption reports, usage trends, etc.; Intelligent algorithm update: constructing a reinforcement learning model of the device control strategy in the cloud through a reinforcement learning algorithm, continuously optimizing the device control strategy, and distributing the updated device control strategy to the edge computing unit to improve the intelligence level of the device control system.
[0064] Step 103: Send the device control strategy to the edge computing module so that the edge computing module can control the device to operate according to the device control strategy and the real-time device data after obtaining the device's real-time device data.
[0065] In this embodiment of the invention, after the device control strategy is obtained by the cloud computing platform, it can be sent to the edge computing module. The edge computing module can then obtain the real-time device data of the device and control the device operation according to the device control strategy and the real-time device data.
[0066] Specifically, the edge computing module generates control commands based on device control strategies and real-time device data to control device operation. For example, when the indoor temperature is higher than a set value, a cooling command is generated; when the indoor humidity is higher than a set value, a dehumidification command is generated. The control commands generated by the edge computing module are sent to the control unit of the air conditioning equipment to execute corresponding operations, such as adjusting fan speed, temperature, and humidity.
[0067] Cloud computing platforms can pre-deploy preset device control strategies. For example, regarding temperature regulation: based on the user-defined temperature range, temperature regulation methods are formulated; for instance, when the indoor temperature is higher than the set value, cooling mode is automatically activated; when the indoor temperature is lower than the set value, heating mode is activated. Regarding energy consumption optimization: based on historical and device data, energy consumption optimization strategies are formulated; for instance, when no one is detected indoors, the air conditioner's operating power is automatically reduced; when someone is detected indoors, the system switches to comfort mode. Regarding energy-saving mode: based on factors such as indoor and outdoor temperature difference and humidity, the system automatically switches to energy-saving mode to reduce energy consumption.
[0068] In this embodiment of the invention, the edge computing module uploads the processed preliminary analysis data to the cloud computing platform. The cloud computing platform performs in-depth analysis, optimizes the data based on the device control strategy, and distributes the results to the edge computing module, enabling the edge computing module to control the device operation according to the device control strategy.
[0069] In some specific examples, pre-deployed device control policies can be used on a cloud computing platform. Based on preliminary analysis data and real-time device data, one or more device control policies can be selected from these policies and then sent to an edge computing module. The edge computing module can then control the device operation according to one or more of these policies. For instance, suppose the cloud computing platform pre-deploys pre-deployed device control policies including temperature regulation, energy consumption optimization, and humidity regulation. After sending preliminary analysis data and real-time device data to the cloud computing platform, and determining that temperature and humidity need to be adjusted, the temperature and humidity regulation policies can be sent to the edge computing module, allowing the edge computing module to control the device operation according to these policies.
[0070] In other specific examples, the cloud computing platform obtains device control strategies based on preliminary analysis data and real-time device data analysis. It can also combine historical data of users and user-submitted user settings data to comprehensively generate device control strategies. Then, the device control strategies are sent to the edge computing module, which can control the operation of the devices according to the device control strategies.
[0071] In this embodiment of the invention, the cloud computing platform acquires preliminary analysis data and current device data of the devices from the edge computing module. The preliminary analysis data is obtained by the edge computing module based on the collected current device data. Then, the platform analyzes the preliminary analysis data and the device data to derive a device control strategy for each device, which is then sent to the edge computing module. This allows the edge computing module to adaptively control device operation based on the device control strategy and the real-time device data after acquiring the device's real-time data. This embodiment of the invention, based on the edge computing module acquiring preliminary analysis data and current device data of multiple devices and submitting them to the cloud computing platform, enables the cloud computing platform to generate corresponding device control strategies based on the preliminary analysis data and current device data. This achieves centralized management and intelligent scheduling of multiple devices, resulting in superior device control performance.
[0072] In one embodiment of the present invention, a smart contract is deployed in the intelligent networking platform, and the method further includes;
[0073] Obtain real-time device data of the device according to the smart contract;
[0074] The real-time operating status of the device is determined based on the real-time device data.
[0075] When it is determined that the device is malfunctioning based on the real-time operating status, an alarm message is sent to the designated object.
[0076] In this embodiment of the invention, devices such as air conditioners are registered on a blockchain platform (smart networking platform or cloud computing platform). Blockchain technology is used to encrypt and distribute the device data, ensuring data immutability and privacy. Smart contracts are deployed on the smart networking platform, enabling automated data recording, device control, and anomaly alarms, improving the automation and reliability of the device control system. Furthermore, this embodiment of the invention utilizes the distributed consensus mechanism of blockchain to ensure data consistency and high system availability among multiple nodes (e.g., devices, edge computing modules, cloud computing platforms), avoiding single points of failure.
[0077] Specifically, the cloud computing platform can obtain real-time device data based on smart contracts, thereby determining and monitoring the real-time operating status of the device. When an anomaly is determined based on the real-time operating status, an alarm mechanism is automatically triggered to send alarm information to designated objects such as users and record abnormal data to ensure device security.
[0078] In this embodiment of the invention, the following can also be achieved: Data segmentation and reassembly: Data is segmented into multiple parts and stored on different nodes (devices, edge computing modules, and cloud computing platforms), and then reassembled using blockchain technology to ensure data integrity and security. Zero-knowledge proof: Using zero-knowledge proof technology, users can prove the correctness and integrity of data without disclosing the actual data. For example, a user can prove that they have control over a device without revealing specific control commands. Secure transmission protocol: Secure transmission protocols (such as TLS / SSL (Transport Layer Security / Secure Sockets Layer)) are used for data transmission to ensure the security and integrity of data during transmission.
[0079] In one embodiment of the present invention, the method may further include:
[0080] Obtain operational feedback data for controlling the operation of the device according to the device control strategy;
[0081] The device control strategy is adjusted based on the operational feedback data, and the adjusted device control strategy is sent to the edge computing module so that the edge computing module can control the device to operate according to the updated device control strategy and the real-time device data after obtaining the device's real-time device data.
[0082] In this embodiment of the invention, the operating status and environmental parameters of the device can be monitored in real time to ensure the execution effect of the control commands generated based on the device control strategy. The execution effect and abnormal data can be used as the device's operation feedback data and submitted to the cloud computing platform. The cloud computing platform can continuously optimize the device control strategy based on the real-time operation feedback data and distribute the updated device control strategy to the edge computing module to further optimize the device control effect.
[0083] Reference Figure 3 This diagram illustrates a flowchart of another device control method provided in an embodiment of the present invention, applied to an intelligent network platform. The intelligent network platform includes at least a device, an edge computing module, and a cloud computing platform. The method may specifically include the following steps:
[0084] Step 301: Collect the current device data of the device;
[0085] Step 302: Analyze the current device data to obtain preliminary analysis data;
[0086] Step 303: Send the preliminary analysis data and the current device data to the cloud computing platform; the cloud computing platform is used to analyze the preliminary analysis data and the device data to obtain a device control strategy;
[0087] Step 304: Receive the device control policy sent by the cloud computing platform;
[0088] Step 305: Collect real-time device data of the device;
[0089] Step 306: Control the operation of the equipment according to the equipment control strategy and the real-time equipment data.
[0090] In one embodiment of the present invention, the device may include at least an air conditioning device, and the device data (including real-time device data and current device data) may include at least the device's temperature, humidity and energy consumption data.
[0091] In this embodiment of the invention, the edge computing module can acquire current device data, such as temperature, humidity, and energy consumption, and perform preprocessing, filtering, data compression, and preliminary analysis on the current device data to obtain preliminary analysis data. This reduces data transmission volume and reliance on the cloud computing platform, lowering network load and latency. Then, the preliminary analysis data and current device data can be sent to the cloud computing platform, allowing the platform to analyze the data and derive a device control strategy, which is then returned to the edge computing module. The edge computing module can further collect real-time device data, enabling it to control device operation based on the device control strategy and real-time device data.
[0092] This invention provides an embodiment of the invention that uses an edge computing module to acquire preliminary analysis data and current device data from multiple devices and submits them to a cloud computing platform. This allows the cloud computing platform to generate corresponding device control strategies based on the preliminary analysis data and current device data, thereby achieving centralized management and intelligent scheduling of multiple devices and resulting in better device control performance.
[0093] In one embodiment of the present invention, controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0094] Obtain user equipment data from user equipment connected to the device;
[0095] The device operation is controlled based on the user equipment data, the device control strategy, and the real-time device data.
[0096] The user equipment data includes at least the number of user equipment connected to the device at a certain location (e.g., in a commercial building), the user equipment model, the user equipment signal strength, the user equipment status, and the distribution of the user equipment.
[0097] Specifically, the number of user devices can refer to the number of user devices connected to the air conditioning unit, such as the number of mobile phones, tablets, smartwatches, etc. connected to the air conditioning unit. The user device model can refer to the model of the user devices connected to the air conditioning unit, such as iPhones and Android devices connected to the air conditioning unit. User device signal strength refers to the signal strength of the user devices connected to the air conditioning unit; for example, the signal strength of the air conditioning unit can be categorized as strong, medium, weak, etc. User device status refers to the status of the user devices connected to the air conditioning unit, such as active, standby, or sleep. User device distribution refers to the distribution of the user devices connected to the air conditioning unit in a specific location; for example, the overall distribution of user devices connected to the air conditioning unit in a building.
[0098] In this embodiment of the invention, user device data of the access device can be obtained, and the device operation can be controlled based on the user device data, device control strategy, and real-time device data. For example, based on the user device status and distribution in the user device data, if the cloud computing platform determines that users are mainly active in the building's food court, the air conditioning operation mode can be adjusted to "food court priority," and the temperature can be set to 24°C to provide a more comfortable experience. If, based on real-time device data (temperature, humidity, energy consumption), the cloud computing platform determines that the current food court temperature is high and needs cooling, the air conditioning operation mode can be adjusted to "cooling mode," and the temperature can be set to 24°C.
[0099] For example, user equipment can connect to air conditioning equipment or systems wirelessly or via wired connection, and the signal strength of the user equipment connected to the air conditioning equipment can be detected. The signal strength can reflect the distance or connection quality between the user equipment and the air conditioning equipment. Therefore, the cloud computing platform can obtain the signal strength of the user equipment in the user equipment data. If the signal strength is determined to be strong, it can be considered that the connection between the user equipment and the air conditioning equipment is good, and more refined control can be performed, such as temperature adjustment and fan speed control. Conversely, if the signal strength is determined to be weak, it can be considered that the connection between the user equipment and the air conditioning equipment is unstable, and the current equipment control strategy of the air conditioning can be maintained, the current operating state can be maintained, or energy consumption can be reduced.
[0100] In one embodiment of the present invention, controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0101] Obtain user setting data submitted by the user equipment connected to the device for settings configured on the device;
[0102] The device is controlled to operate based on the user settings data, the device control strategy, and the real-time device data.
[0103] The user settings data may include at least the operating mode of the device set by the user. For example, the user can submit user settings data for the device through the user device as needed, and then adjust the operating mode of the device according to the user settings data. For example, the operating mode of the device can be set to cooling mode, heating mode, dehumidification mode, ventilation mode, etc., according to the user settings data. Or, the temperature of the device can be set to 24 degrees, 26 degrees, etc., according to the user settings data.
[0104] In one specific embodiment, user settings include setting the device's operating mode to cooling mode, temperature to 24°C, fan speed to medium speed, timer to turn on at 18:00 and turn off at 22:00 daily, and energy-saving mode to energy-saving mode. The device control strategy includes setting the operating mode to cooling mode, temperature to 24°C, and energy consumption optimization to energy-saving mode. Real-time device data shows an indoor temperature of 25°C, humidity of 60%, and energy consumption of 500W. During device control, the cloud computing platform sends corresponding control commands to the device based on the generated device control strategy and real-time device data. For example, assuming the device is an air conditioner, upon receiving the command, the device automatically adjusts its operating mode to "cooling mode," sets the temperature to 24°C, and the fan speed to medium speed. Simultaneously, based on real-time energy consumption data, it adjusts the device's operating power to keep energy consumption within a reasonable range. Furthermore, the device automatically turns on at 18:00 and turns off at 22:00 daily according to the user's timer settings. This invention generates device control strategies that conform to user preferences based on user settings data, and dynamically adjusts them in conjunction with real-time device data submitted by the edge computing module, thereby achieving smarter, more efficient, and user-friendly device control and improving the user experience.
[0105] In one embodiment of the present invention, the environment in which the device is located includes associated devices, which are devices connected to the device or devices that can be controlled by the edge computing module. Controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0106] Obtain the associated device data of the associated device;
[0107] The operation of the device and the associated device is controlled based on the associated device data, the device control strategy, and the real-time device data.
[0108] The environment in which the device is located includes related devices, such as lighting equipment, curtains, humidifiers, etc., which are located in the same building as the device. The related device data can include the real-time status and device data of the device, such as the opening and closing status of smart curtains, the brightness of smart lights, the operating mode of air purifiers, the number of humidifiers, etc.
[0109] In this embodiment of the invention, associated device data can be acquired, and the operation of the device and associated devices can be controlled based on the associated device data, device control strategies, and real-time device data. For example, when the indoor temperature of a room in a building is high, the cloud computing platform determines that the indoor temperature needs to be lowered. Therefore, it generates control strategies such as closing smart curtains, adjusting smart lights to a soft mode, and switching air purifiers to high-efficiency mode. Then, based on the device control strategies (e.g., operating mode, temperature setting) and the device's real-time device data (temperature, humidity, energy consumption), the cloud computing platform generates a device control strategy for the device, adjusting the device's operating mode to "cooling mode" and setting the temperature to 24°C.
[0110] In this embodiment of the invention, in addition to controlling the device based on the device data and device control strategy, various types of data are also considered, such as user device data, associated device data, and user setting data. By combining various types of data, a more accurate device control strategy can be generated, and then the device operation can be controlled according to the device control strategy and real-time device data to achieve a more intelligent and accurate device control effect.
[0111] Furthermore, the intelligent network platform of this invention also provides other device control methods, specifically: Multi-level temperature control: In addition to setting cooling and heating modes, the device can also add multi-level temperature control. For example, based on the indoor and outdoor temperature difference and historical data, the intensity of cooling or heating can be dynamically adjusted. When the indoor and outdoor temperature difference is large, the temperature can be adjusted quickly; when the temperature difference is small, a slow adjustment is used. Zone temperature control: For large commercial air conditioning systems (equipment control systems), zone temperature control can be implemented. By installing temperature sensors in different zones, the temperature of each zone can be adjusted separately to achieve a more precise temperature control effect. Predictive control: Using machine learning algorithms to predict indoor temperature change trends, the air conditioning operation status can be adjusted in advance to avoid excessive temperature fluctuations. For example, based on historical data, temperature changes over a future period can be predicted, and cooling or heating modes can be activated in advance. Scene modes: Based on the scene modes set by the user, the operating parameters of the air conditioning equipment can be automatically adjusted. For example, "meeting mode," "rest mode," etc., can be set, and the temperature, humidity, fan speed, etc., can be automatically adjusted according to different scene requirements. Linkage control: Linkage with other intelligent devices (such as lights and curtains) to achieve comprehensive environmental control. For example, when low indoor lighting is detected, the system automatically adjusts the light brightness; when excessive dust is detected, the air purification function is automatically activated. Voice control: Integrating voice recognition technology, users can control equipment such as air conditioners via voice commands, improving the convenience of equipment control.
[0112] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0113] This invention also provides an intelligent networking platform, which includes at least a device, an edge computing module, and a cloud computing platform, wherein:
[0114] The edge computing module is used to collect the current device data of the device, analyze the current device data to obtain preliminary analysis data, and send the preliminary analysis data and the current device data to the cloud computing platform;
[0115] The cloud computing platform is used to analyze the preliminary analysis data and the device data of the device to obtain a device control strategy, and send the device control strategy to the edge computing module;
[0116] The edge computing module is also used to control the operation of the device according to the device control strategy and the real-time device data after acquiring the real-time device data of the device.
[0117] In one embodiment of the present invention, a smart contract is deployed in the intelligent networking platform, and the cloud computing platform is also included.
[0118] Obtain real-time device data of the device according to the smart contract;
[0119] The real-time operating status of the device is determined based on the real-time device data.
[0120] When it is determined that the device is malfunctioning based on the real-time operating status, an alarm message is sent to the designated object.
[0121] In one embodiment of the present invention, the cloud computing platform;
[0122] Obtain operational feedback data for controlling the operation of the device according to the device control strategy;
[0123] The device control strategy is adjusted based on the operational feedback data, and the adjusted device control strategy is sent to the edge computing module so that the edge computing module can control the device to operate according to the updated device control strategy and the real-time device data after obtaining the device's real-time device data.
[0124] In one embodiment of the present invention, the edge computing module stores data in a local blockchain, and the data is transmitted between the device, the edge computing module, and the cloud computing platform using blockchain technology for encrypted transmission.
[0125] In one embodiment of the present invention, the device includes at least an air conditioning unit.
[0126] In one embodiment of the present invention, the edge computing module:
[0127] Obtain user equipment data from user equipment connected to the device;
[0128] The device operation is controlled based on the user equipment data, the device control strategy, and the real-time device data.
[0129] In one embodiment of the present invention, the edge computing module:
[0130] Obtain user setting data submitted by the user equipment connected to the device for settings configured on the device;
[0131] The device is controlled to operate based on the user settings data, the device control strategy, and the real-time device data.
[0132] In one embodiment of the present invention, the environment in which the device is located includes associated devices, which are devices connected to the device or devices that can be controlled by the edge computing module. Controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0133] Obtain the associated device data of the associated device;
[0134] The operation of the device and the associated device is controlled based on the associated device data, the device control strategy, and the real-time device data.
[0135] In one embodiment of the present invention, the real-time device data includes at least the real-time temperature, humidity and energy consumption of the device; the user device data includes at least the number of user devices connected to the device, the user device model, the user device signal strength, the user device status and the distribution of user devices; and the user setting data includes at least the operating mode of the device set by the user.
[0136] In this embodiment of the invention, the cloud computing platform acquires preliminary analysis data and current device data of the devices from the edge computing module. The preliminary analysis data is obtained by the edge computing module based on the collected current device data. Then, the platform analyzes the preliminary analysis data and the device data to derive a device control strategy for each device, which is then sent to the edge computing module. This allows the edge computing module to adaptively control device operation based on the device control strategy and the real-time device data after acquiring the device's real-time data. This embodiment of the invention, based on the edge computing module acquiring preliminary analysis data and current device data of multiple devices and submitting them to the cloud computing platform, enables the cloud computing platform to generate corresponding device control strategies based on the preliminary analysis data and current device data. This achieves centralized management and intelligent scheduling of multiple devices, resulting in superior device control performance.
[0137] As the platform implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.
[0138] In addition, this invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the various processes of the above-described device control method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here.
[0139] This invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described device control method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0140] This invention also provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described device control method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.
[0141] Figure 4 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0142] The electronic device 400 includes, but is not limited to, components such as: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and a power supply 411. Those skilled in the art will understand that... Figure 4 The electronic device structures shown are not intended to limit the electronic device. An electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. In embodiments of the present invention, the electronic device includes, but is not limited to, mobile phones, tablet computers, laptops, PDAs, in-vehicle terminals, wearable devices, and pedometers.
[0143] It should be understood that, in this embodiment of the invention, the radio frequency unit 401 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink data from the base station and processes it with the processor 410; additionally, it transmits uplink data to the base station. Typically, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc. Furthermore, the radio frequency unit 401 can also communicate with networks and other devices through a wireless communication system.
[0144] The electronic device provides users with wireless broadband internet access through network module 402, such as helping users send and receive emails, browse web pages, and access streaming media.
[0145] The audio output unit 403 can convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into audio signals and output them as sound. Furthermore, the audio output unit 403 can also provide audio output related to specific functions performed by the electronic device 400 (e.g., call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, and a receiver, etc.
[0146] Input unit 404 is used to receive audio or video signals. Input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The GPU 4041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on display unit 406. The image frames processed by GPU 4041 can be stored in memory 409 (or other storage medium) or transmitted via radio frequency unit 401 or network module 402. Microphone 4042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via radio frequency unit 401 in telephone call mode.
[0147] The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the ambient light level, and the proximity sensor can turn off the display panel 4061 and / or backlight when the electronic device 400 is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used to identify the posture of the electronic device (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. The sensor 405 may also include a fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc., which will not be described in detail here.
[0148] The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0149] User input unit 407 can be used to receive input numerical or character information, and generate key signal inputs related to user settings and function control of electronic devices. Specifically, user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near touch panel 4071). Touch panel 4071 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 410, which receives and executes commands from the processor 410. In addition, touch panel 4071 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. Besides touch panel 4071, user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, joysticks, etc., which will not be described in detail here.
[0150] Furthermore, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits the information to the processor 410 to determine the type of touch event. Subsequently, the processor 410 provides corresponding visual output on the display panel 4061 based on the type of touch event. Although in Figure 4 In this embodiment, the touch panel 4071 and the display panel 4061 are two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated to realize the input and output functions of the electronic device. The specific implementation is not limited here.
[0151] Interface unit 408 serves as an interface for connecting external devices to electronic device 400. For example, external devices may include a wired or wireless headphone port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, and so on. Interface unit 408 can be used to receive input from external devices (e.g., data, power, etc.) and transmit the received input to one or more components within electronic device 400, or it can be used to transmit data between electronic device 400 and external devices.
[0152] The memory 409 can be used to store software programs and various data. The memory 409 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function (such as sound playback, image playback, etc.), etc.; the data storage area may store data created based on the use of the mobile phone (such as audio data, phonebook, etc.). Furthermore, the memory 409 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0153] The processor 410 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 409, and by calling data stored in the memory 409, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 410.
[0154] The electronic device 400 may also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.
[0155] In addition, the electronic device 400 includes some functional modules not shown, which will not be described in detail here.
[0156] It should be 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. Unless otherwise specified, 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.
[0157] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0158] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of the present invention.
[0159] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0160] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0161] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of units is only 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 system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0162] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0163] In addition, the functional units in the various embodiments of the present invention 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.
[0164] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0165] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A device control method, characterized in that, Applied to an intelligent networking platform, the intelligent networking platform including at least devices, an edge computing module, and a cloud computing platform, the method includes: The edge computing module acquires preliminary analysis data of the device and current device data of the device; wherein the preliminary analysis data is obtained by the edge computing module based on the collected current device data of the device; the preliminary analysis data and the current device data are separated and stored in the local blockchains of the device, the edge computing module, and the cloud computing platform, respectively; The device control strategy is obtained by analyzing the preliminary analysis data and the current device data. A reinforcement learning model for the device control strategy is constructed using a reinforcement learning algorithm to update the device control strategy. This strategy is then sent to the edge computing module, enabling the edge computing module to control the device's operation based on the device control strategy and the real-time device data after acquiring the device's real-time data. Alternatively, the edge computing module can control the device's operation based on the device control strategy and the real-time device data, combined with user device data, associated device data, or user setting data. The user device data includes at least the number of user devices connected to the device, user device models, user device signal strength, user device status, and user device distribution. The associated device data includes the real-time status and device data of devices connected to the device or devices that can be controlled by the edge computing module. The user setting data includes the device's operating mode set by users connected to the device.
2. The method according to claim 1, characterized in that, The intelligent network platform is equipped with smart contracts, and the method further includes; Obtain real-time device data of the device according to the smart contract; The real-time operating status of the device is determined based on the real-time device data. When it is determined that the device is malfunctioning based on the real-time operating status, an alarm message is sent to the designated object.
3. The method according to claim 2, characterized in that, The method further includes: Obtain operational feedback data for controlling the operation of the device according to the device control strategy; The device control strategy is adjusted based on the operational feedback data, and the adjusted device control strategy is sent to the edge computing module so that the edge computing module can control the device to operate according to the updated device control strategy and the real-time device data after obtaining the device's real-time device data.
4. The method according to any one of claims 1 to 3, characterized in that, The edge computing module stores data in a local blockchain, and the data is transmitted between the device, the edge computing module, and the cloud computing platform using blockchain technology for encrypted transmission.
5. The method according to claim 1, characterized in that, The equipment includes at least an air conditioning unit.
6. A device control method, characterized in that, Applied to an intelligent networking platform, the intelligent networking platform including at least devices, an edge computing module, and a cloud computing platform, the method includes: Collect the current device data of the device; The current device data is analyzed to obtain preliminary analysis data; the preliminary analysis data and the current device data are separated and stored in the local blockchains of the device, the edge computing module, and the cloud computing platform, respectively; The preliminary analysis data and the current device data are sent to the cloud computing platform; the cloud computing platform is used to analyze the preliminary analysis data and the current device data to obtain a device control strategy, and to construct a reinforcement learning model of the device control strategy through a reinforcement learning algorithm to update the device control strategy; Receive device control policies sent by the cloud computing platform; Collect real-time device data from the device; The device is controlled to operate according to the device control strategy and the real-time device data, or, according to the device control strategy and the real-time device data, combined with user device data, associated device data, or user setting data; the user device data includes at least the number of user devices connected to the device, user device model, user device signal strength, user device status, and user device distribution; the associated device data includes the real-time status and device data of devices connected to the device or devices that can be controlled by the edge computing module; the user setting data includes the operating mode of the device set by users connected to the device.
7. The method according to claim 6, characterized in that, Controlling the operation of the device according to the device control strategy and the real-time device data includes: Obtain user equipment data from user equipment connected to the device; The device operation is controlled based on the user equipment data, the device control strategy, and the real-time device data.
8. The method according to claim 7, characterized in that, Controlling the operation of the device according to the device control strategy and the real-time device data includes: Obtain user setting data submitted by the user equipment connected to the device for settings configured on the device; The device is controlled to operate based on the user settings data, the device control strategy, and the real-time device data.
9. The method according to claim 8, characterized in that, The environment in which the device exists includes associated devices, which are devices connected to the device or devices that can be controlled by the edge computing module. Controlling the operation of the device according to the device control strategy and the real-time device data includes: Obtain the associated device data of the associated device; The operation of the device and the associated device is controlled based on the associated device data, the device control strategy, and the real-time device data.
10. The method according to claim 9, characterized in that, The real-time device data includes at least the device's real-time temperature, humidity, and energy consumption.
11. An intelligent network platform, characterized in that, The intelligent networking platform includes at least devices, edge computing modules, and a cloud computing platform, wherein: The edge computing module is used to collect current device data of the device, analyze the current device data to obtain preliminary analysis data, and send the preliminary analysis data and the current device data to the cloud computing platform; the preliminary analysis data and the device data are separated and stored in the local blockchains of the device, the edge computing module and the cloud computing platform respectively; The cloud computing platform is used to analyze the preliminary analysis data and the device data of the device to obtain the device control strategy, construct a reinforcement learning model of the device control strategy through a reinforcement learning algorithm to update the device control strategy, and send the device control strategy to the edge computing module. The edge computing module is further configured to control the operation of the device according to the device control strategy and the real-time device data after acquiring the real-time device data of the device, or to control the operation of the device according to the device control strategy and the real-time device data, combined with user device data, associated device data, or user setting data; the user device data includes at least the number of user devices connected to the device, user device model, user device signal strength, user device status, and user device distribution; the associated device data includes the real-time status and device data of devices connected to the device or devices that can be controlled by the edge computing module; the user setting data includes the operating mode of the device set by users connected to the device.
12. 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; The memory is used to store computer programs; When the processor executes a program stored in the memory, it implements the method as described in any one of claims 1-10.
13. A computer-readable storage medium having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method as described in any one of claims 1-10.
Citation Information
Patent Citations
Smart home control system and method based on Internet of Things
CN118519350A