Data transmission method and device, electronic equipment and machine readable storage medium

A data transmission method and data technology, applied in the field of communication, can solve problems such as inaccurate data and irregular sampling frequency

Active Publication Date: 2021-05-18
HANGZHOU HIKVISION DIGITAL TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in actual situations, the sampling frequency at which the receiving end samples the transmission signal is often irregular, and the data transmitted by the sending end will continuously appear 1 or 0. The irregular sampling frequency makes it easy to Two consecutive identical values ​​are identified as the value of one data bit, resulting in inaccurate data received by the receiving end

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
  • Data transmission method and device, electronic equipment and machine readable storage medium
  • Data transmission method and device, electronic equipment and machine readable storage medium
  • Data transmission method and device, electronic equipment and machine readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0092] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0093] In the communication system, data transmission can be performed between two devices or two modules through the bus port. The main bus ports include I 2 C (Inter-Integrated Circuit, two-wire serial bus port), GPIO (General-purpose Input / Output, general-purpose input and output ports), etc., the following uses GPIO as an example to introduce. The function of GPIO is similar to P0-P3 of 8051. Its pins can be freely used by users through program control. PI...

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 embodiment of the invention provides a data transmission method and device, electronic equipment and a machine readable storage medium, a receiving end receives a transmission signal sent by a sending end, detects a start bit, each data bit and a stop bit of the transmission signal according to the level state of each bit of the transmission signal, counts the data bit duration of each data bit, and sends the data bit duration to the sending end; the numerical value corresponding to each data bit is recognized based on the corresponding relationship between the preset data bit duration and the numerical value, and the data consisting of the numerical values corresponding to each data bit is determined to be received based on the numerical value corresponding to each data bit between the start bit and the stop bit. The level states of every two adjacent bits of the transmission signal are different, the data bits of the transmission signal are detected based on the level states, the numerical values of the data bits are recognized based on the preset corresponding relation between the data bit duration and the numerical values, it can be guaranteed that the data bits of the transmission signal are accurately detected, and the data transmission efficiency is improved. The specific numerical value of each data bit can be accurately recognized, and a receiving end can receive accurate data.

Description

technical field [0001] The present invention relates to the technical field of communication, and in particular to a data transmission method, device, electronic equipment and machine-readable storage medium. Background technique [0002] In the current communication system, point-to-point communication protocols such as UART (Universal Asynchronous Receiver / Transmitter) and 1WIRE (single bus) are usually used to realize data communication between devices and between modules. [0003] When using the above-mentioned communication protocol for data communication, the sending end will send a transmission signal to the receiving end, the transmission signal includes start bit, data bit and stop bit, and the level status of the data bit indicates the specific value of the data bit, For example, if a data bit is at a high level, it means that the value of the data bit is 1, and if a data bit is at a low level, it means that the value of this data bit is 0. After receiving the tra...

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/08
CPCH04L67/104H04L67/1078Y02D10/00
Inventor 瞿勇杜皓
Owner HANGZHOU HIKVISION DIGITAL TECH
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