A control method and device based on Hongmeng system
By introducing a direct digital controller based on the Hongmeng system into the environmental control system, it receives and processes environmental sensor data in real time, generates and sends control messages, and solves the problems of low environmental control efficiency and difficulty in adjustment in the existing technology, and achieves More efficient and accurate environmental management.
Patent Information
- Application Number
- CN202410722593.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-06-05
AI Technical Summary
The current environmental control method is inefficient and difficult to adjust in time under abnormal conditions, resulting in poor control effects.
The control method based on the Hongmeng system is adopted to receive the detection packet of the environmental sensor through the direct digital controller to generate the control packet and send it to the actuator to achieve real -time detection and adjustment of the environmental situation.
It improves the efficiency and accuracy of environmental control, ensures timely adjustment under abnormal circumstances, and improves the control effect of environmental conditions.
Smart Images

Figure CN118631864B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to communication technology, and in particular to a control method and device based on the Hongmeng system. Background Art
[0002] The current method of controlling the air and soil inside or outside a building is usually to use independent devices to control and manage them, such as central air conditioning, irrigation equipment, fresh air system, etc. Therefore, operators often use the remote controllers of each device to operate each device separately according to their own feelings or common sense to control the environmental conditions.
[0003] However, this method of controlling environmental conditions is not only inefficient, but once the environmental conditions become abnormal, the corresponding equipment is often difficult to adjust in time, resulting in poor environmental control effects. Summary of the invention
[0004] The present application provides a control method and device based on the Hongmeng system to solve the problem that the current control method of environmental conditions is not only inefficient, but also once the environmental conditions become abnormal, the corresponding equipment is often difficult to adjust them in time, resulting in poor control of the environmental conditions.
[0005] In a first aspect, the present application provides a control method based on the Hongmeng system, including:
[0006] The direct digital controller receives a detection message from a first device; wherein the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area;
[0007] The direct digital controller generates a control message according to the detection message; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device;
[0008] The direct digital controller sends the control message to a second device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions;
[0009] The direct digital controller receives a result message from the second device; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device;
[0010] The direct digital controller sends the result message to a third device; wherein the third device is a terminal installed with the Hongmeng system;
[0011] The direct digital controller receives a determination message from the third device, and displays the result message according to the determination message; or
[0012] The direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device.
[0013] In a possible implementation manner, the direct digital controller generates a control message according to the detection message, including:
[0014] The direct digital controller sequentially extracts each detection parameter in the detection message and a detection rule corresponding to each detection parameter; wherein the detection parameter is used to characterize a dimension in the environmental condition; and the detection rule is used to define whether the detection parameter is in a normal state;
[0015] If the direct digital controller determines that the first detection parameter does not comply with the first detection rule, the first detection parameter is determined to be a parameter to be operated, and generates an indication to be operated; wherein the first detection parameter is one of at least one detection parameter in the detection message; the first detection rule is a detection rule corresponding to the first detection parameter; the indication to be operated is used to instruct the second device to adjust the environmental condition corresponding to the parameter to be operated to comply with the first detection rule;
[0016] The direct digital controller determines a path to be operated of the parameter to be operated; wherein the path to be operated is a position parameter of a second device for adjusting the parameter to be operated;
[0017] The direct digital controller collects each of the parameters to be operated, as well as the indication to be operated and the path to be operated of each of the parameters to be operated, to obtain the control message.
[0018] In a second aspect, the present application provides a control method based on the Hongmeng system, including:
[0019] The first device detects the environmental conditions of the target area to obtain a detection message, and sends the detection message to the direct digital controller; wherein the detection message is used to characterize the environmental conditions of the target area; the detection message is also used to instruct the direct digital controller to generate a control message according to the detection message, the direct digital controller sends the control message to the second device, the direct digital controller receives a result message from the second device, the direct digital controller sends the result message to the third device, the direct digital controller receives a determination message from the third device, and displays the result message according to the determination message, or the direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device. equipment; the direct digital controller receives a feedback message from the second device, and sends the feedback message to the third device; wherein the control message is a message for adjusting the environmental condition of the target area based on the detection of the first device; the second device is an actuator installed with the Hongmeng system and used to adjust the environmental condition; the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; the third device is a terminal installed with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the instruction of the third device.
[0020] In a third aspect, the present application provides a control method based on the Hongmeng system, including:
[0021] The second device receives a control message from a direct digital controller; wherein the control message is a message for adjusting the environmental conditions of a target area based on the detection of the first device; the control message is a detection message received by the direct digital controller from the first device, and the direct digital controller is generated according to the detection message; wherein the first device is a sensor equipped with a Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area;
[0022] The second device adjusts the execution item in the second device according to the control message to obtain a result message; wherein the execution item is a dimension used in the second device to adjust the environmental condition of the target area; and the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device;
[0023] The second device sends the result message to the direct digital controller; wherein the result message is also used to instruct the direct digital controller to send the control message to the second device; the direct digital controller receives the result message from the second device; the direct digital controller sends the result message to a third device; the direct digital controller receives a confirmation message from the third device and displays the result message according to the confirmation message; or the direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the second device is an actuator equipped with the Hongmeng system and used to adjust the environmental conditions; the third device is a terminal equipped with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
[0024] In a fourth aspect, the present application provides a control method based on the Hongmeng system, including:
[0025] The third device receives a result message sent from the direct digital controller and displays the result message; wherein the result message is used to characterize the parameters adopted by the second device when adjusting the environmental conditions based on the detection of the first device; the result message is a detection message received by the direct digital controller from the first device, the direct digital controller generates a control message according to the detection message, the direct digital controller sends the control message to the second device, and the direct digital controller receives the result message from the second device; the first device is a sensor equipped with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; the second device is an actuator equipped with the Hongmeng system and used to adjust the environmental conditions;
[0026] The third device receives the indication signal, and generates a determination message or an adjustment instruction according to the indication signal; wherein the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the determination message is used to instruct the direct digital controller to display the result message according to the determination message; the adjustment instruction is used to instruct the direct digital controller to receive the adjustment instruction from the third device, and send the adjustment instruction to the second device, and the direct digital controller receives a feedback message from the second device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device;
[0027] The third device sends the determination message or the adjustment instruction to the direct digital controller;
[0028] The third device receives a feedback message from the direct digital controller.
[0029] In a fifth aspect, the present application provides a direct digital controller based on the Hongmeng system, including: a direct receiver, a direct processor and a direct transmitter;
[0030] The direct receiver is used to receive a detection message from a first device; wherein the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area;
[0031] The direct processor is used to generate a control message according to the detection message; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device;
[0032] The direct sender is used to send the control message to a second device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions;
[0033] The direct receiver is further used to receive a result message from the second device; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device;
[0034] The direct sender is further used to send the result message to a third device; wherein the third device is a terminal installed with the Hongmeng system;
[0035] The direct receiver is further used to receive a confirmation message from the third device, and the direct transmitter is further used to display the result message according to the confirmation message; or
[0036] The direct receiver is also used to receive adjustment instructions from the third device, and the direct transmitter is also used to send the adjustment instructions to the second device; the direct digital controller receives a feedback message from the second device, and sends the feedback message to the third device; wherein the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
[0037] In a possible implementation, the direct digital controller further includes: at least one receiving terminal, at least one output terminal, a housing, and a display screen;
[0038] At least one of the receiving terminals is fixed on the housing;
[0039] At least one of the output terminals is fixed on the housing;
[0040] The display screen is fixed on the housing, and the display screen is used to display the result message;
[0041] The direct receiver is respectively connected to at least one of the receiving terminals;
[0042] The direct transmitter is respectively connected to at least one of the output terminals;
[0043] The direct receiver, the direct transmitter and the direct processor are fixed in the housing.
[0044] In a sixth aspect, the present application provides a first device based on the Hongmeng system, including: a first receiver and a first transmitter;
[0045] The first receiver is used to detect the environmental conditions of the target area to obtain a detection message;
[0046] The first transmitter is used to send the detection message to a direct digital controller;
[0047] The detection message is used to characterize the environmental conditions of the target area; the detection message is also used to instruct the direct digital controller to generate a control message according to the detection message, the direct digital controller sends the control message to the second device, the direct digital controller receives a result message from the second device, the direct digital controller sends the result message to the third device, the direct digital controller receives a determination message from the third device, and displays the result message according to the determination message, or the direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller receives an adjustment instruction from the second device The control message is a message for adjusting the environmental condition of the target area based on the detection of the first device; the second device is an actuator installed with the Hongmeng system and used to adjust the environmental condition; the result message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the detection of the first device; the third device is a terminal installed with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device.
[0048] In a seventh aspect, the present application provides a second device based on the Hongmeng system, including: a second receiver, a second processor, and a second transmitter;
[0049] The second receiver is used to receive a control message from a direct digital controller; wherein the control message is a message for adjusting the environmental conditions of a target area based on the detection of a first device; the control message is a detection message received by the direct digital controller from the first device, and the direct digital controller is generated according to the detection message; wherein the first device is a sensor equipped with a Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area;
[0050] The second processor is used to adjust the execution item in the second device according to the control message to obtain a result message; wherein the execution item is a dimension used in the second device to adjust the environmental condition of the target area; the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device;
[0051] The second transmitter is used to send the result message to the direct digital controller; wherein the result message is also used to instruct the direct digital controller to send the control message to the second device; the direct digital controller receives the result message from the second device; the direct digital controller sends the result message to a third device; the direct digital controller receives a confirmation message from the third device and displays the result message according to the confirmation message; or the direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions; the third device is a terminal installed with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
[0052] In an eighth aspect, the present application provides a third device based on the Hongmeng system, including: a third receiver, a third processor, and a third transmitter;
[0053] The third receiver is used to receive a result message sent from a direct digital controller and display the result message; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the detection of the first device; the result message is a detection message received by the direct digital controller from the first device, the direct digital controller generates a control message according to the detection message, the direct digital controller sends the control message to the second device, and the direct digital controller receives a result message from the second device; the first device is a sensor equipped with a Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; the second device is an actuator equipped with a Hongmeng system and used to adjust the environmental conditions;
[0054] The third processor is used to receive an indication signal, and generate a determination message or an adjustment instruction according to the indication signal; wherein the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the determination message is used to instruct the direct digital controller to display the result message according to the determination message; the adjustment instruction is used to instruct the direct digital controller to receive the adjustment instruction from the third device, and send the adjustment instruction to the second device, and the direct digital controller receives a feedback message from the second device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device;
[0055] The third transmitter is used to send the determination message or the adjustment instruction to the direct digital controller;
[0056] The third receiver is further configured to receive a feedback message from the direct digital controller.
[0057] In a ninth aspect, the present application provides a computer program product, including a program code, which is used to execute the implementation method of the above first aspect when a computer runs the program code.
[0058] In a tenth aspect, the present application provides a computer-readable storage medium comprising the program of the ninth aspect.
[0059] In the eleventh aspect, a communication system is provided, which includes: a direct digital controller in the implementation method of the above-mentioned first aspect; the system also includes: a first device in the implementation method of the above-mentioned second aspect; the system also includes: a second device in the implementation method of the above-mentioned third aspect; the system also includes: a third device in the implementation method of the above-mentioned fourth aspect.
[0060] The present application provides a control method and device based on the Hongmeng system. By installing the Hongmeng system in a direct digital controller, a first device, a second device, and a third device, the feature of one-time development and multi-terminal deployment is realized. The logic code is written once and then deployed on the direct digital controller, the first device, the second device, and the third device, so that the direct digital controller, the first device, the second device, and the third device can perform intelligent interconnection, hardware mutual assistance, resource sharing, and other operations based on a logic code, thereby enabling the direct digital controller, the first device, the second device, and the third device to collaborate seamlessly.
[0061] By receiving the detection message of the first device through the direct digital controller, the beneficial effect of accurately detecting the environmental conditions of the target area in real time is achieved; by sending the control message to the second device through the direct digital controller, the technical effect of being able to call the second device for management and control in time is achieved, and the beneficial effect of improving the control efficiency and ensuring the management and control effect of the environmental conditions is achieved; by sending the confirmation message or adjustment instruction to the direct digital controller through the third device, the technical effect of the operator controlling the environmental conditions according to the needs is achieved, and then the beneficial effect of improving the conformity between the environmental conditions and the operator's intentions is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] Figure 1 A signaling diagram of a control method based on the Hongmeng system provided in an embodiment of the present application;
[0063] Figure 2 A schematic block diagram of the structure of a direct digital controller provided in an embodiment of the present application;
[0064] Figure 3 A schematic diagram of the structure of a direct digital controller provided in an embodiment of the present application;
[0065] Figure 4 A schematic diagram of the structure of a first device provided in an embodiment of the present application;
[0066] Figure 5 A schematic block diagram of the structure of a second device provided in an embodiment of the present application;
[0067] Figure 6 A schematic block diagram of the structure of a third device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The embodiment of the present application is applied to the Hongmeng system. The Hongmeng system (HarmonyOS) is to achieve extremely fast discovery, extremely fast connection, hardware mutual assistance, resource sharing of various smart terminals that consumers come into contact with in all-scenario life through intelligent interconnection, and provide scene experience with appropriate devices. The characteristics of the Hongmeng system include intelligent interconnection, hardware mutual assistance, resource sharing, etc. The system supports seamless collaboration between various devices, such as mobile phones, watches, TVs, speakers, etc., which can be interconnected through the Hongmeng system. In addition, the Hongmeng system also supports one-time development and multi-terminal deployment. Developers can write logic code once based on the distributed application framework and then deploy it on a variety of terminals. The following explains some of the terms in this application for the convenience of understanding by those skilled in the art. It should be noted that when the solution of the embodiment of the present application is applied to the Hongmeng system, or an existing system, or other systems that may appear in the future, the names of the direct digital controller, the first device, the second device, and the third device may change, but this does not affect the implementation of the solution of the embodiment of the present application.
[0069] Figure 1 A signaling diagram of a control method based on the Hongmeng system provided in an embodiment of the present application, such as Figure 1 As shown, the method includes:
[0070] S101: The first device detects the environmental condition of the target area to obtain a detection message, and sends the detection message to the direct digital controller; wherein the detection message is used to characterize the environmental condition of the target area; the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental condition of the target area.
[0071] In this example, the detection message records the numerical information of the first device on the environmental conditions of the target area, such as the temperature, humidity, and illuminance inside the building in the target area, and the temperature and humidity of the soil outside the building in the target area.
[0072] The detection message is sent to the direct digital controller so that the direct digital controller sends the detection message to the second device.
[0073] Specifically, the target area includes the land inside and outside the building, and the environmental conditions include: the temperature inside the building, the humidity inside the building, the wind speed inside the building, the light intensity inside the building, the weather temperature and humidity outside the building, the humidity of the soil outside the building, and the temperature of the soil outside the building.
[0074] The first device is a sensor for detecting environmental conditions.
[0075] The first device includes: a temperature sensor for detecting the temperature inside a building, such as a platinum thermal resistor, a thermistor, or a semiconductor temperature sensor. These sensors can convert temperature into an electrical signal, thereby making accurate measurements.
[0076] Humidity sensors used to detect humidity in buildings. Humidity sensors are used to measure the moisture content in the air. Common types include capacitive humidity sensors and resistive humidity sensors. These sensors can sense changes in water vapor in the air and convert them into electrical signals.
[0077] Wind speed sensors used for wind speed in buildings, including mechanical wind speed sensors and ultrasonic wind speed sensors, are used to measure the speed of air flow. They can capture the signals generated by air flow and convert them into readable wind speed values.
[0078] Light sensors for light intensity in buildings, light sensors, also called illuminance sensors, are used to detect light intensity. Their working principle is to convert light intensity values into voltage values, thereby achieving accurate measurement of light intensity.
[0079] The weather sensor for measuring the weather temperature and humidity outside the building includes a weather temperature sensor and a weather humidity sensor. The weather temperature sensor and the weather humidity sensor have the characteristics of being waterproof, dustproof, and resistant to high and low temperatures.
[0080] Soil moisture sensor for measuring the moisture of soil outside a building. Soil moisture sensor is used to measure the moisture content in the soil. Common soil moisture sensors include capacitive soil moisture sensors and resistive soil moisture sensors, which can sense the moisture changes in the soil and convert them into electrical signals.
[0081] Soil temperature sensors are used to measure the temperature of the soil outside the building. These sensors are usually buried in the soil and can sense changes in soil temperature and convert them into readable temperature values.
[0082] Optionally, the first device detects the environmental condition of the target area to obtain a detection message, and sends the detection message to the direct digital controller, including:
[0083] The first device detects the environmental conditions of the target area according to a preset detection period and generates a detection message; or
[0084] The first device detects the environmental conditions of the target area according to a preset detection rule and generates a Susou detection message; or
[0085] The first device detects the environmental conditions of the target area according to the detection instruction and generates a detection message;
[0086] The detection period is preset in the first device and is used to indicate a time period for the first device to perform periodic detection;
[0087] The detection rule is a predetermined condition preset in the first device and used to instruct the first device to perform detection;
[0088] The detection instruction is a detection operation instruction received by the first device from the first control terminal, and the first control terminal is a terminal device connected to the first device.
[0089] In this example, by setting a detection cycle, the first device periodically detects the environmental conditions of the target area, thereby avoiding increased machine wear and tear due to frequent detection by the first device.
[0090] By setting detection rules, the first device detects the environmental conditions of the target area when the predetermined conditions are met, ensuring the detection correlation between multiple first devices, providing a basis for multiple first devices to provide valuable and relevant detection messages, and avoiding the increase of machine loss caused by disordered detection of the first device and the decrease of correlation with other detection parameters.
[0091] By making the first device detect the environmental conditions of the target area according to the detection instruction, the operator can detect the environmental conditions of the target area according to the on-site requirements.
[0092] For example, assuming that the first device is an air temperature sensor and its detection period is 1 minute, then the air temperature sensor will detect the air temperature in the building once every minute;
[0093] Assuming that the first device is an air humidity sensor and its detection cycle is 5 minutes, the air humidity sensor will detect the air humidity in the building every five minutes.
[0094] Assume that the first device includes a weather sensor, a land humidity sensor, and a land temperature sensor; the detection cycle of the weather sensor is 10s, then the weather sensor will detect the temperature and humidity of the air outside the building every 10 seconds; the detection rule of the land humidity sensor is that when the air temperature is greater than 30°C and the air humidity is less than 50%, the soil outside the building is detected to obtain the soil humidity. The detection rule of the land temperature sensor is that when the soil humidity reaches below 40%, the soil outside the building is detected to obtain the soil temperature.
[0095] S102: The direct digital controller generates a control message according to the detection message; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device.
[0096] In this example, the direct digital controller receives the detection message from the first device to achieve the technical effect of collecting the environmental conditions of the target area; the direct digital controller generates a control message based on the detection message to analyze the detection message, and generates the environmental conditions that should be adjusted as a control message, so as to reduce the number of messages received by the second device and reduce the communication pressure between the direct digital controller and the second device; at the same time, the analysis work of the detection message is shared to the direct digital controller, which realizes the centralized management of the detection rules used for analysis and reduces the computing burden of the second device.
[0097] In a preferred embodiment, the direct digital controller generates a control message according to the detection message, including:
[0098] The direct digital controller sequentially extracts each detection parameter in the detection message and the detection rule corresponding to each detection parameter; wherein the detection parameter is used to characterize a dimension in the environmental condition; and the detection rule is used to define whether the detection parameter is in a normal state.
[0099] If the direct digital controller determines that the first detection parameter does not comply with the first detection rule, the first detection parameter is determined to be a parameter to be operated, and an indication to be operated is generated; wherein the first detection parameter is one of at least one detection parameter in the detection message; the first detection rule is a detection rule corresponding to the first detection parameter; and the indication to be operated is used to instruct the second device to adjust the environmental condition corresponding to the parameter to be operated to comply with the first detection rule;
[0100] The direct digital controller determines a path to be operated of the parameter to be operated; wherein the path to be operated is a position parameter of a second device for adjusting the parameter to be operated;
[0101] The direct digital controller collects each parameter to be operated, as well as the indication to be operated and the path to be operated of each parameter to be operated, to obtain a control message.
[0102] In this example, the direct digital controller sequentially extracts each detection parameter in the detection message and the detection rule corresponding to each detection parameter to ensure that each detection parameter can be verified by a targeted detection rule, thereby ensuring the professionalism and reliability of the detection parameter verification.
[0103] If the direct digital controller determines that the first detection parameter does not comply with the first detection rule, the first detection parameter is determined to be a parameter to be operated and an indication to be operated is generated; an indication to be operated is generated only for detection parameters that do not comply with the detection rule, so as to reduce the amount of subsequent data interaction between the direct digital controller and the second device, thereby ensuring efficient and fast information interaction.
[0104] At the same time, in this example, by obtaining the operation rules corresponding to the detection rules, an operation instruction is generated according to the operation rules and the parameters to be operated. The operation rules record at least one operation strategy for adjusting the parameters to be operated to comply with the detection rules. The operation strategy includes an operation premise and an indication parameter. The operation premise reflects the degree to which the parameters to be operated deviate from the detection rules. The indication parameter is the parameter used by the second device to adjust the environmental conditions corresponding to the parameters to be operated to comply with the detection rules. Thus, the technical effect of adopting operation parameters of different strengths for parameters to be operated at different degrees is achieved, ensuring the efficiency of restoring the environmental conditions to within the detection rule range.
[0105] The direct digital controller determines the path to be operated of the parameter to be operated, summarizes each parameter to be operated, and the indication to be operated and the path to be operated of each parameter to be operated, and obtains a control message to ensure that the indication to be operated and the path to be operated of each parameter to be operated can be sent to the correct second device.
[0106] Exemplarily, the detection parameter is air temperature: 15° C., and the detection rule is to keep the air temperature between 18° C. and 25° C., then the detection parameter is set as the parameter to be operated, and an indication to be operated is generated.
[0107] For example, if the operation premise is within 5℃ (including 5℃) below the lower limit of the detection rule, the corresponding indication parameter is 5℃ above the lower limit of the detection rule; if the operation premise is more than 5℃ below the lower limit of the detection rule, the corresponding indication parameter is 8℃ above the lower limit of the detection rule;
[0108] The operating premise is that the temperature is within 5°C (including 5°C) higher than the upper limit of the detection rules, and the corresponding indication parameter is 3°C lower than the upper limit of the detection rules; the operating premise is that the temperature is more than 5°C higher than the upper limit of the detection rules, and the corresponding indication parameter is 6°C lower than the upper limit of the detection rules.
[0109] Then, according to the above example, if the air temperature is 15°C, the corresponding operation premise is that it is within 5°C below the detection lower limit. Therefore, the corresponding indication parameter is 23°C, which is used to instruct the second device to adjust the temperature to 23°C.
[0110] If the air temperature continues to drop to 10°C, the corresponding operating premise is that it is more than 5°C below the detection lower limit. Therefore, the corresponding indication parameter is 26°C, and the device is used to instruct the second device to adjust the temperature to 26°C.
[0111] S103: The direct digital controller sends the control message to the second device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions;
[0112] In this example, a control message is sent to the second device by a direct digital controller, and the direct digital controller receives a result message from the second device, thereby instructing the second device to adjust the environmental conditions of the target area and obtaining the beneficial effect of the result of the adjustment operation of the second device on the environmental conditions.
[0113] Optionally, the direct digital controller sends the control message to the second device, including:
[0114] The direct digital controller sends each parameter to be operated and its indication to be operated to the second device corresponding to each path to be operated according to the path to be operated of each parameter to be operated in the control message.
[0115] In this example, the path function is used to define the path to be operated, and the path to be operated enables the direct digital controller to accurately and quickly find the location of the second device and send the parameters to be operated and the indication to be operated to the second device.
[0116] S104: The second device adjusts the execution item in the second device according to the control message to obtain a result message; wherein the execution item is a dimension in the second device used to adjust the environmental conditions of the target area; the result message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the detection of the first device.
[0117] In this example, the second device receives a direct digital controller and determines an execution item according to a control message, and adjusts the execution item to obtain a result message, so as to specifically identify and operate the category items that need to be adjusted, thereby ensuring the accuracy of the operation of the second device.
[0118] By sending the result message to the direct digital controller, it is ensured that the direct digital controller can timely learn the operation status of the second device, thereby ensuring the reliability of device control.
[0119] Specifically, the second device is an actuator for adjusting environmental conditions.
[0120] The second equipment includes: central air conditioning for controlling the temperature, humidity and wind speed in a building. Central air conditioning is an air conditioning system, which consists of one or more cold and heat source systems and multiple air conditioning systems. The system uses the principle of liquid vaporization refrigeration to provide the required cooling capacity for the air conditioning system to offset the heat load of the indoor environment; the heating system provides the required heat for the air conditioning system to offset the cold load of the indoor environment. Central air conditioning systems are usually used in large buildings, commercial places and residential areas to provide a more comfortable and uniform indoor environment.
[0121] A fresh air system is used to control the air flow speed in a building. It is an independent air treatment system consisting of an air supply system and an exhaust system. The system supplies fresh air to the room through special equipment and exhausts the indoor air from the other side to meet the needs of indoor fresh air ventilation. There are two types of fresh air systems: ducted fresh air systems and ductless fresh air systems. The former is more suitable for industrial or large-area office areas, while the latter is more suitable for home use. Fresh air systems can effectively improve indoor air quality and provide a healthy and comfortable living environment.
[0122] Automatic curtains are used to control the light intensity in buildings. Automatic curtains are curtains that can be automatically opened, closed or raised and lowered by a motor. Automatic curtains are divided into fully automatic curtains and semi-automatic curtains. The former can automatically adjust the opening and closing of the curtains by sensing environmental factors such as light and temperature, while the latter requires manual control through remote control devices or mobile phone applications. Automatic curtains not only provide convenient operation, but also can adjust indoor light and temperature as needed to improve living comfort.
[0123] Irrigation equipment used to control the humidity and temperature of soil outside buildings. Irrigation equipment is used to introduce water into crops, grasslands or plant areas to provide the right amount of moisture and nutrients. Irrigation systems usually include components such as water sources, pumps, pipes, sprinklers or drippers, and can be designed and installed according to different crop requirements and soil conditions. Irrigation equipment can effectively improve the yield and quality of crops and reduce the waste of water resources.
[0124] Optionally, the second device adjusts the execution item in the second device according to the control message to obtain a result message, including:
[0125] The second device sets the category item corresponding to each parameter to be operated as an execution item of the parameter to be operated; wherein the category item is a dimension preset in the second device for defining the environmental conditions of the target area;
[0126] The second device adjusts the parameters of the execution items of each parameter to be operated according to the to-be-operated indication of each parameter to be operated, to obtain at least one operated parameter;
[0127] The second device sets the to-be-operated path of each to-be-operated parameter in the control message as the operated path;
[0128] The second device summarizes each operated parameter and its operated path to obtain a result message.
[0129] In this example, the second device sets the category item corresponding to each parameter to be operated as the execution item of the parameter to be operated, so as to accurately find the category that needs to be adjusted in the second device. For example, the second device is a central air conditioner, and its category items include output temperature, output humidity, and output wind speed. If the parameter to be operated is the air temperature of 15°C, then the category item output temperature is used as the execution item.
[0130] The second device adjusts the parameters of the execution item of each parameter to be operated according to the indication to be operated of each parameter to be operated, and obtains at least one operated parameter, thereby ensuring targeted and accurate adjustment of each execution item. For example, based on the above example, if the execution item is the output temperature, and the indication to be operated is to adjust the output temperature to 23°C, then the central air conditioner will generate an operated parameter of an output temperature of 23°C and a current air temperature of 15°C.
[0131] By setting the to-be-operated path of each to-be-operated parameter in the control message as the operated path through the second device, and summarizing each operated parameter and its operated path to obtain a result message, it is ensured that the direct digital controller and the third device can determine which first device the operated parameter belongs to, thereby ensuring the reliability of control and management of the second device.
[0132] S105: The second device sends the result message to the direct digital controller.
[0133] S106: The direct digital controller sends the result message to a third device; wherein the third device is a terminal installed with the Hongmeng system.
[0134] In this example, the direct digital controller sends the result message to the third device, achieving the beneficial effect of displaying the current environmental conditions of the target area to the operator of the third device. The third device receives the result message sent by the direct digital controller and displays the result message, so that the operator of the third device can fully and accurately know the control of the environmental conditions of the target area by the second device based on the detection message of the first device, ensuring the operator's control over the environmental conditions.
[0135] Specifically, the third device includes: desktop computers, notebooks, smart phones, smart furniture devices, and smart wearable devices.
[0136] Smartphones use an open operating system and can load corresponding programs to implement corresponding functions, providing a broad stage for software operation and content services. Smart wearable devices: a device that combines smart hardware and mobile services.
[0137] Optionally, the direct digital controller sends the result message to a third device, including:
[0138] The direct digital controller extracts each operated parameter and its operated path in the result message; wherein the operated parameter includes the parameter to be operated and the parameter used when adjusting the environmental condition based on the detection of the first device; the operated path is the position parameter of the third device used to control and adjust the parameter to be operated;
[0139] The direct digital controller sequentially sends each manipulated parameter in the result message to a third device corresponding to the manipulated path of each manipulated parameter.
[0140] In this example, the path function is used to define the operated path, and the operated path enables the direct digital controller to accurately and quickly find the position of the third device and send the operated parameters to the third device.
[0141] Exemplarily, based on the above example, the air temperature is 15°C, and the second device adjusts the temperature to 23°C. At this time, the second device will generate an operated parameter of "air temperature 15°C, second device output temperature 23°C" and send the operated parameter to the direct digital controller.
[0142] S107: The third device receives the indication signal, and generates a determination message or an adjustment instruction according to the indication signal; wherein the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device.
[0143] In this example, the indication signal is received by the third device, and a message or adjustment instruction is generated according to the indication signal to ensure that the third device can determine the current operation of the second device or adjust the current operation of the second device as needed, thereby achieving the technical effect that the third device can operate the second device as needed.
[0144] Optionally, the third device receives the indication signal, and generates a determination message or an adjustment instruction according to the indication signal, including:
[0145] The third device receives the instruction signal sent by the third control terminal; wherein the third control terminal is an input and output device connected to the third device;
[0146] If the third device determines that the indication signal contains a confirmation item, it generates a confirmation message; wherein the confirmation item is information generated by the third control terminal clicking the confirmation button;
[0147] If the third device determines that the indication signal contains an adjustment item, the third device extracts the parameter information and the object information in the indication signal; wherein the adjustment item is that the third device sets the parameter information as the adjustment parameter and sets the object information as the adjustment path;
[0148] The third device generates an adjustment instruction according to the adjustment parameter and the adjustment path.
[0149] In this example, the third device receives the instruction signal sent by the third control terminal, so that the operator can send instructions to the third device through the third control terminal to control the technical effect of the second device.
[0150] The determination item and adjustment item are a segment of characters in the indication signal.
[0151] By directly collecting the determined items in the indication signal and generating a determination message, it is avoided to analyze all the contents in the indication signal, thereby improving the generation rate of the determination message.
[0152] By collecting the adjustment items in the indication signal and extracting the parameter information and object information in the indication signal, the technical effect of comprehensively transmitting the position of the second device that needs to be adjusted and the content that needs to be adjusted is achieved.
[0153] The third device generates an adjustment instruction according to the adjustment parameter and the adjustment path, so as to ensure that the adjustment instruction is brief and comprehensive, thereby reducing the communication pressure between the third device and the direct digital controller.
[0154] S108: The direct digital controller receives a determination message from the third device, and displays a result message according to the determination message.
[0155] In this example, a determination message from a third device is received by a direct digital controller, and a result message is displayed according to the determination message.
[0156] Optionally, the direct digital controller receives a determination message from a third device, and displays a result message according to the determination message, including:
[0157] When receiving the confirmation message from the third device, the direct digital controller extracts at least one result message from all the second devices and aggregates them to form a message queue;
[0158] The direct digital controller arranges the result messages in the message queue in descending order according to the time stamp, and displays the result message at the first position in the message queue after the descending order is arranged on the digital display screen of the direct digital controller.
[0159] In this example, since the direct digital controller may receive multiple result messages, in order to ensure that the message displayed by the direct digital controller is the most recently received, at least one result message is displayed as a message queue, and the result message at the first position in the message queue arranged in descending order of timestamps is displayed, so as to realize real-time display of the results of the second device's control of the environmental conditions.
[0160] Exemplarily, based on the above example, if the third device directly sends a confirmation message, the direct digital controller will display the operating parameters of the current temperature of 15°C and the output temperature of the second device of 23°C.
[0161] S109: The direct digital controller receives an adjustment instruction from the third device, and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device, and sends the feedback message to the third device; wherein the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instruction of the third device.
[0162] In this example, the direct digital controller receives adjustment instructions from the third device and sends the adjustment instructions to the second device; the direct digital controller receives feedback messages from the second device and sends the feedback messages to the third device, thereby achieving the technical effect that the operator can control the second device through the third device according to needs, thereby achieving the purpose of adjusting the environmental conditions according to the needs of the operator, and achieving the beneficial effect of improving the compliance between the adjustment of the environmental conditions and the needs of the operator.
[0163] Optionally, the direct digital controller receives an adjustment instruction from a third device and sends the adjustment instruction to the second device, comprising:
[0164] When receiving an adjustment instruction from a third device, the direct digital controller extracts an adjustment path of the adjustment instruction; wherein the adjustment instruction includes an adjustment parameter and an adjustment path, the adjustment parameter is parameter information for adjusting the environmental conditions of the target area, and the adjustment path is a position parameter of the second device for adjusting the adjustment parameter;
[0165] The direct digital controller sequentially sends each adjustment parameter in the adjustment instruction to the second device corresponding to the adjustment path of each adjustment parameter.
[0166] In this example, since the third device may have control requirements for the second device, the third device adjusts the second device by outputting adjustment instructions, thereby ensuring that the adjustment of the environmental conditions is consistent with the intention of the operator of the third device.
[0167] Exemplarily, based on the above example, if the operator believes that the current temperature output by the second device is low, the third device outputs an adjustment parameter of 25°C, and the second device adjusts its output temperature from 23°C to 25°C.
[0168] Optionally, the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device, including:
[0169] When receiving a feedback message from a second device, the direct digital controller extracts a feedback path from the feedback message; wherein the feedback message includes feedback parameters and a feedback path; the feedback parameters include: parameters to be operated, and parameters used by the second device when adjusting the environmental conditions based on the adjustment instruction of the third device; the feedback path is a position parameter of the third device that sends the adjustment instruction;
[0170] The direct digital controller sends each feedback parameter in the feedback message in turn to a third device corresponding to a feedback path of each feedback parameter.
[0171] In this example, by receiving a feedback message from the second device, it is determined whether the second device is adjusted according to the adjustment message of the third device, and by transmitting the feedback parameters in the feedback message to the third device that sends the adjustment message, it is ensured that the third device is aware of the current environmental conditions of the target area and the current control of the environmental conditions of the target area by the second device.
[0172] Exemplarily, based on the above example, the second device sends feedback parameters of air temperature 15°C and output temperature 25°C to the third device to ensure that the third device is aware of the environmental conditions of the current target area and the control conditions of the second device.
[0173] Therefore, the present application realizes the feature of one-time development and multi-terminal deployment by installing the Hongmeng system in the direct digital controller, the first device, the second device, and the third device. The logic code is written once and then deployed on the direct digital controller, the first device, the second device, and the third device, so that the direct digital controller, the first device, the second device, and the third device can perform intelligent interconnection, hardware mutual assistance, resource sharing, and other operations based on one logic code, thereby enabling the direct digital controller, the first device, the second device, and the third device to collaborate seamlessly.
[0174] By receiving the detection message of the first device through the direct digital controller, the beneficial effect of accurately detecting the environmental conditions of the target area in real time is achieved; by sending the control message to the second device through the direct digital controller, the technical effect of being able to call the second device for management and control in time is achieved, and the beneficial effect of improving the control efficiency and ensuring the management and control effect of the environmental conditions is achieved; by sending the confirmation message or adjustment instruction to the direct digital controller through the third device, the technical effect of the operator controlling the environmental conditions according to the needs is achieved, and then the beneficial effect of improving the conformity between the environmental conditions and the operator's intentions is achieved.
[0175] Figure 2 This is a schematic block diagram of a direct digital controller based on the Hongmeng system provided in an embodiment of the present application. Figure 2 As shown, the direct digital controller includes: a direct receiver 21, a direct processor 22 and a direct transmitter 23;
[0176] The direct receiver 21 is used to receive a detection message from a first device; wherein the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area;
[0177] The direct processor 22 is used to generate a control message according to the detection message; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device;
[0178] The direct transmitter 23 is used to send the control message to the second device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions;
[0179] The direct receiver 21 is also used to receive a result message from the second device; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the detection of the first device;
[0180] The direct sender 23 is also used to send the result message to a third device; wherein the third device is a terminal installed with the Hongmeng system;
[0181] The direct receiver 21 is further used to receive a confirmation message from a third device, and the direct transmitter 23 is further used to display a result message according to the confirmation message; or
[0182] The direct receiver 21 is also used to receive adjustment instructions from a third device, and the direct transmitter 23 is also used to send the adjustment instructions to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
[0183] Further, the direct digital controller generates a control message according to the detection message, including:
[0184] The direct processor 22 sequentially extracts each detection parameter in the detection message and the detection rule corresponding to each detection parameter; wherein the detection parameter is used to characterize a dimension in the environmental condition; and the detection rule is used to define whether the detection parameter is in a normal state.
[0185] If the direct processor 22 determines that the first detection parameter does not comply with the first detection rule, it determines that the first detection parameter is a parameter to be operated, and generates an indication to be operated; wherein the first detection parameter is one of at least one detection parameter in the detection message; the first detection rule is a detection rule corresponding to the first detection parameter; the indication to be operated is used to instruct the second device to adjust the environmental condition corresponding to the parameter to be operated to comply with the first detection rule;
[0186] The direct processor 22 determines a path to be operated of the parameter to be operated; wherein the path to be operated is a position parameter of the second device used to adjust the parameter to be operated;
[0187] The direct processor 22 summarizes each parameter to be operated, as well as the indication to be operated and the path to be operated of each parameter to be operated, to obtain a control message.
[0188] Figure 3 A schematic diagram of the structure of a direct digital controller provided in an embodiment of the present application. Figure 3 As shown, the main base station includes: the direct digital controller also includes: at least one receiving terminal 31, at least one output terminal 32, a housing 33 and a display screen 34;
[0189] At least one receiving terminal 31 is fixed on the housing 33;
[0190] At least one output terminal 32 is fixed on the housing 33;
[0191] The display screen 34 is fixed on the housing 33, and the display screen 34 is used to display the result message; the display screen 34 is connected to the direct transmitter 23;
[0192] The direct receiver 21 is respectively connected to at least one receiving terminal 31;
[0193] The direct transmitters 23 are respectively connected to at least one output terminal 32;
[0194] The direct receiver 21 , the direct transmitter 23 , and the direct processor 22 are fixed in the housing 33 .
[0195] Figure 4 This is a schematic block diagram of the structure of a first device based on the Hongmeng system provided in an embodiment of the present application. Figure 4 As shown, the first device includes: a first receiver 41 and a first transmitter 42;
[0196] The first receiver 41 is used to detect the environmental conditions of the target area to obtain a detection message;
[0197] The first transmitter 42 is used to send the detection message to the direct digital controller;
[0198] Among them, the detection message is used to characterize the environmental conditions of the target area; the detection message is also used to instruct the direct digital controller to generate a control message based on the detection message; the direct digital controller sends the control message to the second device; the direct digital controller receives the result message from the second device; the direct digital controller sends the result message to the third device; the direct digital controller receives the confirmation message from the third device, and displays the result message according to the confirmation message; or the direct digital controller receives the adjustment instruction from the third device, and sends the adjustment instruction to the second device; the direct digital controller receives the feedback message from the second device, and sends the feedback message to the third device; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; the second device is an actuator equipped with the Hongmeng system and used to adjust the environmental conditions; the result message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the detection of the first device; wherein the third device is a terminal equipped with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
[0199] Figure 5 This is a schematic block diagram of a structure of a second device based on the Hongmeng system provided in an embodiment of the present application. Figure 5 As shown, the second device includes: a second receiver 51, a second processor 52 and a second transmitter 53;
[0200] The second receiver 51 is used to receive a control message from the direct digital controller; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; the control message is a detection message received by the direct digital controller from the first device; wherein the first device is a sensor equipped with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the direct digital controller is generated according to the detection message;
[0201] The second processor 52 adjusts the execution item in the second device according to the control message to obtain a result message; wherein the execution item is a dimension used in the second device to adjust the environmental conditions of the target area; the result message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the detection of the first device;
[0202] The second transmitter 53 is used to send a result message to the direct digital controller; wherein the result message is also used to instruct the direct digital controller to send a control message to the second device; the direct digital controller receives the result message from the second device; the direct digital controller sends the result message to the third device; the direct digital controller receives a confirmation message from the third device, and displays the result message according to the confirmation message; or the direct digital controller receives an adjustment instruction from the third device, and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device, and sends the feedback message to the third device; wherein the second device is an actuator equipped with the Hongmeng system and used to adjust environmental conditions; the third device is a terminal equipped with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
[0203] Figure 6 This is a schematic block diagram of a structure of a third device based on the Hongmeng system provided in an embodiment of the present application. Figure 6 As shown, the third device includes: a third receiver 61, a third processor 62 and a third transmitter 63;
[0204] The third receiver 61 is used to receive a result message sent from the direct digital controller and display the result message; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the detection of the first device; the result message is a detection message received by the direct digital controller from the first device, the direct digital controller generates a control message according to the detection message, the direct digital controller sends the control message to the second device, and the direct digital controller receives the result message from the second device; wherein the first device is a sensor equipped with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; wherein the second device is an actuator equipped with the Hongmeng system and used to adjust the environmental conditions;
[0205] The third processor 62 is used to receive the indication signal, and generate a determination message or an adjustment instruction according to the indication signal; wherein the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the determination message is used to instruct the direct digital controller to display a result message according to the determination message; the adjustment instruction is used to instruct the direct digital controller to receive the adjustment instruction from the third device and send the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instruction of the third device;
[0206] The third transmitter 63 is used to send the confirmation message or adjustment instruction to the direct digital controller;
[0207] The third receiver 61 is further configured to receive a feedback message from the direct digital controller.
[0208] The present application provides a communication system, which includes Figure 2 The provided direct digital controllers, Figure 4 The first equipment provided, Figure 5 Provided second device and Figure 6 Provided third device.
[0209] The present application provides a computer-readable storage medium, including instructions or programs, which, when executed on a computer, enable the computer to execute the above Figure 1 The steps of the direct digital controller, the first device, the second device and the third device.
[0210] The present application provides a computer program product, including program code, which is used to execute the above-mentioned Figure 1 The steps of the direct digital controller, the first device, the second device and the third device in the illustrated embodiment.
[0211] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (for example, coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (for example, infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0212] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.
[0213] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field 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 control method based on Hongmeng system, characterized in that: include: The direct digital controller receives a detection message from a first device; wherein the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; The direct digital controller generates a control message according to the detection message; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; The direct digital controller sends the control message to a second device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions; The direct digital controller receives a result message from the second device; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; The direct digital controller sends the result message to a third device; wherein the third device is a terminal installed with the Hongmeng system; The direct digital controller receives a determination message from the third device, and displays the result message according to the determination message; or The direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device.
2. The control method according to claim 1, characterized in that: The direct digital controller generates a control message according to the detection message, comprising: The direct digital controller sequentially extracts each detection parameter in the detection message and a detection rule corresponding to each detection parameter; wherein the detection parameter is used to characterize a dimension in the environmental condition; and the detection rule is used to define whether the detection parameter is in a normal state; If the direct digital controller determines that the first detection parameter does not comply with the first detection rule, the first detection parameter is determined to be a parameter to be operated, and generates an indication to be operated; wherein the first detection parameter is one of at least one detection parameter in the detection message; the first detection rule is a detection rule corresponding to the first detection parameter; the indication to be operated is used to instruct the second device to adjust the environmental condition corresponding to the parameter to be operated to comply with the first detection rule; The direct digital controller determines a path to be operated of the parameter to be operated; wherein the path to be operated is a position parameter of a second device for adjusting the parameter to be operated; The direct digital controller collects each of the parameters to be operated, as well as the indication to be operated and the path to be operated of each of the parameters to be operated, to obtain the control message.
3. A control method based on Hongmeng system, characterized in that: include: The first device detects the environmental conditions of the target area to obtain a detection message, and sends the detection message to the direct digital controller; wherein the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the detection message is also used to instruct the direct digital controller to generate a control message according to the detection message, the direct digital controller sends the control message to the second device, the direct digital controller receives a result message from the second device, the direct digital controller sends the result message to the third device, the direct digital controller receives a confirmation message from the third device, and displays the result message according to the confirmation message, or the direct digital controller receives an adjustment instruction from the third device and sends The adjustment instruction is sent to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the control message is a message for adjusting the environmental condition of the target area based on the detection of the first device; the second device is an actuator installed with the Hongmeng system and used to adjust the environmental condition; the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; the third device is a terminal installed with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the instruction of the third device.
4. A control method based on Hongmeng system, characterized in that: include: The second device receives a control message from a direct digital controller; wherein the control message is a message for adjusting the environmental conditions of a target area based on the detection of the first device; the control message is a detection message received by the direct digital controller from the first device, and the direct digital controller is generated according to the detection message; wherein the first device is a sensor equipped with a Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; The second device adjusts the execution item in the second device according to the control message to obtain a result message; wherein the execution item is a dimension used in the second device to adjust the environmental condition of the target area; and the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; The second device sends the result message to the direct digital controller; wherein the direct digital controller receives the result message from the second device; the direct digital controller sends the result message to a third device; the direct digital controller receives a confirmation message from the third device, and displays the result message according to the confirmation message; or the direct digital controller receives an adjustment instruction from the third device, and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device, and sends the feedback message to the third device; wherein the second device is an actuator equipped with the Hongmeng system and used to adjust the environmental conditions; the third device is a terminal equipped with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
5. A control method based on Hongmeng system, characterized in that: include: The third device receives a result message sent from the direct digital controller and displays the result message; wherein the third device is a terminal installed with the Hongmeng system; the result message is used to characterize the parameters adopted by the second device when adjusting the environmental conditions based on the detection of the first device; the result message is a detection message received by the direct digital controller from the first device, the direct digital controller generates a control message according to the detection message, the direct digital controller sends the control message to the second device, and the direct digital controller receives the result message from the second device; the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions; The third device receives the indication signal, and generates a determination message or an adjustment instruction according to the indication signal; wherein the third device receives the indication signal sent by the third control terminal; the third control terminal is an input / output device connected to the third device; the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the determination message is used to instruct the direct digital controller to display the result message according to the determination message; the adjustment instruction is used to instruct the direct digital controller to receive the adjustment instruction from the third device, and send the adjustment instruction to the second device, and the direct digital controller receives a feedback message from the second device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device; The third device sends the determination message or the adjustment instruction to the direct digital controller; The third device receives a feedback message from the direct digital controller.
6. A direct digital controller based on Hongmeng system, characterized in that: include: direct receiver, direct processor, and direct transmitter; The direct receiver is used to receive a detection message from a first device; wherein the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; The direct processor is used to generate a control message according to the detection message; wherein the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; The direct sender is used to send the control message to a second device; wherein the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions; The direct receiver is further used to receive a result message from the second device; wherein the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; The direct sender is further used to send the result message to a third device; wherein the third device is a terminal installed with the Hongmeng system; The direct receiver is further used to receive a confirmation message from the third device, and the direct transmitter is further used to display the result message according to the confirmation message; or The direct receiver is also used to receive adjustment instructions from the third device, and the direct transmitter is also used to send the adjustment instructions to the second device; the direct digital controller receives a feedback message from the second device, and sends the feedback message to the third device; wherein the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
7. The direct digital controller according to claim 6, characterized in that The direct digital controller further comprises: at least one receiving terminal, at least one output terminal, a housing and a display screen; At least one of the receiving terminals is fixed on the housing; At least one of the output terminals is fixed on the housing; The display screen is fixed on the housing, and the display screen is used to display the result message; The direct receiver is respectively connected to at least one of the receiving terminals; The direct transmitter is respectively connected to at least one of the output terminals; The direct receiver, the direct transmitter and the direct processor are fixed in the housing.
8. A first device based on Hongmeng system, characterized in that: include: a first receiver and a first transmitter; The first receiver is used to detect the environmental conditions of the target area to obtain a detection message; The first transmitter is used to send the detection message to a direct digital controller; Among them, the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the detection message is also used to instruct the direct digital controller to generate a control message according to the detection message, the direct digital controller sends the control message to the second device, the direct digital controller receives a result message from the second device, the direct digital controller sends the result message to the third device, the direct digital controller receives a confirmation message from the third device, and displays the result message according to the confirmation message, or the direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller The digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the control message is a message for adjusting the environmental condition of the target area based on the detection of the first device; the second device is an actuator installed with the Hongmeng system and used to adjust the environmental condition; the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; the third device is a terminal installed with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the instruction of the third device.
9. A second device based on Hongmeng system, characterized in that: include: a second receiver, a second processor, and a second transmitter; The second receiver is used to receive a control message from a direct digital controller; wherein the control message is a message for adjusting the environmental conditions of a target area based on the detection of a first device; the control message is a detection message received by the direct digital controller from the first device, and the direct digital controller is generated according to the detection message; wherein the first device is a sensor equipped with a Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; The second processor is used to adjust the execution item in the second device according to the control message to obtain a result message; wherein the execution item is a dimension used in the second device to adjust the environmental condition of the target area; the result message is used to characterize the parameters used by the second device when adjusting the environmental condition based on the detection of the first device; The second transmitter is used to send the result message to the direct digital controller; wherein the direct digital controller receives the result message from the second device; the direct digital controller sends the result message to the third device; the direct digital controller receives a confirmation message from the third device and displays the result message according to the confirmation message; or the direct digital controller receives an adjustment instruction from the third device and sends the adjustment instruction to the second device; the direct digital controller receives a feedback message from the second device and sends the feedback message to the third device; wherein the second device is an actuator equipped with the Hongmeng system and used to adjust the environmental conditions; the third device is a terminal equipped with the Hongmeng system; the adjustment instruction is a message for adjusting the environmental conditions of the target area based on the control of the third device; the feedback message is used to characterize the parameters used by the second device when adjusting the environmental conditions based on the instructions of the third device.
10. A third device based on Hongmeng system, characterized in that: include: a third receiver, a third processor, and a third transmitter; The third receiver is used to receive a result message sent from a direct digital controller and display the result message; wherein the third device is a terminal installed with the Hongmeng system; the result message is used to characterize the parameters adopted by the second device when adjusting the environmental conditions based on the detection of the first device; the result message is a detection message received by the direct digital controller from the first device, the direct digital controller generates a control message according to the detection message, the direct digital controller sends the control message to the second device, and the direct digital controller receives the result message from the second device; the first device is a sensor installed with the Hongmeng system and used to detect environmental information; the detection message is used to characterize the environmental conditions of the target area; the control message is a message for adjusting the environmental conditions of the target area based on the detection of the first device; the second device is an actuator installed with the Hongmeng system and used to adjust the environmental conditions; The third processor is used to receive an indication signal and generate a determination message or an adjustment instruction according to the indication signal; wherein the third device receives an indication signal sent by a third control terminal; the third control terminal is an input / output device connected to the third device; the adjustment instruction is a message for adjusting the environmental condition of the target area based on the control of the third device; the determination message is used to instruct the direct digital controller to display the result message according to the determination message; the adjustment instruction is used to instruct the direct digital controller to receive the adjustment instruction from the third device and send the adjustment instruction to the second device, and the direct digital controller receives a feedback message from the second device; the feedback message is used to characterize the parameters adopted by the second device when adjusting the environmental condition based on the instruction of the third device; The third transmitter is used to send the determination message or the adjustment instruction to the direct digital controller; The third receiver is further configured to receive a feedback message from the direct digital controller.
Citation Information
Patent Citations
Custom network system and custom connection method supporting interconnection and intercommunication of everything
CN115134385A
Environment monitoring method and device, electronic equipment and storage medium
CN117938891A