Serial communication method and device, computer equipment and storage medium

A serial communication, computer program technology, applied in the field of communication, can solve the problems of wrong reception, false triggering of falling edge, received wrong data, etc.

Active Publication Date: 2019-08-06
GREE ELECTRIC APPLIANCES INC
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Under normal circumstances, the FPGA can normally collect the falling edge of the start bit, but because the serial communication is asynchronous, the sending end is sent first, and the receiving end may start to capture in the data area, and the falling edge of the data segment is captured. In this way, wrong data will be received, and it is possible to keep wrong reception. Similarly, when there is interference, the capture of the falling edge may be triggered by mistake, resulting in an error

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
  • Serial communication method and device, computer equipment and storage medium
  • Serial communication method and device, computer equipment and storage medium
  • Serial communication method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.

[0032] The serial communication method provided in this application can be applied to figure 2 In the application environment shown. Among them, the sending end 202 communicates with the receiving end 204. Among them, the sending end 202 can send the data to be sent to the receiving end 204, and the filter in the receiving end 204 can receive the data sent by the sending end 202 and perform filtering processing, and output the filtered data to the receiving end 204. 204 sequentially receives the data sent by the sending end 202.

[0033] In one embodiment, such as image 3 As shown, a serial communication method...

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 relates to a serial communication method and device, computer equipment and a storage medium. The method comprises: enabling a receiving end to obtain current filtering data output by afilter; when a preset state in the current filtering data is detected, obtaining valid data after the preset state in the current filtering data; after the effective data is received, waiting for a receiving delay time length, and acquiring next filtering data output by the filter by a receiving end; and taking the next filtering data as the current filtering data, and when a preset state in the current filtering data is detected, obtaining effective data after the preset state in the current filtering data. Data is filtered through a filter, the receiving end only needs to capture the currentfiltering data output by the filter, when the preset state in the current filtering data is detected, effective data in the current filtering data can be obtained, the data receiving duration of thereceiving end is prolonged, namely, delayed receiving is achieved, and therefore the accuracy of the data received by the receiving end can be guaranteed.

Description

Technical field [0001] This application relates to the field of communication technology, and in particular to a serial communication method, device, computer equipment and storage medium. Background technique [0002] In the industrial field, serial communication is widely used. Commonly used serial communication methods include RS232, RS485, RS422, CAN and other communication methods. The main control chips for serial communication include single-chip microcomputer, ARM, DSP, FPGA and so on. The microcontroller, ARM and DSP generally contain a hard-core serial processing module. The hard-core serial processing module notifies the CPU to receive the data after receiving the data, or after the CPU sends the data to the serial processing module, the serial processing module will be responsible for pressing the data Send out in order. And FPGA generally does not have this kind of serial hard-core processing module, users need to write their own programs to realize the serial rece...

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): H04L1/00
CPCH04L1/0033H04L1/0036H04L1/0041H04L1/0045
Inventor 何春茂尚波翟亚飞王长恺
Owner GREE ELECTRIC APPLIANCES INC
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