A kind of data acquisition expansion system and its collecting method
Technical field
The present invention relates to industrial internet of things field, refer in particular to a kind of data acquisition extension applied about industrial Internet of Things
System and its collecting method.
Background technology
Technology of Internet of things is growing, increasingly popular to be applied to each large-scale industrial project, as based on industrial Internet of Things
Data management system, the main function of system are that the operation data acquisition for generating the large number of equipment of base is got up, and is carried out comprehensive
Close monitoring management and application.For example, the central air-conditioning based on Internet of Things manages system, common central air conditioner system is by Cooling and Heat Source
System and air handling system composition.The principle of liquid vaporization refrigeration is used to provide institute's chilling requirement for air handling system, to
Offset the refrigeration duty of indoor environment;Heating system provides to offset the heat of indoor environment thermic load for air handling system.
A large amount of infrastructure devices involved in the system, such as a variety of base's equipment of air compressor, condenser, throttling set, evaporator, respectively
Equipment will generate mass data in day-to-day operation, by acquiring these data, and upload the data to Cloud Server, into one
Working process is walked, to monitor the operating condition of all devices in whole system.
In the practical application of data acquisition, in order to increase data access mouth, it usually needs acquire system in original data
It is transformed in system architecture basics, is inserted into new data access mouth, number could be acquired from original data collecting system structure
According to.But it is accessed by way of transformation, will influence or destroy original data collecting system structure, cause to damage former data
The integrality of acquisition system, or even during transformation, the damage of data-interface is caused, influence original normal data acquisition
Quality.
Invention content
Goal of the invention is to provide a kind of novel data acquisition expansion system and its collecting method, not being transformed and
Under the premise of influencing former data collecting system, in such a way that outside is accessed, the data of former data collecting system are acquired, and to adopting
The data of collection are processed, classification storage, and further subsequent applications are made in work control device access extraction.
It provides in order to achieve the above object, technical scheme of the present invention:
A kind of data acquisition expansion system, including data collection host and running equipment, data collection host pass through number
More running equipments are connected according to bus, and acquire the data of each running equipment;It further include the data acquisition being connect with data/address bus
Expander and industrial control equipment, the data acquisition expander includes acquisition port, data output, converter and memory;
The converter is for being converted and being exported to data according to the demand of industrial control equipment;The data acquire expander by adopting
The data that Ji Kou acquires each running equipment are stored in memory, and subsequent applications are made in work control device access and extraction.
Industrial control equipment refers to the computer of Industry Control, be it is a kind of using bus structures, to production process and its electromechanical equipment,
Technological equipment is detected the equipment with data application.Industrial control equipment has corresponding computer attribute and feature, such as:Computer
CPU, hard disk, memory, peripheral hardware and interface, real-time operating system, control network and agreement, man-machine interface etc..
Wherein, the converter is used to carry out data conversion to the data of acquisition so that gathered data and industrial control equipment
Demand data is mutually equipped with;The data conversion of the converter includes data level type, digital serial port parameter, data protocol, number
According to station number.In order to adapt to the hsrdware requirements of various industrial control equipments, data of the invention acquire expander, pass through the interior conversion set
Device carries out further data conversion and processing to the gathered data of output, so as to compatibility all types of industrial control equipment fortune on the market
The requirement of the specialized protocol of row demand and major closure data collecting system, effectively improves the applicability of data acquisition, increases
The service efficiency of strong data acquisition.
Further, the memory further includes recognition unit, the data of recognition unit gathered data for identification
Type, data protocol and data content analyze the data after acquisition with will pass through recognition unit, and classification storage,
Be conducive to manage and apply.
Further, the data acquisition expander further includes acquisition state analytic unit, the acquisition state analysis
Unit is used to analyze the operating status of data collection host.The operation of data collection host is analyzed by acquisition state analytic unit
State avoids data acquisition expander from starting gathered data and conflicts with the acquisition operations of data collection host, influences original data
The normal operation of acquisition system.
The data collecting system is advanced optimized, the data acquisition expander further includes acquisition configuration unit,
The acquisition configuration unit is used to be arranged the data collection cycle of data acquisition expander and the data volume of acquisition, so as to data
The data acquisition operations of exchange control unit accordingly control, to effectively standardized administration and control data collection task.
On the basis of the above, the acquisition configuration unit is also associated with the control terminal of human-computer interaction, allows user can be according to phase
The actual conditions for answering data collecting system carry out data acquisition operations to data acquisition expander and carry out corresponding configuration, to fit
Answer the demand of various data collecting systems.
Further, data of the invention acquisition expansion system further includes cloud acquisition system, and the cloud acquisition system includes
Cloud acquires host and cloud server, and cloud acquisition host is connect with the data output, extraction data acquisition expander
Gathered data uploads to cloud server and carries out subsequent applications.The data acquisition expansion system of the present invention not only can apply to general
The demand of logical industrial control equipment, moreover it is possible to which operatively compatible novel cloud acquisition system, the cloud acquisition system have data acquisition work(
Can be with high in the clouds application module, data through the invention acquire expander, by the acquisition number of the data collecting system in original physical
According to being acquired, the cloud of cloud acquisition system is allowed to acquire host extraction, and upload to cloud server and make corresponding cloud application, effectively
The application range for improving data acquisition, further strengthens the operation efficiency of gathered data.
The present invention also provides a kind of collecting method acquiring expansion system using the data, this method includes at least
Following steps:
Q1:The data acquire expander log-on data capture program, and number is acquired to each running equipment by data/address bus
According to;
Q2:The data of acquisition are transmitted to memory by acquisition port, and data are identified in the recognition unit, and according to
Data content carries out classification storage;
Q3:The industrial control equipment or cloud acquisition system access data by data output and acquire expander, access storage
Device extracts corresponding data;
Q4:After the data of extraction carry out data conversion by converter, then it is output to engineering equipment or cloud acquisition system work
Subsequent applications.
Further, further include dividing the operating status of data collection host before the step Q1 of above-mentioned collecting method
Step is analysed, the analytical procedure includes:
S1:The data acquisition expander is sent out by acquisition state analytic unit from data acquisition port to data collection host
Go out pre-acquired signal;
S2:If data collection host is in standby, standby mode signal is fed back, and jump to step Q1;If number
When in running order according to acquisition host, back-to-back running status signal, and jump to step S3;
S3:The acquisition state analytic unit have preset stand-by time value, when reaching stand-by time value, again from
Data acquisition port sends out pre-acquired signal to data collection host, and jumps to step S2.
By the analytical procedure of the above-mentioned operating status to data collection host, the data acquisition expander passes through acquisition
State analysis unit sends out pre-acquired signal, the operating status for confirming data collection host, when data collection host is in
When standby mode, i.e., data collection host is in idle condition, and will feed back standby mode signal, and data acquisition expander is allowed to start
Data acquisition program starts data collection task.When data collection host is in running order, back-to-back running status signal,
Data acquire expander and keep standby mode, and when reaching preset stand-by time value, acquisition state analytic unit sends out pre- again
Signal is acquired, confirms data collection host state.Start gathered data and data to be effectively prevented from data acquisition expander
The acquisition operations conflict for acquiring host, influences the normal operation of original data collecting system.
Wherein, the recognition unit includes to the data identification content of acquisition:Station number, classification, data address, the number of data
It is distinguished according to length and data content, and makees corresponding classification storage in memory, comprehensively to identify the number of acquisition
According to the management classification storage of professional etiquette of going forward side by side model is conducive to industrial control equipment and is accessed, extracts corresponding gathered data on demand, have
Improve data application efficiency in effect ground.
The data acquisition expansion system and its collecting method of the present invention be not transformed and shadow compared with prior art
Under the premise of ringing original data collecting system, acquires expander by data and connect with data/address bus, acquire the number of each running equipment
According to the data after acquisition are identified data by recognition unit, and Classification Management is stored in memory.When industrial control equipment or
When the access extraction of cloud acquisition system, data conversion is carried out to gathered data according to the demand of data application by converter, then defeated
Go out to make subsequent applications.It solves in the prior art, in order to increase data access mouth, in original data collecting system architecture basics
It is transformed, destroys original data collecting system structure, cause to damage original system data acquisition interface, influence legacy data and adopt
The problem of collecting system normal operation, effectively improves the application range of data acquisition, and further strengthen gathered data uses effect
Rate.
In addition, being normally carried out gathered data in order to not influence former data collecting system, data of the invention acquire expander
Further include acquisition state analytic unit, the operating status of data collection host is analyzed by acquisition state analytic unit, effectively
It avoids data acquisition expander from starting gathered data with the acquisition operations of data collection host to conflict, influences original data acquisition system
The normal operation of system further increases the compatibility of expansion system of the present invention.
Description of the drawings
Fig. 1 is the structural schematic diagram that a kind of data of the present invention acquire expansion system;
Fig. 2 is the collecting method flow chart using data of the present invention acquisition expansion system;
Fig. 3 is in collecting method of the present invention about the analytical procedure flow chart that data are acquired with operational state of mainframe.
Specific implementation mode
A kind of data acquisition expansion system and its collecting method of the present invention is described with reference to the drawings.
As shown in Figure 1, the data acquire expansion system, including data collection host and running equipment, the data are adopted
Collection host connects more running equipments (running equipment 1,2,3 etc.) by data/address bus, and acquires the data of each running equipment;Also
Include the data acquisition expander and industrial control equipment being connect with data/address bus, the data acquisition expander include acquisition port,
Data output, converter and memory;The converter be used for according to the demand of industrial control equipment to data carry out conversion and
Output;The data that the data acquisition expander acquires each running equipment by acquisition port are stored in memory, work control device
Subsequent applications are made in access and extraction.
Wherein, the converter is used to carry out data conversion to the data of acquisition so that gathered data and industrial control equipment
Demand data is mutually equipped with;The data conversion of the converter includes data level type, digital serial port parameter, data protocol, number
According to station number.In order to adapt to the hsrdware requirements of various industrial control equipments, data of the invention acquire expander, pass through the interior conversion set
Device carries out further data conversion and processing to the gathered data of output, so as to compatibility all types of industrial control equipment fortune on the market
The requirement of the specialized protocol of row demand and major closure data collecting system, effectively improves the applicability of data acquisition, increases
The service efficiency of strong data acquisition.
The memory further includes recognition unit, the recognition unit data type of gathered data, data for identification
Agreement and data content analyze the data after acquisition with will pass through recognition unit, and classification storage, are conducive to manage
And application.
The data acquisition expander further includes acquisition state analytic unit and acquisition configuration unit.
The acquisition state analytic unit is used to analyze the operating status of data collection host, and data is avoided to acquire expander
Start gathered data with the acquisition operations of data collection host to conflict, influences the normal operation of original data collecting system.
The acquisition configuration unit is used to be arranged the data collection cycle of data acquisition expander and the data volume of acquisition, with
Just the data acquisition operations of data exchange control unit are accordingly controlled, to which effectively standardized administration and control data acquire work
Make.
On the basis of the above, the acquisition configuration unit is also associated with the control terminal of human-computer interaction, allows user can be according to phase
The actual conditions for answering data collecting system carry out data acquisition operations to data acquisition expander and carry out corresponding configuration, to fit
Answer the demand of various data collecting systems.
The data acquisition expansion system work of the present invention is optimized, it further includes cloud acquisition system which, which acquires expansion system,
The cloud acquisition system includes cloud acquisition host and cloud server, and cloud acquisition host connect with the data output, carries
Access uploads to cloud server and carries out subsequent applications according to the gathered data of acquisition expander.The data acquisition extension of the present invention
System not only can apply to the demand of common industrial control equipment, moreover it is possible to operatively compatible novel cloud acquisition system, the cloud acquisition
System has data acquisition function and high in the clouds application module, and data through the invention acquire expander, by the number in original physical
It is acquired according to the gathered data of acquisition system, allows the cloud of cloud acquisition system to acquire host extraction, and upload to cloud server
Make corresponding cloud application, effectively improves the application range of data acquisition, further strengthen the operation efficiency of gathered data.
As shown in Fig. 2, the present invention also provides a kind of collecting methods acquiring expansion system using the data, including
Following steps:
Q1:The data acquire expander log-on data capture program, and number is acquired to each running equipment by data/address bus
According to;
Q2:The data of acquisition are transmitted to memory by acquisition port, and data are identified in the recognition unit, and according to
Data content carries out classification storage;
Q3:The industrial control equipment or cloud acquisition system access data by data output and acquire expander, access storage
Device extracts corresponding data;
Q4:After the data of extraction carry out data conversion by converter, then it is output to engineering equipment or cloud acquisition system work
Subsequent applications.
Wherein, the recognition unit includes to the data identification content of acquisition:Station number, classification, data address, the number of data
It is distinguished according to length and data content, and makees corresponding classification storage in memory, comprehensively to identify the number of acquisition
According to the management classification storage of professional etiquette of going forward side by side model is conducive to industrial control equipment and is accessed, extracts corresponding gathered data on demand, have
Improve data application efficiency in effect ground.
It is normally carried out gathered data work in order to not influence former data collecting system to optimize, further includes pair before above-mentioned steps Q1
The running state analysis step of data collection host, as shown in figure 3, the analytical procedure includes:
S1:The data acquisition expander is sent out by acquisition state analytic unit from data acquisition port to data collection host
Go out pre-acquired signal;
S2:If data collection host is in standby, standby mode signal is fed back, and jump to step Q1;If number
When in running order according to acquisition host, back-to-back running status signal, and jump to step S3;
S3:The acquisition state analytic unit have preset stand-by time value, when reaching stand-by time value, again from
Data acquisition port sends out pre-acquired signal to data collection host, and jumps to step S2.
The acquisition state analytic unit that expander is acquired by data sends out pre-acquired signal, for confirming data acquisition master
The operating status of machine, and according to the signal of feedback, make corresponding data acquisition program or standby avoidance program, to effectively keep away
Exempt from data acquisition expander startup gathered data with the acquisition operations of data collection host to conflict, influences original data collecting system
Normal operation.
According to the disclosure and teachings of the above specification, those skilled in the art in the invention can also be to above-mentioned embodiment party
Formula is changed and is changed.Therefore, the invention is not limited in specific implementation modes disclosed and described above, to the present invention's
Some modifications and changes should also be as falling into the scope of the claims of the present invention.In addition, although being used in this specification
Some specific terms, these terms are merely for convenience of description, does not limit the present invention in any way.