CN102929620A - Flexible measurement and control platform system and development method thereof - Google Patents

Flexible measurement and control platform system and development method thereof Download PDF

Info

Publication number
CN102929620A
CN102929620A CN201210401375XA CN201210401375A CN102929620A CN 102929620 A CN102929620 A CN 102929620A CN 201210401375X A CN201210401375X A CN 201210401375XA CN 201210401375 A CN201210401375 A CN 201210401375A CN 102929620 A CN102929620 A CN 102929620A
Authority
CN
China
Prior art keywords
data
layer
parameter
acquisition
collection
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
CN201210401375XA
Other languages
Chinese (zh)
Other versions
CN102929620B (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.)
HANGZHOU SUNYARD SYSTEM ENGINEERING Co Ltd
Original Assignee
HANGZHOU SUNYARD SYSTEM ENGINEERING 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 HANGZHOU SUNYARD SYSTEM ENGINEERING Co Ltd filed Critical HANGZHOU SUNYARD SYSTEM ENGINEERING Co Ltd
Priority to CN201210401375.XA priority Critical patent/CN102929620B/en
Publication of CN102929620A publication Critical patent/CN102929620A/en
Application granted granted Critical
Publication of CN102929620B publication Critical patent/CN102929620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a flexible measurement and control platform system and a development method thereof. The flexible measurement and control platform system comprises a data acquiring layer, a data calculating layer, a parameter setting layer, a multi-port multi-protocol data acquiring channel, data acquiring equipment terminals and the like. The data acquiring layer supports the acquisition equipment for inputting and acquiring data and sends the acquired data to the data calculating layer or directly uploads the acquired data to a data display layer and/or a data storage layer. The parameter setting layer sets parameters corresponding to acquiring ports according to different test tasks. The data calculating layer invokes corresponding modules according to the set parameters, calculates and processes the data, extracts an effective data uniform format, and sends the uniform data to the data display layer and/or the data storage layer. The system overcomes the defects of the conventional test system, ensures compatibility of a plurality of protocols, improves the data acquiring speed of a measurement and control platform, and improves the operability and definability of the measurement and control platform, the development cost and risk of the measurement and control platform are reduced, and the personalized customization needs of users are met.

Description

A kind of Flexible Measurement ﹠ Control plateform system and development approach
Technical field
The present invention relates to the computer industry field tests, be specifically related to the sensor multiple types of Access Layer, the isomerism that accesses bus, user to field tests such as test interface individual requirements, relate in particular to a kind of Flexible Measurement ﹠ Control plateform system and development approach.
Background technology
For the modern industry monitoring platform, general performance parameter or characteristic parameter by sensor senses observing and controlling object, signal is sent to the main frames such as industrial computer or PC through signal condition, main frame carries out data processing, data analysis, data demonstration etc. to different sensors, and according to test result the observing and controlling object is controlled output.In this process, on the one hand the form of the sensor of access is varied, the signal type of sensor output, also is not quite similar with the communication modes of main frame.
For the signal of different sensors, its real-time is not quite similar, and the requirement of real-time that has is high, the requirement of real-time that has is very not strict, therefore need to for concrete test assignment, to specifically distribute the real-time that the different sensors signal is processed, to satisfy the requirement of real-time testing task.
On the other hand, different users are not quite similar to requirements such as the content at the style of user interface, interface, functions, the TT﹠C system of a flexibility, the user needs to define flexibly the implication of different sensors parameter according to the needs of oneself, and the content of user interface and the sensor of data access end need to be mated well.Along with test assignment to system flexibility and testing cost require more and more stricter, traditional test macro has exposed its maximum defective gradually: traditional test and the control system overwhelming majority develop for a certain specific products of production firm, realize specific test function, special computer for special use, be that test assignment is in case change need to be built software and hardware system again, hardware instruments need to reselect, the host computer application program is write again, and the diversity of communication protocol makes building of system more complicated.
From the above, the conventional test methodologies disadvantage is function singleness, and is expensive, dirigibility and open poor.The cycle that this has prolonged test assignment has increased the cost of test, has improved the complicacy of multitask test, and do not meet test assignment test macro is built demand for development with fast construction flexibly, and poor operability, system acquisition speed is slow.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of Flexible Measurement ﹠ Control plateform system and method are provided, it can guarantee the compatibility to various communications protocols, improve the acquisition speed of monitoring platform, improve operability and the definability of monitoring platform, reduce cost of development and the risk of monitoring platform, and satisfy the demand of user individual customization.
The objective of the invention is to be achieved through the following technical solutions:
A kind of Flexible Measurement ﹠ Control plateform system is provided, has comprised: data collection layer, data computation layer, parameter arrange layer, data display layer, data storage layer and data analysis layer; And multiport multi-protocol data acquisition passage, data acquisition equipment terminal;
Data collection layer, link to each other with the data acquisition equipment terminal by multiport multi-protocol data acquisition passage, be used for supporting that the data input of each data acquisition equipment terminal gathers, and the data that collect are sent to the data computation layer or directly are uploaded to data display layer and/or data storage layer;
Parameter arranges layer, is connected with the output terminal of data collection layer, is used for according to different test assignment parameters, makes it corresponding one by one with the collection port, guarantees the data acquisition of acquisition speed and hyperchannel big data quantity;
The data computation layer, according to parameter the corresponding module of the parameter call that arranges in the layer is set, the data that the data acquisition layer sends are calculated and processed, obtain unified frame format data behind the extracted valid data, and the data that will unify frame format are sent to data display layer and/or data storage layer;
Data storage layer is used for the data that send over are carried out real-time storage, and the data of storage is sent to data analysis layer or data display layer;
The data display layer with the data storage layer interconnection, is used for by various ways data being shown in real time, and offers the various self-defining operation of user interface;
Data analysis layer is used for from the data storage layer reading out data and carries out post-processed and the analysis of data.
In a kind of embodiment of variation, the various communications protocols such as described data collection layer can compatible serial ports, USB, CAN and TCP/IP, the user can select gathering port and communication protocol according to test assignment and parameter demand, and under system framework, can drive by erecting equipment, the dynamic link library of invocation facility (DLL) adds new collecting device or communication protocol easily, and the user also can test required data handling procedure of again writing in the data with existing processing DLL according to reality if needed.Described data acquisition can guarantee the requirement of real-time that multi-channel high-speed data gathers by using multithreading, high speed timer timeSetEvent, high-resolution counter QueryPerformanceFrequency and circular buffer technology.
In a kind of embodiment of variation, described data computation layer comprises one virtual " equipment library ", according to different communication protocol and port device, call the code in different " equipment library ", to image data carry out different calculating, the data such as cut apart, average process.After adding new equipment, need in " equipment library ", to set up association attributes, add corresponding code, come that the image data of new equipment is carried out data and calculate and process.
In a kind of embodiment of variation, described parameter arranges layer and is included as each attribute that parameter is set up, such as " parameter bound ", " port type ", " priority " etc., wherein " port type " attribute can make parameter corresponding with collection port and relevant communication protocol, and has indicated that the code in the data computation layer will be called " equipment library ", " priority " have shown that then the picking rate of parameter is defeated.
In a kind of embodiment of variation, described data display layer comprises the teechart plug-in unit, this plug-in unit has made up curve display module, digital display module and instrument display module, by the VC++ object-oriented programming method, offer the abundant flexibly operation of user, parameter can show with the arbitrary form in three kinds of forms, curve ordinate size can arrange, digital display module and instrument display module can drag etc.
In a kind of embodiment of variation, described data storage layer uses the ADO technology, can be according to the needs of test assignment and the setting of parameter, and Dynamic Establishing database and table are stored and are read according to field name.
The present invention also provides a kind of development approach of Flexible Measurement ﹠ Control plateform system, comprises the steps:
Data collection layer supports various data acquisition equipment terminals to carry out data input collection by the multi-protocol data acquisition passage, and the data that collect are sent to the data computation layer or directly are uploaded to data display layer and/or data storage layer;
The data computation layer arranges the parameter that arranges according to different test assignments in the layer according to parameter, call corresponding module, to the image data that sends calculate with process after, obtain unified frame format data, and unified frame format data are divided into different passages are sent to data display layer and/or data storage layer;
Data storage layer carries out real-time storage to the data that send over, and the data of storage are sent to data analysis layer or data display layer;
Data display layer and data storage layer interconnection show data in real time by various ways, offer simultaneously the various self-defining operation of user;
Data analysis layer reading out data and carry out post-processed and the analysis of data from data storage layer.
Compare with existing test macro, good effect of the present invention is:
(1) test system framework that makes up based on Visual C++ has adopted " flexible test " technology, so that system has versatility, rationality and good extendability.
(2) data collection layer adopts the mode of erecting equipment driving and exploitation dynamic link library (DLL) to develop, make based on the data collection layer " module library " of virtual instrument theory exploitation and can support plurality of devices and different communication protocol, require according to the new data acquisition module of interface rules exploitation that provides for the different measurement of user, or the data handling procedure among the modification available data acquisition module DLL, compared with prior art, obviously improve the development efficiency of monitoring platform, reduced the cost and risk of exploitation.
(3) various communications protocols and the collecting devices such as the compatible serial ports of data collection layer, USB, CAN and TCP/IP, after test assignment is changed, part data acquisition equipment can be reused in new test assignment if needed, and can add easily new collecting device, compared with prior art, obviously improved the reuse efficiency that gathers, and the compatibility of new equipment.
(4) service system uses multithreading, for each parameter provides an acquisition channel, use high speed timer t imeSetEvent, high-resolution counter QueryPerformance Frequency and circular buffer technology, picking rate and the precision of each passage have been improved, compared with prior art, improved the ability that system's multi-channel high-speed gathers.
(5) based on the OO programming idea of C++ and adopt system's operation interface of teechart developing plug, abundant flexibly User Defined function is provided, parameter arranges layer and the user interface custom feature can make the user need not to grasp in the situation of SDL, by understanding test assignment, different parameters is set, comes to use the Flexible Measurement ﹠ Control platform for new test assignment.
(6) data storage layer uses the ADO technology, create high speed storing table and low speed storage list according to the picking rate demand, the high speed acquisition data are separated with the low speed image data, avoid the phase mutual interference between the picking rate, use simultaneously the storage of ADO technology only to be undertaken by field name when reading, need not to travel through whole Database field and search for, compared with prior art improved storage and reading speed.
Below in conjunction with accompanying drawing the embodiment and advantages of the present invention are further explained.
Description of drawings
Fig. 1 is the layer of structure synoptic diagram of the Flexible Measurement ﹠ Control plateform system of the embodiment of the invention;
Fig. 2 is the data multi-channel high-speed acquisition process synoptic diagram of the embodiment of the invention;
Fig. 3 is the low speed channel cycle caching technology synoptic diagram of the embodiment of the invention;
Fig. 4 is the development approach schematic flow sheet of the Flexible Measurement ﹠ Control plateform system of the embodiment of the invention.
Embodiment
The explanation of relevant embodiments of the invention is with reference to additional graphic, is used for the specific embodiment that illustration the present invention can implement.In following examples, in different figure, same section is to represent with same numeral.
Fig. 1 is the layer of structure synoptic diagram of the Flexible Measurement ﹠ Control plateform system of the embodiment of the invention, and Fig. 4 is the development approach schematic flow sheet of the Flexible Measurement ﹠ Control plateform system of the embodiment of the invention, the below according to accompanying drawing 1 by reference to the accompanying drawings 4 pairs of embodiment of the invention prove absolutely.Comprise hardware data collecting device 11 in the system of the present invention, be used for being connected and sending to the host computer of Flexible Measurement ﹠ Control platform with it multiport multi-protocols acquisition channel 12 of data; The host computer of Flexible Measurement ﹠ Control platform adopts the OO programming idea of Viusal C++ to write, and comprises that data collection layer 13, parameter arrange layer 14, data computation layer 15, data display layer 16, data storage layer 17 and data analysis layer 18; Data collection layer 13 be connected with hardware data collecting device 11 by multiport multi-protocols acquisition channel 12, its compatible various communications protocols and communication port, and can conveniently expand, not need too much consideration hardware collecting device compatibling problem when the user sets up test event; Data collection layer 13 is connected with data computation layer 15, data storage layer 17 and data display layer 16; Parameter arranges the output terminal that layer 14 is arranged at data collection layer 13, association attributes according to setting parameter, parameter is corresponding one by one with corresponding collection port, and call corresponding module, for example, equipment library 142(is referring to shown in Fig. 2) interior code, the data of corresponding collection port are made specific data in data computation layer 15 calculate, or without data computation layer 15, directly pass to data storage layer 17 or data display layer 16 to last layer; Data computation layer 15 is connected with data display layer 16, data computation layer 15 arranges the parameter call corresponding module that arranges in the layer according to parameter, for example, comprise modules such as being averaging computing module, data segmentation module, data counts module and data interaction module, the data that the data acquisition layer sends are calculated and processed, obtain unified frame format data behind the extracted valid data, and the data that will unify frame format are sent to data display layer and/or data storage layer; Data display layer 16 and data storage layer 17 interconnection, data display layer 16, data storage layer 17 are respectively applied to setting according to the user and show and/or store; Data storage layer 17 can arrange according to the parameter of the output terminal that is arranged at data collection layer 13 14 pairs of parameter of layer priority attribute is set, and high-speed data and low speed data are stored respectively; Data analysis layer 18 adopts the ADO technology, be ActiveX Data Objects, ActiveX Data Objects, it be the application programming interfaces that propose of Microsoft in order to realize the technology of the data in access relation or the non-relational database, reading out data carries out post-processed and the analysis of data from data storage layer 17.
As another preferred implementation, for data collection layer 13, the user can select gathering port and communication protocol according to test assignment and parameter demand, and under system framework, can drive by erecting equipment, the dynamic link library (DLL) of invocation facility adds new collecting device or communication protocol easily.If needed, the user also can test according to reality required, again writes data with existing and processes the interior data handling procedure of dynamic link library (DLL).Data collection layer 13 replaces actual instrumentation to improve dirigibility and the extendability of program, when test assignment changes, the user only need to get final product for the parameter that the test assignment Reparametrization arranges in the layer 14, promote so significantly the efficient of development and testing system, met the theory of flexible test; On the other hand, data collection layer 13 adopts the programming mode that is similar to virtual instrument, has significantly reduced the risk and cost for the hardware device change.
As another preferred implementation, the user can arrange layer 14 user-defined interface that provides by parameter, make one to one acquisition channel of parameter and collection terminal interruption-forming, thereby stipulate the parameter attribute of each acquisition channel, wherein mainly comprise frequency acquisition, port type, data packet length, triggering collection/circle collection type, priority etc.The user can arrange by parameter the priority attribute of the parameter of layer 14 setting, the high speed acquisition data are separated in different acquisition channels by multithreading from the low speed image data carries out, and be stored in the different database tables, thereby guaranteed the real-time that the hyperchannel big data quantity gathers.
As another preferred implementation, described data display layer 16, used teechart plug-in unit (Teechart, be the abbreviation of the controls such as Teechart for.NET, TeeChart Pro ActiveX V2010, the abbreviation by a series of chart controls of Steema company research and development) custom feature that enriches of the user that can provide, comprising whether data show in real time, data show control type, data whether preserve, in arranging one or more of each control property of display interface such as the position of data storage, storing frequencies.
Fig. 2 is the data multi-channel high-speed acquisition process synoptic diagram of the embodiment of the invention, and this schematic understands that the embodiment of the invention is for the implementation process that guarantees that multi-channel high-speed data gathers.Data are gathered by hardware data collecting device 11, then by multiport multi-protocols acquisition channel 12 data are passed to the data collection layer 13 of Flexible Measurement ﹠ Control platform; Because the present invention is general flexible test plateform system, for for different test assignments, offer setting and the operation of user flexibility, so parameter and port are not what fix, but by the parameter correlation attribute that arranges in the layer 14 is set in parameter, sets up the parameter that the parameter acquisition passage arranges the user and finish corresponding with the port of setting by calling the port respective modules; Wherein port type module 141 has been used the OO programming idea of VC++, in parameter layer 14 is set and offers the user-dependent option that arranges, select the port of its Data Source for each parameter that defines, like this, just make parameter and its Data Source realize " being flexible coupling " at data collection layer.
Pass through parameters 1, parameter 2, parameter 3 at data collection layer 13 ... the parameter acquisitions such as Parameter N are after corresponding data, just data are passed to data computation layer 15, this moment, " port type " attribute 141 and " other attributes " 144 modules of parameter just became the sign that the parameter call parameter arranges equipment library module 142 in the layer 14.Illustrate, for example, the Data Source of parameter 1 is serial ports, and comprise 3 valid data, the number of significant digit of each data is 8, in parameter layer 14 parameter that provides being set so arranges the interface and has corresponding attribute for user selection, then carry out data acquisition according to the good serial ports baud rate of these setup of attributes, and in data computation layer 15 by calling corresponding module, for example code or the function of equipment library module 142 interior correspondences, the data source of this parameter is divided into 3 minutes by zone bit, and extract every part 8 for valid data.Again for example, parameter 2 is flexible coupling with the count value of the counter transmission of CAN bus, because parameter is timing acquiring, so need the data that obtain in the timing cycle calculating of averaging, then can set a property according to parameter correlation, code or the function of invocation facility library module 142 interior correspondences calculate this data value of averaging, thereby obtain effective value.In addition, data computation layer 15 is set as unified form with all valid data, so that follow-up data are processed storage and demonstration; The theory of equipment library module 142 is compared with having calculating now, has guaranteed versatility, the compatibility of system, and expansion is convenient for the programmer, only need set up the zone bit that calls, and reaches correlative code or function and gets final product.
Supplemental characteristic obtains unified frame format data after data computation layer 15 is processed, then according to priority attribute, the priority block 143 of layer in 14 is set with different priorities by parameter, be that the data of different acquisition speed are divided into different passages and transmit to the upper strata, only represent two passages in the synoptic diagram, but when reality is used, can open a plurality of passages to the setting of priority level according to the user.As an example, describe with two passages shown in Figure 2, if the priority of certain several parameter is high, then by calling high speed timer timeSetEvent function and high-resolution counter QueryPerforman ceFrequency function carries out, set up a high speed data transfer passage, the collection period of this passage is very short, is generally Millisecond.Simultaneously at parameter display layer 16, curve display module 161, digital display module 162 and the instrument display module 163 that can provide according to real-time display interface shows in real time by user's setting, at a high-speed data stored data base of data storage layer 17 dynamic creations table 171, be used for receiving the high speed acquisition data.The data that priority is low, what then timer timeSetEvent function and high-resolution counter QueryPerformanceFrequency period of a function value are arranged is larger, for example, be arranged to 500ms, also can show in real time according to user's be arranged at curve display module 161, digital display module 162 and 163 connections of instrument display module simultaneously, at a low speed data stored data base of data storage layer 17 dynamic creations table 172, be used for receiving the low speed image data.In addition, also should adopt the circular buffer technology at the low speed passage, with the loss of data of avoiding the lower low speed acquisition channel of priority to cause owing to thread block.Compared with prior art, the present invention has guaranteed the hyperchannel big data quantity collection of system by said method.
Especially, curve display module 161 in the data display layer 16, digital display module 162, instrument display module 163 and other arrange module 164, have can add, drag, edit, the feature operation such as deletion, rich and varied user's operation is provided, has demonstrated fully the characteristics of flexible test technology.
As preferred implementation, because that the high speed acquisition data volume reaches more greatly user operation is too frequent or take resource when too much, low speed image data priority is lower, then may result in blockage to low speed collecting thread passage.And meanwhile, just have from data collection layer to this low speed thread acquisition channel to send data, will be omitted by other data processing threads at certain one piece of data of sending during this period of time that stops up so, thereby caused losing of data.Can adopt the circular buffer technology in order to address this problem us, the longest data of length that soon may collect, the data length that sends to data low speed collecting thread passage each time as the tentation data collecting device, then create a buffer queue according to this length, be used for the data that the storage of collected thread sends.In a single day low speed collecting thread passage obtains resource, and namely the user operates to reduce or do not take when resource is not a lot of and begins this segment data is processed.In code, want to realize the simplest way of buffer queue, set up exactly a similar ReadBuffer[Count] two-dimensional array of [DataLen], with the DataLen in the array, be the data that lateral length is considered as the maximum length that each low speed collecting thread passage may send, with the Count in the array, namely vertical size is considered as member's number of buffer queue.Size and actual operating position according to data are come this array is set.
Fig. 3 is the low speed channel cycle caching technology synoptic diagram of the embodiment of the invention, as shown in Figure 3, in use, we with maximum each time image data length as benchmark, preferably, in this test environment, with the basic storage unit of double categorical data as buffer zone, get so the horizontal storage space that 30 such unit just enough guarantee data, vertical storage unit number with buffer queue 22 is set as 32 in addition, so in fact ReadBuffer[32] form of [30] this array is buffer queue 22 described above.Data acquisition thread 21 and data processing threads 22 are respectively by changing the value of ReadCount and StoreCount, fill the address value of dynamic pointer and change the data buffer of pointed, and the length of each buffer zone is identical, all be DataLen, in order to prevent interfering with each other, we use two variablees, and namely ReadCount and StoreCount store respectively the pointer subscript variable of data acquisition thread 21 and data processing threads 22.Work as collecting device, after the initialization such as serial ports, CAN, the data acquisition thread is namely started working, when carrying out data acquisition for the first time, value that will ReadCount is set to 0, namely is that pointer points to first buffer zone 221, and carries out the data receiver of collecting device with this buffer zone.After one piece of data has gathered, send corresponding message by the message corresponding modes to the data processing threads, the SegIndex variable added 1 (the SegIndex variable was the public variable of two threads this moment, this variable has recorded because thread stops up, the data acquisition thread collection that causes and the buffer zone number that sends to the data processing threads, carried out the difference of the buffer zone quantity that data process with the data processing threads, and there is not processed buffer zone number after gathering), then ReadCount will add l certainly, make second buffer zone 222 of pointed, use this buffer zone that data are gathered.Then SegIndex is from adding 1, and so circulation is carried out, and when the ReadCount value equals 3l, this value is reset, and makes the start bit of pointed buffer zone, restarts access.And for the data processing threads, then to pass through event response process of SetEvent () function setup, after every secondary data is stored in buffer zone, send a message, after this thread receives message, the buffer zone number of not carrying out the data processing because thread stops up is judged, then when the thread Gains resources, carry out processing one by one, one of every processing, SegIndex variable be from subtracting 1, until SegIndex represented that buffer zone had not had untreated data at 0 o'clock.Therefore, load suddenly when increasing when the test macro program, we can at first guarantee data acquisition speed and collecting efficiency, and under the assurance of the buffer action of buffer zone formation, the data processing threads needn't be processed in real time to data.Image data is buffered in the buffer zone continuously by collecting thread in this case, and carries out the buffer memory of certain hour, can not cause loss of data because of the obstruction that data are processed line like this.Use this technology, can also be to the value of the public variable SegIndex of two threads real-time judge in addition, if its value is greater than 32, then certainly because test procedure is too busy, cause data processing threads duration of congestion to exceed the scope that allows, this moment, buffer zone overflowed, and can remind operating personnel by the mode of reporting to the police.Therefore adopt this technology so that the fault-tolerant processing ability of test procedure is improved.
The embodiment of the invention in a kind of performance history of Flexible Measurement ﹠ Control platform, has incorporated the thought of " flexible test " technology for traditional monitoring platform system and the defective of development approach.The thought of flexible test is mainly reflected in following at least one aspect: (one) data collection layer, compatibility with multiport multi-communication protocol, can support the input of multiple collecting device, the user can define flexible development and growth data acquisition layer according to system framework, thereby develops corresponding test macro for different test assignments; (2) parameter arranges layer, and the flexible custom feature of using is provided, and parameter and acquisition channel is flexible coupling, thereby guarantees the fast Development of new test assignment; (3) multithreading of use Windows adopts multimedia high speed timer timeSetEvent, high-resolution counter QueryPerformanceFrequency and circular buffer technology, has realized the multi-channel high-speed collection of data; (4) use Visual C++ object-oriented programming method and teechart plug-in unit, the user can self-defining data subsequent treatment, comprise whether instant playback of data, whether data preserve, the data storing frequencies, the control type of display interface, the setup of attribute of each control etc., the purpose of realization flexible setting.
The embodiment of the invention is by data collection layer and collecting device and port communication, carry out data acquisition according to configuration information, then the allotment that by parameter layer is set is carried out data and is calculated, then sending to the data display layer shows, the operations such as warning, control are stored at data storage layer simultaneously.The present invention has overcome the defective of legacy test system, satisfied the demand of modern test assignment, improved the efficient of refresh test task, reduced the risk and cost of system development, the introducing of flexible test technology has solved the problem of legacy test system extendability, dirigibility deficiency.
Foregoing is to comprehensive explanation of the present invention, and should not be construed as a limitation of the present invention.Should be pointed out that for those skilled in the art without departing from the inventive concept of the premise, can also make some improvements and modifications, these improvements and modifications also should be considered within the scope of protection of the present invention.

Claims (10)

1. a Flexible Measurement ﹠ Control plateform system is characterized in that, comprising: data collection layer, data computation layer, parameter arrange layer, data display layer, data storage layer and data analysis layer; And multiport multi-protocol data acquisition passage, each data acquisition equipment terminal;
Data collection layer, link to each other with the data acquisition equipment terminal by multiport multi-protocol data acquisition passage, be used for supporting that the data input of each data acquisition equipment terminal gathers, and the data that collect are sent to the data computation layer or directly are uploaded to data display layer and/or data storage layer;
Parameter arranges layer, is connected with the output terminal of data collection layer, is used for according to different test assignment parameters, makes it corresponding one by one with the collection port, guarantees the data acquisition of acquisition speed and hyperchannel big data quantity;
The data computation layer, the parameter call corresponding module that arranges in the layer is set according to parameter, the data that the data acquisition layer sends are calculated and processed, obtain unified frame format data behind the extracted valid data, and the data that will unify frame format are sent to data display layer and/or data storage layer;
Data storage layer is used for the data that send over are carried out real-time storage, and the data of storage is sent to data analysis layer or data display layer;
The data display layer with the data storage layer interconnection, is used for by various ways data being shown in real time, and offers the various self-defining operation of user interface;
Data analysis layer is used for from the data storage layer reading out data and carries out post-processed and the analysis of data.
2. Flexible Measurement ﹠ Control plateform system according to claim 1, it is characterized in that, described data collection layer drives by erecting equipment, call corresponding dynamic link library (DLL), the compatible various data transmission port that comprise at least serial ports, USB, CAN and TCP/IP etc. are in order to be connected with the data acquisition equipment terminal of different size.
3. Flexible Measurement ﹠ Control plateform system according to claim 1, it is characterized in that, described parameter arranges layer according to user's self-defining operation interface, make one to one acquisition channel of parameter and collection terminal interruption-forming, by defining the parameter attribute of each acquisition channel, the high speed acquisition data are separated in different acquisition channels from the low speed image data, and be stored in the different database tables, finish the Real-time Collection of hyperchannel Volume data.
4. according to claim 1 or 3 described Flexible Measurement ﹠ Control plateform systems, it is characterized in that, the Real-time Collection of described hyperchannel Volume data is based on the multithreading of Windows, by calling the AfxBeginThread function, adopt multimedia high speed timer timeSetEvent, high-resolution counter QueryPerformanceFrequency and circular buffer technology, realize multichannel parallel acquisition.
5. Flexible Measurement ﹠ Control plateform system according to claim 4, it is characterized in that described data computation layer comprises at least one virtual equipment library, according to different communication protocol and collection port, call the code in the different equipment libraries, image data is carried out data calculate and process; When adding new equipment, by in equipment library, setting up association attributes, add corresponding code, come that the image data of new equipment is carried out data and calculate and process.
6. Flexible Measurement ﹠ Control plateform system according to claim 5, it is characterized in that, the attribute that described parameter arranges the parameter of layer setting comprises: port type, priority, wherein, the code of port type attribute definition in the data computation layer is wanted the invocation facility storehouse makes the collection port corresponding with relevant communication protocol; Priority attribute definition data acquisition speed.
7. according to claim 1 or 6 described Flexible Measurement ﹠ Control plateform systems, it is characterized in that described data storage layer adopts the ADO technology, according to needs and the parameter setting of test assignment, dynamic creation database and table.
8. Flexible Measurement ﹠ Control plateform system according to claim 7, it is characterized in that, the table of described data storage layer dynamic creation comprises: at least one low speed data stored data base table and at least one high-speed data stored data base table are used for receiving respectively low speed image data and high speed acquisition data.
9. Flexible Measurement ﹠ Control plateform system according to claim 8, it is characterized in that, described data display layer comprises the teechart plug-in unit, this plug-in unit comprises curve display module, digital display module and instrument display module, setting by the user shows that in real time data show with the arbitrary form in three kinds of forms.
10. the development approach of a Flexible Measurement ﹠ Control plateform system is characterized in that, comprises the steps:
Data collection layer supports various data acquisition equipment terminals to carry out data input collection by the multi-protocol data acquisition passage, and the data that collect are sent to the data computation layer or directly are uploaded to data display layer and/or data storage layer;
The data computation layer arranges the parameter that arranges according to different test assignments in the layer according to parameter, call corresponding module, the image data that sends is calculated and processed, obtain unified frame format data behind the extracted valid data, and unified frame format data are divided into different passages are sent to data display layer and/or data storage layer;
Data storage layer carries out real-time storage to the data that send over, and the data of storage are sent to data analysis layer or data display layer;
Data display layer and data storage layer interconnection show data in real time by various ways, offer simultaneously the various self-defining operation of user;
Data analysis layer reading out data and carry out post-processed and the analysis of data from data storage layer.
CN201210401375.XA 2012-10-19 2012-10-19 A kind of Flexible Measurement & Control plateform system and development approach Active CN102929620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210401375.XA CN102929620B (en) 2012-10-19 2012-10-19 A kind of Flexible Measurement & Control plateform system and development approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210401375.XA CN102929620B (en) 2012-10-19 2012-10-19 A kind of Flexible Measurement & Control plateform system and development approach

Publications (2)

Publication Number Publication Date
CN102929620A true CN102929620A (en) 2013-02-13
CN102929620B CN102929620B (en) 2016-05-25

Family

ID=47644433

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210401375.XA Active CN102929620B (en) 2012-10-19 2012-10-19 A kind of Flexible Measurement & Control plateform system and development approach

Country Status (1)

Country Link
CN (1) CN102929620B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104063216A (en) * 2014-06-12 2014-09-24 北京航天发射技术研究所 High-speed data processing display method based on Labview
CN104104674A (en) * 2014-07-01 2014-10-15 广东艾科技术股份有限公司 Multiprotocol distributed data acquisition control system of equipment sensor and method thereof
CN104852850A (en) * 2014-02-04 2015-08-19 霍尼韦尔国际公司 Configurable communication systems and methods for communication
CN104991469A (en) * 2015-05-19 2015-10-21 广东中鹏热能科技有限公司 Equipment data preferential collection method and system
CN106850596A (en) * 2017-01-16 2017-06-13 北京市天元网络技术股份有限公司 A kind of data collecting system and method
CN108302993A (en) * 2018-01-18 2018-07-20 重庆大学 It is under fire and tests system flexibility test automation technology
CN108363985A (en) * 2018-03-06 2018-08-03 深圳市易成自动驾驶技术有限公司 Target object sensory perceptual system test method, device and computer readable storage medium
CN111084612A (en) * 2019-12-30 2020-05-01 中国人民解放军陆军军医大学第一附属医院 Combined medical data acquisition system
CN111158669A (en) * 2019-12-06 2020-05-15 佛山缔乐视觉科技有限公司 Graphical programming visual system and industrial control method
CN113179330A (en) * 2021-05-25 2021-07-27 浙江浙大西投脑机智能科技有限公司 External equipment connection management system compatible with multiple hardware interface specifications and hardware communication protocols
CN113722013A (en) * 2021-09-10 2021-11-30 中国西安卫星测控中心 Data exchange method suitable for Beidou third-satellite measurement, operation and control system
CN114697293A (en) * 2022-03-30 2022-07-01 西安北方华创微电子装备有限公司 Data transmission method, lower computer and controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270141A (en) * 2011-08-21 2011-12-07 中国海洋大学 Configurable data acquisition software system and designing method
CN102279746A (en) * 2011-08-21 2011-12-14 中国海洋大学 Sensor-based monitoring software development platform system and method
CN102393301A (en) * 2011-07-14 2012-03-28 华东理工大学 Flexibility testing system of engine

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102393301A (en) * 2011-07-14 2012-03-28 华东理工大学 Flexibility testing system of engine
CN102270141A (en) * 2011-08-21 2011-12-07 中国海洋大学 Configurable data acquisition software system and designing method
CN102279746A (en) * 2011-08-21 2011-12-14 中国海洋大学 Sensor-based monitoring software development platform system and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
季白杨等: "复杂机电测控系统的嵌入式开发方法的研究", 《中国科技成果》 *
潘洪华: "可配置的智能仪表数据采集系统设计与实现", 《中国优秀硕士论文全文数据库》 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852850B (en) * 2014-02-04 2019-11-05 霍尼韦尔国际公司 Configurable communication system and method for communication
CN104852850A (en) * 2014-02-04 2015-08-19 霍尼韦尔国际公司 Configurable communication systems and methods for communication
CN104063216A (en) * 2014-06-12 2014-09-24 北京航天发射技术研究所 High-speed data processing display method based on Labview
CN104104674A (en) * 2014-07-01 2014-10-15 广东艾科技术股份有限公司 Multiprotocol distributed data acquisition control system of equipment sensor and method thereof
CN104991469A (en) * 2015-05-19 2015-10-21 广东中鹏热能科技有限公司 Equipment data preferential collection method and system
CN104991469B (en) * 2015-05-19 2017-08-01 广东中鹏热能科技有限公司 A kind of device data preferential collection method and system
CN106850596A (en) * 2017-01-16 2017-06-13 北京市天元网络技术股份有限公司 A kind of data collecting system and method
CN106850596B (en) * 2017-01-16 2020-08-04 北京市天元网络技术股份有限公司 Data acquisition system and method
CN108302993A (en) * 2018-01-18 2018-07-20 重庆大学 It is under fire and tests system flexibility test automation technology
CN108363985A (en) * 2018-03-06 2018-08-03 深圳市易成自动驾驶技术有限公司 Target object sensory perceptual system test method, device and computer readable storage medium
CN108363985B (en) * 2018-03-06 2023-06-06 深圳市易成自动驾驶技术有限公司 Target object perception system testing method and device and computer readable storage medium
CN111158669A (en) * 2019-12-06 2020-05-15 佛山缔乐视觉科技有限公司 Graphical programming visual system and industrial control method
CN111084612A (en) * 2019-12-30 2020-05-01 中国人民解放军陆军军医大学第一附属医院 Combined medical data acquisition system
CN113179330A (en) * 2021-05-25 2021-07-27 浙江浙大西投脑机智能科技有限公司 External equipment connection management system compatible with multiple hardware interface specifications and hardware communication protocols
CN113722013A (en) * 2021-09-10 2021-11-30 中国西安卫星测控中心 Data exchange method suitable for Beidou third-satellite measurement, operation and control system
CN113722013B (en) * 2021-09-10 2023-07-28 中国西安卫星测控中心 Data exchange method suitable for Beidou No. three satellite measurement, operation and control system
CN114697293A (en) * 2022-03-30 2022-07-01 西安北方华创微电子装备有限公司 Data transmission method, lower computer and controller
CN114697293B (en) * 2022-03-30 2023-11-10 西安北方华创微电子装备有限公司 Data transmission method, lower computer and controller

Also Published As

Publication number Publication date
CN102929620B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN102929620A (en) Flexible measurement and control platform system and development method thereof
CN104660682B (en) A kind of OPC data collection and monitoring intelligent terminal based on TD-LTE
CN103188112B (en) Network flow detection method and device
CN107404417A (en) A kind of processing method of monitoring data, processing unit and processing system
CN106888120B (en) Method, device and system for managing Internet of things
CN101018165A (en) Distributed network plug-and-play measurement and control system
EP1681831A3 (en) Monitoring device having a memory containing data representing access information configured to be used by multiple implementations of protocol access functions to extract information from networked devices
CN104468274A (en) Cluster monitor and management method and system
CN103944982A (en) Data collecting and controlling device and method for heterogeneous sensor network
EP1157322A2 (en) Field upgradeable dynamic data exchange server
US9686131B2 (en) System, gateway, and method for automatic setting configuration by learning commands
CN103984240A (en) Distributed real-time simulation method based on reflective memory network
CN110290187A (en) Transmission method and device, storage medium, the electronic device of data information
CN105357077A (en) Device and method for processing serial port data of multiple devices
CN104573135B (en) Real-time data acquisition method and device based on Reflective memory network and middleware Technology
CN107231440B (en) Intelligent LED cloud screen control system
CN113794781B (en) Data acquisition method, device, equipment and storage medium
CN103900822A (en) Flexible testing system for engine pedestal performance
Nieves et al. A UPnP service to control and manage IEEE 1451 transducers in control networks
US11223961B2 (en) Configuration method of wireless network system, configuration terminal and configuration system
CN107645564A (en) A kind of CAN message analytic method and its system based on data buffer storage
CN104787634B (en) Monitoring method, elevator integrated machine and its monitoring system of elevator integrated machine
CN108683547A (en) A kind of wireless sensor network configuration method of software definition
CN107465569A (en) A kind of SAS Switch whole machine cabinets crawl node phy error count method and system
CN107896240A (en) Single-chip microcomputer and configuration software telecommunication system based on Internet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant