CN108800442B - Equipment state detection method and device and electrical equipment - Google Patents

Equipment state detection method and device and electrical equipment Download PDF

Info

Publication number
CN108800442B
CN108800442B CN201810796878.9A CN201810796878A CN108800442B CN 108800442 B CN108800442 B CN 108800442B CN 201810796878 A CN201810796878 A CN 201810796878A CN 108800442 B CN108800442 B CN 108800442B
Authority
CN
China
Prior art keywords
state
equipment
remote control
control state
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810796878.9A
Other languages
Chinese (zh)
Other versions
CN108800442A (en
Inventor
王志鹏
黄炳南
陈剑丰
王帆
欧相柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201810796878.9A priority Critical patent/CN108800442B/en
Publication of CN108800442A publication Critical patent/CN108800442A/en
Application granted granted Critical
Publication of CN108800442B publication Critical patent/CN108800442B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/49Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring ensuring correct operation, e.g. by trial operation or configuration checks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application relates to a device state detection method, a device and an electrical device, and belongs to the technical field of device detection. The detection method comprises the following steps: obtaining a remote control state of a device, the remote control state comprising: allowing; and when the remote control state is allowed, carrying out equipment point state detection on the equipment, and determining the equipment state according to the detection result. According to the method and the device, the remote control state is a limit for allowing detection of the state of the equipment point, so that the problem that the program efficiency is lowered due to data reading when the state of the equipment point is detected under an unnecessary condition can be solved; furthermore, the method and the device can achieve the purposes of improving the quality of the detection program and increasing the running speed of the program.

Description

Equipment state detection method and device and electrical equipment
Technical Field
The application belongs to the technical field of equipment detection, and particularly relates to an equipment state detection method, a detection device and electrical equipment.
Background
In order to facilitate the control of the equipment, some equipment, such as part of an air conditioning unit, has two control modes, namely remote control and local control. In the above two control modes, in order to determine the state of the device, the device needs to be detected. In order to improve the quality of the detection program in two different control modes, the running speed of the program is increased, and therefore, the improvement on the detection of the state of the equipment is necessary.
Disclosure of Invention
The application provides a device state detection method, a device and an electrical device, which are used for improving the quality of a detection program and increasing the running speed of the program.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect, the present application provides a device status detection method, including:
obtaining a remote control state of a device, the remote control state comprising: allowing;
and when the remote control state is allowed, carrying out equipment point state detection on the equipment, and determining the equipment state according to the detection result.
Further, the obtaining the remote control state of the device includes:
receiving first communication data, wherein the first communication data comprise a remote control state of equipment;
and reading the remote control state of the equipment from the first communication data.
Further, the first communication data is sent by the remote switch control device.
Further, the remote control state further includes: forbidding;
the method further comprises the following steps:
and when the remote control state is forbidden, receiving second communication data, and determining the equipment state according to the state data in the second communication data.
Further, the second communication data is sent by an upper computer, and the upper computer is used for controlling the equipment when the remote control state is forbidden.
Further, the performing device dot state detection on the device includes:
detecting a switching state of a switching point of the device.
Further, the detecting a switching state of a switching point of the device includes:
confirming the pin state of a switch point of the equipment;
when the pin state is valid, acquiring data corresponding to the pin in a register;
and determining the switching state of the switching point according to the data value of the data.
Further, the switching point comprises at least one of:
dry contact, valve.
Further, the device states include: the on/off state of the device.
Further, the equipment is an air conditioning unit.
In a second aspect, the present application provides an apparatus for detecting a device status, including:
an obtaining module, configured to obtain a remote control state of a device, where the remote control state includes: allowing;
and the first determining module is used for carrying out equipment point state detection on the equipment when the remote control state is allowed, and determining the equipment state according to the detection result.
Further, the obtaining module includes:
the first receiving submodule is used for receiving first communication data, and the first communication data comprise a remote control state of equipment;
and the first reading submodule is used for reading the remote control state of the equipment from the first communication data.
Further, the remote control state further includes: forbidding;
the device further comprises:
and the first determining module is used for receiving second communication data when the remote control state is forbidden and determining the equipment state according to the state data in the second communication data.
Further, the performing device dot state detection on the device includes:
detecting a switching state of a switching point of the device.
Further, the first determining module includes:
the first judgment submodule is used for confirming the pin state of a switch point of the equipment;
the first obtaining submodule is used for obtaining data corresponding to the pin in the register when the pin state is effective;
and the first determining submodule is used for determining the switching state of the switching point according to the data value of the data.
Further, the switching point comprises at least one of:
dry contact, valve.
In a third aspect, the present application provides an electrical device comprising: a device as claimed in any one of the preceding claims.
Further, the equipment is an air conditioning unit.
This application adopts above technical scheme, possesses following beneficial effect at least:
according to the method and the device, the remote control state is judged firstly, then the state of the equipment point is detected when the remote control state is judged to be allowed, the state of the equipment is determined according to the detection result, and the limitation is formed for the detection of the state of the equipment point through the remote control state, so that the problem that the program efficiency is lowered due to data reading when the state of the equipment point is detected under the unnecessary condition can be avoided. Furthermore, the method and the device can achieve the purposes of improving the quality of the detection program and increasing the running speed of the program.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a device status detection method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a process of detecting a switching state of a switching point of a device according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating a process for reading a pin status of a switch point by a register according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a device status detection method according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus state detection device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an acquisition module according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a first determining module according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an apparatus state detection device according to another embodiment of the present application;
fig. 9 is a schematic structural diagram of an electrical apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail below. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flow chart of an apparatus state detection method according to an embodiment of the present application, and as shown in fig. 1, the apparatus state detection method includes the following steps:
s101, obtaining a remote control state of the equipment, wherein the remote control state comprises the following steps: and (4) allowing.
It will be appreciated that when the remote control state is enabled, the device control state is a remote control state, i.e. it indicates that the device is enabled to be controlled by remote control means, and when the device is under remote control, local control of the device is disabled.
In one application scenario, taking an air conditioning unit as an example, the air conditioning unit is configured with a remote switch control device. Through the operation of the remote switch control device, the air conditioning unit can be remotely controlled or locally controlled. For example, the air conditioning unit is remotely controlled through a remote terminal, or the air conditioning unit is locally controlled through an upper computer of the air conditioning unit. When the air conditioning unit is under remote control, the local control of the air conditioning unit is forbidden, namely the upper computer is forbidden to control the air conditioning unit at the moment, and the air conditioning unit can be controlled through the remote terminal.
When the remote control state is allowed, the operation of the equipment comprises the following steps: and performing on-off operation on the equipment and the like. For example, the air conditioning unit is controlled to be turned on or off through the remote terminal.
In one embodiment, the obtaining the remote control state of the device includes:
receiving first communication data, wherein the first communication data comprise a remote control state of equipment;
and reading the remote control state of the equipment from the first communication data.
In a specific application, the remote control state of the equipment is determined by operating the remote switch control device, so that the first communication data carrying the remote control state of the equipment can be directly sent by the remote switch control device.
For example, when the remote switch control device is operated to determine that the remote control state of the equipment is allowed, the remote switch control device sends first communication data carrying that the remote control state of the equipment is allowed to the equipment state detection device, and the equipment state detection device can obtain that the remote control state of the equipment is allowed by reading the received first communication data.
And S102, when the remote control state is allowed, carrying out equipment point state detection on the equipment, and determining the equipment state according to the detection result.
It will be appreciated that when the remote control state is enabled, the remote terminal sends an instruction to the device, which responds to the instruction by a change in state of the device point to cause the device to perform a corresponding action. Accordingly, the device state detection means determines the state of the device by detecting whether the state of the device point has changed.
In one embodiment, the performing device dot state detection on the device includes:
detecting a switching state of a switching point of the device.
In an application scenario, taking an air conditioning unit as an example, for example, a remote terminal sends a power-on instruction to the air conditioning unit, a dry contact corresponding to the power-on instruction in the air conditioning unit is closed, and the air conditioning unit executes power-on in response to the closed dry contact. When determining whether the air conditioning unit is really turned on, the equipment state detection device determines whether the dry contact is really closed.
In practical applications, the dry contact may be a device contact having no polarity between contacts such as relay contacts.
Fig. 2 is a schematic flowchart illustrating a process of detecting a switching state of a switching point of a device according to an embodiment of the present application; as shown in fig. 2, the detecting the switching state of the switching point of the device includes:
s201, confirming the pin state of a switch point of the equipment;
s202, when the pin state is valid, acquiring data corresponding to the pin in a register;
s203, determining the switching state of the switching point according to the data value of the data.
In a particular application, a pin of the register may be connected to a switch point of the device and configured to read a valid pin, and then the switch state of the switch point is determined by the reading of the pin. As shown in fig. 3, fig. 3 is a schematic flow chart of reading a state of a switch point pin by a register according to an embodiment of the present application, where the step of reading the state of the switch point pin by the register includes:
s31, confirming that the register pin corresponding to the equipment switch point is an effective pin;
s32, acquiring data corresponding to the pins in the register;
s33, judging the state of the register according to the data value of the data, and executing the step S34 if the state of the register is judged to be set to 1; if the status of the register is set to 0, go to step S35;
s34, the input of the register pin is high level;
s35, the input of the register pin is low.
It is understood that in S32, the data corresponding to the pin should be character string data, such as binary character string data, and the state of the register can be determined according to the binary character string data. For example, if the state of the register is determined to be set to 1 according to the data value, it is determined that the input of the register pin corresponding to the switch point is a high level, and accordingly, it is determined that the switch state of the switch point is a conducting state; and if the state of the register is set to be 0 according to the data value, determining that the input of the register pin corresponding to the switch point is low level, and correspondingly determining that the switch state of the switch point is an off state.
It will be appreciated that the device point state may be characterized not only by the switch state of the switch point, but also by the pin state of the processing device, including registers and the like.
In summary, in the above embodiment, the remote control state is determined first, then the device point state is detected when the remote control state is determined to be allowable, the device state is determined according to the detection result, and a limitation is formed by the remote control state being allowable to detect the device point state, so that a problem that the program efficiency is lowered due to data reading when the device point state is detected under an unnecessary condition can be avoided. Therefore, the purposes of improving the quality of the detection program and increasing the running speed of the program can be achieved.
In the foregoing embodiments, the device status is not limited to the on/off status of the device, and may be other action status situations of the device. For example, the switching point is not limited to the dry contact point because of the opening/closing operation state of the valve, and may be a switching point such as a valve that reflects the operation state of the device.
Fig. 4 is a schematic flowchart of a device status detection method according to another embodiment of the present application, and as shown in fig. 4, in S101, the remote control status further includes: forbidding;
the equipment state detection method also comprises the following steps:
s103, receiving second communication data when the remote control state is forbidden, and determining the equipment state according to the state data in the second communication data.
In one embodiment, the second communication data is sent by an upper computer, and the upper computer is used for controlling the equipment when the remote control state is forbidden.
It can be understood that, when the remote control state is forbidden, the remote terminal cannot control the device, and the device can be controlled through the upper computer, for example, the device is controlled to be turned on or turned off through the upper computer.
In an application scenario, taking an air conditioning unit as an example, the upper computer is connected with the air conditioning unit through a communication bus. When the remote control state is forbidden, the air conditioning unit can be controlled by the upper computer at the moment, the action instruction of the unit is issued by the upper computer through the communication bus, and the real-time state data of the corresponding air conditioning unit when the action is executed is also uploaded to the upper computer through the communication bus. Under the condition, the equipment state of the air conditioning unit can be determined according to the state data in the communication data of the upper computer only by receiving the communication data of the upper computer. For example, the upper computer sends a starting-up instruction to the air conditioning unit through the communication bus, starting-up data for the air conditioning unit to start up is also sent to the upper computer through the communication bus, the device state detection device receives the communication data sent by the upper computer and carries the starting-up data, and the state of the device can be determined according to the starting-up data carried in the communication data.
It can be understood that, when the remote control state is disabled, the device state detection apparatus may determine the state of the device by receiving the communication data sent by the upper computer, and if the device state detection apparatus detects the device point state of the device, on one hand, it is redundant to detect the device point state, and the detected data becomes unnecessary data, and on the other hand, when the remote control state is disabled, the reading process of the register pin may reduce the program efficiency in the process of detecting the device point state of the device.
According to the technical scheme of the embodiment, when the remote control state is allowed, the equipment point state detection is carried out on the equipment, the equipment state is determined according to the detection result, when the remote control state is forbidden, the second communication data is received, and the equipment state is determined according to the state data in the second communication data, so that the equipment is selectively detected according to the remote control state, particularly when the remote control state is forbidden, the equipment state is determined by reading the communication data of the upper computer, reading of invalid data is avoided, the quality of a detection program is improved, and the running speed of the program is increased.
In a particular application, whether remote or local, after the device state is executed, the device executes the corresponding device logic. For example, after the air conditioning unit is started, cooling, heating or defrosting and the like are performed according to the ambient temperature, so that various functions of the air conditioning unit can be achieved by executing corresponding logic. Therefore, the device status detection method of the present application may further include: and acquiring corresponding device logic data after the device state is executed so as to further perfect the detection of the device.
Fig. 5 is a schematic structural diagram of an apparatus state detection device according to an embodiment of the present application, and as shown in fig. 5, the apparatus state detection device 5 includes:
an obtaining module 51, configured to obtain a remote control state of the device, where the remote control state includes: allowing;
a first determining module 52, configured to perform device point state detection on the device when the remote control state is allowed, and determine a device state according to a detection result.
With regard to the above embodiment, it can be understood that, when the remote control state is enabled, the device control state is a remote control state, that is, it indicates that the device is enabled to be controlled by a remote control manner, and when the device is under remote control, the local control of the device is disabled.
In one application scenario, taking an air conditioning unit as an example, the air conditioning unit is configured with a remote switch control device. Through the operation of the remote switch control device, the air conditioning unit can be remotely controlled or locally controlled. For example, the air conditioning unit is remotely controlled through a remote terminal, or the air conditioning unit is locally controlled through an upper computer of the air conditioning unit. When the air conditioning unit is under remote control, the local control of the air conditioning unit is forbidden, namely the upper computer is forbidden to control the air conditioning unit at the moment, and the air conditioning unit can be controlled through the remote terminal.
When the remote control state is allowed, the operation of the equipment comprises the following steps: and performing on-off operation on the equipment and the like. For example, the air conditioning unit is controlled to be turned on or off through the remote terminal.
In an embodiment, as shown in fig. 6, fig. 6 is a schematic structural diagram of an obtaining module provided in an embodiment of the present application, where the obtaining module 51 includes:
the first receiving submodule 511 is configured to receive first communication data, where the first communication data includes a remote control state of the device;
a first reading submodule 512, configured to read a remote control state of the device from the first communication data.
In a specific application, the remote control state of the equipment is determined by the operation of the remote switch control device. Thus, in one embodiment, the first communication data may be transmitted directly by the remote switch control device.
For example, when the remote switch control device is operated to determine that the remote control state of the equipment is allowed, the remote switch control device sends first communication data carrying that the remote control state of the equipment is allowed to the equipment state detection device 5, and the equipment state detection device 5 can obtain that the remote control state of the equipment is allowed by reading the received first communication data.
When the remote control state is allowed, the remote terminal can send an instruction to the device, the device responds to the instruction through the state change of the device point so as to enable the device to execute corresponding actions, and accordingly, the device state detection device 5 determines the state of the device by detecting whether the state of the device point changes or not.
In one embodiment, the performing device dot state detection on the device includes:
detecting a switching state of a switching point of the device.
In an application scenario, taking an air conditioning unit as an example, for example, a remote terminal sends a power-on instruction to the air conditioning unit, a dry contact corresponding to the power-on instruction in the air conditioning unit is closed, and the air conditioning unit executes power-on in response to the closed dry contact. When determining whether the air conditioning unit is really opened, the determination needs to be carried out by detecting whether the dry contact is really closed.
In practical applications, the dry contact may be a device contact having no polarity between contacts such as relay contacts.
Based on detecting the switch state of the switch point of the device, in an embodiment, as shown in fig. 7, fig. 7 is a schematic structural diagram of a first determining module provided in an embodiment of the present application, where the first determining module 52 includes:
the first judging submodule 521 is used for judging the pin state of a switch point of the equipment;
a first obtaining submodule 522, configured to obtain, when the pin status is valid, data corresponding to the pin in the register;
the first determining submodule 523 is configured to determine a switching state of the switching point according to a data value of the data.
In a particular application, a pin of the register may be connected to a switch point of the device and configured to read a valid pin, and then the switch state of the switch point is determined by the reading of the pin. As shown in fig. 3, fig. 3 is a schematic flow chart of reading a state of a switch point pin by a register according to an embodiment of the present application, where the step of reading the state of the switch point pin by the register includes:
s31, confirming that the register pin corresponding to the equipment switch point is an effective pin;
s32, acquiring data corresponding to the pins in the register;
s33, judging the state of the register according to the data value of the data, and executing the step S34 if the state of the register is judged to be set to 1; if the status of the register is set to 0, go to step S35;
s34, the input of the register pin is high level;
s35, the input of the register pin is low.
It is understood that in S32, the data corresponding to the pin should be character string data, such as binary character string data, and the state of the register can be determined according to the binary character string data. For example, if the state of the register is determined to be set to 1 according to the data value, it is determined that the input of the register pin corresponding to the switch point is a high level, and accordingly, it is determined that the switch state of the switch point is a conducting state; and if the state of the register is set to be 0 according to the data value, determining that the input of the register pin corresponding to the switch point is low level, and correspondingly determining that the switch state of the switch point is an off state.
It will be appreciated that the device point state may be characterized not only by the switch state of the switch point, but also by the pin state of the processing device, including registers and the like.
In summary, in the above embodiment, the remote control state is determined first, then the device point state is detected when the remote control state is determined to be allowable, the device state is determined according to the detection result, and a limitation is formed by the remote control state being allowable to detect the device point state, so that a problem that the program efficiency is lowered due to data reading when the device point state is detected under an unnecessary condition can be avoided. Therefore, the purposes of improving the quality of the detection program and increasing the running speed of the program can be achieved.
In the foregoing embodiments, the device status is not limited to the on/off status of the device, and may be other action status situations of the device. For example, the switching point is not limited to the dry contact point because of the opening/closing operation state of the valve, and may be a switching point such as a valve that reflects the operation state of the device.
Further, the remote control state further includes: and (4) forbidding.
Fig. 8 is a schematic structural diagram of an apparatus state detection device according to another embodiment of the present application, and as shown in fig. 8, the apparatus state detection device 5 further includes:
the second determining module 53 is configured to receive second communication data when the remote control state is disabled, and determine the device state according to state data in the second communication data.
Further, the second communication data is sent by an upper computer, and the upper computer is used for controlling the equipment when the remote control state is forbidden.
In one embodiment, the second communication data is sent by an upper computer, and the upper computer is used for controlling the equipment when the remote control state is forbidden.
It can be understood that, when the remote control state is forbidden, the remote terminal cannot control the device, and the device can be controlled through the upper computer, for example, the device is controlled to be turned on or turned off through the upper computer.
In an application scenario, taking an air conditioning unit as an example, the upper computer is connected with the air conditioning unit through a communication bus. When the remote control state is forbidden, the air conditioning unit can be controlled by the upper computer at the moment, the action instruction of the unit is issued by the upper computer through the communication bus, and the real-time state data of the corresponding air conditioning unit when the action is executed is also uploaded to the upper computer through the communication bus. Under the condition, the equipment state of the air conditioning unit can be determined according to the state data in the communication data of the upper computer only by receiving the communication data of the upper computer. For example, the upper computer sends a starting-up instruction to the air conditioning unit through the communication bus, starting-up data for the air conditioning unit to start up is also sent to the upper computer through the communication bus, the device state detection device receives the communication data sent by the upper computer and carries the starting-up data, and the state of the device can be determined according to the starting-up data carried in the communication data.
It can be understood that, when the remote control state is disabled, the device state detection device 5 may determine the state of the device by receiving the communication data sent by the upper computer, and if the device state detection device 5 detects the device point state of the device, on one hand, the device point state is redundant and becomes unnecessary data, and on the other hand, when the remote control state is disabled, the reading process of the register pin may reduce the program efficiency in the process of detecting the device point state of the device.
According to the technical scheme of the embodiment, when the remote control state is allowed, the equipment point state detection is carried out on the equipment, the equipment state is determined according to the detection result, when the remote control state is forbidden, the second communication data is received, and the equipment state is determined according to the state data in the second communication data, so that the equipment is selectively detected according to the remote control state, particularly when the remote control state is forbidden, the equipment state is determined by reading the communication data of the upper computer, reading of invalid data is avoided, the quality of a detection program is improved, and the running speed of the program is increased.
Fig. 9 is a schematic structural diagram of an electrical apparatus according to an embodiment of the present application, and as shown in fig. 9, the electrical apparatus 9 includes:
the device 5 as claimed in any one of the preceding claims.
Further, the device 7 is an air conditioning unit.
It should be noted that the electrical equipment in the present application is not limited to the air conditioning unit disclosed in the above embodiments, and may also be other electrical equipment with both remote control and local control.
With regard to the electrical device 7 in the above embodiment, the specific state detection manner thereof has been described in detail in the related embodiment, and will not be explained in detail here.
It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.
It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (11)

1. An apparatus status detection method, comprising:
obtaining a remote control state of a device, the remote control state comprising: allowing;
when the remote control state is allowed, carrying out equipment point state detection on the equipment, and determining the equipment state according to the detection result;
the method for acquiring the remote control state of the equipment comprises the following steps:
receiving first communication data, wherein the first communication data are sent by a remote switch control device and comprise remote control states of equipment;
reading the remote control state of the equipment from the first communication data;
the device point state detection on the device comprises:
detecting a switching state of a switching point of the device, comprising:
confirming the pin state of a switch point of the equipment;
when the pin state is valid, acquiring data corresponding to the pin in a register;
and determining the switching state of the switching point according to the data value of the data.
2. The method of claim 1, wherein the remote control state further comprises: forbidding;
the method further comprises the following steps:
and when the remote control state is forbidden, receiving second communication data, and determining the equipment state according to the state data in the second communication data.
3. The method of claim 2,
the second communication data is sent by an upper computer, and the upper computer is used for controlling the equipment when the remote control state is forbidden.
4. The method of claim 1, wherein the switching points comprise at least one of:
dry contact, valve.
5. The method of claim 1, wherein the device state comprises: the on/off state of the device.
6. The method according to any one of claims 1 to 5, wherein the apparatus is an air conditioning unit.
7. An apparatus state detection device, comprising:
an obtaining module, configured to obtain a remote control state of a device, where the remote control state includes: enable or disable;
the first determining module is used for carrying out equipment point state detection on the equipment when the remote control state is allowed and determining the equipment state according to a detection result;
the device point state detection on the device comprises:
detecting a switching state of a switching point of the device, comprising:
the first judgment submodule is used for confirming the pin state of a switch point of the equipment;
the first obtaining submodule is used for obtaining data corresponding to the pin in the register when the pin state is effective;
the first determining submodule is used for determining the switching state of the switching point according to the data value of the data;
the acquisition module includes:
the first receiving submodule is used for receiving first communication data, and the first communication data comprise a remote control state of equipment;
the first reading submodule is used for reading the remote control state of the equipment from the first communication data;
the first communication data is sent by the remote switch control device.
8. The apparatus of claim 7, wherein the remote control state further comprises: forbidding;
the device further comprises:
and the second determining module is used for receiving second communication data when the remote control state is forbidden and determining the equipment state according to the state data in the second communication data.
9. The apparatus of claim 7, wherein the switch point comprises at least one of:
dry contact, valve.
10. An electrical device, comprising: the device of any one of claims 7-9.
11. The apparatus of claim 10, wherein the apparatus is an air conditioning unit.
CN201810796878.9A 2018-07-19 2018-07-19 Equipment state detection method and device and electrical equipment Active CN108800442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810796878.9A CN108800442B (en) 2018-07-19 2018-07-19 Equipment state detection method and device and electrical equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810796878.9A CN108800442B (en) 2018-07-19 2018-07-19 Equipment state detection method and device and electrical equipment

Publications (2)

Publication Number Publication Date
CN108800442A CN108800442A (en) 2018-11-13
CN108800442B true CN108800442B (en) 2020-01-07

Family

ID=64077435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810796878.9A Active CN108800442B (en) 2018-07-19 2018-07-19 Equipment state detection method and device and electrical equipment

Country Status (1)

Country Link
CN (1) CN108800442B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940954A (en) * 2005-09-30 2007-04-04 西门子(中国)有限公司 Method for remote controlling applied software of medical image system
CN105827405A (en) * 2015-01-05 2016-08-03 中国移动通信集团陕西有限公司 Remotely-controlled safety lock device and remote control method thereof
CN106210060A (en) * 2016-07-14 2016-12-07 乐视控股(北京)有限公司 Remote control terminal, long-range control method, remote controlled terminal and remote controlled method
CN107749890A (en) * 2017-10-31 2018-03-02 天津七所高科技有限公司 Resistance welder remote monitoring system based on Internet technology

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6530920B2 (en) * 2015-01-30 2019-06-12 日立ジョンソンコントロールズ空調株式会社 Air conditioner, indoor unit of air conditioner, and communication method of air conditioner

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1940954A (en) * 2005-09-30 2007-04-04 西门子(中国)有限公司 Method for remote controlling applied software of medical image system
CN105827405A (en) * 2015-01-05 2016-08-03 中国移动通信集团陕西有限公司 Remotely-controlled safety lock device and remote control method thereof
CN106210060A (en) * 2016-07-14 2016-12-07 乐视控股(北京)有限公司 Remote control terminal, long-range control method, remote controlled terminal and remote controlled method
CN107749890A (en) * 2017-10-31 2018-03-02 天津七所高科技有限公司 Resistance welder remote monitoring system based on Internet technology

Also Published As

Publication number Publication date
CN108800442A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN103577223B (en) Micro control unit (MCU) startup mode selecting circuit and MCU code updating method based on circuit
CN105791560A (en) Data network access control method and user terminal
CN107589928A (en) Double screen displaying method of terminal, device, terminal and computer-readable recording medium
US20230332798A1 (en) Switching control board for air conditioning system, air conditioning system, and adaptive control method
CN104220958A (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
CN110098826A (en) The detection method of chip circuit and its state of a control, electronic equipment and medium
CN111211937A (en) Method, device and system for testing stability of server link signals
CN111970749A (en) Network connection method and device, intelligent household equipment and intelligent household system
CN108800442B (en) Equipment state detection method and device and electrical equipment
CN107436575A (en) Power failure protection method and household appliance
CN111043721A (en) CAN bus matching resistor access method and device, air conditioning unit and system
CN117033063B (en) Server liquid leakage processing method, system, device, electronic equipment and medium
CN114003464A (en) Parameter adaptive method, server, device, and medium according to temperature change
CN104422556A (en) Electric pressure cooker and pressure detecting device and method thereof
CN105204954A (en) Method and terminal for processing dead halt state
KR100284430B1 (en) Program update method and device
CN111857324A (en) Method and device for reducing power consumption of terminal, mobile terminal and storage medium
CN108711440B (en) Write protection circuit, write protection method, write protection device and electrical equipment
US9310829B2 (en) System with feature of saving dynamic power of flip-flop banks
CN109240474A (en) Reset values controllable digital circuit and its design method
CN111897252B (en) Load detection method, system and equipment
US20180121087A1 (en) Register-based communications interface
CN103411377A (en) Microwave oven refrigerator and control method of radiating motor thereof
CN104061686A (en) Water heater and control method thereof
CN110955554A (en) Fault processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant