Variable-length data transmission method in access control system

A data transmission method and the technology of an access control system, applied in the field of variable-length data transmission, can solve problems such as easy deviation of verification judgment, high frequency of error data, and inability to flexibly expand, so as to improve reception and communication efficiency and reduce errors Reduce the frequency and ensure the effect of synchronous data verification load

Active Publication Date: 2013-01-02
ELECTRIC POWER RES INST OF GUANGDONG POWER GRID
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The format of most of the access control communication protocols used in the access control system is a fixed-length data format. For the application scenarios of the electric power industry with multiple applications, such data has very large limitations, which have great restrictions on the transmitted data and cannot be flexible. Second, the synchronization header of the access control communication protocol often uses a single-byte synchronization header 0x7E. In the application of the power industry, the electromagnetic interference caused by the special power environment is more serious than other occasions, and it is easy to cause data loss in the data transmission process, and Bytes such as 0x7E are also more common in the network, which makes the verification judgment after data reception prone to deviation, resulting in a higher frequency of received error data and lower communication efficiency

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Example. A variable-length data transmission method in an access control system, which is performed in the following steps:

[0020] (1) The access control controller sends the protocol data unit, the composition of the protocol data unit is: synchronization header, protocol information header, data length information unit, data unit and check byte; the computer host receives the protocol data unit;

[0021] (2) The host computer verifies the synchronization header and the protocol information header;

[0022] (3) Read the length data of the data unit after passing the verification;

[0023] (4) judge whether the length data of the data unit is equal to the data in the data length information unit (that is, the length data of the data unit is compared with the data in the data length information unit);

[0024] (5) If they are equal, then receive the data unit and the check byte; otherwise, repeat step 3;

[0025] (6) Perform CRC check to ensure the legitimacy of the...

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 data transmission method in an access control system. The data transmission method comprises the following steps of: sending a protocol data unit by using an access controller, wherein the protocol data unit consists of a synchronization header, a protocol information header, a data length information unit, a data unit and check bytes sequentially; verifying the synchronization header and the protocol information header by using a computer host; reading length data of the data unit after the synchronization header and the protocol information header are qualified in the validation; judging whether the length data of the data unit is equal to data in the data length information unit; receiving the data unit and the check bytes if the length data of the data unit is equal to the data in the data length information unit; performing CRC (cyclic redundancy check) to ensure the validity of received data; processing the data unit if the data is correct in the check;and otherwise, finishing the transmission. According to the data transmission method, various kinds of data can be flexibly transmitted, the electromagnetic anti-jamming capability can be improved, data is difficult to lose in the process of data transmission, the coupling of data synchronization is reduced, and the receiving of effective data is improved.

Description

technical field [0001] The invention relates to a data transmission method, in particular to a variable-length data transmission method applied in an access control system. Background technique [0002] In recent years, due to the continuous improvement of the market's requirements for electronic equipment, and the electronic equipment industry is also striving for excellence, and continuously develops various new products with powerful functions, which makes electronic equipment more and more complex. Many electronic equipment are equipped with Communication protocols are used for data transmission. [0003] The format of most of the access control communication protocols used in the access control system is a fixed-length data format. For the application scenarios of the electric power industry with multiple applications, such data has very large limitations, which have great restrictions on the transmitted data and cannot be flexible. Second, the synchronization header o...

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): H04L1/00H04L12/70G07C9/00
Inventor 陈炯聪高新华谢善益高雅周伊琳余南华黄曙梁智强
Owner ELECTRIC POWER RES INST OF GUANGDONG POWER GRID
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