A data acquisition method and device

A data acquisition and data acquisition point technology, applied in transmission systems, electrical components, etc., can solve data errors, difficult to solve problems such as source errors and escape errors, and achieve the effect of increasing cache and comparison and improving MTBF

Active Publication Date: 2022-02-01
北京和利时系统集成有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 2. Errors occur in the data transmission process and become dirty data, most of which are expected to be intercepted by traditional methods, but a small part will successfully pass through the traditional protection net and become fish that slip through the net
[0010] It can be seen that it is difficult to solve the above-mentioned source errors and escape errors in the existing technical solutions in the processing solutions related to data collection

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 data acquisition method and device
  • A data acquisition method and device
  • A data acquisition method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] In this embodiment, a data collection method is provided to effectively prevent data jitter and reduce source errors and / or escape errors, such as figure 2 Shown:

[0058] Step 200: Determine the data collection point, and determine whether to perform data anti-shake processing according to the preset parameters, if yes, perform step 201: initialize the number of times collected in this round to 0, and then perform step 202; if not, perform step 200 211;

[0059] Step 202: Receive the data message, and verify the message according to the communication protocol between the two parties;

[0060] Step 203: After the verification is passed, perform a data collection according to the data address corresponding to the data collection point, and cache the result of this data collection; add 1 to the number of times collected in this round;

[0061] Step 204: Judging whether the number of acquisitions in the current round is greater than or equal to the preset parameter N, w...

example 1

[0073] In the anti-shake processing, it is assumed that each round needs to be collected n (n>1) times. Taking the collected data as an integer as an example, the following structure is established (assigned) for each data collection point, and the collection results of n times are cached. Caching and processing flow such as image 3 shown.

[0074] struct SampleBuf{

[0075] int Value[n];

[0076] int CNT;

[0077]}Buf

[0078] Among them, Value[n] is the data buffer area where a data point caches n (n>1) times of sampling values, and Value[0], Value[1],..., Value[n-1] respectively represent the data point The values ​​of the 1st, 2nd, ..., nth samples of , where the data type int is for illustration, in actual situations, it can be other data types according to the different data collection points. CNT indicates the number of times the data point has been sampled so far, CNT∈[0,n], the initial value of CNT is 0, 0 means that the data point has not yet started a new round...

Embodiment 2

[0080] In this embodiment, a data collection method is provided to effectively prevent data jitter and reduce source errors and / or escape errors. Assuming that the determined data collection point is preset to perform data anti-shake processing, the process is as follows Figure 4 Shown:

[0081] Step 401: Initialize the number of continuous acquisition error rounds as 0;

[0082] Step 402: Initialize the collected times of this round as 0;

[0083] Step 403: Receive the data message, and verify the message according to the communication protocol between the two parties;

[0084] Step 404: After the verification is passed, perform a data collection according to the data address corresponding to the data collection point, and cache the result of this data collection; add 1 to the number of times collected in this round;

[0085] Step 405: Judging whether the number of times collected in the current round is greater than or equal to the preset parameter N, where N is greater t...

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 data collection method, which includes, when the collection conditions are met, performing N times of data collection on the data collection point, where N is an integer greater than 1; according to the results of the N times of data collection, determining the data collection The results of the current round of data collection for the point include: if the results of the N times of data collection are the same, the result of any one of the data collections is used as the result of the current round of data collection for the data collection point. The invention also discloses a data acquisition device.

Description

technical field [0001] The invention relates to the field of equipment communication, in particular to a method and device for anti-shaking in data collection. Background technique [0002] In the era of the Internet of Everything, interface communication is the bridge and cornerstone of the interconnected system. The Internet of Everything is inseparable from interface communication. Stable and reliable interface communication is the cornerstone of the interconnected system. The essence of interface communication is the data collection and interaction between the two sides of the interface. [0003] The two sides of the interface communication realize data collection and interaction according to the specific communication protocol agreed by both parties in advance. One side of the interface can unilaterally collect data from the other side, or can collect data from each other. The way of data collection can be periodic call, active upload or a combination of the two. [...

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 Patents(China)
IPC IPC(8): H04L43/04H04L41/0631
CPCH04L43/04H04L41/0631
Inventor 贺学文房茂彬熊辉
Owner 北京和利时系统集成有限公司
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