Sensor data receiving and converting method and system

A technology for receiving, converting, and sensing data, which is applied in the field of sensing data transmission, can solve the problems of inconsistent interfaces, labor and material resources, and heavy workload, and achieve the effects of high flexibility, convenient use, and low cost

Active Publication Date: 2014-07-30
庞克学 +2
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, there is no unified interface standard for sensors of different types and manufacturers. Due to the inconsistent interface, the supporting software used is also incompatible with each other. For users, if they want to obtain sensor data, they need to use specified software to obtain it, or Corresponding software development needs to be specially carried out. In these two methods, it is extremely inconvenient to use the software specified by the sensor to obtain the sensor data, and the special software development is a lot of work, which consumes manpower and material resources; and because sensors from different manufacturers The returned data interface is very different. Once the model of the hardware device is replaced or the hardware is upgraded, the software supporting the sensor may need to be redeveloped, resulting in poor data transmission stability.
In addition, there is another method at present, which is to develop a communication middleware interface on the PC side to adapt to various sensors, but the cost of developing middleware in this method is relatively high, and the middleware is relatively large, which is not suitable for small and medium desktop operating systems In addition, adding any new sensor device must rely on middleware, which is difficult to develop and inconvenient to use. Middleware needs to be redeveloped for different desktop operating systems. In addition, middleware interfaces developed by different manufacturers are different. The interface efficiency between different middleware is not high. In addition, this method cannot adapt to the interconnection and intercommunication of embedded devices and sensors.

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
  • Sensor data receiving and converting method and system
  • Sensor data receiving and converting method and system
  • Sensor data receiving and converting method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0086] A method for receiving and converting sensing data, comprising:

[0087] S0. Initialize the communication configuration parameters: according to the type of the sensor and the data frame type of the sensor data, initialize the protocol analysis method of the communication configuration parameters, and define the automatic sending and receiving data mode, output mode and output format at the same time;

[0088] The protocol analysis method is initialized to the data frame type of the sensor, and the automatic data transmission mode is initialized to the type of sensor data to be obtained. For example, the sensor data has 5 different sensor data, and the automatic data transmission mode can be initialized to obtain these 5 Some 2 or 3 of the sensor data, etc., the output mode is initialized to the port that outputs the sensor data, such as USB interface, I / O port, etc., and the output format is initialized to the data format of the output sensor data, such as binary, hexad...

Embodiment 2

[0102] A method for receiving and converting sensing data, comprising:

[0103] S0. Initialize the communication configuration parameters: according to the type of the sensor and the data frame type of the sensor data, initialize the protocol analysis method of the communication configuration parameters, and define the automatic sending and receiving data mode, output mode and output format at the same time;

[0104] The protocol analysis method is initialized to the data frame type of the sensor, and the automatic data transmission mode is initialized to the type of sensor data to be obtained. For example, the sensor data has 5 different sensor data, and the automatic data transmission mode can be initialized to obtain these 5 Some 2 or 3 of the sensor data, etc., the output mode is initialized as the port for outputting sensor data, and the output format is initialized as the data format for outputting sensor data, such as binary, hexadecimal, ASCII code, encrypted data , de...

Embodiment 3

[0118] The initialization module is used to initialize the communication configuration parameters: according to the type of the sensor and the data frame type of the sensor data, initialize the protocol analysis method of the communication configuration parameters, and define the automatic sending and receiving data mode, output mode and output format at the same time;

[0119] The first module is used to read and obtain pre-stored communication configuration parameters, the communication configuration parameters including automatic sending and receiving data mode, protocol analysis mode, output mode and output format;

[0120] The second module is used to automatically obtain sensor data according to the obtained protocol analysis method; the data frame type of the sensor is a data frame with a fixed data length, and the second module is used to return the data stream of the serial data in order according to a single byte data analysis, including:

[0121] The first sub-modul...

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 sensor data receiving and converting method and system. The method includes the steps that pre-stored communication configuration parameters are read to be acquired, sensor data are automatically acquired according to the obtained protocol analysis mode, whether the acquired sensor data need to be processed or not is judged according to the acquired automatic data receiving and transmitting mode, if the acquired sensor data need to be processed, the sensor data are filtered, then, the sensor data are subjected to data format conversion according to the acquired output format, and finally, the sensor data subjected to the data format conversion are output to a preset corresponding port in the output mode. According to the method and system, software or hardware configuration of an existing sensor does not need to be changed, data interconnection and interworking between sensors and various user terminals can be achieved, and the method and system are convenient to use, low in cost, high in efficiency and flexibility and capable of being widely applied in the sensor data transmission field.

Description

technical field [0001] The invention relates to the field of sensory data transmission, in particular to a method and system for receiving and converting sensory data. Background technique [0002] At present, there is no unified interface standard for sensors of different types and manufacturers. Due to the inconsistent interface, the supporting software used is also incompatible with each other. For users, if they want to obtain sensor data, they need to use specified software to obtain it, or Corresponding software development needs to be specially carried out. In these two methods, it is extremely inconvenient to use the software specified by the sensor to obtain the sensor data, and the special software development is a lot of work, which consumes manpower and material resources; and because sensors from different manufacturers The returned data interface is very different. Once the model of the hardware device is changed or the hardware is upgraded, the software suppor...

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): H04L29/06
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