CN109542059A - Historical data compression set and method - Google Patents
Historical data compression set and method Download PDFInfo
- Publication number
- CN109542059A CN109542059A CN201811376820.5A CN201811376820A CN109542059A CN 109542059 A CN109542059 A CN 109542059A CN 201811376820 A CN201811376820 A CN 201811376820A CN 109542059 A CN109542059 A CN 109542059A
- Authority
- CN
- China
- Prior art keywords
- label point
- compression
- analog quantity
- switching value
- label
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000013144 data compression Methods 0.000 title claims abstract description 48
- 238000007906 compression Methods 0.000 claims abstract description 78
- 230000006835 compression Effects 0.000 claims abstract description 78
- 230000008569 process Effects 0.000 claims abstract description 27
- 230000035772 mutation Effects 0.000 claims description 7
- 230000009182 swimming Effects 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 21
- 230000008859 change Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000006073 displacement reaction Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 210000004027 cell Anatomy 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 210000000352 storage cell Anatomy 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001268 conjugating effect Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000010977 jade Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/41845—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by system universality, reconfigurability, modularity
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/33—Director till display
- G05B2219/33273—DCS distributed, decentralised controlsystem, multiprocessor
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The present invention relates to a kind of historical data compression sets, comprising: controller is configured to add markers to the label point data packet of process variable;Processor, couples the controller and is configured to execute following steps: the label point data packet of process variable being split as one or more label points, and adds the markers for each label point;To in the label point analog quantity label point and switching value label point carry out first order compression respectively;Second level compression is carried out respectively to the analog quantity label point and switching value label point compressed by the first order;And analog quantity label point and switching value label point that storage is compressed by the second level.
Description
Technical field
The present invention relates to industrial control fields, more particularly, to a kind of control device for synchronization up-down of industrial control field
Background technique
With host computer, the fast development of network technology, the scale of industrial control system is increasing, and real-time is increasingly
It is high.The label point of a large amount of process variables needs to record its process values, history of forming data, it is therefore desirable to locate in industrial control system
Manage the technology of these process values.In treatment process value, need to solve the acquisition of data, the processing of data, the transmission of data, number
According to compression, data the key problems such as tissue.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of historical data compression set and methods, when having better
Clock precision and compression ratio.
The present invention wraps to solve above-mentioned technical problem and the technical solution adopted is that propose a kind of historical data compression set
Include: controller is configured to add markers to the label point data packet of process variable;Processor couples the controller and is configured to
It executes following steps: the label point data packet of process variable being split as one or more label points, and is added for each label point
The markers;To in the label point analog quantity label point and switching value label point carry out first order compression respectively;To process
The analog quantity label point and switching value label point of first order compression carry out second level compression respectively;And storage is pressed by the second level
The analog quantity label point and switching value label point of contracting.
In one embodiment of this invention, in the label point analog quantity label point and switching value label point respectively into
After the compression of the row first order further include: the analog quantity label point and switching value label point compressed by the first order are sent into data team
In column, the second level compression is waited for.
In one embodiment of this invention, by the analog quantity label point and switching value label point feeding by first order compression
In same data queue.
In one embodiment of this invention, the method that the first order compression of the analog quantity label point is compressed with the second level is not
Together.
In one embodiment of this invention, the compression ratio of the first order compression and second level compression of the switching value label point
It is different.
In one embodiment of this invention, the first order boil down to distance of swimming compression of the analog quantity label point, the simulation
Measure the compression of second level boil down to slope or frequency compression of label point.
In one embodiment of this invention, the method packet of the first order compression and second level compression of the switching value label point
It includes: merging the label point that the value of switching value does not change.
In one embodiment of this invention, the processor is additionally configured to detect the mutation of the analog quantity label point, and
It is uncompressed and directly record mutation value.
In one embodiment of this invention, the controller is set in distributed AC servo system equipment, the processor setting
In host computer.
Another aspect of the present invention proposes a kind of historical data compression method.The following steps are included: to the label of process variable
Point data packet adds markers;The label point data packet of process variable is split as one or more label points, and is each label point
Add the markers;To in the label point analog quantity label point and switching value label point carry out first order compression respectively;It is right
Analog quantity label point and switching value label point by first order compression carry out second level compression respectively;And storage passes through second
The analog quantity label point and switching value label point of grade compression.
The present invention due to using the technology described above, is allowed to compared with prior art, can efficiently and reliably realize data
Acquisition, compression and the storage in later period, improve time precision and data compression rate, solve the problems, such as loss of data.
Detailed description of the invention
For the above objects, features and advantages of the present invention can be clearer and more comprehensible, below in conjunction with attached drawing to tool of the invention
Body embodiment elaborates, in which:
Fig. 1 is the schematic diagram of historical data compression set according to an embodiment of the invention.
Fig. 2 is the distributed AC servo system device structure schematic diagram of historical data compression set according to an embodiment of the invention.
Fig. 3 is the host computer structural schematic diagram of historical data compression set according to an embodiment of the invention.
Fig. 4 is historical data compression process schematic diagram according to an embodiment of the invention.
Fig. 5 is historical data compression method flow chart according to an embodiment of the invention.
Component label instructions in figure:
100: historical data compression set
110: distributed AC servo system equipment (Distributed Control Device)
111: controller
112: read-only memory (ROM)
113: random access memory (RAM)
114: communication port
115: acquisition equipment
116: internal communication bus
120: host computer
121: processor
122: read-only memory (ROM)
123: random access memory (RAM)
123a: data queue
123b: internal storage data block
124: communication port
125: input-output apparatus
126: hard disk
127: user interface
128: internal communication bus
130: network
201: label point data packet (band markers)
211: splitting data
212: judging whether it is analog quantity
213: the compression of the analog quantity distance of swimming
214: switching value displacement compression
215: the compression of analog quantity slope
216: switching value displacement compression
Specific embodiment
For the above objects, features and advantages of the present invention can be clearer and more comprehensible, below in conjunction with attached drawing to tool of the invention
Body embodiment elaborates.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, but the present invention can be with
It is different from other way described herein using other and implements, therefore the present invention is by the limit of following public specific embodiment
System.
As shown in the application and claims, unless context clearly prompts exceptional situation, " one ", "one", " one
The words such as kind " and/or "the" not refer in particular to odd number, may also comprise plural number.It is, in general, that term " includes " only prompts to wrap with "comprising"
Include clearly identify the step of and element, and these steps and element do not constitute one it is exclusive enumerate, method or apparatus
The step of may also including other or element.
Following embodiment of the invention describes a kind of historical data compression set.The device facilitates efficiently and reliably real
Acquisition, compression and the storage in later period of existing data, improve time precision and data compression rate, solve asking for loss of data
Topic.
Fig. 1 is the schematic diagram of the historical data compression set of one embodiment of the invention.Refering to what is shown in Fig. 1, the historical data
Compression set 100 may include distributed AC servo system equipment 110 and host computer 120, and the two is connected by network 130.Network 130 can be with
It is various known cable networks (such as Ethernet) or wireless network, it is not reinflated herein.Distributed AC servo system equipment 110 and upper
The position cooperation of machine 120 is to realize device described in following embodiment or its change case.It can be equipped in distributed AC servo system equipment 110
Controller, acquisition equipment and communication port etc..Processor, user interface and input-output equipment can be equipped in host computer 120
Deng.Processor is responsible for executing instruction, and user interface can be presented various interfaces to user, input-output equipment can receive or
Send outputting and inputting for user.
Fig. 2 is the distributed AC servo system device structure schematic diagram of historical data compression set according to an embodiment of the invention.
Refering to what is shown in Fig. 2, distributed AC servo system equipment 110 may include controller 111, read-only memory (ROM) 112, random access memory
Device (RAM) 113, communication port 114, acquisition equipment 115 and internal communication bus 116.
In some embodiments, controller 111 can be made of one or more controllers.Distributed AC servo system equipment 110
In include various forms of program storage unit (PSU)s and data storage cell, such as read-only memory (ROM) 112 and arbitrary access deposit
Reservoir (RAM) 113.Said memory cells being capable of distributed storage control equipment 110 processing and/or the various data that use of communication
Possible program instruction performed by file and controller 111.Distributed AC servo system equipment 110 may be implemented in communication port 114
Data communication is carried out between other component (not shown).In some embodiments, distributed AC servo system equipment 110 can lead to
It crosses communication port 114 and information and data is sent and received from network 130.The physical quantity that equipment 115 acquires various change is acquired, it can
To be temperature, pressure and vibration etc., the electric signal of simulation is converted thereof by corresponding sensor.Acquire equipment 115 by this
A little analog electrical signals are converted to digital signal and store, and are pre-processed.Distribution may be implemented in internal communication bus 116
Control the data communication between each component of equipment 110.
Fig. 3 is the host computer structural schematic diagram of the historical data compression set of one embodiment of the invention.Refering to what is shown in Fig. 3,
Host computer 120 may include processor 121, read-only memory (ROM) 122, random access memory (RAM) 123, communication port
124, input-output apparatus 125, hard disk 126, user interface 127 and internal communication bus 128.
Processor 121 couples the controller 111 in Fig. 2.In some embodiments, processor 121 can be by one or more
A processor composition.It include various forms of program storage unit (PSU)s and data storage cell, such as read-only storage in host computer 120
Device (ROM) 122, random access memory (RAM) 123 and hard disk 126.Said memory cells can store the processing of host computer 120
And/or communicate possible program instruction performed by the various data files used and processor 121.Communication port 124 can
Data communication is carried out between host computer 120 and other component (not shown) to realize.In some embodiments, host computer
120 can send by communication port 124 from network 130 and receive information and data.Input-output apparatus 125 is supported upper
Input/output data stream between machine 120 and other component.As an example, input-output apparatus 125 may include below
Component it is one or more: mouse, trace ball, keyboard, touch control component, sound receiver etc..User interface 127 may be implemented
Interaction and information exchange between position machine 120 and user.Internal communication bus 128 may be implemented between each component of host computer 120
Data communication.
It is appreciated that the historical data compression set of the application is not limited to be implemented by host computer, but can be by
Multiple online host computer coordinated implementations.Online host computer can be connected by local area network or wide area network and communication.
For example, the historical data compression set 100 of the application may be embodied as host computer procedure, be stored in hard disk
In 126, and it can be recorded in processor 121 and execute, to implement the present processes.
When historical data compression set is embodied as host computer procedure, also it can store in the readable storage medium storing program for executing of host computer
As product.For example, host computer readable storage medium storing program for executing can include but is not limited to magnetic storage apparatus (for example, hard disk, floppy disk, magnetic
Item), CD (for example, compact disk (CD), digital versatile disc (DVD)), smart card and flash memory device be (for example, electric erasable can
Program read-only memory (EPROM), card, stick, key driving).In addition, various storage media described herein can be represented for storing
One or more equipment of information and/or other machine readable medias.Term " machine readable media " can include but is not limited to
Can storage, include and/or carrying code and/or instruction and/or data wireless channel and various other media (and/or storage
Medium).
It should be understood that embodiments described above is only signal.Embodiment described herein can be in hardware, software, solid
It is realized in part, middleware, microcode or any combination thereof.For hardware realization, processing unit can be in one or more spy
Determine purposes integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device
It part (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor and/or is designed as executing
Other electronic units of function described herein or its combine interior realization.
Fig. 4 is historical data compression process schematic diagram according to an embodiment of the invention.The device of the present embodiment can be
Implement in Fig. 1 or the historical data compression set of its variation.In some embodiments, one or more of device below
Step can be by manually implementing.Below with reference to the historical data compression process for describing the present embodiment shown in Fig. 4.
In conjunction with shown in referring to figs. 2 and 3, the controller 111 in distributed AC servo system equipment 110 counts to the label of process variable
Markers is added according to packet.The time is needed since data are uploaded in host computer from distributed AC servo system equipment, by distributed AC servo system
Controller in equipment is that process variable label point data packet addition markers can make the time in markers more accurate.
Processor 121 in host computer 120 couples the controller 111, and is configured to execute following steps: by process variable
Label point data packet (band markers) 201 is split as one or more label points, this process is to split data 211.It is every after fractionation
One label point is the amount of a detection, such as can be a temperature value or a pressure value.Processor 121 is every after splitting
One label point adds the markers in above controller 111.Processor 121 judges that above-mentioned label point is analog quantity label point or opens
Label point is measured in pass, this process is that analog quantity judges 212.Processor 121 to analog quantity label point and switching value label point respectively into
The compression of the row first order.121 pairs of the processor analog quantity label points and switching value label point by first order compression carry out respectively
Second level compression.Processor 121 stores the analog quantity label point and switching value label point compressed by the second level.Of the invention
In some embodiments, the analog quantity label point compressed by the second level and switching value label point are formed data block by processor 121
It is put into internal storage data block 123b, and stores onto hard disk 126.
In one example, by the historical data software in host computer by compressed analog quantity label point and switching value mark
The value of label point forms data block, and stores to hard disc of computer.Other programs can retrieve the history in the historical data software
Data.
In one embodiment of this invention, the processor 121 of above-mentioned historical data compression set 100 is in above-mentioned label point
Analog quantity label point and after switching value label point carries out first order compression respectively, by through overcompression analog quantity label point and
Switching value label point is sent into data queue, and above-mentioned second level compression is waited for.The data queue for example can be positioned at Fig. 3
Two buffer areas in memory RAM123, buffer area can play the role of buffered data, processor avoided to have little time to handle.
In another embodiment of the invention, the processor 121 of above-mentioned historical data compression set 100 is to above-mentioned label point
In analog quantity label point and switching value label point carry out first order compression respectively after, by the analog quantity label point through overcompression
It is sent into same data queue 123a with switching value label point, waits for above-mentioned second level compression, as shown in Figure 4.
In one example, data queue 123a is located in the buffer area in the memory RAM123 in host computer 120,
The length of the buffer area can be with predefined, to store enough 10 seconds or all record values of longer time.Compressed simulation
The record value of amount label point and switching value label point is stored using queue mode in chronological order.
In one embodiment of this invention, above-mentioned historical data compression set 100 to above-mentioned analog quantity label point first
Grade compression is different from the method that the second level is compressed.It can be improved compression ratio using different compression methods.Preferably, with reference to Fig. 4
Shown, processor 121 compresses 213 to the first order boil down to analog quantity distance of swimming of above-mentioned analog quantity label point, to above-mentioned analog quantity
The second level boil down to analog quantity slope compression 215.Processor 121 can also be frequency pressure to the second level compression of the analog quantity
Contracting (not shown).Wherein, to the distance of swimming boil down to lossless compression of analog quantity label point, the error of compression can be with predefined, should
Error minimum can be 0, usually the 0.1%~1% of range, and the time cycle compressed equally can be with predefined.To mould
When analog quantity label point carries out slope compression and is put into internal storage data block 123b, guarantee that time precision is 50 milliseconds.
In one embodiment of this invention, above-mentioned historical data compression set 100 to above-mentioned switching value label point first
Grade compression is different from the compression ratio that the second level is compressed.In some embodiments of the invention, refering to what is shown in Fig. 4, processor 121 is right
The first order boil down to switching value displacement compression 214 of above-mentioned switching value label point, opens the second level boil down to of above-mentioned switching value
Quantitative change position compression 216 is closed, the compression ratio for conjugating compression twice is different.It can be improved whole compression using different compression ratios
Rate.The compression type of the first order and second level compression to switch label point is usually the compression of time dimension.Switch amount mark
When label point carries out displacement compression and is put into internal storage data block 123b, guarantee that time precision is 1 millisecond.
In one example, above-mentioned historical data compression set 100 to the compression of the first order of above-mentioned switching value label point with
The mode of second level compression includes the label point for merging the value of switching value and not changing.In above-mentioned historical data compression set 100
When switch amount label point carries out first order compression, the value of the switching value changed is only recorded, and merge time identical switch
The value of amount.If the value of switching value does not change, one record value of generation in longest 1-5 minutes.Similarly, in above-mentioned history number
When carrying out second level compression according to 100 switch amount label point of compression set, when only recording the value of the switching value changed, and merging
Between identical switching value value.If the value of switching value does not change, the value of the switching value of front is recorded.In the value of switching value
In the case where remaining unchanged for a long period of time, the value of one switching value of every 1 hour or so record.Only the switching value of variation is saved, it can be with
Under the premise of guaranteeing that all switching value changing values are recorded, the memory headroom of its occupancy is saved, and improves the place of processor
Manage efficiency.By carrying out specially treated to unconverted switching value for a long time, compression ratio can be further improved.
In one embodiment of this invention, the processor 121 of above-mentioned historical data compression set 100 is additionally configured in detection
State the mutation of analog quantity label point, and uncompressed and directly record mutation value.It is carried out by the mutation to analog quantity label point
Specially treated, it is ensured that all compression results are in the error range of predefined.
Another aspect of the present invention proposes a kind of historical data compression method.This method helps efficiently and reliably to realize
Acquisition, compression and the storage in later period of data, improve time precision and data compression rate, solve the problems, such as loss of data.
The historical data compression method flow chart of one embodiment of the invention is as shown in Figure 5.Below with reference to Fig. 5 to historical data
Compression method is illustrated.
Step 302, markers is added to the label point data packet of process variable.
Step 304, the label point data packet of process variable is split as one or more label points, and added for each label point
Add the markers.
Step 306, in the label point analog quantity label point and switching value label point carry out first order compression respectively.
Step 308, second level pressure is carried out respectively to the analog quantity label point and switching value label point compressed by the first order
Contracting.
Step 310, the analog quantity label point and switching value label point compressed by the second level are stored.
The present invention provides a kind of historical data compression set and methods.The device and method facilitate efficiently and reliably
Acquisition, compression and the storage in later period for realizing data, improve time precision and data compression rate, solve asking for loss of data
Topic.
Basic conception is described above, it is clear that those skilled in the art, foregoing invention discloses only
As an example, and not constituting the restriction to the application.Although do not clearly state herein, those skilled in the art may
The application is carry out various modifications, improve and is corrected.Such modification, improvement and amendment are proposed in this application, so such
Modification improves, corrects the spirit and scope for still falling within the application example embodiment.
Meanwhile the application has used particular words to describe embodiments herein.Such as " one embodiment ", " one implements
Example ", and/or " some embodiments " mean a certain feature relevant at least one embodiment of the application, structure or feature.Cause
This, it should be highlighted that and it is noted that " embodiment " or " an implementation referred to twice or repeatedly in this specification in different location
Example " or " alternate embodiment " are not necessarily meant to refer to the same embodiment.In addition, in one or more embodiments of the application
Certain features, structure or feature can carry out combination appropriate.
Host computer procedure coding needed for the operation of the application each section can use any one or more programming language,
Including Object-Oriented Programming Language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET,
Python etc., conventional procedural programming language for example C language, Visual Basic, 2003 Fortran, Perl, COBOL 2002,
PHP, ABAP, dynamic programming language such as Python, Ruby and Groovy or other programming languages etc..The program coding can be complete
Operation or run on user's host computer as independent software package or partially in user's host computer on user's host computer entirely
Upper operation part runs in long-range host computer or runs on long-range host computer or server completely.In the latter cases, remotely
Host computer can be connect by any latticed form with user's host computer, such as local area network (LAN) or wide area network (WAN), or even
It is connected to external host computer (such as passing through internet), or in cloud computing environment, or is serviced as service using such as software
(SaaS)。
In addition, except clearly stating in non-claimed, the sequence of herein described processing element and sequence, digital alphabet
Using or other titles use, be not intended to limit the sequence of the application process and method.Although by each in above-mentioned disclosure
Kind of example discuss it is some it is now recognized that useful inventive embodiments, but it is to be understood that, such details only plays explanation
Purpose, appended claims are not limited in the embodiment disclosed, on the contrary, claim is intended to cover and all meets the application
The amendment and equivalent combinations of embodiment spirit and scope.For example, although system component described above can be set by hardware
It is standby to realize, but can also be only achieved by the solution of software, such as pacify on existing server or mobile device
Fill described system.
Similarly, it is noted that in order to simplify herein disclosed statement, to help real to one or more application
Apply the understanding of example, above in the description of the embodiment of the present application, sometimes by various features merger to one embodiment, attached drawing or
In descriptions thereof.But this disclosure method is not meant to mention in aspect ratio claim required for the application object
And feature it is more.In fact, the feature of embodiment will be less than whole features of the single embodiment of above-mentioned disclosure.
Although the present invention is described with reference to current specific embodiment, those of ordinary skill in the art
It should be appreciated that above embodiment is intended merely to illustrate the present invention, can also make in the case where no disengaging spirit of that invention
Various equivalent change or replacement out, therefore, as long as to the variation of above-described embodiment, change in spirit of the invention
Type will all be fallen in the range of following claims.
Claims (10)
1. a kind of historical data compression set, comprising:
Controller is configured to add markers to the label point data packet of process variable;
Processor couples the controller and is configured to execute following steps:
The label point data packet of process variable is split as one or more label points, and adds the markers for each label point;
To in the label point analog quantity label point and switching value label point carry out first order compression respectively;
Second level compression is carried out respectively to the analog quantity label point and switching value label point compressed by the first order;And
Store the analog quantity label point and switching value label point compressed by the second level.
2. historical data compression set as described in claim 1, which is characterized in that the analog quantity label in the label point
Point and switching value label point are carried out respectively after first order compression further include:
Analog quantity label point by first order compression and switching value label point are sent into data queue, wait for described the
Two-stage compression.
3. historical data compression set as claimed in claim 2, which is characterized in that by the analog quantity mark by first order compression
Label point and switching value label point are sent into same data queue.
4. historical data compression set as described in claim 1, which is characterized in that the first order pressure of the analog quantity label point
It contracts different from the method that the second level is compressed.
5. historical data compression set as described in claim 1, which is characterized in that the first order pressure of the switching value label point
It contracts different from the compression ratio that the second level is compressed.
6. historical data compression set as claimed in claim 4, which is characterized in that the first order pressure of the analog quantity label point
It is condensed to distance of swimming compression, the second level boil down to slope compression of the analog quantity label point or frequency compression.
7. historical data compression set as described in claim 1, which is characterized in that the first order pressure of the switching value label point
Contracting includes: the label point for merging the value of switching value and not changing with the method that the second level is compressed.
8. historical data compression set as described in claim 1, which is characterized in that the processor is additionally configured to described in detection
The mutation of analog quantity label point, and it is uncompressed and directly record mutation value.
9. historical data compression set as described in claim 1, which is characterized in that the controller is set to distributed AC servo system
In equipment, the processor is set in host computer.
10. a kind of historical data compression method, comprising the following steps:
Markers is added to the label point data packet of process variable;
The label point data packet of process variable is split as one or more label points, and adds the markers for each label point;
To in the label point analog quantity label point and switching value label point carry out first order compression respectively;
Second level compression is carried out respectively to the analog quantity label point and switching value label point compressed by the first order;And
Store the analog quantity label point and switching value label point compressed by the second level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811376820.5A CN109542059B (en) | 2018-11-19 | 2018-11-19 | Historical data compression device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811376820.5A CN109542059B (en) | 2018-11-19 | 2018-11-19 | Historical data compression device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109542059A true CN109542059A (en) | 2019-03-29 |
CN109542059B CN109542059B (en) | 2022-04-01 |
Family
ID=65848312
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811376820.5A Active CN109542059B (en) | 2018-11-19 | 2018-11-19 | Historical data compression device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109542059B (en) |
Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5740460A (en) * | 1994-07-29 | 1998-04-14 | Discovision Associates | Arrangement for processing packetized data |
WO2004050369A9 (en) * | 2002-12-02 | 2005-05-12 | Silverbrook Res Pty Ltd | Dead nozzle compensation |
EP1267233B1 (en) * | 1998-06-25 | 2006-11-02 | Fisher Controls International LLC | Function block apparatus for viewing data in a process control system |
CN101183264A (en) * | 2006-11-13 | 2008-05-21 | Abb技术有限公司 | Real-time process history server |
CN201134815Y (en) * | 2007-11-30 | 2008-10-15 | 中国科学院沈阳自动化研究所 | Ethernet data collecting and transmitting system |
CN101594150A (en) * | 2008-05-29 | 2009-12-02 | 通用汽车环球科技运作公司 | The high-efficiency compression method of measurement data |
CN102437856A (en) * | 2011-11-04 | 2012-05-02 | 国电南京自动化股份有限公司 | Characteristic point extraction-based three state data compression method of underground integrated monitoring system |
CN103595416A (en) * | 2012-08-16 | 2014-02-19 | 西门子公司 | System and method for compressing production data stream and filtering compressed data with different criteria |
CN103676866A (en) * | 2013-12-06 | 2014-03-26 | 苏州朗捷通智能科技有限公司 | Embedded networked multivariate input and output system |
CN103914449A (en) * | 2012-12-29 | 2014-07-09 | 上海可鲁系统软件有限公司 | Multisource time series data compression storage method |
CN204229182U (en) * | 2014-12-05 | 2015-03-25 | 国核自仪系统工程有限公司 | Digitizing And Control Unit |
CN104504116A (en) * | 2014-12-30 | 2015-04-08 | 青岛海信网络科技股份有限公司 | Storage method of real-time database |
CN104635669A (en) * | 2014-12-11 | 2015-05-20 | 国核自仪系统工程有限公司 | Instrument control system verification method |
CN105574201A (en) * | 2016-01-05 | 2016-05-11 | 卡斯柯信号有限公司 | Data formatting and file storage method based on real-time acquired data characteristic |
CN205563224U (en) * | 2016-02-23 | 2016-09-07 | 西门子公司 | Programmable logic controler and data process system |
CN106021579A (en) * | 2016-06-01 | 2016-10-12 | 南京国电南自美卓控制系统有限公司 | Compression method of historical database |
CN106452972A (en) * | 2016-10-31 | 2017-02-22 | 清华大学 | Method and device for acquiring data packet delay time |
US20170102678A1 (en) * | 2013-03-04 | 2017-04-13 | Fisher-Rosemount Systems, Inc. | Distributed industrial performance monitoring and analytics |
JP2017076385A (en) * | 2015-10-09 | 2017-04-20 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | Distributed industrial performance monitoring and analytics platform |
CN107463706A (en) * | 2017-08-18 | 2017-12-12 | 国网上海市电力公司 | A kind of storage of magnanimity recorder data and parsing method and system based on Hadoop |
CN107807969A (en) * | 2017-10-18 | 2018-03-16 | 上海华电电力发展有限公司 | New time series data storage method for power plant |
CN107831741A (en) * | 2017-10-18 | 2018-03-23 | 上海华电电力发展有限公司 | New time series data read method for power plant |
CN107894875A (en) * | 2017-11-20 | 2018-04-10 | 深圳市德传技术有限公司 | A kind of RTU date storage methods |
CN107968729A (en) * | 2017-12-22 | 2018-04-27 | 中国铁道科学研究院通信信号研究所 | A kind of railway signal data flow storage management system |
CN108021650A (en) * | 2017-11-30 | 2018-05-11 | 冶金自动化研究设计院 | A kind of efficient storage of time series data and reading system |
CN108182198A (en) * | 2017-11-29 | 2018-06-19 | 浙江中控软件技术有限公司 | Store the control device and read method of Dynamic matrix control device operation data |
-
2018
- 2018-11-19 CN CN201811376820.5A patent/CN109542059B/en active Active
Patent Citations (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5740460A (en) * | 1994-07-29 | 1998-04-14 | Discovision Associates | Arrangement for processing packetized data |
EP1267233B1 (en) * | 1998-06-25 | 2006-11-02 | Fisher Controls International LLC | Function block apparatus for viewing data in a process control system |
WO2004050369A9 (en) * | 2002-12-02 | 2005-05-12 | Silverbrook Res Pty Ltd | Dead nozzle compensation |
CN101183264A (en) * | 2006-11-13 | 2008-05-21 | Abb技术有限公司 | Real-time process history server |
CN201134815Y (en) * | 2007-11-30 | 2008-10-15 | 中国科学院沈阳自动化研究所 | Ethernet data collecting and transmitting system |
CN101594150A (en) * | 2008-05-29 | 2009-12-02 | 通用汽车环球科技运作公司 | The high-efficiency compression method of measurement data |
CN102437856A (en) * | 2011-11-04 | 2012-05-02 | 国电南京自动化股份有限公司 | Characteristic point extraction-based three state data compression method of underground integrated monitoring system |
CN103595416A (en) * | 2012-08-16 | 2014-02-19 | 西门子公司 | System and method for compressing production data stream and filtering compressed data with different criteria |
CN103914449A (en) * | 2012-12-29 | 2014-07-09 | 上海可鲁系统软件有限公司 | Multisource time series data compression storage method |
US20170102678A1 (en) * | 2013-03-04 | 2017-04-13 | Fisher-Rosemount Systems, Inc. | Distributed industrial performance monitoring and analytics |
CN103676866A (en) * | 2013-12-06 | 2014-03-26 | 苏州朗捷通智能科技有限公司 | Embedded networked multivariate input and output system |
CN204229182U (en) * | 2014-12-05 | 2015-03-25 | 国核自仪系统工程有限公司 | Digitizing And Control Unit |
CN104635669A (en) * | 2014-12-11 | 2015-05-20 | 国核自仪系统工程有限公司 | Instrument control system verification method |
CN104504116A (en) * | 2014-12-30 | 2015-04-08 | 青岛海信网络科技股份有限公司 | Storage method of real-time database |
JP2017076385A (en) * | 2015-10-09 | 2017-04-20 | フィッシャー−ローズマウント システムズ,インコーポレイテッド | Distributed industrial performance monitoring and analytics platform |
CN105574201A (en) * | 2016-01-05 | 2016-05-11 | 卡斯柯信号有限公司 | Data formatting and file storage method based on real-time acquired data characteristic |
CN205563224U (en) * | 2016-02-23 | 2016-09-07 | 西门子公司 | Programmable logic controler and data process system |
CN106021579A (en) * | 2016-06-01 | 2016-10-12 | 南京国电南自美卓控制系统有限公司 | Compression method of historical database |
CN106452972A (en) * | 2016-10-31 | 2017-02-22 | 清华大学 | Method and device for acquiring data packet delay time |
CN107463706A (en) * | 2017-08-18 | 2017-12-12 | 国网上海市电力公司 | A kind of storage of magnanimity recorder data and parsing method and system based on Hadoop |
CN107807969A (en) * | 2017-10-18 | 2018-03-16 | 上海华电电力发展有限公司 | New time series data storage method for power plant |
CN107831741A (en) * | 2017-10-18 | 2018-03-23 | 上海华电电力发展有限公司 | New time series data read method for power plant |
CN107894875A (en) * | 2017-11-20 | 2018-04-10 | 深圳市德传技术有限公司 | A kind of RTU date storage methods |
CN108182198A (en) * | 2017-11-29 | 2018-06-19 | 浙江中控软件技术有限公司 | Store the control device and read method of Dynamic matrix control device operation data |
CN108021650A (en) * | 2017-11-30 | 2018-05-11 | 冶金自动化研究设计院 | A kind of efficient storage of time series data and reading system |
CN107968729A (en) * | 2017-12-22 | 2018-04-27 | 中国铁道科学研究院通信信号研究所 | A kind of railway signal data flow storage management system |
Non-Patent Citations (1)
Title |
---|
张连义: "飞行参数记录系统时标设计及应用", 《兵工自动化》 * |
Also Published As
Publication number | Publication date |
---|---|
CN109542059B (en) | 2022-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10162416B2 (en) | Dynamic haptic conversion system | |
CN102831894B (en) | Command processing method, command processing device and command processing system | |
CN107480039B (en) | Small file read-write performance test method and device for distributed storage system | |
CN110380664A (en) | A kind of motor vibrations control method, device and computer readable storage medium | |
CN109299088A (en) | Mass data storage means, device, storage medium and electronic equipment | |
CN110262370B (en) | Batch reading and writing method, device and system of PLC | |
CN101799716A (en) | Method and mobile terminal for switching application foci | |
CN110991504A (en) | MOTCN-AE-based multi-dimensional time sequence abnormal value detection method and system | |
CN109256122A (en) | machine learning method, device, equipment and storage medium | |
CN108702568A (en) | A kind of method and apparatus of testing audio circuit time delay | |
CN104598067A (en) | Information processing method and electronic equipment | |
CN104769846A (en) | Conversion device, peripheral device and programmable controller | |
CN111913445B (en) | Data acquisition method, data acquisition equipment, storage medium, data transmission method and gateway | |
CN104679858A (en) | Method and device for inquiring data | |
CN104318950A (en) | Information processing method and electronic equipment | |
CN106782459B (en) | Piano automatic playing control system and method based on mobile terminal application program | |
CN103578020A (en) | Commodity information pushing system and method | |
CN109542059A (en) | Historical data compression set and method | |
US9971324B2 (en) | Storage for real time process | |
CN110597569A (en) | Software opening page control method and device, storage medium and electronic equipment | |
CN109814867A (en) | A kind of dummy model method of construction and system | |
JP2007317056A (en) | Plant information processing system | |
KR101403599B1 (en) | Motion generation method of a robot dancing with music | |
CN108181834B (en) | Semi-physical simulation method and system based on PSCAD/EMTDC | |
CN107066421A (en) | A kind of oscillograph and its gathered data report method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |