Movatterモバイル変換


[0]ホーム

URL:


CN109887129A - A kind of communication data method for uploading and a kind of communication data delivery method - Google Patents

A kind of communication data method for uploading and a kind of communication data delivery method
Download PDF

Info

Publication number
CN109887129A
CN109887129ACN201811571539.7ACN201811571539ACN109887129ACN 109887129 ACN109887129 ACN 109887129ACN 201811571539 ACN201811571539 ACN 201811571539ACN 109887129 ACN109887129 ACN 109887129A
Authority
CN
China
Prior art keywords
time interval
data
equipment
data line
communication data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811571539.7A
Other languages
Chinese (zh)
Inventor
钟漍标
廖运岳
徐连英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGZHOU HONGDAXIN ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU HONGDAXIN ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU HONGDAXIN ELECTRONIC TECHNOLOGY Co LtdfiledCriticalGUANGZHOU HONGDAXIN ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201811571539.7ApriorityCriticalpatent/CN109887129A/en
Publication of CN109887129ApublicationCriticalpatent/CN109887129A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

The present invention provides a kind of communication data method for uploading and a kind of communication data delivery method, the step of communication data method for uploading includes: by the level of the first data line from upper tables of equipment to transmission communication data and the second data line from the next equipment to while to drag down, to start communication data upload;By controlling in same time interval, the level conditions of the first data line and the second data line, so that the next equipment is to upper equipment sending logic position " 0 " or " 1 ";After communication data is sent completely, the level of the first data line and the second data line is dragged down again simultaneously, terminates communication data transfer of the next equipment to upper equipment.Through the invention, the data transmission of custom protocol can be carried out in the case where not influencing existing access-control card reader transmission Wiegand data, either to the transformation of existing access control system or new clothes, all obviously there is ease for use, flexibility, reliability and the feature of environmental protection using the card reader product that the present invention develops.

Description

A kind of communication data method for uploading and a kind of communication data delivery method
Technical field
The present invention relates to communication data transfer fields, logical in particular to a kind of communication data method for uploading and one kindLetter data delivery method.
Background technique
On Vehicles Collected from Market, radio-frequency card identification is supported also to support a variety of identifications such as fingerprint recognition, recognition of face in one simultaneouslyAccess-control card reader terminal, data-interface is 4 bus interface+serial ports (such as RS485, RS232) or 4 bus interface+netMouthful.
Not only equipment cost is higher for above scheme, and with the increase of interface directly result in installation and maintenance work amount andInstallation and maintenance difficulty increases, and will lead to engineering material expense, labour cost rising, while also adding the event of access control systemBarrier point.From commercial affairs, technology and environmentally friendly level, disadvantage mentioned above should all be improved, but the implementation due to designer to productSituation, which is not known about, causes interface communication technology vacancy.
Summary of the invention
The present invention provides a kind of communication data method for uploading and a kind of communication data delivery method.
The present invention is implemented as follows: provide a kind of communication data method for uploading, for establishing the next equipment to upperThe data communication of equipment, wherein data, packet are uploaded from the next equipment to upper equipment by the first data line and the second data lineIt includes:
By from the next equipment to upper tables of equipment to send communication data the first data line and the second data line levelIt drags down simultaneously, to start communication data upload;
By controlling the level conditions of the first data line and the second data line, so that bottom is set in same time intervalIt is standby to upper equipment sending logic position " 0 " or " 1 ";
After communication data is sent completely, the level of the first data line and the second data line is dragged down simultaneously again, under terminatingCommunication data transfer of the position equipment to upper equipment.
Further, in preferred embodiments of the present invention, if the first data line of control is drawn in same time intervalLow, the second data line is kept, then the next equipment is to upper equipment sending logic position 0;In another same time interval, control theOne data line is kept, the second data line drags down, then the next equipment is to upper equipment sending logic position 1.
The present invention is implemented as follows: a kind of communication data delivery method is provided, for establishing upper equipment to bottomThe data communication of equipment, wherein data are sent from upper equipment to the next equipment by third data line, comprising:
By the third data line from upper equipment to the next tables of equipment to transmission communication data in first time intervalLevel drags down, and is issued with starting communication data;
Made in the second time interval and third time interval by control, the level of third data line, which is in, drags down shapeState, and make upper equipment to the next equipment sending logic position " 0 " or " 1 ";
Communication data is completed after sending, and drags down the level of third data line in the 4th time interval, terminates upper setThe standby communication data transfer to the next equipment.
Wherein, the duration of first time interval, the second time interval, third time interval and the 4th time interval is set asFirst time interval=the 4th time interval > second time interval > third time interval.
Wherein, the duration of first time interval, the second time interval, third time interval and the 4th time interval is set asFirst time interval=four time intervals > third time interval > the second time interval.
Wherein, first time interval when flank speed, the second time interval, third time interval and the 4th time intervalSetting value are as follows: first time interval=four time intervals=200us, the second time interval=third time interval * 3=30us。
Be different from the prior art, the present invention provides a kind of communication data method for uploading, for establish the next equipment toThe data communication of position equipment, wherein data are uploaded from the next equipment to upper equipment by the first data line and the second data line,Include: by from the next equipment to upper tables of equipment to send communication data the first data line and the second data line level simultaneouslyIt drags down, to start communication data upload;By controlling the level of the first data line and the second data line in same time intervalSituation, so that the next equipment is to upper equipment sending logic position " 0 " or " 1 ";After communication data is sent completely, again by the first numberIt is dragged down simultaneously according to the level of line and the second data line, terminates communication data transfer of the next equipment to upper equipment.By this hairIt is bright, the data transmission of custom protocol, nothing can be carried out in the case where not influencing existing access-control card reader transmission Wiegand dataBy being that all obviously there is ease for use, flexibly using the card reader product developed of the present invention to the transformation of existing access control system or new clothesProperty, reliability and the feature of environmental protection.
Detailed description of the invention
It, below will be to use required in embodiment in order to illustrate more clearly of the technical solution of embodiment of the present inventionAttached drawing be briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not to be seen asIt is the restriction to range, it for those of ordinary skill in the art, without creative efforts, can be with rootOther relevant attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of communication data method for uploading provided by the invention.
Fig. 2 is a kind of flow diagram of communication data delivery method provided by the invention.
Fig. 3 is the hardware configuration that a kind of communication data method for uploading and communication data delivery method provided by the invention are related toSchematic diagram.
Fig. 4 is the time diagram that slave computer sends data in a kind of communication data method for uploading provided by the invention.
Fig. 5 is the time diagram that host computer sends data in a kind of communication data delivery method provided by the invention.
Specific embodiment
To keep the purposes, technical schemes and advantages of embodiment of the present invention clearer, implement below in conjunction with the present inventionThe technical solution in embodiment of the present invention is clearly and completely described in attached drawing in mode, it is clear that described realityThe mode of applying is some embodiments of the invention, rather than whole embodiments.Based on the embodiment in the present invention, abilityDomain those of ordinary skill every other embodiment obtained without creative efforts, belongs to the present inventionThe range of protection.Therefore, the detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit below and is wantedThe scope of the present invention of protection is sought, but is merely representative of selected embodiment of the invention.Based on the embodiment in the present invention,Every other embodiment obtained by those of ordinary skill in the art without making creative efforts belongs to thisInvent the range of protection.
Shown in referring to Fig.1, the present invention provides a kind of communication data method for uploading, set for establishing the next equipment to upperStandby data communication, wherein data, packet are uploaded from the next equipment to upper equipment by the first data line and the second data lineIt includes:
By from the next equipment to upper tables of equipment to send communication data the first data line and the second data line levelIt drags down simultaneously, to start communication data upload;
By controlling the level conditions of the first data line and the second data line, so that bottom is set in same time intervalIt is standby to upper equipment sending logic position " 0 " or " 1 ";
After communication data is sent completely, the level of the first data line and the second data line is dragged down simultaneously again, under terminatingCommunication data transfer of the position equipment to upper equipment.
Further, in preferred embodiments of the present invention, if the first data line of control is drawn in same time intervalLow, the second data line is kept, then the next equipment is to upper equipment sending logic position 0;In another same time interval, control theOne data line is kept, the second data line drags down, then the next equipment is to upper equipment sending logic position 1.
Referring to Fig.2, the present invention provides a kind of communication data delivery method, for establishing upper equipment to the next equipmentData communication, wherein data are sent from upper equipment to the next equipment by third data line, comprising:
By the third data line from upper equipment to the next tables of equipment to transmission communication data in first time intervalLevel drags down, and is issued with starting communication data;
Made in the second time interval and third time interval by control, the level of third data line, which is in, drags down shapeState, and make upper equipment to the next equipment sending logic position " 0 " or " 1 ";
Communication data is completed after sending, and drags down the level of third data line in the 4th time interval, terminates upper setThe standby communication data transfer to the next equipment.
Wherein, the duration of first time interval, the second time interval, third time interval and the 4th time interval is set asFirst time interval=the 4th time interval > second time interval > third time interval.
Wherein, first time interval when flank speed, the second time interval, third time interval and the 4th time intervalSetting value are as follows: first time interval=four time intervals=200us, the second time interval=third time interval * 3=30us。
The next equipment of the invention is illustrated by taking access-control card reader as an example.As shown in figure 3, Data0 and Data1 is gate inhibitionCard reader to host computer send data data line, Data2 be access-control card reader receive host computer data data line, above 3Root data line is the data line of unidirectional data transmission.Data transmission of the invention is solved using the communication mode of Hd3bAccess-control card reader and host computer carry out custom protocol sending and receiving data in the case where not increasing additional communication interface.It is this logicalLetter method can equally be well applied to other three bus communication scenes.In the present invention, each frame data of Hd3b agreement transmission,By enabling signal, terminated by end signal.
When slave computer (such as access-control card reader) sends a frame data to host computer, Data0 and Data1 are first dragged down simultaneouslyStarting transmission is carried out, data are then sent by Data0 and Data1, Data0 is drawn high after dragging down Data0 for a period of time again and then sends outLogical bit 0 is sent, draws high the then sending logic position 1 Data1 after dragging down Data1 for a period of time again.After data have been sent, again simultaneouslyDragging down Data0 and Data1 terminates this transmission, to complete the transmission of a frame data.Slave computer sends data time sequence figure such as Fig. 4It is shown.
When host computer sends a frame data to slave computer (such as access-control card reader), after Data2 is first dragged down the t1 timeIt draws high and carries out starting transmission, then continue through Data2 and send data, draw high then sending logic after Data0 is dragged down the t2 timePosition 0, draws high then sending logic position 1 after Data0 is dragged down the t3 time.After data have been sent, Data2, which is dragged down the t4 time, to be terminatedThis transmission, to complete the transmission of a frame data.The relationship of ordinary circumstance t1~t4 are as follows: t1=t4 > t2 > t3, wherein t2 andT3 can be exchanged with each other in the case where consensus.It is as shown in Figure 5 that host computer sends data time sequence figure.
Be different from the prior art, the present invention provides a kind of communication data method for uploading, for establish the next equipment toThe data communication of position equipment, wherein data are uploaded from the next equipment to upper equipment by the first data line and the second data line,Include: by from the next equipment to upper tables of equipment to send communication data the first data line and the second data line level simultaneouslyIt drags down, to start communication data upload;By controlling the level of the first data line and the second data line in same time intervalSituation, so that the next equipment is to upper equipment sending logic position " 0 " or " 1 ";After communication data is sent completely, again by the first numberIt is dragged down simultaneously according to the level of line and the second data line, terminates communication data transfer of the next equipment to upper equipment.By this hairIt is bright, the data transmission of custom protocol, nothing can be carried out in the case where not influencing existing access-control card reader transmission Wiegand dataBy being that all obviously there is ease for use, flexibly using the card reader product developed of the present invention to the transformation of existing access control system or new clothesProperty, reliability and the feature of environmental protection.
The technical effect and embodiment 1 of device provided by the embodiment of the present invention, realization principle and generation are identical, for letterIt describes, the present embodiment does not refer to place, can refer to corresponding contents in embodiment 1.
The foregoing is merely the preferred embodiment of the present invention, are not intended to restrict the invention, for this fieldFor technical staff, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made anyModification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (6)

CN201811571539.7A2018-12-212018-12-21A kind of communication data method for uploading and a kind of communication data delivery methodPendingCN109887129A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811571539.7ACN109887129A (en)2018-12-212018-12-21A kind of communication data method for uploading and a kind of communication data delivery method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811571539.7ACN109887129A (en)2018-12-212018-12-21A kind of communication data method for uploading and a kind of communication data delivery method

Publications (1)

Publication NumberPublication Date
CN109887129Atrue CN109887129A (en)2019-06-14

Family

ID=66925144

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811571539.7APendingCN109887129A (en)2018-12-212018-12-21A kind of communication data method for uploading and a kind of communication data delivery method

Country Status (1)

CountryLink
CN (1)CN109887129A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111243136A (en)*2020-01-132020-06-05东莞市同欣智能科技有限公司 An intelligent lock control system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050264398A1 (en)*2002-04-192005-12-01Cross Match Technologies, Inc.Systems and methods utilizing biometric data
CN101145046A (en)*2007-08-242008-03-19上海正航电子科技有限公司Interface of programmable logic controller and expansion module
CN102890667A (en)*2012-09-172013-01-23广州英码信息科技有限公司Device and method for processing wiegand data
CN203673543U (en)*2013-12-272014-06-25深圳市捷顺科技实业股份有限公司Access control system
CN104251744A (en)*2014-09-242014-12-31长城信息产业股份有限公司Bottom-water temperature detection method
CN206931080U (en)*2017-06-212018-01-26克立司帝控制系统(上海)有限公司Multi-door gate control system based on CAN connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20050264398A1 (en)*2002-04-192005-12-01Cross Match Technologies, Inc.Systems and methods utilizing biometric data
CN101145046A (en)*2007-08-242008-03-19上海正航电子科技有限公司Interface of programmable logic controller and expansion module
CN102890667A (en)*2012-09-172013-01-23广州英码信息科技有限公司Device and method for processing wiegand data
CN203673543U (en)*2013-12-272014-06-25深圳市捷顺科技实业股份有限公司Access control system
CN104251744A (en)*2014-09-242014-12-31长城信息产业股份有限公司Bottom-water temperature detection method
CN206931080U (en)*2017-06-212018-01-26克立司帝控制系统(上海)有限公司Multi-door gate control system based on CAN connection

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
张晓宇: "单总线数据传输方案研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》*
柴卉; 万振凯: "韦根协议在门禁系统中的应用", 《仪器仪表用户》*
陈启军: "《嵌入式系统及其应用 第3版》", 31 December 2015*
魏智: "利用单总线传输数据与电源", 《国外电子元器件》*
黎国锋; 冯永振; 卢广文: "近距离无线加密传输韦根信号的实现", 《无线通信技术》*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111243136A (en)*2020-01-132020-06-05东莞市同欣智能科技有限公司 An intelligent lock control system
CN111243136B (en)*2020-01-132022-04-05东莞市同欣智能科技有限公司 An intelligent lock control system

Similar Documents

PublicationPublication DateTitle
US8055825B2 (en)Digital device interconnect method
CN103454996B (en)Master-slave system and control method thereof
DE102011123109B3 (en) Method for managing power consumption between a SATA interface of a host and a SATA interface of a device and SATA interface
CN103823776A (en)Unibus in communication with master equipment and slave equipment and communication method
CN102170298A (en)Power communication method and system based on MODBUS TCP/IP (Transmission Control Protocol/ Internet Protocol)
CN205959200U (en)A latch circuit for I2C bus data transmission
CN102682700B (en)A kind of LED constant current driving chip and output current control method thereof
CN203720837U (en)Unibus for master-slave device communication
CN102680757A (en)Multi-channel digital signal isolation, conditioning and acquisition device
CN109887129A (en)A kind of communication data method for uploading and a kind of communication data delivery method
CN105677598A (en)Module and method for quickly reading data of multiple MEMS sensors on basis of I2C interface
CN109639493A (en)The network equipment, behavior control device and TSN configuration method
CN100524275C (en)Principal controller pin multiplex circuit and control method thereof
CN102567270A (en)USB (universal serial bus)-to-I2C (inter-integrated circuit) adapter
CN104022963A (en)A communication method and device with a plurality of communication modes coexisting
CN107239423A (en)A kind of device based on extension IIC interfaces
CN206057879U (en)A kind of multichannel long range one-wire bus host driven circuit based on microcontroller
CN202584691U (en)LED constant-current drive chip
CN109872674A (en)A kind of display system and driving configuration method
CN206294204U (en)One kind isolates physical card based on FPGA data
CN106572174A (en)Zigbee based intelligent RFID induction bookmark
CN106292544A (en)Based PC IE interface hardware board and bus control method thereof and system
CN203338362U (en)Long-distance IC card reader
CN206931080U (en)Multi-door gate control system based on CAN connection
CN104503934B (en)A kind of expansible serial transmission device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:510045 Room 202, second floor, No. 3, No. 434, Yuexiu North Road, Yuexiu District, Guangzhou City, Guangdong Province (not for plant use)

Applicant after:Guangdong Hongdaxin Electronic Technology Co.,Ltd.

Address before:510050 Room 202, 2nd Floor, No. 434 Yuexiu North Road, Yuexiu District, Guangzhou City, Guangdong Province

Applicant before:GUANGZHOU HONGDAXIN ELECTRONIC TECHNOLOGY Co.,Ltd.

CB03Change of inventor or designer information
CB03Change of inventor or designer information

Inventor after:Zhong Guobiao

Inventor after:Xu Lianying

Inventor before:Zhong Guobiao

Inventor before:Liao Yunyue

Inventor before:Xu Lianying

RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20190614


[8]ページ先頭

©2009-2025 Movatter.jp