CN111007737A - Device control method, device control apparatus, and computer-readable storage medium - Google Patents

Device control method, device control apparatus, and computer-readable storage medium Download PDF

Info

Publication number
CN111007737A
CN111007737A CN201911361698.9A CN201911361698A CN111007737A CN 111007737 A CN111007737 A CN 111007737A CN 201911361698 A CN201911361698 A CN 201911361698A CN 111007737 A CN111007737 A CN 111007737A
Authority
CN
China
Prior art keywords
data
equipment
controlled
virtual
control method
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.)
Granted
Application number
CN201911361698.9A
Other languages
Chinese (zh)
Other versions
CN111007737B (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.)
GD Midea Heating and Ventilating Equipment Co Ltd
Shanghai Meikong Smartt Building Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Heating and Ventilating Equipment Co Ltd
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 Midea Group Co Ltd, GD Midea Heating and Ventilating Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201911361698.9A priority Critical patent/CN111007737B/en
Publication of CN111007737A publication Critical patent/CN111007737A/en
Application granted granted Critical
Publication of CN111007737B publication Critical patent/CN111007737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2638Airconditioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • Biomedical Technology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention provides a device control method, a device control apparatus and a computer-readable storage medium. The equipment control method comprises the following steps: acquiring and storing operation data of controlled equipment; responding to a data reading instruction sent by the control terminal, calling operation data, and performing simulation operation on controlled equipment according to the operation data; wherein, the data reading instruction comprises: a historical data read instruction and/or a current data read instruction. The method and the device have the advantages that the user can conveniently analyze the running data and the running state, the steps of data storage and the steps of data calling, data analysis and simulation running are all carried out in the equipment control system, the integration of a processor and a memory on the control terminal or the controlled equipment is avoided, the portability of the control terminal is improved, the working stability of the controlled equipment in severe environment is improved, and the production cost of products is reduced.

Description

Device control method, device control apparatus, and computer-readable storage medium
Technical Field
The present invention relates to the field of air conditioner systems, and in particular, to an apparatus control method, an apparatus control device, and a computer-readable storage medium.
Background
In the related art of control in the field of air conditioning, the equipment needs to be operated for a long time continuously, providing a comfortable environment to the user. Due to the existence of the conditions of equipment service life, mechanical structure, environmental condition change and the like, the equipment inevitably breaks down. The method aims to timely find out the fault problem of the equipment, analyze the cause of the problem and control the equipment. The related art control method requires a processor and a memory to be provided on the control terminal or the controlled device, which undoubtedly increases the production cost of the product. Therefore, how to design a control method that monitors the device and can remotely access multiple platforms together and reduce the production cost of the product becomes a problem that needs to be solved urgently.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
To this end, a first aspect of the invention provides an apparatus control method.
A second aspect of the invention provides an apparatus control device.
A third aspect of the invention provides a computer-readable storage medium.
In order to achieve the above object, according to an aspect of the first aspect of the present invention, there is provided an apparatus control method including: acquiring and storing operation data of controlled equipment; responding to a data reading instruction sent by the control terminal, calling operation data, and performing simulation operation on controlled equipment according to the operation data; wherein, the data reading instruction comprises: a historical data read instruction and/or a current data read instruction.
In the technical scheme, the equipment control system is in communication connection with the control terminal, and can receive the instruction sent by the control terminal and execute corresponding action according to the instruction sent by the control terminal. The equipment control system acquires the operation data of the controlled equipment, stores the acquired operation data of the passive equipment, and receives a data reading instruction sent by the terminal, wherein the data reading instruction comprises a historical data reading instruction and/or a current data reading instruction. And calling the acquired and stored operation data according to the data reading instruction, and performing simulated operation on the passive equipment according to the operation data, wherein the operation data comprises historical operation data and current operation data. And when the received historical data reading instruction is received, calling the stored historical operating data of the controlled equipment, carrying out simulation operation on the historical operating state of the controlled equipment according to the historical operating data, and enabling a user to select a simulation speed and a specific simulated historical time period according to requirements and wishes. When a current data reading instruction is received, current operation data of the passive device is acquired, simulation operation is performed according to the acquired current operation data, and the current operation state of the controlled device is checked. The device control system can acquire and record the operation data of the controlled device, corresponding operation data can be found to perform simulated operation in response to the data reading instruction of the control terminal, a user can analyze the operation data and the operation state conveniently, the steps of data storage, data calling, data analysis and simulated operation are performed in the device control system, integration of a processor and a memory on the control terminal or the controlled device is avoided, the portability of the control terminal is improved, the working stability of the controlled device in a severe environment is improved, and the production cost of products is reduced.
It can be understood that the device control system, the controlled device and the control terminal are in communication connection through the communication bus, and the device control system and the control terminal can also be in wireless communication connection, so that the portability of the control terminal is further improved. And the control terminal is not required to be bound with the equipment control system or the controlled equipment. The method can authorize different terminals by using authentication modes such as account numbers and passwords of an administrator without using a designated terminal, so that the different terminals become control terminals.
In any of the above technical solutions, before the step of obtaining and storing the operation data of the controlled device, the method further includes: and analyzing the communication protocol of the controlled equipment, and establishing communication connection with the controlled equipment according to the communication protocol.
In the technical scheme, the equipment control system establishes communication connection with the controlled equipment. Different devices use different communication protocols, before the step of acquiring the operation data, the device control system needs to analyze the communication protocol of the passive device, and establishes communication connection with different controlled devices by using the different communication protocols, so that the operation data of the different devices can be acquired. It is worth noting that the acquired and stored operation data can be sent to the control terminal through other communication protocols, so that the control terminal can communicate with controlled devices of different platforms without analyzing and storing various communication protocols.
It is understood that the controlled device can be a compressor, a fan, a solenoid valve, etc. in the air conditioning system.
In any of the above technical solutions, the device control method further includes: receiving a control instruction sent by a control terminal; and sending the received control instruction sent by the control terminal to the controlled equipment through a communication protocol so that the controlled equipment can respond to the control instruction to execute corresponding action.
In the technical scheme, the control terminal sends the control instruction to the equipment control system, and the control system sends the control instruction to the controlled equipment according to the communication protocol, so that the control of the control terminal on the controlled equipment is realized. When the controlled device and the control terminal use different communication protocols, the control system can convert the control instruction into an instruction which can be recognized by the controlled device according to the communication protocols, so that the controlled device can execute corresponding actions according to the control instruction.
It can be understood that the device control system transmits by using a TCP/IP protocol (transmission control protocol/network protocol), uses Json (lightweight data exchange format) as a data exchange format, and the exchange protocol includes function codes and function contents, and can be compatible with most of the existing common device terminals, because the TCP/IP network communication module widely exists on the existing devices such as mobile phones, tablets, computers, notebooks, and the like, and no additional hardware configuration is required. Namely, a special control terminal is not required to be additionally configured, so that the cost of the product is reduced.
In any of the above technical solutions, the step of obtaining and storing the operation data of the controlled device specifically includes: determining address information of the controlled equipment, and acquiring operation data of the controlled equipment corresponding to the address information; determining time information of operation data of the controlled equipment corresponding to the acquired address information; and storing the operation data and the time information according to the address information.
In the technical scheme, the controlled equipment is configured with address information corresponding to the identity after being installed. Before acquiring the operating data of the controlled device, address information of the controlled device to be acquired needs to be determined, the controlled device corresponding to the address information is inquired according to the address information, the operating data of the controlled device in operation is acquired from the controlled device, and the time stamp of the operating data is acquired to determine the time information of the operating data. And storing the operation data and the time information corresponding to the operation data according to the address information, namely storing the operation data of different devices and the time information corresponding to the operation data according to different address information of each controlled device, so as to be convenient for subsequently calling the operation data of each controlled device.
It can be understood that, particularly in the process of calling data, address information of a passive device to be called may be queried, and corresponding running data in the address information may be called.
In any of the above technical solutions, before the step of performing simulation operation on the controlled device according to the operation data, the method further includes: and establishing virtual equipment, and setting a mapping relation between the virtual equipment and the controlled equipment.
In the technical scheme, virtual equipment which corresponds to controlled equipment one by one is established in an equipment control system, and the virtual equipment is responsible for responding to a request of a control terminal for a user interaction interface of the equipment control system through a TCP/IP protocol. The virtual device can simulate all actions and parameters of the controlled device according to the operation parameters, the recovery function of the virtual device on the operation site of the controlled device is achieved, and the operation data of the failure diagnosis of the controlled device can be checked through the virtual device corresponding to the controlled device.
In any of the above technical solutions, the step of performing simulation operation on the controlled device according to the operation data specifically includes: responding to the data reading instruction to control the virtual equipment to extract, store and store the data; and controlling the virtual equipment to perform simulation operation on corresponding controlled equipment according to the operation data.
In the technical scheme, after the device control system receives a data reading instruction, the virtual device is controlled to perform simulation operation on the actions of the controlled device, the virtual device has all the capabilities of the controlled device, and all the actions of the corresponding passive device can be simulated according to the operation data. The user can check the running state of the passive device and diagnose the fault according to the simulation action of the virtual device, thereby being convenient for the user to operate and reducing the development difficulty and the learning cost of the user.
It can be understood that, when the virtual device simulates the historical state of the controlled device, the user operation interface includes a progress bar, and the user can simulate the historical state at different time points through the virtual device by dragging the progress bar. The user can flexibly check the states of the controlled equipment at different times through the virtual equipment.
In any of the above technical solutions, the step of controlling the virtual device to call the running data in response to the data reading instruction, where the data reading instruction is a historical data reading instruction, specifically includes: analyzing a historical data reading instruction to determine address information and time information which need to be read; determining virtual equipment corresponding to the address information; and controlling the virtual equipment to extract and store the running data corresponding to the read time information.
In the technical scheme, when a user needs to check the historical data of the controlled equipment, the equipment control system controls the virtual equipment of the controlled equipment to perform simulation operation according to the operation data, and the historical data needs to be called before the simulation operation. Before the historical data is called, the historical data reading instruction is analyzed, the address information and the time information of the controlled equipment of the historical data to be read are determined, the specified controlled equipment is found according to the address information, and the virtual equipment is controlled to extract specific operation data according to the time information. The method and the device realize that the virtual equipment can accurately search and call the running data of the running state which needs to be checked by the user.
In any of the above technical solutions, the step of controlling the virtual device to call the running data in response to the data reading instruction, where the data reading instruction is a current data reading instruction, specifically includes: analyzing the current data reading instruction to determine the address information to be read; determining virtual equipment corresponding to the address information; and controlling the virtual equipment to call the running data of the current time.
In the technical scheme, when a user needs to check the current data of the controlled equipment, the equipment control system controls the virtual equipment of the controlled equipment to perform simulation operation according to the operation data, and the current data needs to be called before the simulation operation. Before the current data is called, the current data reading instruction is analyzed, the address information of the controlled equipment of the current data to be read is determined, the appointed controlled equipment is found according to the current information, the virtual equipment is controlled to extract the current operation data of the corresponding controlled equipment, and the current operation state of the controlled equipment is simulated according to the current operation data. The method and the device realize that the virtual equipment can accurately search and call the running data of the running state which needs to be checked by the user.
It can be understood that, when the virtual device performs simulated operation on the controlled device according to the historical operation data, the virtual device can be switched to perform simulated operation on the controlled device according to the current operation data at any time according to the user instruction, so that the working mode of switching the virtual device quickly is realized, and the development difficulty and the learning cost of the user are reduced.
According to an aspect of the second aspect of the present invention, there is provided an apparatus control device including: a memory, a processor, and a computer program stored on the memory and executable on the processor; the computer program, when executed by a processor, implements the steps of the apparatus control method of any of the above-described aspects. The device control apparatus has all the beneficial effects of the device control method of any of the above technical solutions, and is not described herein again.
According to an aspect of the third aspect of the present invention, there is provided a computer-readable storage medium having a control program stored thereon, the control program, when executed by a processor, implementing the steps of the device control method according to any one of the above aspects. Therefore, the computer storage medium has all the advantages of the device control method according to any of the above technical solutions, and details are not repeated herein.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 shows a flow diagram of a device control method according to an embodiment of the invention;
FIG. 2 shows a flow diagram of a device control method according to another embodiment of the invention;
FIG. 3 shows a flow diagram of a device control method according to yet another embodiment of the invention;
FIG. 4 shows a flow diagram of a device control method according to yet another embodiment of the invention;
FIG. 5 shows a flow diagram of a device control method according to yet another embodiment of the invention;
FIG. 6 shows a flow diagram of a device control method according to yet another embodiment of the invention;
FIG. 7 shows a schematic block diagram of a device control apparatus according to an embodiment of the present invention;
FIG. 8 illustrates a hardware topology of a plant control system according to one embodiment of the invention;
FIG. 9 illustrates a software topology of a plant control system according to one embodiment of the present invention;
FIG. 10 illustrates a login interface diagram according to one embodiment of the invention;
FIG. 11 illustrates a connection configuration interface diagram according to one embodiment of the invention;
FIG. 12 illustrates a device configuration interface diagram according to an embodiment of the invention;
FIG. 13 illustrates a data viewing and device interface diagram according to one embodiment of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
A device control method, a device control apparatus, and a computer-readable storage medium according to an embodiment of the present invention are described below with reference to fig. 1 to 13.
The first embodiment is as follows:
as shown in fig. 1, in an embodiment of the present invention, there is provided an apparatus control method including:
step S102, acquiring and storing the operation data of the controlled equipment;
and step S104, responding to the data reading instruction sent by the control terminal, calling the operation data, and performing simulation operation on the controlled equipment according to the operation data.
Wherein, the data reading instruction comprises: a historical data read instruction and/or a current data read instruction.
In this embodiment, the device control system is in communication connection with the control terminal, and the device control system may receive the instruction sent by the control terminal and execute a corresponding action according to the instruction sent by the control terminal. The equipment control system acquires the operation data of the controlled equipment, stores the acquired operation data of the passive equipment, and receives a data reading instruction sent by the terminal, wherein the data reading instruction comprises a historical data reading instruction and/or a current data reading instruction. And calling the acquired and stored operation data according to the data reading instruction, and performing simulated operation on the passive equipment according to the operation data, wherein the operation data comprises historical operation data and current operation data. And when the received historical data reading instruction is received, calling the stored historical operating data of the controlled equipment, carrying out simulation operation on the historical operating state of the controlled equipment according to the historical operating data, and enabling a user to select a simulation speed and a specific simulated historical time period according to requirements and wishes. When a current data reading instruction is received, current operation data of the passive device is acquired, simulation operation is performed according to the acquired current operation data, and the current operation state of the controlled device is checked. The device control system can acquire and record the operation data of the controlled device, corresponding operation data can be found to perform simulated operation in response to the data reading instruction of the control terminal, a user can analyze the operation data and the operation state conveniently, the steps of data storage, data calling, data analysis and simulated operation are performed in the device control system, integration of a processor and a memory on the control terminal or the controlled device is avoided, the portability of the control terminal is improved, the working stability of the controlled device in a severe environment is improved, and the production cost of products is reduced.
It can be understood that the device control system, the controlled device and the control terminal are in communication connection through the communication bus, and the device control system and the control terminal can also be in wireless communication connection, so that the portability of the control terminal is further improved. And the control terminal is not required to be bound with the equipment control system or the controlled equipment. The method can authorize different terminals by using authentication modes such as account numbers and passwords of an administrator without using a designated terminal, so that the different terminals become control terminals.
Example two:
as shown in fig. 2, in another embodiment of the present invention, there is provided an apparatus control method including:
step S202, analyzing a communication protocol of the controlled equipment, and establishing communication connection with the controlled equipment according to the communication protocol;
step S204, acquiring and storing the operation data of the controlled equipment;
step S206, responding to the data reading instruction sent by the control terminal, calling operation data, and performing simulation operation on the controlled equipment according to the operation data;
step S208, receiving a control instruction sent by the control terminal;
step S210, sending the received control instruction sent by the control terminal to the controlled device through the communication protocol, so that the controlled device can respond to the control instruction to execute a corresponding action.
Wherein, the data reading instruction comprises: a historical data read instruction and/or a current data read instruction.
In this embodiment, the device control system establishes a communication connection with the controlled device. Different devices use different communication protocols, before the step of acquiring the operation data, the device control system needs to analyze the communication protocol of the passive device, and establishes communication connection with different controlled devices by using the different communication protocols, so that the operation data of the different devices can be acquired. It is worth noting that the acquired and stored operation data can be sent to the control terminal through other communication protocols, so that the control terminal can communicate with different controlled devices without analyzing and storing various communication protocols.
The control terminal sends the control instruction to the equipment control system, and the control system sends the control instruction to the controlled equipment according to the communication protocol, so that the control of the control terminal on the controlled equipment is realized. When the controlled device and the control terminal use different communication protocols, the control system can convert the control instruction into an instruction which can be recognized by the controlled device according to the communication protocols, so that the controlled device can execute corresponding actions according to the control instruction.
It is understood that the controlled device can be a compressor, a fan, a solenoid valve, etc. in the air conditioning system. The equipment control system transmits by a TCP/IP protocol, Json is used as a data exchange format, the exchange protocol comprises function codes and function contents, and the equipment control system can be compatible with most of conventional common equipment terminals, because the TCP/IP network communication module widely exists on the conventional mobile phone, tablet, computer, notebook and other equipment, no additional hardware is required to be configured. Namely, a special control terminal is not required to be additionally configured, so that the cost of the product is reduced.
As shown in fig. 3, in the above embodiment, the step of acquiring and storing the operation data of the controlled device specifically includes:
step S302, determining address information of the controlled equipment, and acquiring operation data of the controlled equipment corresponding to the address information;
step S304, determining time information of the operation data of the controlled equipment corresponding to the address information;
and step S306, storing the operation data and the time information according to the address information.
In this embodiment, after being installed, the controlled device is configured with address information corresponding to the identity. Before acquiring the operating data of the controlled device, address information of the controlled device to be acquired needs to be determined, the controlled device corresponding to the address information is inquired according to the address information, the operating data of the controlled device in operation is acquired from the controlled device, and the time stamp of the operating data is acquired to determine the time information of the operating data. And storing the operation data and the time information corresponding to the operation data according to the address information, namely storing the operation data of different devices and the time information corresponding to the operation data according to different address information of each controlled device, so as to be convenient for subsequently calling the operation data of each controlled device.
It can be understood that, particularly in the process of calling data, address information of a passive device to be called may be queried, and corresponding running data in the address information may be called.
Example three:
as shown in fig. 4, in still another embodiment of the present invention, there is provided an apparatus control method including:
step S402, acquiring and storing the operation data of the controlled equipment;
step S404, establishing a virtual device, and setting a mapping relation between the virtual device and a controlled device;
step S406, responding to the data reading instruction to control the virtual equipment to extract, store and store the data of the data;
and step S408, controlling the virtual equipment to perform simulation operation on corresponding controlled equipment according to the operation data.
Wherein, the data reading instruction comprises: a historical data read instruction and/or a current data read instruction.
In this embodiment, virtual devices corresponding to controlled devices one to one are established in the device control system, and the virtual devices are responsible for responding to a request of the control terminal to the user interaction interface of the device air control system through a TCP/IP protocol. The virtual device can simulate all actions and parameters of the controlled device according to the operation parameters, the recovery function of the virtual device on the operation site of the controlled device is achieved, and the operation data of the failure diagnosis of the controlled device can be checked through the virtual device corresponding to the controlled device. After the device control system receives the data reading instruction, the virtual device is controlled to perform simulation operation on the actions of the controlled device, the virtual device has all the capabilities of the controlled device, and all the actions of the corresponding passive device can be simulated according to the operation data. The user can check the running state of the passive device and diagnose the fault according to the simulation action of the virtual device, thereby being convenient for the user to operate and reducing the development difficulty and the learning cost of the user.
It can be understood that, when the virtual device simulates the historical state of the controlled device, the user operation interface includes a progress bar, and the user can simulate the historical state at different time points through the virtual device by dragging the progress bar. The user can flexibly check the states of the controlled equipment at different times through the virtual equipment.
As shown in fig. 5, in the above embodiment, the step of controlling the virtual device to call the running data in response to the data reading instruction is a historical data reading instruction, and specifically includes:
step S502, analyzing a historical data reading instruction to determine address information and time information which need to be read;
step S504, determining the virtual equipment corresponding to the address information;
step S506, controlling the virtual device to extract and store the operation data corresponding to the read time information.
In this embodiment, when a user needs to check the history data of the controlled device, the device control system controls the virtual device of the controlled device to perform simulation operation according to the operation data, and the history data needs to be called before the simulation operation. Before the historical data is called, the historical data reading instruction is analyzed, the address information and the time information of the controlled equipment of the historical data to be read are determined, the specified controlled equipment is found according to the address information, and the virtual equipment is controlled to extract specific operation data according to the time information. The method and the device realize that the virtual equipment can accurately search and call the running data of the running state which needs to be checked by the user.
As shown in fig. 6, in the above embodiment, the step of controlling the virtual device to call the running data in response to the data reading instruction, where the data reading instruction is a current data reading instruction, specifically includes:
step S602, analyzing the current data reading instruction to determine the address information to be read;
step S604, determining virtual equipment corresponding to the address information;
step S606, controlling the virtual device to call the running data of the current time.
In this embodiment, when a user needs to check current data of a controlled device, the device control system controls the virtual device of the controlled device to perform simulation operation according to the operation data, and the current data needs to be called before the simulation operation. Before the current data is called, the current data reading instruction is analyzed, the address information of the controlled equipment of the current data to be read is determined, the appointed controlled equipment is found according to the current information, the virtual equipment is controlled to extract the current operation data of the corresponding controlled equipment, and the current operation state of the controlled equipment is simulated according to the current operation data. The method and the device realize that the virtual equipment can accurately search and call the running data of the running state which needs to be checked by the user.
In any of the above embodiments, it can be understood that, when a user needs to view current data of a controlled device, the device control system controls a virtual device of the controlled device to perform simulation operation according to operation data, and the current data needs to be called before the simulation operation. Before the current data is called, the current data reading instruction is analyzed, the address information of the controlled equipment of the current data to be read is determined, the appointed controlled equipment is found according to the current information, the virtual equipment is controlled to extract the current operation data of the corresponding controlled equipment, and the current operation state of the controlled equipment is simulated according to the current operation data. The method and the device realize that the virtual equipment can accurately search and call the running data of the running state which needs to be checked by the user.
Example four:
as shown in fig. 7, in still another embodiment of the present invention, there is provided an appliance control apparatus 100 including: memory 120, processor 140, and computer programs stored on memory 120 and executable on processor 140; the computer program, when executed by a processor, implements the steps of the apparatus control method of any of the above-described aspects. The device control apparatus 100 has all the advantages of the device control method according to any of the above technical solutions, and details are not repeated herein.
Example five:
as shown in fig. 8 to 13, in one embodiment of the present invention, an apparatus control system is provided.
As shown in the hardware topology of fig. 8, the device control system includes: the device comprises a controlled device and a device control device, wherein the controlled device and the device control device communicate through a communication protocol.
As shown in the software topology of fig. 9, the device control system includes: protocol conversion module, virtual device module and database module and control terminal module specifically as follows:
the protocol conversion module is typically hardwired to the device via a 485 bus and communicates via a specific protocol.
And the protocol conversion module is used for sorting and storing the operating data of the controlled equipment to the database module. When the data is sorted, corresponding position information and time information of the operation data need to be recorded and stored in the database module.
In addition, the protocol conversion module is responsible for processing a control instruction issued by the control terminal to the controlled device into a protocol command which can be understood by the controlled device and issuing the protocol command to the controlled device.
The protocol may be, but is not limited to, modbus protocol (a request-response protocol), proprietary protocol, Bacnet protocol (building automation and control network protocol), Longworks protocol (a request-response protocol).
The virtual equipment module is used for responding to the request of the control terminal to the interface of user interaction through the TCP/IP protocol. The direct communication between the control terminal and the server is transmitted by a TCP/IP protocol, Json is used as a data exchange format, the exchange protocol comprises a function code and a function content, the function code comprises a plurality of functions such as a query command, a control command, a command for operating the protocol conversion module and the like, and the functions are mutually distinguished by different text contents; the function content is changed according to the type of the function code, the operation or query object of the function code and the content of the operation or query are specifically described, and the described format is agreed in advance in a protocol form.
The Json is used as a data exchange format and the TCP/IP protocol is used as an exchange mode, so that the method has the advantages of being compatible with most of conventional equipment terminals, and the TCP/IP network communication module widely exists on conventional mobile phones, tablets, computers, notebooks and other equipment, and does not need to be configured with additional hardware for the control terminal.
Meanwhile, the virtual equipment has the full capability of simulating the controlled equipment and can react to the request of the user through real-time data; historical data in the database module can be called to simulate historical equipment, and the function of completing field reduction provides required data for fault diagnosis.
And the database module is used for recording the operation data of the equipment and providing data support for the establishment of the virtual equipment or the field reduction of the state history of the equipment. When the system works normally, the database module reads and records the working state data of the controlled equipment through the protocol conversion module, and meanwhile, virtual equipment is established for the control terminal module for a user to check and operate; and when the state is restored on site, the database module simulates a virtual historical device by calling the historical data, and establishes a virtual device for the user terminal so that the user can analyze the historical data and the state.
The control terminal module is responsible for displaying and analyzing the information of the virtual equipment, and has the main functions of: controlled device information presentation, controlled device configuration data setting, controlled device operation data presentation, controlled device operation data setting and other functions which can be completed based on the communication protocol. And providing an operation interface capable of operating and reading for a user. And exporting required data, pictures and logs for a user, so that technicians can check the running state of the equipment and backtrack the historical records of the equipment, and the running state of the equipment and the reason analysis of the fault can be positioned.
As shown in fig. 10 to 13, the control terminal module has a user interface through which a user can issue instructions.
The user interface specifically includes: a user login interface as shown in fig. 10, a connection configuration interface as shown in fig. 11, a device configuration interface as shown in fig. 12, and a data viewing and device interface as shown in fig. 13.
In the embodiment, the virtual device can rapidly switch the working modes, and the working modes specifically comprise a real-time reading mode and a historical field restoring mode, so that the development difficulty and the learning cost of a user are reduced. For different devices and different communication protocols, the functions of the diagnostic software can be quickly switched by replacing the protocol conversion module, and the UI (user interface) does not need to be adjusted and modified, so that the development difficulty is reduced, and the cost for users to purchase the software is reduced. The device also has a field restoration function, and provides a device state backtracking method which is continuously adjustable in a time domain for a user. And the functions of rollback, fast forwarding and the like are supported, and the use is convenient.
Example six:
in another embodiment of the present invention, a computer-readable storage medium is provided, on which a control program is stored, and the control program, when executed by a processor, implements the steps of the apparatus control method according to any one of the above technical solutions. Therefore, the computer storage medium has all the advantages of the device control method according to any of the above technical solutions, and details are not repeated herein.
In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description of the present invention, it is to be understood that the terms "upper", "lower", "left", "right", "front", "rear", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience of description and simplification of description, but do not indicate or imply that the referred device or unit must have a specific direction, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention.
In the description herein, the description of the terms "one embodiment," "a specific embodiment," 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 invention. 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.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An apparatus control method characterized by comprising:
acquiring and storing operation data of controlled equipment;
responding to a data reading instruction sent by a control terminal, calling the operation data, and carrying out simulation operation on the controlled equipment according to the operation data;
wherein the data read instruction comprises: a historical data read instruction and/or a current data read instruction.
2. The device control method according to claim 1, wherein the step of acquiring and storing the operation data of the controlled device is preceded by the step of:
and analyzing the communication protocol of the controlled equipment, and establishing communication connection with the controlled equipment according to the communication protocol.
3. The device control method according to claim 2, characterized by further comprising:
receiving a control instruction sent by the control terminal;
and sending the received control instruction sent by the control terminal to the controlled equipment through the communication protocol so that the controlled equipment can respond to the control instruction to execute corresponding action.
4. The device control method according to any one of claims 1 to 3, wherein the step of acquiring and storing the operation data of the controlled device specifically includes:
determining address information of the controlled equipment, and acquiring operation data of the controlled equipment corresponding to the address information;
determining time information for acquiring the operating data of the controlled equipment corresponding to the address information;
and storing the running data and the time information according to the address information.
5. The plant control method according to claim 4, wherein the step of performing simulation operation on the controlled plant according to the operation data is preceded by:
and establishing virtual equipment, and setting a mapping relation between the virtual equipment and the controlled equipment.
6. The device control method according to claim 5, wherein the step of performing simulation operation on the controlled device according to the operation data specifically includes:
controlling the virtual equipment to extract and store the running data in response to a data reading instruction;
and controlling the virtual equipment to perform simulation operation on the corresponding controlled equipment according to the operation data.
7. The device control method according to claim 6, wherein the data reading instruction is a history data reading instruction, and the step of controlling the virtual device to call the operation data in response to the data reading instruction comprises:
analyzing the historical data reading instruction to determine the address information and the time information which need to be read;
determining the virtual equipment corresponding to the address information;
and controlling the virtual equipment to extract and store the running data corresponding to the reading time information.
8. The device control method according to claim 6, wherein the data reading instruction is a current data reading instruction, and the step of controlling the virtual device to call the running data in response to the data reading instruction comprises:
analyzing the current data reading instruction to determine the address information required to be read;
determining the virtual equipment corresponding to the address information;
and controlling the virtual equipment to call the running data of the current time.
9. An apparatus control device, characterized by comprising:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implementing the steps of the device control method of any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that a device control detection program is stored thereon, which when executed by a processor implements the steps of the device control method according to any one of claims 1 to 8.
CN201911361698.9A 2019-12-26 2019-12-26 Device control method, device control apparatus, and computer-readable storage medium Active CN111007737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911361698.9A CN111007737B (en) 2019-12-26 2019-12-26 Device control method, device control apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911361698.9A CN111007737B (en) 2019-12-26 2019-12-26 Device control method, device control apparatus, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN111007737A true CN111007737A (en) 2020-04-14
CN111007737B CN111007737B (en) 2024-04-26

Family

ID=70118918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911361698.9A Active CN111007737B (en) 2019-12-26 2019-12-26 Device control method, device control apparatus, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN111007737B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202013006037U1 (en) * 2013-07-05 2013-09-18 Heinz Krämer training device
CN104655437A (en) * 2013-11-21 2015-05-27 珠海格力电器股份有限公司 Air conditioner simulation device
CN106765921A (en) * 2016-12-08 2017-05-31 杭州浙鼎新材料科技有限公司 Intelligent air condition detecting system and its method for visualizing
CN107246708A (en) * 2017-05-17 2017-10-13 苏州洪昇新能源科技有限公司 A kind of air-conditioning system based on cloud server
CN109613349A (en) * 2018-11-02 2019-04-12 珠海格力电器股份有限公司 A kind of fault visual method and terminal device
CN110225075A (en) * 2019-03-25 2019-09-10 北京快电科技有限公司 A kind of building energy internet wisdom operation cloud operating system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE202013006037U1 (en) * 2013-07-05 2013-09-18 Heinz Krämer training device
CN104655437A (en) * 2013-11-21 2015-05-27 珠海格力电器股份有限公司 Air conditioner simulation device
CN106765921A (en) * 2016-12-08 2017-05-31 杭州浙鼎新材料科技有限公司 Intelligent air condition detecting system and its method for visualizing
CN107246708A (en) * 2017-05-17 2017-10-13 苏州洪昇新能源科技有限公司 A kind of air-conditioning system based on cloud server
CN109613349A (en) * 2018-11-02 2019-04-12 珠海格力电器股份有限公司 A kind of fault visual method and terminal device
CN110225075A (en) * 2019-03-25 2019-09-10 北京快电科技有限公司 A kind of building energy internet wisdom operation cloud operating system

Also Published As

Publication number Publication date
CN111007737B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN110209639B (en) Information processing method, device and system
EP3575975A1 (en) Method and apparatus for operating smart network interface card
US10382922B2 (en) Distributed testing of wireless networks
CN101771565A (en) Analogy method for realizing multitudinous or different baseboard management controllers by single server
CN111805544A (en) Robot control method and device
CN110673549A (en) Data center intelligent monitoring system and method based on distributed architecture
CN105677589A (en) Access control method, access control device and access control system
JP5066222B2 (en) Network analysis support device, network analysis support method, and program
CN109683780A (en) Control method, system and the controlled terminal of mobile terminal
CN104967667A (en) Software stability test remote monitoring system based on cloud service
CN111007737B (en) Device control method, device control apparatus, and computer-readable storage medium
JP2020095362A (en) Remote monitoring system
CN111025916A (en) Household appliance detection control method and system
CN110858175A (en) Test control method, master control equipment, controlled equipment and test system
CN211236847U (en) Man-machine interaction system of electromechanical equipment on expressway based on AR technology
US20240028021A1 (en) Network system and control device
CN109634943B (en) Air conditioner data transmission method and device for screening data and computer equipment
CN110733037B (en) Signal processing method and device, storage medium and processor
CN112671814B (en) Cross-platform equipment development method, device and system
CN114061044A (en) Air conditioning system and information processing method thereof, wire controller and user equipment
CN113821390A (en) Switch debugging method and device, server and computer readable storage medium
CN111240473A (en) Man-machine interaction system and method for highway electromechanical equipment based on AR technology
CN108199918B (en) Method and system for testing washing machine
CN107016229B (en) Management device for measuring equipment
CN117130318B (en) Industrial data acquisition method, device, system and readable 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
TA01 Transfer of patent application right

Effective date of registration: 20210204

Address after: 528311 Industrial Road, Penglai Road, Beijiao Town, Shunde District, Guangdong, Foshan

Applicant after: GD MIDEA HEATING & VENTILATING EQUIPMENT Co.,Ltd.

Applicant after: Shanghai Meikong Intelligent Building Co.,Ltd.

Address before: 528311 Industrial Road, Penglai Road, Beijiao Town, Shunde District, Guangdong, Foshan

Applicant before: GD MIDEA HEATING & VENTILATING EQUIPMENT Co.,Ltd.

Applicant before: MIDEA GROUP Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant