Method, device and electronic equipment for identifying power-off state of air valve
Through the air valve power box recording and reporting data when the power is turned on and off, the cloud platform analyzes the switching status of the air valve from power off to power on, solving the cost calculation problem caused by the power outage of the smoke exhaust air valve, and realizing each Reasonable calculation of the proportion of store expenses.
Patent Information
- Application Number
- CN202410925639.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-11
AI Technical Summary
When the existing smoke exhaust air valve is powered off after being opened, it cannot communicate normally, resulting in the loss of important startup data in the cost ratio calculation, which affects the performance of the centralized smoke exhaust system and the rationality of cost calculation.
The power box of the air valve records the power-on mark and switch status during power-on and power-off, and reports it to the host and cloud platform. The cloud platform analyzes the switch status of the air valve from power-off to power-on based on these data to realize valve opening. Identification and supplementary data for power outages and valve shutoffs.
It ensures the integrity of the switch status data during the power outage of the air valve, reasonably calculates the cost of each store, and improves the performance of the centralized smoke exhaust system and the rationality of the cost ratio.
Smart Images

Figure CN118482418B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of centralized smoke exhaust systems, and in particular to a method, a device and an electronic device for identifying a power-off state of a damper. Background Art
[0002] In catering shops with centralized smoke exhaust in commercial complexes, a smoke exhaust damper is reserved to allow restaurant fumes to enter the centralized smoke exhaust pipe system. At present, in order to reasonably share the operating energy consumption costs of the centralized smoke exhaust host, each smoke exhaust damper is installed with a damper actuator and a damper power box. The damper power box can report the status of the damper, so that information such as the startup time of each shop can be counted, and then the reasonable cost ratio of each shop can be calculated based on the algorithm.
[0003] However, the current smoke exhaust dampers are driven by the electricity of the damper actuator. If the power is cut off immediately after the damper is opened, the damper will still be in the open state (called the valve open and power off state), but because the damper power box has no power, it cannot communicate normally with the host, and therefore cannot obtain the actual startup time of the shop; resulting in the lack of important startup data in the cost share calculation; at the same time, in the centralized smoke exhaust pipe system, when other shops open their dampers according to normal operations to start the smoke exhaust host, the shop with the valve open and power off can use the characteristics of the centralized smoke exhaust pipe to abnormally use the air volume of other shops in normal use, but it does not have its own startup data reporting platform; this not only seriously affects the performance of centralized smoke exhaust in other shops in normal use (part of the air volume is allocated to the shop with the valve open and power off), but also makes the cost share calculation unreasonable due to the lack of startup data. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a method, device and electronic equipment for identifying the power-off state of the damper, so as to complete the switch state of the damper during the power outage, so as to reasonably calculate the cost of each shop.
[0005] In a first aspect, an embodiment of the present invention provides a method for identifying the power-off status of an air valve, which is applied to a centralized smoke exhaust system, wherein the centralized smoke exhaust system comprises: an air valve and a host, a power supply box of the air valve is communicatively connected to the host, and the host is communicatively connected to a cloud platform; the method comprises: the air valve power supply box reports the power-on mark of the air valve power supply box and the switch status of the air valve to the host after power-on and before power-off; wherein the power-on mark indicates that the air valve power supply box is powered on or powered off, and the switch status is used to indicate that the air valve is in the on state or the off state; the host reports the power-on mark, the switch status and the online status of the air valve power supply box to the cloud platform; wherein the online status indicates whether the communication between the air valve power supply box and the host is normal or abnormal; the cloud platform parses the switch status of the air valve from the power-off of the air valve power box to the power-on of the air valve power box based on the power-on mark, the switch status and the online status.
[0006] In an optional embodiment of the present application, a memory is provided in the above-mentioned air valve power box, and the memory is used to store the switching status of the air valve; the step of the above-mentioned air valve power box reporting the power-on mark of the air valve power box and the switching status of the air valve to the host after power-on and before power-off includes: after the air valve power box is powered on, the power-on mark is set to a first value; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host; before the air valve power box is powered off, the power-on mark is set to a second value; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host.
[0007] In an optional embodiment of the present application, the step in which the host reports the power-on mark, switch status and online status of the air valve power box to the cloud platform includes: after the host receives the power-on mark and switch status, it determines the online status of the air valve power box; the host reports the power-on mark, switch status and online status to the cloud platform.
[0008] In an optional embodiment of the present application, the cloud platform parses the switching status of the air valve from the time the air valve power box is powered off to the time the air valve power box is powered on based on the power-on mark, the switching status and the online status, comprising: the cloud platform determines whether the air valve power box is online based on the online status; if the air valve power box is online, the cloud platform determines whether the air valve power box is powered on or off based on the power-on mark; if the air valve power box is powered off, the cloud platform records the time before the air valve power box is powered off; if the air valve power box is powered on, the cloud platform records the time after the power is powered on, and determines the switching status as the switching status of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on.
[0009] In an optional embodiment of the present application, after the step in which the cloud platform determines whether the air valve power box is online based on the online status, the method also includes: if the air valve power box is not online, the cloud platform determines the switch state of the air valve power box before it goes offline, and determines whether the air valve is in the on state or the off state by judging the switch state of the air valve power box before it goes offline; if the air valve is in the on state before the air valve power box goes offline, it is determined that the air valve is in the open state and the power is off, and an alarm operation is performed; if the air valve is in the off state before the air valve power box goes offline, it is determined that the air valve is in the closed state and the power is off, and no alarm operation is performed.
[0010] In an optional embodiment of the present application, after the above-mentioned step of if the air valve power box is powered off, the method also includes: the cloud platform records the switch status.
[0011] In an optional embodiment of the present application, the above-mentioned cloud platform records the time after the power is powered on, and determines the switch state as the switch state of the air valve from the time before the air valve power box is powered on to the time after the air valve power box is powered on, including: the cloud platform determines whether the switch state is a first value or a second value; if the switch state is the first value, the time after the power is powered on is recorded, and the switch state of the air valve from the time before the air valve power box is powered on to the time after the air valve power box is powered on is the first value; if the switch state is the second value, the time after the power is powered on is recorded, and the switch state of the air valve from the time before the air valve power box is powered on to the time after the air valve power box is powered on is the second value.
[0012] In an optional embodiment of the present application, the above-mentioned cloud platform analyzes the switching status of the air valve from the time when the air valve power box is powered off to the time when the air valve power box is powered on based on the power-on mark, the switching status and the online status, including: the cloud platform determines the power-on time of the air valve based on the switching status of the air valve, and determines the cost of the place using the air valve based on the power-on time of the air valve.
[0013] In a second aspect, an embodiment of the present invention further provides a device for identifying the power-off status of an air valve, which is applied to a centralized smoke exhaust system, wherein the centralized smoke exhaust system comprises: an air valve and a host, wherein the air valve power box is communicatively connected to the host, and the host is communicatively connected to a cloud platform; the device comprises: an air valve power box processing module, which is used for the air valve power box to report the power-on mark of the air valve power box and the switch status of the air valve to the host after power-on and before power-off; wherein the power-on mark indicates that the air valve power box is powered on or powered off, and the switch status is used to indicate that the air valve is in the on state or the off state; a host processing module, which is used for the host to report the power-on mark, the switch status and the online status of the air valve power box to the cloud platform; wherein the online status indicates whether the communication between the air valve power box and the host is normal or abnormal; a cloud platform processing module, which is used for the cloud platform to parse the switch status of the air valve from the power-off of the air valve power box to the power-on of the air valve power box based on the power-on mark, the switch status and the online status.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the above-mentioned method for identifying the power-off state of the air valve.
[0015] The embodiments of the present invention bring the following beneficial effects:
[0016] The embodiment of the present invention provides a method, device and electronic device for identifying the power-off state of a damper. The damper power box reports the power-on mark of the damper power box and the switch state of the damper to the host after power-on and before power-off; wherein the power-on mark indicates that the damper power box is powered on or off, and the switch state is used to indicate that the damper is in the on state or the off state; the host reports the power-on mark, the switch state and the online state of the damper power box to the cloud platform; wherein the online state indicates whether the communication between the damper power box and the host is normal or abnormal; the cloud platform analyzes the switch state of the damper from the power-off of the damper power box to the power-on of the damper power box based on the power-on mark, the switch state and the online state. In this way, the switch state of the damper during the power-off period can be supplemented, so as to reasonably calculate the cost of each shop.
[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A schematic diagram of a centralized smoke exhaust system provided by an embodiment of the present invention;
[0021] Figure 2 A control schematic diagram of a smoke exhaust air valve provided in an embodiment of the present invention;
[0022] Figure 3 A flow chart of a method for identifying a power-off state of a wind valve provided by an embodiment of the present invention;
[0023] Figure 4 A flow chart of another method for identifying a power-off state of a wind valve provided by an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of a damper power supply box reporting data to a host provided by an embodiment of the present invention;
[0025] Figure 6 A schematic diagram of a cloud platform for air valve status identification provided by an embodiment of the present invention;
[0026] Figure 7 A schematic diagram of the structure of a device for identifying a power-off state of a wind valve provided by an embodiment of the present invention;
[0027] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] At present, in catering shops with centralized smoke exhaust in commercial complexes, a smoke exhaust damper is reserved to allow catering fumes to enter the centralized smoke exhaust pipe system. At present, in order to reasonably share the operating energy consumption costs of the centralized smoke exhaust host, each smoke exhaust damper is installed with a damper actuator and a damper power box. The damper power box can report the status of the damper, so that information such as the startup time of each shop can be counted, and then the reasonable cost ratio of each shop can be calculated based on the algorithm.
[0030] However, the existing smoke exhaust dampers are driven by the electricity of the damper actuator. If the power is cut off immediately after the damper is opened, the damper will still be in the open state (called the valve open and power off state), but because the damper power box has no power, it cannot communicate normally with the host, and therefore cannot obtain the actual startup time of the shop; resulting in the lack of important startup data in the cost share calculation; at the same time, in the centralized smoke exhaust pipe system, when other shops open their dampers according to normal operations to start the smoke exhaust host, the shop with the valve open and power off can use the characteristics of the centralized smoke exhaust pipe to abnormally use the air volume of other shops in normal use, but it does not have its own startup data reporting platform; this not only seriously affects the centralized smoke exhaust performance of other shops in normal use (part of the air volume is allocated to the shop with the valve open and power off), but also makes the cost share calculation unreasonable due to the lack of startup data.
[0031] In summary, the existing smoke exhaust damper has the problem of difficulty in identifying power failure during valve opening, and lack of data during power failure during valve opening.
[0032] Based on this, an embodiment of the present invention provides a method, device and electronic device for identifying the power-off status of an air valve. The method, device and electronic device can record the switching status of the air valve before the air valve power box is powered off and offline through a cloud platform, thereby realizing the identification and early warning of power-off of open valves and power-off of closed valves. The switching status of the air valve during the power-off status of the air valve power box can be supplemented through the status storage inside the air valve power box in combination with the cloud platform, thereby reasonably calculating the cost of each shop.
[0033] To facilitate understanding of this embodiment, a method for identifying a power-off state of a wind valve disclosed in an embodiment of the present invention is first introduced in detail.
[0034] Embodiment 1:
[0035] An embodiment of the present invention provides a method for identifying the power-off state of an air valve, which is applied to a centralized smoke exhaust system. The centralized smoke exhaust system includes: an air valve and a host, a power box of the air valve is communicatively connected to the host, and the host is communicatively connected to a cloud platform.
[0036] See also Figure 1 A schematic diagram of a centralized smoke exhaust system is shown, in which the status of the smoke exhaust air valve can be identified: communication is established between the air valve power box in the smoke exhaust air valve (which can be simply referred to as the air valve) and the host, and the host reports the information uploaded by the air valve power box to the cloud platform in real time, so that preliminary identification and early warning can be achieved through the cloud platform.
[0037] See also Figure 2 As shown in the control schematic diagram of a smoke exhaust damper, first, the power cord of the damper power box can be plugged into the kitchen socket, and the power supply of the actuator is drawn through the damper power box, so that the actuator has electricity to drive the rotating shaft to rotate the damper valve plate; then the switch box is connected to the damper power box, and the damper power box sends a drive line to the actuator, so that if the user wants to open the valve, he can directly press the switch box, and the actuator is driven by the damper power box to rotate the valve plate to open the valve.
[0038] Based on the above description, see Figure 3 A flow chart of a method for identifying a power-off state of a wind valve is shown, and the method for identifying a power-off state of a wind valve comprises the following steps:
[0039] Step S302, the air valve power box reports the power-on mark of the air valve power box and the switch status of the air valve to the host after power-on and before power-off.
[0040] Among them, the power-on mark indicates whether the air valve power box is powered on or off, and the switch state is used to indicate whether the air valve is in the on state or the off state.
[0041] In this embodiment, the air valve power box can record the power on or off of the air valve power box as a power on mark, and can also obtain the power on state or shutdown state of the air valve as the switch state. The air valve power box can report the power on mark of the air valve power box and the switch state of the air valve to the host.
[0042] Among them, the air valve power supply box in this embodiment can report the power-on mark and switch status to the host after power-on and before power-off, and can also report the power-on mark and switch status to the host regularly based on a certain time interval.
[0043] In step S304, the host reports the power-on mark, switch status and online status of the air valve power box to the cloud platform.
[0044] Among them, the online status represents whether the communication between the air valve power box and the host is normal or abnormal.
[0045] After the host receives the power-on mark and switch status reported by the air valve power box, it can detect whether the air valve power box is online, thereby determining the online status of the air valve power box, and reporting the power-on mark, switch status and online status to the cloud platform. Among them, the air valve power box is online, which means that the communication between the air valve power box and the host is normal, and the air valve power box is not online, which means that the communication between the air valve power box and the host is abnormal.
[0046] Step S306, the cloud platform analyzes the switch status of the air valve from the time when the air valve power box is powered off to the time when the air valve power box is powered on based on the power-on mark, the switch status and the online status.
[0047] In the above-mentioned case of power failure when the valve is open, it is impossible to directly obtain the switch status of the air valve during the power failure through the data reported by the air valve power box. Therefore, the cloud platform in this embodiment can perform data analysis based on the power-on mark, switch status and online status, so as to determine the switch status of the air valve from the power failure of the air valve power box to the power failure of the air valve power box (i.e. the switch status of the air valve during the power failure), thereby realizing the status data supplement during the power failure.
[0048] The embodiment of the present invention provides a method for identifying the power-off state of a damper, wherein the damper power supply box reports the power-on mark of the damper power supply box and the switch state of the damper to the host after power-on and before power-off; wherein the power-on mark indicates that the damper power supply box is powered on or off, and the switch state is used to indicate that the damper is in the on state or the off state; the host reports the power-on mark, the switch state and the online state of the damper power supply box to the cloud platform; wherein the online state indicates whether the communication between the damper power supply box and the host is normal or abnormal; the cloud platform analyzes the switch state of the damper from the power-off of the damper power supply box to the power-on of the damper power supply box based on the power-on mark, the switch state and the online state. In this way, the switch state of the damper during the power-off period can be supplemented, so as to reasonably calculate the cost of each shop.
[0049] Embodiment 2:
[0050] This embodiment provides another method for identifying the power-off state of the air valve. This method is implemented on the basis of the above embodiment. Figure 4 A flow chart of another method for identifying a power-off state of a wind valve is shown, and the method for identifying a power-off state of a wind valve comprises the following steps:
[0051] Step S402, the air valve power box reports the power-on mark of the air valve power box and the switch status of the air valve to the host after power-on and before power-off.
[0052] In some embodiments, a memory is provided in the air valve power supply box, and the memory is used to store the switch state of the air valve. After the air valve power supply box is powered on, the power-on mark is set to the first value; the air valve power supply box obtains the switch state of the air valve from the memory, and reports the power-on mark and the switch state to the host; before the air valve power supply box is powered off, the power-on mark is set to the second value; the air valve power supply box obtains the switch state of the air valve from the memory, and reports the power-on mark and the switch state to the host.
[0053] See also Figure 5 The schematic diagram of a damper power box reporting data to a host is shown in FIG. Figure 5 As shown, wait for the air valve power box n to be powered on. After the air valve power box n is powered on, the power-on mark Dn of the air valve power box n can be set to 1 ( Figure 5 The first value in is 1), that is, Dn=1.
[0054] A memory, such as an EEPROM (Electrically Erasable Programmable read only memory), may be provided in the air valve power supply box in this embodiment. The EEPROM memory may store the switch status before power failure.
[0055] like Figure 5 As shown, the air valve power box n can confirm whether the switch state Kn of the smoke exhaust air valve recorded in the EEPROM is equal to 0. If Kn=0, the smoke exhaust air valve is in the off state, that is, the last power off was a valve-off power off. If Kn=1, the smoke exhaust air valve is in the on state, that is, the last power off was a valve-off power off.
[0056] like Figure 5 As shown, the air valve power box n can report the power-on mark Dn and the switch status Kn to the host, that is, there are two situations after power-on: (Dn=1, Kn=0), (Dn=1, Kn=1).
[0057] like Figure 5 As shown, before the air valve power box n is powered off, the power-on mark Dn of the air valve power box n can be set to 0 ( Figure 5The second value in is 0), that is, Dn=0. If Dn=0, the air valve power box n can obtain the current switch state Kn, report the host power-on mark Dn and switch state Kn, that is, there are two situations before power failure: (Dn=0, Kn=0), (Dn=0, Kn=1).
[0058] like Figure 5 As shown, if the air valve power box n is powered off, you can wait for the air valve power box n to be powered on again; if the air valve power box n is powered on, you can report the host power-on mark Dn and switch status Kn at a regular time.
[0059] In step S404, the host reports the power-on mark, switch status, and online status of the air valve power box to the cloud platform.
[0060] In some of these embodiments, after receiving the power-on mark and the switch status, the host determines the online status of the air valve power box; the host reports the power-on mark, the switch status and the online status to the cloud platform.
[0061] After the air valve power box is in the store and before the power is turned off, the power-on mark Dn and switch status Kn can be reported to the host. The host can determine the online status Zn of the air valve power box and report the power-on mark Dn, switch status Kn and online status Zn to the cloud platform. Among them, the communication between the air valve power box and the host is disconnected, which may be due to the power off of the smoke exhaust air valve or the abnormality of the communication network.
[0062] In step S406, the cloud platform analyzes the switch status of the air valve from the time when the air valve power box is powered off to the time when the air valve power box is powered on based on the power-on mark, the switch status and the online status.
[0063] In some embodiments, the cloud platform can identify the status of the air valve by following steps A1 to A4:
[0064] Step A1: The cloud platform determines whether the air valve power box is online based on the online status.
[0065] See also Figure 6 A schematic diagram of a cloud platform for air valve status identification is shown. The cloud platform can determine whether the air valve power box n is online based on the online status Zn. If Zn=1, it can be considered that the air valve power box is online; if Zn=0, it can be considered that the air valve power box is not online.
[0066] In some embodiments, if the air valve power box is not online, the cloud platform determines the switch state of the air valve power box before it goes offline, and determines whether the air valve is in the on state or the off state before the air valve power box goes offline; if the air valve is in the on state before the air valve power box goes offline, it is determined that the air valve is in the open state and the power is off, and an alarm operation is performed; if the air valve is in the off state before the air valve power box goes offline, it is determined that the air valve is in the closed state and the power is off, and no alarm operation is performed.
[0067] like Figure 6 As shown in the figure, if Zn=0, it can be considered that the air valve power box is not online. The cloud platform can obtain the switch status Kn' before the air valve power box goes offline.
[0068] like Figure 6 As shown, if Kn'=1, it can be considered that the switch state of the air valve power box before it goes offline is the power-on state, and it can be determined that the air valve is open and the power is off. The cloud platform can perform alarm operations, for example: sending prompt information to the terminal of the operation and maintenance personnel (mobile phones, computers, tablet computers and other devices with communication and human-computer interaction functions) so that the operation and maintenance personnel can go to the site for investigation even if necessary.
[0069] like Figure 6 As shown, if Kn'=0, it can be considered that the switch state of the air valve power box before going offline is the shutdown state, and it can be determined that the air valve is closed and powered off, so the cloud platform does not need to perform an alarm operation.
[0070] In this embodiment, the abnormality of the smoke exhaust air valve opening and power failure can be identified to realize the valve opening and power failure warning.
[0071] Step A2: If the air valve power box is online, the cloud platform determines whether the air valve power box is powered on or off based on the power-on mark.
[0072] like Figure 6 As shown, if Zn=1, it can be considered that the air valve power box is online. The cloud platform can continue to judge whether the air valve power box is powered on or off based on the power-on mark Dn. If Dn=1, it can be considered that the air valve power box is powered on, and if Dn=0, it can be considered that the air valve power box is powered off.
[0073] Step A3: If the air valve power box is powered off, the cloud platform records the time before the air valve power box is powered off.
[0074] In some embodiments, if the air valve power box loses power, the cloud platform can also record the switch status.
[0075] like Figure 6 As shown in the figure, if Dn=0, it can be considered that the air valve power box is powered off. The cloud platform can record the current switch state Kn and update the time T0 before the power outage, that is, there are two situations before the power outage: (Dn=0, Kn=0), (Dn=0, Kn=1), and record the update time.
[0076] Step A4, if the air valve power box is powered on, the cloud platform records the time after the power is powered on, and determines the switch state as the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on.
[0077] In some embodiments, the cloud platform determines whether the switch state is a first value or a second value; if the switch state is the first value, the time after the power is turned on is recorded, and the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on is the first value; if the switch state is the second value, the time after the power is turned on is recorded, and the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on is the second value.
[0078] like Figure 6 As shown, if Dn=1, it can be considered that the air valve power box is powered on. The cloud platform determines that the switch state Kn is the first value ( Figure 6 1) or the second value ( Figure 6 0 in the figure). If Kn=1, it is a valve-open power-off, and the time after the air valve power box is powered on is updated to T1. The platform supplements the switch record between the time T0 before the air valve power box is powered off and the time T1 after the air valve power box is powered on. Kn=1, that is, one of the two situations after power-on: (Dn=1, Kn=1). If Kn=0, it is a valve-open power-off, and the time after the power is powered on is updated to T1. The platform supplements the switch record between the time T0 before the air valve power box is powered off and the time T1 after the air valve power box is powered on. Kn=0, that is, one of the two situations after power-on: (Dn=1, Kn=0).
[0079] In step S408, the cloud platform determines the power-on time of the air valve based on the on / off state of the air valve, and determines the cost of using the air valve based on the power-on time of the air valve.
[0080] After the cloud platform supplements the switching status of the air valve from the power off of the air valve power box to the power on of the air valve power box, the cloud platform can accurately determine the power-on time of the air valve based on the switching status of the air valve, and thus determine the cost of using the air valve in the place (for example: shop) based on the power-on time of the air valve.
[0081] In this embodiment, the status data of the air valve during power outage can be supplemented, thereby enhancing the rationality of the calculation of the platform cost ratio.
[0082] The above method provided by the embodiment of the present invention can record the switching status of the air valve before the air valve power box is powered off and offline through the cloud platform, realize the identification and early warning of open valve power off and closed valve power off, and then supplement the switching status of the air valve during the power off of the air valve power box through the status storage inside the air valve power box and the cloud platform, so as to reasonably calculate the cost of each shop.
[0083] Embodiment three:
[0084] Corresponding to the above method embodiment, the embodiment of the present invention provides a device for identifying the power-off state of a damper, which is applied to a centralized smoke exhaust system. The centralized smoke exhaust system includes: a damper and a host, a damper power box and a host in communication connection, and a host and a cloud platform in communication connection. Figure 7 The structural schematic diagram of a device for identifying a power-off state of a wind valve is shown, and the device for identifying a power-off state of a wind valve comprises:
[0085] The air valve power supply box processing module 71 is used for reporting the power-on mark of the air valve power supply box and the switch state of the air valve to the host after the air valve power supply box is powered on and before the power is turned off; wherein the power-on mark indicates that the air valve power supply box is powered on or off, and the switch state is used to indicate that the air valve is in the on state or the off state;
[0086] The host processing module 72 is used for the host to report the power-on mark, switch status and online status of the air valve power box to the cloud platform; wherein the online status indicates whether the communication between the air valve power box and the host is normal or abnormal;
[0087] The cloud platform processing module 73 is used for the cloud platform to analyze the switch status of the air valve from the time when the air valve power box is powered off to the time when the air valve power box is powered on based on the power-on mark, switch status and online status.
[0088] The embodiment of the present invention provides a device for identifying the power-off state of a damper. After power-on and before power-off, the damper power box reports the power-on mark of the damper power box and the switch state of the damper to the host; wherein the power-on mark indicates that the damper power box is powered on or off, and the switch state is used to indicate that the damper is in the on state or the off state; the host reports the power-on mark, the switch state and the online state of the damper power box to the cloud platform; wherein the online state indicates whether the communication between the damper power box and the host is normal or abnormal; the cloud platform analyzes the switch state of the damper from the power-off of the damper power box to the power-on of the damper power box based on the power-on mark, the switch state and the online state. In this way, the switch state of the damper during the power-off period can be supplemented, so as to reasonably calculate the cost of each shop.
[0089] The above-mentioned air valve power box is provided with a memory, and the memory is used to store the switching status of the air valve; the above-mentioned air valve power box processing module is used to set the power-on mark to the first value after the air valve power box is powered on; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host; before the air valve power box is powered off, the power-on mark is set to the second value; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host.
[0090] The host processing module is used to determine the online status of the air valve power box after the host receives the power-on mark and the switch status; the host reports the power-on mark, the switch status and the online status to the cloud platform.
[0091] The above-mentioned cloud platform processing module is used for the cloud platform to determine whether the air valve power box is online based on the online status; if the air valve power box is online, the cloud platform determines whether the air valve power box is powered on or off based on the power-on mark; if the air valve power box is powered off, the cloud platform records the time before the air valve power box is powered off; if the air valve power box is powered on, the cloud platform records the time after the power is powered on, and determines the switch state as the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on.
[0092] The above-mentioned cloud platform processing module is also used for, if the air valve power box is offline, the cloud platform determines the switch state of the air valve power box before it goes offline, and judges whether the air valve is in the on state or the off state before the air valve power box goes offline; if the air valve is in the on state before the air valve power box goes offline, it is determined that the air valve is in the open state and the power is off, and an alarm operation is performed; if the air valve is in the off state before the air valve power box goes offline, it is determined that the air valve is in the closed state and the power is off, and no alarm operation is performed.
[0093] The above-mentioned cloud platform processing module is also used for the cloud platform to record the switch status.
[0094] The above-mentioned cloud platform processing module is used for the cloud platform to determine whether the switch state is a first value or a second value; if the switch state is the first value, the time after the power is powered on is recorded, and the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on is the first value; if the switch state is the second value, the time after the power is powered on is recorded, and the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on is the second value.
[0095] The above-mentioned device also includes: a cloud platform cost calculation module, which is used for the cloud platform to determine the power-on time of the air valve based on the switch status of the air valve, and determine the cost of the place where the air valve is used based on the power-on time of the air valve.
[0096] Technical personnel in the relevant field can clearly understand that, for the convenience and simplicity of description, the specific working process of the device for identifying the power-off state of the air valve described above can refer to the corresponding process in the embodiment of the aforementioned method for identifying the power-off state of the air valve, and will not be repeated here.
[0097] Embodiment 4:
[0098] The embodiment of the present invention further provides an electronic device for executing the above-mentioned method for identifying the power-off state of the air valve; see Figure 8 A structural schematic diagram of an electronic device is shown, which includes a memory 100 and a processor 101, wherein the memory 100 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the above-mentioned method for identifying the power-off state of the air valve.
[0099] Further, Figure 8 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0100] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0101] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.
[0102] An embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the above-mentioned method for identifying the power-off state of the air valve. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0103] The computer program product of the method, device and electronic device for identifying the power-off state of the air valve provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0104] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0105] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0106] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0107] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0108] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for identifying the power-off state of a wind valve, characterized in that: Applied to a centralized smoke exhaust system, the centralized smoke exhaust system comprises: a damper and a host, the damper power supply box is communicatively connected to the host, and the host is communicatively connected to a cloud platform; the method comprises: The air valve power supply box reports the power-on mark of the air valve power supply box and the switch state of the air valve to the host after power-on and before power-off; wherein the power-on mark indicates that the air valve power supply box is powered on or off, and the switch state is used to indicate that the air valve is in the on state or the off state; The host reports the power-on mark, the switch state and the online state of the air valve power box to the cloud platform; wherein the online state indicates whether the communication between the air valve power box and the host is normal or abnormal; The cloud platform analyzes the switch state of the damper during the period from when the damper power supply box is powered off to when the damper power supply box is powered on based on the power-on mark, the switch state and the online state; The air valve power box is provided with a memory, and the memory is used to store the switching status of the air valve; the step of the air valve power box reporting the power-on mark of the air valve power box and the switching status of the air valve to the host after power-on and before power-off includes: after the air valve power box is powered on, the power-on mark is set to a first value; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host; before the air valve power box is powered off, the power-on mark is set to a second value; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host.
2. The method according to claim 1, characterized in that The step of the host reporting the power-on mark, the switch state and the online state of the air valve power supply box to the cloud platform includes: After receiving the power-on mark and the switch status, the host determines the online status of the air valve power box; The host reports the power-on mark, the switch status and the online status to the cloud platform.
3. The method according to claim 1, characterized in that: The step of the cloud platform parsing the switch state of the damper during the period from power off of the damper power box to power on of the damper power box based on the power-on mark, the switch state and the online state includes: The cloud platform determines whether the air valve power supply box is online based on the online status; If the air valve power box is online, the cloud platform determines whether the air valve power box is powered on or off based on the power-on mark; If the air valve power supply box is powered off, the cloud platform records the time before the air valve power supply box is powered off; If the air valve power box is powered on, the cloud platform records the time after the power is powered on, and determines the switch state as the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on.
4. The method according to claim 3, characterized in that After the step of the cloud platform determining whether the air valve power supply box is online based on the online status, the method further includes: If the air valve power box is not online, the cloud platform determines the switch state of the air valve power box before it goes offline, and determines whether the air valve is in the on state or the off state before the air valve power box goes offline; If the air valve is in the power-on state before the air valve power box goes offline, it is determined that the air valve is open and the power is off, and an alarm operation is performed; If the air valve is in the shutdown state before the air valve power box goes offline, it is determined that the air valve is closed and the power is off, and no alarm operation is performed.
5. The method according to claim 3, characterized in that: If after the step of powering off the air valve power supply box, the method further includes: the cloud platform records the switch status.
6. The method according to claim 3, characterized in that The cloud platform records the time after the power supply is powered on, and determines the switch state as the switch state of the damper from the time before the damper power supply box is powered off to the time after the damper power supply box is powered on, including: The cloud platform determines that the switch state is a first value or a second value; If the switch state is the first value, record the time after the power supply is powered on, and set the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on as the first value; If the switch state is the second value, record the time after the power supply is powered on, and set the switch state of the air valve from the time before the air valve power box is powered off to the time after the air valve power box is powered on as the second value.
7. The method according to any one of claims 1 to 6, characterized in that: The step of the cloud platform parsing the switch state of the damper during the period from power off of the damper power box to power on of the damper power box based on the power-on mark, the switch state and the online state includes: The cloud platform determines the power-on time of the air valve based on the on-off state of the air valve, and determines the cost of using the air valve based on the power-on time of the air valve.
8. A device for identifying the power-off state of a wind valve, characterized in that: Applied to a centralized smoke exhaust system, the centralized smoke exhaust system comprises: a damper and a host, the damper power supply box is communicatively connected to the host, and the host is communicatively connected to a cloud platform; the device comprises: The air valve power supply box processing module is used for the air valve power supply box to report the power-on mark of the air valve power supply box and the switch state of the air valve to the host after the air valve power supply box is powered on and before the power is turned off; wherein the power-on mark indicates that the air valve power supply box is powered on or off, and the switch state is used to indicate that the air valve is in the on state or the off state; A host processing module, used for the host to report the power-on mark, the switch state and the online state of the air valve power box to the cloud platform; wherein the online state indicates whether the communication between the air valve power box and the host is normal or abnormal; A cloud platform processing module, used for the cloud platform to analyze the switch state of the damper during the period from power off of the damper power box to power on of the damper power box based on the power-on mark, the switch state and the online state; The air valve power box is provided with a memory, and the memory is used to store the switching status of the air valve; the air valve power box processing module is used to set the power-on mark to a first value after the air valve power box is powered on; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host; before the air valve power box is powered off, the power-on mark is set to a second value; the air valve power box obtains the switching status of the air valve from the memory, and reports the power-on mark and the switching status to the host.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method for identifying the power-off state of the air valve as described in any one of claims 1 to 7.
