Equipment control method and system, electronic equipment and readable storage medium
By using edge computing modules and cloud computing platforms in the intelligent networking platform, analyzing and generating device control strategies, the problem that traditional device control systems cannot achieve centralized management and intelligent scheduling is solved, and better device control effects are achieved.
Patent Information
- Application Number
- CN202411552432.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-01
AI Technical Summary
Traditional equipment control systems cannot realize centralized management and intelligent scheduling of multiple devices, resulting in poor device control effects.
By deploying edge computing modules and cloud computing platforms in the intelligent networking platform, the preliminary analysis data of the device and real-time device data are obtained, the device control strategy is analyzed and generated, and the device operation is controlled in real time through the edge computing module.
Centralized management and intelligent scheduling of multiple devices are realized, and the effectiveness and efficiency of device control are improved.
Smart Images

Figure CN119544740A_ABST
Abstract
Description
Technical Field
[0001] 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 Art
[0002] With the acceleration of urbanization and the increase of large commercial buildings, the application of equipment control systems for realizing equipment control in modern buildings is becoming more and more extensive. Among them, the equipment may include air conditioners and other equipment.
[0003] The equipment control system includes multiple devices. However, the interconnection and interoperability between multiple devices in the traditional equipment control system is poor, and centralized management and intelligent scheduling of the equipment cannot be achieved, resulting in poor equipment control effect. Summary of the invention
[0004] The embodiments of the present invention provide a device control method, system, electronic device and computer-readable storage medium to solve the problem that centralized management and intelligent scheduling of devices cannot be achieved and the device control effect is poor.
[0005] An embodiment of the present invention discloses a device control method, which is applied to an intelligent networking platform, wherein the intelligent networking platform includes at least a device, an edge computing module, and a cloud computing platform. The method includes:
[0006] Obtaining preliminary analysis data of the device and current device data of the device by the edge computing module; wherein the preliminary analysis data is obtained by the edge computing module based on the analysis of the collected current device data of the device;
[0007] Analyzing the preliminary analysis data and the equipment data of the equipment to obtain an equipment control strategy;
[0008] The device control strategy is sent to the edge computing module, so that the edge computing module controls 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.
[0009] Optionally, a smart contract is deployed in the smart networking platform, and the method further includes:
[0010] Acquire real-time device data of the device according to the smart contract;
[0011] Determine the real-time operating status of the device according to the real-time device data;
[0012] When it is determined according to the real-time operating status that the device is abnormal, an alarm message is sent to a designated object.
[0013] Optionally, the method further comprises:
[0014] Acquiring operation feedback data for controlling the operation of the device according to the device control strategy;
[0015] The device control strategy is adjusted according to the operation feedback data, and the adjusted device control strategy is sent to the edge computing module, so that the edge computing module controls the operation of the device according to the updated device control strategy and the real-time device data after obtaining the real-time device data of the device.
[0016] Optionally, the edge computing module stores the data in a local blockchain, and blockchain technology is used to encrypt and transmit data between the device, the edge computing module and the cloud computing platform.
[0017] Optionally, the equipment includes at least air conditioning equipment.
[0018] The embodiment of the present invention further discloses a device control method, which is applied to an intelligent networking platform, wherein the intelligent networking platform includes at least a device, an edge computing module, and a cloud computing platform. The method includes:
[0019] Collecting current device data of the device;
[0020] Analyzing the current device data to obtain preliminary analysis 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 of the device to obtain a device control strategy;
[0022] Receiving a device control strategy sent by the cloud computing platform;
[0023] Collecting real-time device data of the device;
[0024] The operation of the device is controlled 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] Acquire user equipment data of a user equipment connected to the device;
[0027] The device operation is controlled according to the user device data, the device control policy 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] Acquire user setting data for setting the device submitted by a user device connected to the device;
[0030] The device operation is controlled according to the user setting data, the device control policy and the real-time device data.
[0031] Optionally, the environment in which the device is located includes an associated device, where the associated device is a device connected to the device or a device that allows the edge computing module to control, and the device operation is controlled according to the device control strategy and the real-time device data, including:
[0032] Acquire associated device data of the associated device;
[0033] The operation of the device and the associated devices is controlled according to 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 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, user device models, user device signal strength, user device status and user device distribution; the user setting data includes at least the operating mode of the device set by the user.
[0035] The embodiment of the present invention further 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 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 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.
[0039] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0040] The memory is used to store computer programs;
[0041] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0042] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.
[0043] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0044] The embodiments of the present invention include the following advantages:
[0045] In an embodiment of the present invention, the cloud computing platform obtains the preliminary analysis data of the device and the current device data of the device by the edge computing module, wherein the preliminary analysis data is obtained by the edge computing module based on the analysis of the current device data of the collected device, and then the preliminary analysis data and the device data of the device are analyzed to obtain the device control strategy for the device and sent to the edge computing module, so that the edge computing module can adaptively control the operation of the device according to the device control strategy and the real-time device data after obtaining the real-time device data of the device. The embodiment of the present invention obtains the preliminary analysis data and current device data of multiple devices based on the edge computing module and submits them to the cloud computing platform, so that the cloud computing platform can generate corresponding device control strategies based on the preliminary analysis data and current device data to realize centralized management and intelligent scheduling of multiple devices, and achieve better device control effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 is a flowchart of a device control method provided in an embodiment of the present invention;
[0047] Figure 2 is a system block diagram of an intelligent networking platform provided in an embodiment of the present invention;
[0048] Figure 3 is a flowchart of another device control method provided in an embodiment of the present invention;
[0049] Figure 4 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION
[0050] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0051] An embodiment of the present invention provides a device control method, which can obtain device data of 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 actual implementation, traditional equipment control systems face many challenges in practical applications, including low data security, complex management, low energy efficiency, etc. The data of traditional equipment control systems are usually stored and managed on centralized servers, which are vulnerable to threats such as network attacks, data tampering and leakage. Especially for large commercial buildings, the data of equipment control systems involves the operation and management of the enterprise, and the security of data is crucial.
[0053] Equipment control systems are usually composed of multiple devices. Traditional equipment control systems require a separate controller for each device, which makes system installation and maintenance complicated. In addition, the interoperability between multiple devices is poor, and centralized management and intelligent scheduling cannot be achieved. The development of Internet of Things (IoT) technology has provided new ideas for the intelligentization of equipment control systems. Through IoT technology, devices can be interconnected, collect and transmit data such as the operating status of the equipment, and provide more refined management and control. However, IoT technology still has shortcomings in data security and system complexity, and new technical means are urgently needed to make up for it.
[0054] Blockchain technology, with its characteristics of decentralization, immutability and transparency, has become an effective means to solve data security problems. Through blockchain technology, the authenticity and immutability of device data can be ensured, providing strong protection for data security. In addition, blockchain technology can also realize distributed storage and management of data, avoid single point failures, and improve system reliability. Through machine learning and data analysis, intelligent networking technology can realize intelligent scheduling and optimization of equipment control systems, improve energy efficiency and management level. 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 to achieve energy saving and comfort.
[0055] In summary, the embodiment of the present invention also proposes a device control method that combines blockchain technology and intelligent networking technology to solve the problems of traditional device control systems in data security, management complexity, and low energy efficiency. Specifically, the present invention aims to ensure the immutability and transparency of data through blockchain technology, use lightweight design to achieve one controller to manage multiple devices, and optimize the energy efficiency and management of device control systems through intelligent networking technology. The embodiment of the present invention can provide an efficient, safe and intelligent solution for equipment control systems (such as air conditioning systems) in commercial buildings, and has broad application prospects.
[0056] Reference Figure 1 , shows a flow chart of the steps of a device control method provided in an embodiment of the present invention, which is applied to an intelligent networking platform, wherein the intelligent networking 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 preliminary analysis data of the device and current device data of the device by the edge computing module; wherein the preliminary analysis data is obtained by the edge computing module based on analysis of the collected current device data of the device.
[0058] The equipment may at least include air conditioning equipment, and of course, the equipment may also be other equipment, such as humidification equipment, lighting equipment, security equipment, and ventilation equipment, etc., which are not limited in the embodiments of the present invention. For ease of description, the following mainly takes air conditioning equipment as an example for description.
[0059] Reference Figure 2 , is a system block diagram of an intelligent networking platform provided by 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, wherein the edge computing module may be integrated on the device or may be independent of the device.
[0060] In the relevant technical solutions, the data of the traditional device control system is usually stored and managed by a centralized server, which is vulnerable to threats such as network attacks, data tampering and leakage. In order to ensure data security, in an embodiment of the present invention, the edge computing module can store data such as device data and preliminary analysis data in the 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. Through blockchain technology, the authenticity and non-tamperability of the data of the device control system can be ensured, providing a strong guarantee for data security. In addition, blockchain technology can also realize the distributed storage and management of data, avoid single point failures, and improve the reliability of the device control system.
[0061] In an embodiment of the present invention, the edge computing module may include multiple units, which may specifically include: data acquisition unit: through sensors integrated on the air-conditioning equipment (for example, temperature sensors, humidity sensors, energy consumption monitors, etc. integrated on the air-conditioning equipment), real-time acquisition of equipment data such as temperature, humidity, and energy consumption. Edge computing unit: using the computing power of the local device to perform local preprocessing, filtering (data cleaning), data compression, and preliminary analysis of the original data (current equipment data) to obtain preliminary analysis data, reduce the amount of data transmission and the dependence on the cloud computing platform for computing, and reduce network load and delay. For example, data cleaning is to remove noise and outliers to ensure the accuracy and reliability of the data, data compression is to compress the data to reduce the transmission volume and storage space, and preliminary analysis is to perform preliminary analysis of the data in the edge computing module, such as calculating the average temperature, humidity change rate, etc., to reduce the data processing pressure of the cloud computing platform. Equipment control unit: according to the equipment control strategy fed back by the cloud computing platform and the real-time equipment data of the air-conditioning equipment, the air-conditioning equipment is intelligently controlled to achieve functions such as temperature adjustment and energy consumption optimization. In some examples, the data collected by the device through the sensor can be transmitted to the edge computing module wirelessly or wired.
[0062] Step 102: Analyze the preliminary analysis data and the device data of the device to obtain a device control strategy;
[0063] In the embodiment of the present invention, the cloud computing platform can have multiple functions, which can specifically include: Data storage and analysis: The data uploaded by the edge computing unit (preliminary analysis data and device data, etc.) is stored in the cloud database, and the LSTM (Long Short-Term Memory) algorithm is used for in-depth analysis and calculation to generate air conditioning energy consumption reports, usage trends, etc. Intelligent algorithm update: The reinforcement learning model of the device control strategy in the cloud is constructed through the reinforcement learning algorithm, the device control strategy is continuously optimized, and the updated device control strategy is sent 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 controls 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.
[0065] In an embodiment of the present invention, after the cloud computing platform analyzes and obtains the device control strategy, it can be sent to the edge computing module, and the edge computing module can obtain the real-time device data of the device, and then control the device operation according to the device control strategy and the real-time device data.
[0066] Specifically, the edge computing module generates control instructions based on the device control strategy and real-time device data to control the operation of the device. For example, when the indoor temperature is higher than the set value, a cooling instruction is generated, and when the indoor humidity is higher than the set value, a dehumidification instruction is generated. The control instructions generated by the edge computing module are sent to the control unit of the air-conditioning device to perform corresponding operations, such as adjusting the wind speed, temperature, humidity, etc.
[0067] The cloud computing platform can be pre-deployed with preset device control strategies. For example, for temperature adjustment: formulate temperature adjustment methods based on the temperature range set by the user. For example, when the indoor temperature is higher than the set value, the cooling mode is automatically started; when the indoor temperature is lower than the set value, the heating mode is started. For energy consumption optimization: formulate energy consumption optimization strategies through historical data and device data. For example, when it is detected that there is no one in the room, the air conditioner operating power is automatically reduced; when it is detected that there is someone in the room, it is adjusted to comfort mode. For energy-saving mode: according to factors such as indoor and outdoor temperature difference and humidity, it automatically switches to energy-saving mode to reduce energy consumption.
[0068] In an embodiment of the present 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 based on the device control strategy, and sends it to the edge computing module, so that the edge computing module can control the device operation according to the device control strategy.
[0069] In some specific examples, preset device control strategies can be pre-deployed from the cloud computing platform, and one or more device control strategies can be screened out from these device control strategies based on the preliminary analysis data and real-time device data, and then the device control strategies are sent to the edge computing module, and the edge computing module can control the operation of the device according to one or more device control strategies. For example, assuming that the cloud computing platform has pre-deployed preset device control strategies including temperature adjustment strategies, energy consumption optimization strategies, and humidity adjustment strategies, after sending the preliminary analysis data and real-time device data to the cloud computing platform, after analysis to determine that the temperature and humidity need to be adjusted, the temperature adjustment strategy and humidity adjustment strategy can be sent to the edge computing module, so that the edge computing module can control the operation of the device according to the temperature adjustment strategy and humidity adjustment strategy.
[0070] In other specific examples, the cloud computing platform obtains device control strategies based on preliminary analysis data and real-time device data analysis, and can also comprehensively generate device control strategies based on user historical data, user setting data submitted by users, etc., and then sends the device control strategies to the edge computing module, which can control device operation according to the device control strategies.
[0071] In an embodiment of the present invention, the cloud computing platform obtains the preliminary analysis data of the device and the current device data of the device by the edge computing module, wherein the preliminary analysis data is obtained by the edge computing module based on the analysis of the current device data of the collected device, and then the preliminary analysis data and the device data of the device are analyzed to obtain the device control strategy for the device and sent to the edge computing module, so that the edge computing module can adaptively control the operation of the device according to the device control strategy and the real-time device data after obtaining the real-time device data of the device. The embodiment of the present invention obtains the preliminary analysis data and current device data of multiple devices based on the edge computing module and submits them to the cloud computing platform, so that the cloud computing platform can generate corresponding device control strategies based on the preliminary analysis data and current device data to realize centralized management and intelligent scheduling of multiple devices, and achieve better device control effects.
[0072] In one embodiment of the present invention, a smart contract is deployed in the smart networking platform, and the method further includes:
[0073] Acquire real-time device data of the device according to the smart contract;
[0074] Determine the real-time operating status of the device according to the real-time device data;
[0075] When it is determined according to the real-time operating status that the device is abnormal, an alarm message is sent to a designated object.
[0076] In an embodiment of the present invention, air conditioning equipment and other equipment are registered in a blockchain platform (intelligent networking platform or cloud computing platform), and the data of the equipment is encrypted and distributedly stored through blockchain technology, while ensuring the immutability and privacy security of the data. Smart contracts are deployed on the intelligent networking platform, and smart contracts can realize functions such as automated data recording, equipment control, and abnormal alarms, thereby improving the automation and reliability of the equipment control system. In addition, the embodiment of the present invention can utilize the distributed consensus mechanism of the blockchain to ensure data consistency and high availability of the system among multiple nodes (such as equipment, edge computing modules, and cloud computing platforms), and avoid single point failures.
[0077] Specifically, the cloud computing platform can obtain the real-time device data of the device based on the smart contract, so as to determine and monitor the real-time operating status of the device according to the real-time device data. When the device is determined to be abnormal according to the real-time operating status, the alarm mechanism is automatically triggered, and the alarm information is sent to the user and other designated objects, and the abnormal data is recorded to ensure the safety of the device.
[0078] The following contents can also be implemented in the embodiments of the present invention: Data segmentation and reorganization: The data is divided into multiple parts and stored on different nodes (devices, edge computing modules and cloud computing platforms), and then reorganized through blockchain technology to ensure the integrity and security of the data. Zero-knowledge proof: Using zero-knowledge proof technology, users can prove the correctness and integrity of the data without leaking the actual data. For example, a user can prove that he has control authority over a device without revealing specific control instructions. Secure transmission protocol: Use a secure transmission protocol (such as TLS / SSL (Transport Layer Security / Secure Sockets Layer)) 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] Acquiring operation feedback data for controlling the operation of the device according to the device control strategy;
[0081] The device control strategy is adjusted according to the operation feedback data, and the adjusted device control strategy is sent to the edge computing module, so that the edge computing module controls the operation of the device according to the updated device control strategy and the real-time device data after obtaining the real-time device data of the device.
[0082] In an embodiment of the present invention, the operating status and environmental parameters of the equipment can be monitored in real time to ensure the execution effect of the control instructions generated based on the equipment control strategy. The execution effect and abnormal data can be used as the equipment's operation feedback data and submitted to the cloud computing platform. The cloud computing platform can continuously optimize the equipment control strategy based on the real-time operation feedback data, and send the updated equipment control strategy to the edge computing module to further optimize the equipment control effect.
[0083] Reference Figure 3 , shows a flowchart of another device control method provided in an embodiment of the present invention, which is applied to an intelligent networking platform, wherein the intelligent networking 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 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 of the device to obtain a device control strategy;
[0087] Step 304: receiving the device control strategy 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 device according to the device control strategy and the real-time device data.
[0090] In an embodiment of the present invention, the device may at least include air conditioning equipment, and the device data (including real-time device data and current device data) may at least include data such as temperature, humidity and energy consumption of the device.
[0091] In an embodiment of the present invention, the edge computing module can obtain the current device data of the device, such as temperature, humidity, energy consumption and other device data, and perform preprocessing, filtering, data compression and preliminary analysis on the current device data to obtain preliminary analysis data, thereby reducing the amount of data transmission and the computing dependence on the cloud computing platform, and reducing network load and delay. Then, the preliminary analysis data and the current device data can be sent to the cloud computing platform, so that the cloud computing platform can analyze the preliminary analysis data and the current device data to obtain the device control strategy and return it to the edge computing module. The edge computing module can further collect the real-time device data of the device, so that the device operation can be controlled according to the device control strategy and the real-time device data.
[0092] The embodiment of the present invention obtains preliminary analysis data and current device data of multiple devices based on the edge computing module and submits them to the cloud computing platform, so that the cloud computing platform can generate corresponding device control strategies based on the preliminary analysis data and current device data to realize centralized management and intelligent scheduling of multiple devices, thereby achieving better device control effects.
[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] Acquire user equipment data of a user equipment connected to the device;
[0095] The device operation is controlled according to the user device data, the device control policy and the real-time device data.
[0096] The user equipment data at least includes the number of user equipment connected to the device at a certain location (eg, in a certain commercial building), the user equipment model, the user equipment signal strength, the user equipment status and the user equipment distribution.
[0097] Specifically, the number of user devices may be the number of user devices accessing the device, such as the number of mobile phones, tablets, smart watches, and other user devices connected to the air-conditioning device. The user device model may be the user device model of the access device, such as the iPhone, Android, and the like connected to the air-conditioning device. The user device signal strength refers to the signal strength of the user device of the access device, such as the signal strength of the access air-conditioning device can be divided into multiple strengths such as strong, medium, and weak. The user device status is the status of the user device of the access device, such as active, standby, sleeping, and the like. The user device distribution is the distribution of the user devices of the access device at a certain location, such as the overall distribution of user devices of the air-conditioning equipment of the building.
[0098] In an embodiment of the present invention, user device data of a user device accessing the device can be obtained, and the operation of the device can be controlled according to the user device data, the device control strategy, and the real-time device data. For example, according to the user device status and the user device distribution in the user device data, the cloud computing platform determines that the user is mainly active in the food area of the building, and the operation mode of the air conditioner can be adjusted to "food area priority" and the temperature can be set to 24°C to provide a more comfortable experience. According to the real-time device data (temperature, humidity, energy consumption), the cloud computing platform determines that the current temperature of the food area is high and needs to be cooled, and the operation mode of the air conditioner can be adjusted to "cooling mode" and the temperature can be set to 24°C.
[0099] For another example, the user device can access the air-conditioning equipment or the air-conditioning system wirelessly or by wire, and detect the signal strength of the user device accessing the air-conditioning equipment. The signal strength can reflect the distance or connection quality between the user device and the air-conditioning equipment. Therefore, the cloud computing platform can obtain the user device signal strength in the user device data. If the signal strength is determined to be strong, it can be considered that the user device is well connected to the air-conditioning equipment, and more refined control can be performed, such as temperature adjustment, wind speed control, etc. On the contrary, if it is determined that the signal strength is weak, it can be considered that the connection between the user device and the air-conditioning equipment is unstable, then the currently set air-conditioning equipment control strategy can be maintained, the current operating status 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] Acquire user setting data for setting the device submitted by a user device connected to the device;
[0102] The device operation is controlled according to the user setting data, the device control policy and the real-time device data.
[0103] The user setting data may at least include the operation mode of the device set by the user. For example, the user may submit user setting data for the device through the user device according to the needs, and then adjust the operation mode of the device according to the user setting data. For example, the operation mode of the device may be set to cooling mode, heating mode, dehumidification mode, ventilation mode, etc. according to the user setting data. For another example, the temperature of the device may be set to 24 degrees, 26 degrees, etc. according to the user setting data.
[0104] In a specific embodiment, the user sets the data including setting the operation mode of the device to cooling mode, the temperature to 24°C, the wind speed to medium speed, the timing to turn on at 18:00 and turn off at 22:00 every day, and the energy-saving mode to energy-saving mode; the device control strategy includes setting the operation mode to cooling mode, the temperature to 24°C, and the energy consumption optimization to energy-saving mode; the real-time device data shows that the indoor temperature is 25°C, the humidity is 60%, and the energy consumption is 500W. When controlling the device, the cloud computing platform sends corresponding control instructions to the device according to the generated device control strategy and real-time device data. For example, assuming that the device is an air conditioner, after receiving the instruction, the device automatically adjusts the operation mode to "cooling mode", sets the temperature to 24°C, and the wind speed to medium speed. At the same time, according to the real-time energy consumption data, the operating power of the device is adjusted so that the energy consumption of the device is within a reasonable range. In addition, the device automatically turns on at 18:00 and shuts down at 22:00 every day according to the user's timing settings. The embodiment of the present invention generates a device control strategy that meets the user's preferences based on the user setting data, and dynamically adjusts it in combination with the real-time device data of the device submitted by the edge computing module, so as to achieve more intelligent, efficient and user-friendly device control and improve the user experience.
[0105] In one embodiment of the present invention, the environment in which the device is located includes an associated device, and the associated device is a device connected to the device or a device that allows the edge computing module to control. Controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0106] Acquire associated device data of the associated device;
[0107] The operation of the device and the associated devices is controlled according to the associated device data, the device control strategy and the real-time device data.
[0108] Among them, the environment in which the device is located includes associated devices, for example, devices such as lighting equipment, curtains, humidifiers, etc. that are in the same building as the device. The associated device data of the associated devices may include the real-time status and device data of the devices, for example, 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 an embodiment of the present invention, the associated device data of the associated device can be obtained, and the operation of the device and the associated device can be controlled according to the associated device data, the device control strategy and the 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, and thus generates a control strategy for closing the smart curtains, adjusting the smart lights to a soft mode, and switching the air purifier to a high-efficiency mode. Then, according to the device control strategy (such as operating mode, temperature setting) and the real-time device data of the device (temperature, humidity, energy consumption), the cloud computing platform generates a device control strategy for the device, adjusts the operating mode of the device to "cooling mode", and sets the temperature to 24°C.
[0110] In an embodiment of the present invention, in addition to controlling the device according to the device data and device control policy of the device, multiple data are also comprehensively considered, such as user device data, associated device data, user setting data, etc. By combining multiple data, a more accurate device control policy can be generated, and then the device operation is controlled according to the device control policy and real-time device data, thereby achieving a smarter and more accurate device control effect.
[0111] Furthermore, the intelligent networking platform of the embodiment of the present invention also provides some other device control methods, specifically: Multi-level temperature control: In addition to being able to set the cooling mode and heating mode, the device can also add multi-level temperature control. For example, according to 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, and when the temperature difference is small, a slow adjustment is adopted. Regional temperature control: For large commercial air-conditioning systems (equipment control systems), regional temperature control can be achieved. By installing temperature sensors in different areas, the temperature of each area is adjusted separately to achieve a more accurate temperature control effect. Predictive control: Use machine learning algorithms to predict the trend of indoor temperature changes, adjust the air-conditioning operation status in advance, and avoid excessive temperature fluctuations. For example, based on historical data, predict the temperature changes in the future period of time, and start the cooling or heating mode in advance. Scenario mode: Automatically adjust the operating parameters of the air-conditioning equipment according to the scenario mode set by the user. For example, you can set "conference mode", "rest mode", etc., and automatically adjust the temperature, humidity, wind speed, etc. according to different scenario requirements. Linkage control: Link with other smart devices (such as lights and curtains) to achieve comprehensive environmental control. For example, when it detects that the indoor light is weak, the light brightness is automatically adjusted; when it detects that there is a lot of dust in the room, the air purification function is automatically activated. Voice control: With integrated voice recognition technology, users can control air conditioners and other equipment through voice commands, improving the convenience of equipment control.
[0112] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0113] The embodiment of the present invention further 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 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 smart networking platform, and the cloud computing platform;
[0118] Acquire real-time device data of the device according to the smart contract;
[0119] Determine the real-time operating status of the device according to the real-time device data;
[0120] When it is determined according to the real-time operating status that the device is abnormal, an alarm message is sent to a designated object.
[0121] In one embodiment of the present invention, the cloud computing platform;
[0122] Acquiring operation feedback data for controlling the operation of the device according to the device control strategy;
[0123] The device control strategy is adjusted according to the operation feedback data, and the adjusted device control strategy is sent to the edge computing module, so that the edge computing module controls the operation of the device according to the updated device control strategy and the real-time device data after obtaining the real-time device data of the device.
[0124] In one embodiment of the present invention, the edge computing module stores data in a local blockchain, and blockchain technology is used to encrypt and transmit data between the device, the edge computing module and the cloud computing platform.
[0125] In one embodiment of the present invention, the device at least includes an air conditioning device.
[0126] In one embodiment of the present invention, the edge computing module:
[0127] Acquire user equipment data of a user equipment connected to the device;
[0128] The device operation is controlled according to the user device data, the device control policy and the real-time device data.
[0129] In one embodiment of the present invention, the edge computing module:
[0130] Acquire user setting data for setting the device submitted by a user device connected to the device;
[0131] The device operation is controlled according to the user setting data, the device control policy and the real-time device data.
[0132] In one embodiment of the present invention, the environment in which the device is located includes an associated device, and the associated device is a device connected to the device or a device that allows the edge computing module to control. Controlling the operation of the device according to the device control strategy and the real-time device data includes:
[0133] Acquire associated device data of the associated device;
[0134] The operation of the device and the associated devices is controlled according to 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 user device distribution; the user setting data includes at least the operating mode of the device set by the user.
[0136] In an embodiment of the present invention, the cloud computing platform obtains the preliminary analysis data of the device and the current device data of the device by the edge computing module, wherein the preliminary analysis data is obtained by the edge computing module based on the analysis of the current device data of the collected device, and then the preliminary analysis data and the device data of the device are analyzed to obtain the device control strategy for the device and sent to the edge computing module, so that the edge computing module can adaptively control the operation of the device according to the device control strategy and the real-time device data after obtaining the real-time device data of the device. The embodiment of the present invention obtains the preliminary analysis data and current device data of multiple devices based on the edge computing module and submits them to the cloud computing platform, so that the cloud computing platform can generate corresponding device control strategies based on the preliminary analysis data and current device data to realize centralized management and intelligent scheduling of multiple devices, and achieve better device control effects.
[0137] As for the platform embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0138] In addition, an embodiment of the present invention further 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, the various processes of the above-mentioned device control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0139] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned device control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0140] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned device control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated 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: 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 appreciate that Figure 4 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.
[0143] It should be understood that in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 410 for processing; in addition, uplink data is sent to the base station. Generally, 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. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
[0144] The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0145] The audio output unit 403 can convert the audio data received by the RF unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 can also provide audio output related to a specific function performed by the electronic device 400 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, etc.
[0146] The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processor (GPU) 4041 and a microphone 4042, and the graphics processor 4041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 can be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a 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, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and / or the backlight when the electronic device 400 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 405 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated 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] The user input unit 407 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 4071 or near the touch panel 4071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 410, receives the command sent by the processor 410 and executes it. In addition, the touch panel 4071 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.
[0150] Furthermore, the touch panel 4071 may be overlaid on the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it is transmitted to the processor 410 to determine the type of the touch event. Then, the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Figure 4 In the figure, 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, which is not limited here.
[0151] The interface unit 408 is an interface for connecting an external device to the electronic device 400. For example, the external device may include a wired or wireless headset 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, etc. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 400 or may be used to transmit data between the electronic device 400 and an external device.
[0152] The memory 409 can be used to store software programs and various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 409 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0153] The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 409, and calling data stored in the memory 409, so as to monitor the electronic device as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned 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 each component. Preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management 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 article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0157] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0158] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.
[0159] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0161] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0162] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0163] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0164] If the functions are implemented in the form of 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 the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0165] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A device control method, characterized in that: Applied to an intelligent networking platform, the intelligent networking platform includes at least a device, an edge computing module and a cloud computing platform, and the method includes: Obtaining preliminary analysis data of the device and current device data of the device by the edge computing module; wherein the preliminary analysis data is obtained by the edge computing module based on the analysis of the collected current device data of the device; Analyzing the preliminary analysis data and the equipment data of the equipment to obtain an equipment control strategy; The device control strategy is sent to the edge computing module, so that the edge computing module controls 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.
2. The method according to claim 1, characterized in that A smart contract is deployed in the smart networking platform, and the method further comprises: Acquire real-time device data of the device according to the smart contract; Determine the real-time operating status of the device according to the real-time device data; When it is determined according to the real-time operating status that the device is abnormal, an alarm message is sent to a designated object.
3. The method according to claim 2, characterized in that The method further comprises: Acquiring operation feedback data for controlling the operation of the device according to the device control strategy; The device control strategy is adjusted according to the operation feedback data, and the adjusted device control strategy is sent to the edge computing module, so that the edge computing module controls the operation of the device according to the updated device control strategy and the real-time device data after obtaining the real-time device data of the device.
4. The method according to any one of claims 1 to 3, characterized in that: The edge computing module stores the 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 at least includes air conditioning equipment.
6. A device control method, characterized in that: Applied to an intelligent networking platform, the intelligent networking platform includes at least a device, an edge computing module and a cloud computing platform, and the method includes: Collecting current device data of the device; Analyzing the current device data to obtain preliminary analysis data; 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 of the device to obtain a device control strategy; Receiving a device control strategy sent by the cloud computing platform; Collecting real-time device data of the device; The operation of the device is controlled according to the device control strategy and the real-time device data.
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: Acquire user equipment data of a user equipment connected to the device; The device operation is controlled according to the user device data, the device control policy 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: Acquire user setting data for setting the device submitted by a user device connected to the device; The device operation is controlled according to the user setting data, the device control policy and the real-time device data.
9. The method according to claim 8, characterized in that The environment in which the device is located includes associated devices, where the associated devices are devices connected to the device or devices that allow the edge computing module to control, and the device operation is controlled according to the device control strategy and the real-time device data, including: Acquire associated device data of the associated device; The operation of the device and the associated devices is controlled according to 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 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 user device distribution; the user setting data includes at least the operating mode of the device set by the user.
11. An intelligent networking platform, characterized in that: The intelligent networking platform includes at least a device, an edge computing module 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 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; 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.
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; The processor is used to implement the method according to any one of claims 1 to 10 when executing the program stored in the memory.
13. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 10.
Citation Information
Patent Citations
Traffic signal control method, edge computing device, storage medium and product
CN114639253A
Internet of things edge management system, method and equipment
CN117914640A
Smart home control system and method based on Internet of Things
CN118519350A
Data processing method for intelligent gateway protocol
CN118740953A
Cloud resource management method and apparatus, and computer device and storage medium
WO2022068754A1