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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com