CN105245251B - A kind of data buffering method based on carrier communication - Google Patents

A kind of data buffering method based on carrier communication Download PDF

Info

Publication number
CN105245251B
CN105245251B CN201510534382.0A CN201510534382A CN105245251B CN 105245251 B CN105245251 B CN 105245251B CN 201510534382 A CN201510534382 A CN 201510534382A CN 105245251 B CN105245251 B CN 105245251B
Authority
CN
China
Prior art keywords
host computer
communication
computer communication
slave
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.)
Active
Application number
CN201510534382.0A
Other languages
Chinese (zh)
Other versions
CN105245251A (en
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.)
Qingdao lianzhongxin cloud Technology Co., Ltd
Original Assignee
Shaanxi University of Science and Technology
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 Shaanxi University of Science and Technology filed Critical Shaanxi University of Science and Technology
Priority to CN201510534382.0A priority Critical patent/CN105245251B/en
Publication of CN105245251A publication Critical patent/CN105245251A/en
Application granted granted Critical
Publication of CN105245251B publication Critical patent/CN105245251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

A kind of data buffering method based on carrier communication, including host computer communication one, the output terminal of host computer communication one is wired to the input terminal of hardware buffer device, the output terminal of hardware buffer device is wired to two input terminal of host computer communication, and the output terminal of host computer communication two is connected to the input terminal of PC by Serial Port Line;Host computer communication is connected respectively from different communication slaves by power line and realizes communication, is responsible for acquisition and is received the data of communication slave;By serial transmission by the slave data sending received to hardware buffer device;Hardware buffer device is connected with host computer communication one and host computer communication two and realizes data transmission respectively, realizes the update of data and acquisition by interrupting I/O mouthfuls of level changes of monitoring, PC ends are then transferred in a manner of serial communication;The present invention has the characteristics of simple in structure, easy to operate, easily to realize.

Description

A kind of data buffering method based on carrier communication
Technical field
The invention belongs to the multi computer communication technical field of carrier communication, more particularly to a kind of data based on carrier communication are delayed Punching method.
Background technology
Power line carrier communication is (to be often referred to 35kV and more than voltage etc. in power carrier field using high-voltage power line Grade), medium voltage power line (referring to 10kV voltage class) or low-voltage distribution wire (380/220V user's line) as information transmitting medium into A kind of specific communication mode of row voice or data transmission.In recent years, the continuous development with power line carrier technology and society Needs, also there is situation in the ascendant in the technological development of medium/low piezoelectricity power carrier communication and application, and power line carrier is led to Believe that this seat is likened to " Kingsoft not being mined " by external medium and is increasingly becoming a field of power communication or even is related to thousand The popular speciality at ten thousand families.
Especially the development for developing into power line carrier, PLC of smart home provides opportunity in recent years, need not set up again Network, as long as live wire, with regard to that can carry out data transfer, power line carrier, PLC, which undoubtedly becomes, solves this smart home data transmission One of preferred plan.Simultaneously as data are only transmitted in this scope of family, the puzzlement of constraint PLC applications will be in very great Cheng Weaken on degree, remotely to the control of household electrical appliances, we can be also first coupled to PC by traditional network and then control house electrically real again It is existing.
However carrier communication is serial ports the sending and receiving into row information by microcontroller, that is this is each carried Ripple communication mould is required for an individual microcontroller to be controlled soon.The communication of host computer communication and communication slave can be used directly Serial ports is realized, but if the desired host computer for data being passed to again PC ends, if this when also directly uses the string of host computer communication If mouth is transmitted, this when, host computer communication should send the order for reading data to specific communication slave, also connect The data that communication slave is sent are received, while also to send data to PC ends.Host computer communication at this time should be with communication slave communication Also to communicate with PC.
This process be it is comparatively laborious, it is necessary in view of data transmitting-receiving order, it is impossible to cause confusion, otherwise communicate just It may not be normally carried out down or receive the data of mistake.The communication poor reliability that generally speaking this mode communicates.
The content of the invention
In order to overcome the above-mentioned deficiencies of the prior art, it is an object of the invention to provide a kind of data based on carrier communication Way to play for time, by hardware buffer device come achieve the purpose that increase communication reliability, have it is simple in structure, easy to operate, easily The characteristics of realization.
To achieve these goals, the technical solution adopted by the present invention is:
A kind of data buffering method based on carrier communication, including host computer communication 1, the output terminal of host computer communication 1 leads to The input terminal that conducting wire 1 is connected to hardware buffer device 9 is crossed, the output terminal of hardware buffer device 9 is connected to by conducting wire 2 10 2 11 input terminal of host computer communication, the output terminal of host computer communication 2 11 are connected to the input terminal of PC13 by Serial Port Line 12;Described Input terminal on host computer communication 1 is connected to by power line on the output terminal of slave.
Input terminal on the host computer communication 1 is connected to by power line 1 on slave 1, on host computer communication 1 Input terminal be connected to by power line 23 on slave 24, the input terminal on host computer communication 1 by power line 6 be connected to from On machine N5.
The slave includes slave 1, slave 22 until slave N5, and the N is natural number than 0.
Host computer communication 1 will serially be sent by power line from the data that slave receives by I/O, is sent to hard Part buffer unit 9, while the data parallel received is transferred to host computer communication two by I/O mouthfuls of control hardware buffer devices 9 11 I/O mouths;Host computer communication 2 11 is connected to the I/O mouth level changes of hardware buffer device 9 to judge to be by interruption monitoring It is no to there are data to be passed to or change;When thering are data to be passed to or data change, host computer communication 2 11 read I/O mouthfuls of data, together When by information by serial communication continue to PC13 transmit.
Beneficial effects of the present invention:
The present invention, plus a hardware buffer device 9, can greatly reduce communication between host computer communication and PC13 machines The phenomenon that chaotic, after adding in hardware buffer device 9, host computer communication only needs and communicates to communicate between slave, and without examining Consider the communication with PC13 ends.Data are sent to hardware by host computer communication by I/O mouthfuls immediately after receiving the data of communication slave Buffer unit 9.Hardware buffer device 9 receives data and then by the micro controller series in hardware buffer device 9 by number According to being sent to PC13 ends.So communication of host computer communication and communication slave and the data transmission of host computer communication and PC13 ends is independent , it separately carries out, same serial ports need not be occupied and be transmitted.
Host computer communication and the communication of communication slave and communication can be substantially reduced using the method for adding in hardware buffer device 9 What host and PC13 ends communicated interferes with each other, at this point, it is relatively independent during their communication, considerably increase the reliable of communication Property, while the real-time of communication is enhanced to a certain extent.
The present invention achievees the purpose that increase communication reliability have simple in structure, operation side by hardware buffer device 9 Just, the characteristics of easily realizing.
Description of the drawings
Fig. 1 is the system principle diagram of the present invention.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
As shown in Figure 1:The output terminal of host computer communication 1 is connected to the input terminal of hardware buffer device 9 by conducting wire 1, The output terminal of hardware buffer device 9 is connected to 2 11 input terminal of host computer communication, the output of host computer communication 2 11 by conducting wire 2 10 End is connected to the input terminal of PC13 by Serial Port Line 12;Input terminal on the host computer communication 1 is connected to by power line On the output terminal of slave.
Input terminal on the host computer communication 1 is connected to by power line 1 on slave 1, on host computer communication 1 Input terminal be connected to by power line 23 on slave 24, the input terminal on host computer communication 1 by power line 6 be connected to from On machine N5.
The slave includes slave 1, slave 22 until slave N5, and the N is natural number than 0.
The operation principle of the present invention:
Host computer communication 1 is connected respectively from different communication slaves by power line and realizes communication, is responsible for acquisition and is connect Receive the data of communication slave;By serial transmission by the slave data sending received to hardware buffer device 9;Hardware buffer fills 9 are put to be connected with host computer communication 1 and host computer communication 2 11 respectively by conducting wire 1 and conducting wire 2 10 and realize data transmission, it will The data that host computer communication 1 transmits are transmitted to host computer communication 2 11 by parallel transmission;Host computer communication 2 11 passes through conducting wire 2 10 Be connected with hardware buffer device 9 and realize data transmission, by interrupt monitoring I/O mouthful level changes come realize the update of data with It obtains, data is then transferred to Serial Port Line 12 by PC13 ends in a manner of serial communication.

Claims (1)

1. a kind of data buffering method based on carrier communication, which is characterized in that including host computer communication one (7), host computer communication one (7) output terminal is connected to the input terminal of hardware buffer device (9), the output terminal of hardware buffer device (9) by conducting wire one (8) Host computer communication two (11) input terminal is connected to by conducting wire two (10), the output terminal of host computer communication two (11) passes through Serial Port Line (12) It is connected to the input terminal of PC (13);Input terminal on the host computer communication one (7) is connected to the output of slave by power line On end;
The host computer communication one (7) will serially be sent by power line from the data that slave receives by I/O, be sent To hardware buffer device (9), while by I/O mouthfuls of control hardware buffer devices (9) data parallel received is transferred to logical Interrogate the I/O mouths of host two (11);Host computer communication two (11) is connected to the I/O mouths electricity of hardware buffer device (9) by interrupting monitoring Flat variation is to determine whether there is data to be passed to or change;When there are data to be passed to or data change, host computer communication two (11) read I/O mouthfuls of data are taken, while information is continued to transmit to PC (13) by serial communication;
Input terminal on the host computer communication one (7) is connected to by power line one (1) on slave one (2), host computer communication one (7) input terminal on is connected to by power line two (3) on slave two (4), and the input terminal on host computer communication one (7) passes through electric power Line (6) is connected on slave N (5);
The slave includes slave one (1), slave two (2) until slave N (5), and the N is natural number than 0.
CN201510534382.0A 2015-08-27 2015-08-27 A kind of data buffering method based on carrier communication Active CN105245251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510534382.0A CN105245251B (en) 2015-08-27 2015-08-27 A kind of data buffering method based on carrier communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510534382.0A CN105245251B (en) 2015-08-27 2015-08-27 A kind of data buffering method based on carrier communication

Publications (2)

Publication Number Publication Date
CN105245251A CN105245251A (en) 2016-01-13
CN105245251B true CN105245251B (en) 2018-06-01

Family

ID=55042773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510534382.0A Active CN105245251B (en) 2015-08-27 2015-08-27 A kind of data buffering method based on carrier communication

Country Status (1)

Country Link
CN (1) CN105245251B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563518A (en) * 2018-04-08 2018-09-21 广州视源电子科技股份有限公司 Master-slave machine communication method, device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951338A (en) * 2010-09-14 2011-01-19 国网电力科学研究院 Free routing scheduling method suitable for cable ring network carrier communication
CN102571519A (en) * 2010-12-08 2012-07-11 上海市电力公司 Intelligent scheduling device suitable for carrier communication of ring distribution network and method therefor
CN102693615A (en) * 2012-04-16 2012-09-26 南京拓诺传感网络科技有限公司 Gatherer device of wireless ad-hoc network meter reading system, and operation method
CN203057173U (en) * 2012-12-19 2013-07-10 冀北电力有限公司信通分公司 Intelligent carrier communication network management device
CN203933666U (en) * 2014-05-05 2014-11-05 上海至信实业股份有限公司 A kind of CAN bus repeater

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7956767B2 (en) * 2006-06-20 2011-06-07 Nivis, Llc Automatic meter reading communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951338A (en) * 2010-09-14 2011-01-19 国网电力科学研究院 Free routing scheduling method suitable for cable ring network carrier communication
CN102571519A (en) * 2010-12-08 2012-07-11 上海市电力公司 Intelligent scheduling device suitable for carrier communication of ring distribution network and method therefor
CN102693615A (en) * 2012-04-16 2012-09-26 南京拓诺传感网络科技有限公司 Gatherer device of wireless ad-hoc network meter reading system, and operation method
CN203057173U (en) * 2012-12-19 2013-07-10 冀北电力有限公司信通分公司 Intelligent carrier communication network management device
CN203933666U (en) * 2014-05-05 2014-11-05 上海至信实业股份有限公司 A kind of CAN bus repeater

Also Published As

Publication number Publication date
CN105245251A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN103631238A (en) Novel smart home system
CN203982576U (en) M-BUS slave telecommunication circuit
CN203871591U (en) USB socket with power supply and communication function
CN105245251B (en) A kind of data buffering method based on carrier communication
CN101493806A (en) Communication adapter and data-transmission method thereof
CN105160862A (en) M-BUS (METER-BUS) slave communication circuit
CN204440132U (en) The control system of intelligent switch and lighting device
CN204993338U (en) Data buffering device based on carrier communication
CN202331173U (en) Industrial controller and industrial network control system
CN103294637B (en) Based on the Magnetic isolation data input/output module of ARM adaptive direction control
CN204408368U (en) Adopt the network equipment of low-voltage DC supply
CN102761486B (en) A kind of mono-point-to-multipoint of GOOSE of low discreteness and multiple spot are to the receiving/transmission method of single-point
CN205594424U (en) Numerical control apparatus
CN201623714U (en) Two-way communication circuit
CN202206368U (en) Automatic bidirectional wireless wiring seat for checking and managing separable home appliances through serial port
CN103634178A (en) Power line carrier and ZigBee based intelligent home system
CN202957836U (en) Intelligent transmission control equipment for intelligent home system
CN208836162U (en) Double terminal telecommunication circuits
CN205545324U (en) Intelligence domestic appliance interface pattern
CN110460517A (en) A kind of full duplex LoRa gateway
CN204406140U (en) A kind of bus type programable controller system
CN204442400U (en) A kind of mining RS-485 isolates repeater
CN201194081Y (en) Serial port control circuit
CN203812009U (en) Instrument communication serial port multiplex control device
CN202713293U (en) Intelligent device of power carrier network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181128

Address after: 221700 No. 58 Nantiancheng Road, Suzhou High-speed Railway New Town, Jiangsu Province

Patentee after: Suzhou step Electronics Technology Co., Ltd.

Address before: 710021 Shaanxi University of Science and Technology, Weiyang District, Xi'an, Shaanxi

Patentee before: Shaanxi University of Science and Technology

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 266300 Room 907, Convenient Service Center, Jiaodong Street Office, Qingdao City, Shandong Province

Patentee after: Qingdao Lianzhong Zhixin Technology Co., Ltd.

Address before: 221700 No. 58 Nantiancheng Road, Suzhou High-speed Railway New Town, Jiangsu Province

Patentee before: Suzhou step Electronics Technology Co., Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 266000 airport service building, No.1 Zhanqian Avenue, Qingdao Airport Economic Demonstration Zone, Jiaodong sub district office, Jiaozhou, Qingdao, Shandong Province

Patentee after: Qingdao lianzhongxin cloud Technology Co., Ltd

Address before: 266300 Room 907, Convenient Service Center, Jiaodong Street Office, Qingdao City, Shandong Province

Patentee before: Qingdao Lianzhong Zhixin Technology Co.,Ltd.