A real-time calculation method and system based on multi-device out-of-order data

A real-time computing and multi-device technology, applied in the field of data processing, can solve problems such as difficulties in real-time computing methods, and achieve the effect of eliminating real-time data disorder and maintaining time consistency

Active Publication Date: 2019-06-14
SHANGHAI ELECTRICGROUP CORP
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved by the present invention is to overcome the difficulty of the real-time calculation method based on out-of-order data in the prior art, and to provide a real-time computing method based on out-of-order data on multiple devices in order to maintain the time consistency of multi-device out-of-order data. Calculation method and system

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A real-time calculation method and system based on multi-device out-of-order data
  • A real-time calculation method and system based on multi-device out-of-order data
  • A real-time calculation method and system based on multi-device out-of-order data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] This embodiment provides a real-time calculation method based on multi-device out-of-order data, such as figure 1 As shown, the steps of the real-time calculation method based on multi-device out-of-sequence data specifically include:

[0039] Step 101, the real-time database collects real-time data from multiple devices respectively.

[0040] The real-time database collects and stores real-time data from multiple devices during the current read cycle.

[0041] Step 102, read the real-time database with a preset reading cycle, and for each reading cycle, acquire the latest real-time data of multiple devices within the time range of the current reading cycle.

[0042] At the end of the current reading cycle, the real-time database collects all the latest real-time data that needs to be calculated in real time.

[0043] Step 103: Perform calculation on the latest real-time data according to a preset algorithm to obtain a calculation result.

[0044] For the latest real...

Embodiment 2

[0053] This embodiment provides a real-time calculation method based on multi-device out-of-order data. Compared with Embodiment 1, this embodiment has Figure 4 As shown, the difference is that after step 102, it also includes:

[0054] Step 102', judging whether the latest real-time data of each device has been obtained in the current reading cycle, if not, then execute step 103', if so, execute step 103.

[0055] Step 103', use the latest real-time data in the time range of the previous reading cycle of the device that has not obtained the latest real-time data as the latest real-time data in the current reading cycle, and continue to execute step 103.

[0056] For the real-time data not collected in the time period of the current reading cycle, the real-time data collected in the previous reading cycle is used for calculation to obtain the operation result.

[0057] like Figure 5 As shown, it can be seen that MORRESULT did not collect the real-time data of the device MO...

Embodiment 3

[0066] This embodiment provides a real-time computing system based on multi-device out-of-order data, such as Figure 7 As shown, the real-time computing system based on multi-device out-of-order data includes a collection module 201 , a reading module 202 and a computing module 203 .

[0067] The collection module 201 is used to collect real-time data from multiple devices respectively by using a real-time database.

[0068] The reading module 202 is used to read the real-time database with the preset reading cycle, and for each reading cycle, obtain the latest real-time data of multiple devices within the time range of the current reading cycle; when the current reading cycle ends, real-time The database collects all the latest real-time data that needs to be calculated in real time.

[0069] The calculation module 203 is used to perform calculations on the latest real-time data according to preset algorithms to obtain calculation results.

[0070] For the latest real-time...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a real-time computing method and system based on multi-device out-of-order data. The real-time computing method based on the multi-device out-of-order data comprises the stepsthat a real-time database collects the real-time data from multiple devices; the real-time database is read in a preset reading period, and for each reading period, the latest real-time data of multiple devices in the time range of the current reading period are obtained; and operation is carried out on the latest real-time data according to a preset algorithm to obtain an operation result. According to the invention, by setting the reading period and reading the real-time database in a reading period, obtaining the latest real-time data collected from a plurality of devices within a current reading period, and taking the acquired latest real-time data of the multiple devices as the same timestamp data to be calculated, the problem of real-time data disorder is solved, the time consistencyof the data disorder of the multiple devices is kept, and the latest real-time data of the same timestamp can be simply and conveniently calculated according to the preset algorithm to obtain the calculation result.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a real-time computing method and system based on multi-device out-of-order data. Background technique [0002] With the development of the process industry, a large amount of high-frequency measurement data needs to be stored in real time, and if the traditional relational database is used again, it is difficult to meet the high requirements of data real-time storage speed and storage capacity, and the application requirements for real-time data and real-time transactions have become Difficult to do. [0003] Therefore, a real-time database suitable for the field of industrial monitoring emerges as the times require. The real-time database has a time-scaled data structure and high-frequency caching technology designed for fast reading and writing, which can realize millisecond-level reading and writing of massive data. In addition, based on the compression algorithm and the speci...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2458G06F16/22G06F16/25
Inventor 苏旭孙云云韩滨旭徐圆
Owner SHANGHAI ELECTRICGROUP CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products