Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for verifying serial communication data

A data verification and serial communication technology, applied in the direction of electrical digital data processing, instruments, etc., can solve problems such as misjudgment, and achieve the effect of low misjudgment rate and high reliability

Active Publication Date: 2018-10-12
NINGBO DONGHAI GRP CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This verification method is more likely to be misjudged. For example, in "odd parity", if a set of data generates an odd number of interference pulses due to strong electromagnetic interference, misjudgment will occur; similarly, in "even parity", a Misjudgment will also occur due to receiving an even number of interference pulses for group data

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
  • A method for verifying serial communication data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0008] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0009] For the serial communication data verification method provided in this embodiment, see figure 1 As shown, the sender sends the same set of data twice consecutively according to the predetermined time interval; after receiving the two sets of data from the sender within the predetermined time interval, the receiver sends the two sets of data in byte order Subtract sequentially, if the result of the subtraction is zero, it means that the received data is correct; if the result of the subtraction is not zero, it means that the received data is wrong; The sender resends the data, and after the receiver receives a set of data from the sender again, it subtracts the newly received set of data from the previous two sets of data in byte order, and subtracts the result of the subtraction to zero. Those two sets of data are considered correct da...

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 data verification method. The method is characterized in that: a sender sends a same set of data for two times consecutively according to a predetermined time interval; and after a receiver receives two sets of data from the sender in the predetermined time interval, the two sets of data are sequentially subtracted according to a byte order, if a subtraction result is zero, then showing that the received data is correct, and if the subtraction result is not zero, then showing that the received data is wrong. Compared to the prior art, the method has the advantages that: verification is carried out by judging whether the subtraction result of the two sets of data is zero, and the method is high in reliability and low in misjudgment rate.

Description

technical field [0001] The invention relates to a method for checking serial communication data. Background technique [0002] In serial communication, the receiver usually adopts the "odd" and "even" check method for the correct rate of the received serial communication data, that is, the "1" in a set of received serial communication data " (high level) to count, and then verify whether it is an odd or even number. This verification method is more likely to be misjudged. For example, in "odd parity", if a set of data generates an odd number of interference pulses due to strong electromagnetic interference, misjudgment will occur; similarly, in "even parity", a Misjudgment will also occur for group data due to receiving an even number of interference pulses. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a serial communication data verification method with high reliability and low misjudgment rate aiming at th...

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 Patents(China)
IPC IPC(8): G06F13/42
CPCG06F13/4282
Inventor 陆德康林志良
Owner NINGBO DONGHAI GRP CORP