Weighing instrument general data acquisition method, system and device and readable storage medium

A general-purpose data and acquisition method technology, applied in the transmission system, electrical digital data processing, natural language data processing, etc., can solve the problems of poor software reusability, data analysis and processing dependence, and different communication protocols, and achieve high versatility Effect

Pending Publication Date: 2022-06-24
XIAN THERMAL POWER RES INST CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there are many manufacturers of instrument equipment, complex types, and different communication protocols, resulting in diversified instrument data collection methods, data analysis and processing rely on communication protocols, and poor software reusability

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
  • Weighing instrument general data acquisition method, system and device and readable storage medium
  • Weighing instrument general data acquisition method, system and device and readable storage medium
  • Weighing instrument general data acquisition method, system and device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0076] For example: connect a meter through RS232, and obtain hexadecimal characters by reading buffer data: "2E 30 32 32 35 31 30 30 3D 2E 30 32 32 35 31 30 30 3D 2E 30 32 32 35 31 3030 3D", after ASCII data formatting ".0225100=.0225100=.0225100=", the character to be processed is generated, which is denoted as S1.

[0077] Analyze the output characters of the instrument to get the starting character hexadecimal "2E", ASCII code is converted to ".", the first hexadecimal character "30" after the starting character is a valid data bit, except the starting character "2E" , where the start index is set to "0"; the end character is hexadecimal "3D", the ASCII code is converted to "=", the character position is flipped, the hexadecimal "31" is a valid data bit, and the " 3D", where the end index is set to "2".

[0078] For the character string S1, after the logical processing of the start marking subroutine flow, a valid character string "0225100=" is obtained, which is marked a...

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 general data acquisition method, system and device for a weighing instrument and a readable storage medium, and the method comprises the steps: reading a data stream in a cache region, putting the data stream into a byte data stream array, and generating a to-be-processed character string through ASCII (American Standard Code for Information Interchange) data formatting; processing the to-be-processed character string, and removing invalid character strings to generate a new to-be-processed character string; effective instrument numerical values are generated by verifying and filtering the validity of the new character strings to be processed and the weighing numerical value characters; and multiplying the instrument numerical value by the data multiplying power to generate final data, and storing the final data. According to the method, acquisition rules can be configured in a parameterized mode, data acquisition and analysis of various weighing instruments are met, and local storage of output data of the instruments is achieved.

Description

technical field [0001] The invention relates to the technical field of data acquisition and application of weighing instrument equipment, in particular to a general data acquisition method, system, device and readable storage medium of a weighing instrument. Background technique [0002] Instrument data acquisition is a key application to realize hardware equipment and software, and weighing instruments are widely used. At present, there are many instrument equipment manufacturers, complex types, and different communication protocols, resulting in diversified instrument data collection methods, data analysis and processing relying on communication protocols, and poor software reusability. It is extremely important to realize the rapid collection of weighing equipment data through a general method, to meet the parameterized configuration rules of different equipment, and to realize the collection of weighing instrument data. SUMMARY OF THE INVENTION [0003] The purpose of...

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): H04L67/01H04L69/06H04L69/08H04L69/22G06F40/151
CPCH04L69/08H04L69/06H04L69/22H04L69/26G06F40/151
Inventor 陈俊强梅君寿杜金刚陈建平柴硕
Owner XIAN THERMAL POWER RES INST CO LTD
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