CN103716092A - Networking system and communication method for bidirectional optical fiber communication in bus network - Google Patents

Networking system and communication method for bidirectional optical fiber communication in bus network Download PDF

Info

Publication number
CN103716092A
CN103716092A CN201310712612.9A CN201310712612A CN103716092A CN 103716092 A CN103716092 A CN 103716092A CN 201310712612 A CN201310712612 A CN 201310712612A CN 103716092 A CN103716092 A CN 103716092A
Authority
CN
China
Prior art keywords
host computer
communication
optical fiber
computer
slave computer
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.)
Granted
Application number
CN201310712612.9A
Other languages
Chinese (zh)
Other versions
CN103716092B (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.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201310712612.9A priority Critical patent/CN103716092B/en
Publication of CN103716092A publication Critical patent/CN103716092A/en
Application granted granted Critical
Publication of CN103716092B publication Critical patent/CN103716092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a networking system and communication method for bidirectional optical fiber communication in a bus network. The networking system is provided with an upper computer and more than one lower computer. The upper computer is connected with an uplink fiber and a downlink fiber which are used for communicating with the lower computer through a light near-end machine. The more than one lower computer is connected with the uplink fiber and the downlink fiber which are used for communicating with the upper computer through light far-end machines. The communication method is characterized in that the upper computer and all lower computers are communicated through a self-defined communication protocol frame format. The communication protocol frame format comprises frame header synchronization word, the number of a reception unit, data type, data length and data. With the networking system and the communication method, intercommunication among a plurality of points is realized; and by utilizing a self-defined communication protocol, the CSMA/CD technology and an TCP/IP are prevented from being used in a simple optical fiber communication network, so that the cost is greatly reduced and the complexity is substantially reduced. The networking system and the communication method are suitable for simple optical fiber communication among the multiple points, and the flexible and efficient networking mode is realized.

Description

Group network system and the communication means of bidirectional optical fiber communication in a kind of bus-network
Technical field
The present invention relates to a kind of network service.Particularly relate to and a kind ofly by the two-way communication between optical transmitter and receiver, set up a kind of basic bus-network topological structure, utilize self-defining communication protocol to realize group network system and the communication means of bidirectional optical fiber communication in the bus-network of the transmitted in both directions of digital signal in optical fiber.
Background technology
Optical fiber communication is the main transmission means of modern communication networks, and modern communications is played to very important effect.Under different application scenarios, need to select different optical fiber networking technologys.Such as point-to-point communication is applicable to have the occasion of stablizing large business, bus-network not to be only applicable to there is the occasion of stablizing large business between 2 between 2, be also applicable to the occasion that has frequent business upper and lower on the way.Therefore it is very important, in actual application scenario, selecting suitable networking technology.In networking technology, mainly consider the factors such as network configuration, communication protocol, device type, volume of business.Optical fiber networking structure is more flexible, and in modern Networks of Fiber Communications, common communication mode is point-to-point communication, and this networking mode is fairly simple, and between communication end point, does not have the problem of access share medium conflict.If realize the communication between multiple spot, must solve the problem of a plurality of communication end point share medium conflicts.Can in the optical fiber communication between multiple spot, set up specific network, make whole network use identical communication protocol, such as the Ethernet of setting up in computer network, in whole Ethernet, use TCP/IP, NETBEUI or IPX/SPX communication protocol, CSMA/CD(csma and collision detection that Ethernet is used) technology can avoid the problem of share medium conflict effectively, the ICP/IP protocol of using can realize the intercommunication mutually between multiple spot effectively, but this kind of method should be used for saying for some fairly simple optical fiber communication, complexity and the cost of system have been increased.
Summary of the invention
Technical problem to be solved by this invention is, group network system and the communication means of bidirectional optical fiber communication in the bus-network that the self-defining networking agreement of a kind of use realizes the optical fiber communication between multiple spot is provided.
The technical solution adopted in the present invention is: the group network system of bidirectional optical fiber communication in a kind of bus-network, include host computer and 1 above slave computer, described host computer connects respectively uplink optical fibers and the downlink optical fiber for communicating with slave computer by light near-end machine, and 1 described above slave computer connects uplink optical fibers and the downlink optical fiber for communicating with host computer by a light remote termination respectively separately.
The first optical module that described light near-end machine includes the first programmable logic device and is electrically connected to the first programmable logic device, wherein, the first described programmable logic device is electrically connected to host computer, and the first described optical module connects respectively uplink optical fibers and downlink optical fiber.
The second optical module that described light remote termination includes the second programmable logic device and is electrically connected to the second programmable logic device, wherein, the second described programmable logic device is electrically connected to slave computer, and the second described optical module connects respectively uplink optical fibers and downlink optical fiber.
A kind of communication means of the group network system for the communication of bus-network bidirectional optical fiber, host computer and all slave computers communicate by self-defining communication protocol frame format, described communication protocol frame format comprises: frame head synchronization character, initial for identification frames; The numbering of receiving element, for being configured receiving element address, is configured to broadcast address, multicast address and point-to-point communication address according to different application requirements by receiving element numbering; Data type is the data of what type for what transmission was described; Data length, for illustrating the length of actual valid data; Data are contents that actual valid data will transmit.
Described data type comprises common digital of digital video data and common digital audio-frequency data, or status poll value and control command.
The communication mode of host computer comprises the steps:
1) device initialize:
2) address configuration, sets a unique numbering to host computer;
3) host computer broadcast figure information arrives slave computer, and enters wait state;
4) in wait state, judging whether receive the instruction that host computer need to communicate with certain slave computer, is to enter next step, otherwise still in wait state;
5) send and to connect packet and to wait for that slave computer replys;
6) if do not receive the reply data bag of slave computer in the count value of regulation, enter step 8), if receive the reply data bag of slave computer, enter step 7);
7) communicate with slave computer, and produce sign off packet or accept the sign off packet of slave computer.
8) sign off, returns in the wait state of step 3).
Count value described in step 6) refers to that the host computer of setting in counter sends the number of times of the packet that connects.
In step 6), also comprise that when slave computer is not replied after host computer sends packet, Counter Value subtracts 1.
The communication mode of slave computer comprises the steps:
1) device initialize:
2) address configuration, sets a unique numbering to each slave computer;
3) receive the digital information of host computer broadcast, and enter wait state;
4) in wait state, judge whether receive the packet that connects that host computer sends, be to enter next step, otherwise return to the wait state of step 3);
5) send and connect reply data bag to host computer;
6) communicate with host computer, and produce sign off packet or accept the sign off packet of host computer;
7) sign off, returns to the wait state of step 3).
In a kind of bus-network of the present invention, group network system and the communication means of bidirectional optical fiber communication, utilize two-way communication and self-defining communication protocol between optical transmitter and receiver to set up a kind of bus-network structure.Effectively solved the problem of a plurality of communication end point share medium conflicts, realize the intercommunication mutually between multiple spot, used self-defining communication protocol to avoid using in simple fiber communication network the shortcomings such as CSMA/CD technology, ICP/IP protocol etc. are complicated, expense is large, cost is high simultaneously.The present invention is applicable to optical fiber communication between fairly simple multiple spot, has realized networking mode flexibly and efficiently, has greatly reduced cost and has reduced significantly its complexity.
Accompanying drawing explanation
Fig. 1 is overall structure schematic diagram of the present invention;
Fig. 2 is communication protocol frame format schematic diagram of the present invention;
Fig. 3 is the workflow diagram of host computer in the present invention;
Fig. 4 is the workflow diagram of slave computer in the present invention.
In figure
1: host computer 2: light near-end machine
3: downlink optical fiber 4: uplink optical fibers
5: light remote termination 6: slave computer
22: the first optical modules of 21: the first programmable logic devices
52: the second optical modules of 51: the second programmable logic devices
Embodiment
Below in conjunction with embodiment, with accompanying drawing, group network system and the communication means that in a kind of bus-network of the present invention, bidirectional optical fiber is communicated by letter is described in detail.
The group network system of bidirectional optical fiber communication in a kind of bus-network of the present invention, the communication equipment relating to is mainly optical transmitter and receiver and optical fiber, whole system realizes two-way communication by set up two-way connection between optical transmitter and receiver.Whole system adopts the network topology structure of bus-type, host computer and a plurality of slave computer, consists of, and is divided into up link and down link.
As shown in Figure 1, the group network system of bidirectional optical fiber communication in a kind of bus-network of the present invention, include host computer 1 and slave computer 6, described host computer 1 connects respectively uplink optical fibers 4 and the downlink optical fiber 3 for communicating with slave computer 6 by light near-end machine 2, and described slave computer 6 is connected respectively and is used for the uplink optical fibers 4 and the downlink optical fiber 3 that communicate with host computer by light remote termination 5.Uplink optical fibers 4 described here forms up link, and downlink optical fiber 3 forms down link.
The first optical module 22 that described light near-end machine 2 includes the first programmable logic device 21 and is electrically connected to the first programmable logic device 21, wherein, the first described programmable logic device 21 is electrically connected to host computer 1, and the first described optical module 22 connects respectively uplink optical fibers 4 and downlink optical fiber 3.
The second optical module 52 that described light remote termination 5 includes the second programmable logic device 51 and is electrically connected to the second programmable logic device 51, wherein, the second described programmable logic device 51 is electrically connected to slave computer 6, and the second described optical module 52 connects respectively uplink optical fibers 4 and downlink optical fiber 3.
In the present invention, the first described programmable logic device 21 is identical with the second programmable logic device 51 structures, every programmable logic device of LVDS interface that can provide can adopt, wherein, LVDS, be Low Voltage Differential Signaling, it is a kind of Low Voltage Differential Signal, as selected model, it is the logical device of Cyclone III EP3C10E144C7, or to select model be the logical device of Stratix II EP2S130F780C4, or to select model be the logical device of Arria GX EP1AGX35F484C6.
The first described optical module 22 is identical with the second optical module 52 structures, what optical module can be bought on market arrives, and can use, as selected the module of the GLC-LH-SM of CISCO company, or the module of the SFP-GE-L of selection CISCO company, or the module of the SFP-GIG-LX of selection Alcatel company.
The communication means of the group network system for the communication of bus-network bidirectional optical fiber of the present invention, that host computer and all slave computers communicate by self-defining communication protocol frame format, described communication protocol frame format comprises as shown in Figure 2: frame head synchronization character, initial for identification frames; The numbering of receiving element, for being configured receiving element address, is configured to broadcast address, multicast address and point-to-point communication address according to different application requirements by receiving element numbering; Data type, is the data of what type for what transmission was described, and described data type comprises common digital of digital video data and common digital audio-frequency data, or status poll value and control command; Data length, for illustrating the length of actual valid data; Data are contents that actual valid data will transmit.
For downlink optical fiber (down link), in the present invention, self-defining communication protocol frame format can be carried out division and grouping in logic to each slave computer, give each divide into groups unique numbering and each grouping in give each communication end point unique numbering, host computer and slave computer can be realized traditional point-to-point optical fiber communication like this, can, according to actual requirement flexible configuration, the slave computer of different grouping be realized multicast functionality and all slave computers are realized to broadcast capability again.For uplink optical fibers (up link), communication protocol frame format of the present invention utilizes the unique feature of communication end point geocoding to make host computer only select one of them slave computer to communicate by letter with it at synchronization, and other slave computer keeps mourning in silence.
As shown in Figure 3, in the present invention, the communication mode of host computer comprises the steps:
1) device initialize:
2) address configuration, sets a unique numbering to host computer;
3) host computer broadcast figure information arrives slave computer, and enters wait state;
4) in wait state, judging whether receive the instruction that host computer need to communicate with certain slave computer, is to enter next step, otherwise still in wait state;
5) send and to connect packet and to wait for that slave computer replys;
6) if do not receive the reply data bag of slave computer in the count value of regulation, enter step 8), if receive the reply data bag of slave computer, enter step 7), count value described here refers to that the host computer of setting in counter sends the number of times of the packet that connects, this step also comprises that when slave computer is not replied after host computer sends packet, Counter Value subtracts 1;
7) communicate with slave computer, and produce sign off packet or accept the sign off packet of slave computer.
8) sign off, returns in the wait state of step 3).
As shown in Figure 4, in the present invention, the communication mode of slave computer comprises the steps:
1) device initialize:
2) address configuration, sets a unique numbering to each slave computer;
3) receive the digital information of host computer broadcast, and enter wait state;
4) in wait state, judge whether receive the packet that connects that host computer sends, be to enter next step, otherwise return to the wait state of step 3);
5) send and connect reply data bag to host computer;
6) communicate with host computer, and produce sign off packet or accept the sign off packet of host computer;
7) sign off, returns to the wait state of step 3).
The group network system of bidirectional optical fiber communication in a kind of bus-network of the present invention, can be used for realizing in the systems such as the visible dialogue system that uses optical fiber as transmission medium, audio frequency broadcast, centralized control unit (host computer) is to the information issue of all terminals (slave computer), status monitoring, and voice, video communication.

Claims (9)

1. the group network system that in a bus-network, bidirectional optical fiber is communicated by letter, include host computer (1) and 1 above slave computer (6), it is characterized in that, described host computer (1) connects respectively uplink optical fibers (4) and the downlink optical fiber (3) for communicating with slave computer (6) by light near-end machine (2), and 1 described above slave computer (6) is used for by a light remote termination (5) connection the uplink optical fibers (4) and the downlink optical fiber (3) that communicate with host computer respectively separately.
2. the group network system that in a kind of bus-network according to claim 1, bidirectional optical fiber is communicated by letter, it is characterized in that, the first optical module (22) that described light near-end machine (2) includes the first programmable logic device (21) and is electrically connected to the first programmable logic device (21), wherein, described the first programmable logic device (21) is electrically connected to host computer (1), and described the first optical module (22) connects respectively uplink optical fibers (4) and downlink optical fiber (3).
3. the group network system that in a kind of bus-network according to claim 1, bidirectional optical fiber is communicated by letter, it is characterized in that, the second optical module (52) that described light remote termination (5) includes the second programmable logic device (51) and is electrically connected to the second programmable logic device (51), wherein, described the second programmable logic device (51) is electrically connected to slave computer (6), and described the second optical module (52) connects respectively uplink optical fibers (4) and downlink optical fiber (3).
4. the communication means for the group network system of the bus-network bidirectional optical fiber communication described in claims 1 to 3, it is characterized in that, host computer and all slave computers communicate by self-defining communication protocol frame format, described communication protocol frame format comprises: frame head synchronization character, initial for identification frames; The numbering of receiving element, for being configured receiving element address, is configured to broadcast address, multicast address and point-to-point communication address according to different application requirements by receiving element numbering; Data type is the data of what type for what transmission was described; Data length, for illustrating the length of actual valid data; Data are contents that actual valid data will transmit.
5. communication means according to claim 4, is characterized in that, described data type comprises common digital of digital video data and common digital audio-frequency data, or status poll value and control command.
6. communication means according to claim 4, is characterized in that, the communication mode of host computer comprises the steps:
1) device initialize:
2) address configuration, sets a unique numbering to host computer;
3) host computer broadcast figure information arrives slave computer, and enters wait state;
4) in wait state, judging whether receive the instruction that host computer need to communicate with certain slave computer, is to enter next step, otherwise still in wait state;
5) send and to connect packet and to wait for that slave computer replys;
6) if do not receive the reply data bag of slave computer in the count value of regulation, enter step 8), if receive the reply data bag of slave computer, enter step 7);
7) communicate with slave computer, and produce sign off packet or accept the sign off packet of slave computer.
8) sign off, returns in the wait state of step 3).
7. communication means according to claim 6, is characterized in that, the count value described in step 6) refers to that the host computer of setting in counter sends the number of times of the packet that connects.
8. communication means according to claim 6, is characterized in that, also comprises that when slave computer is not replied after host computer sends packet, Counter Value subtracts 1 in step 6).
9. communication means according to claim 4, is characterized in that, the communication mode of slave computer comprises the steps:
1) device initialize:
2) address configuration, sets a unique numbering to each slave computer;
3) receive the digital information of host computer broadcast, and enter wait state;
4) in wait state, judge whether receive the packet that connects that host computer sends, be to enter next step, otherwise return to the wait state of step 3);
5) send and connect reply data bag to host computer;
6) communicate with host computer, and produce sign off packet or accept the sign off packet of host computer;
7) sign off, returns to the wait state of step 3).
CN201310712612.9A 2013-12-16 2013-12-16 The communication means of the group network system of bidirectional optical fiber communication in a kind of bus-network Active CN103716092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310712612.9A CN103716092B (en) 2013-12-16 2013-12-16 The communication means of the group network system of bidirectional optical fiber communication in a kind of bus-network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310712612.9A CN103716092B (en) 2013-12-16 2013-12-16 The communication means of the group network system of bidirectional optical fiber communication in a kind of bus-network

Publications (2)

Publication Number Publication Date
CN103716092A true CN103716092A (en) 2014-04-09
CN103716092B CN103716092B (en) 2016-07-13

Family

ID=50408733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310712612.9A Active CN103716092B (en) 2013-12-16 2013-12-16 The communication means of the group network system of bidirectional optical fiber communication in a kind of bus-network

Country Status (1)

Country Link
CN (1) CN103716092B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262745A (en) * 2015-10-10 2016-01-20 广州市万世德智能装备科技有限公司 User-defined frame format driving method and user-defined frame format driving program based on TCP/IP communication protocol
CN108988947A (en) * 2018-08-08 2018-12-11 岳阳林纸股份有限公司 Composite fiber communication system based on PROFIBUS bus
CN109489185A (en) * 2018-11-16 2019-03-19 珠海格力电器股份有限公司 Air-conditioning system, control method and interior machine controller
CN111049583A (en) * 2019-12-24 2020-04-21 合肥国科天迅科技有限公司 MPFC multi-protocol optical fiber channel terminal equipment
CN111510219A (en) * 2020-04-15 2020-08-07 联合华芯电子有限公司 Bidirectional optical fiber communication method in bus type network
CN111541487A (en) * 2020-04-22 2020-08-14 四川思创优光科技有限公司 Networking method of multimode fiber laser and multimode fiber laser
CN113259860A (en) * 2021-06-15 2021-08-13 四川九通智路科技有限公司 Ad hoc network method based on Bluetooth broadcast communication

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201054591Y (en) * 2007-04-29 2008-04-30 华南理工大学 A point-to-point industrial serial real time communication system based on optical fiber
CN101938312B (en) * 2010-08-31 2013-02-27 中航光电科技股份有限公司 Double-fibre passive bus type optical network structure
CN102394005B (en) * 2011-11-17 2013-06-12 江苏省电力公司南京供电公司 Optical fiber communication ring network based partial discharge measurement data transmission system and its control method
CN103178931B (en) * 2011-12-20 2017-04-19 华为技术有限公司 Data frame transmission method and device
CN103188252A (en) * 2011-12-31 2013-07-03 中国科学院微电子研究所 Method for carrying out communications between central machine and testing terminal of distributed testing system
CN103273946A (en) * 2013-05-10 2013-09-04 兰州交通大学 Real-time broken rail detecting transmitter system inside long tunnel

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262745A (en) * 2015-10-10 2016-01-20 广州市万世德智能装备科技有限公司 User-defined frame format driving method and user-defined frame format driving program based on TCP/IP communication protocol
CN105262745B (en) * 2015-10-10 2019-05-10 佛山市湘德智能科技有限公司 A kind of customized frame format driving method and program based on TCP/IP communication protocol
CN108988947A (en) * 2018-08-08 2018-12-11 岳阳林纸股份有限公司 Composite fiber communication system based on PROFIBUS bus
CN109489185A (en) * 2018-11-16 2019-03-19 珠海格力电器股份有限公司 Air-conditioning system, control method and interior machine controller
CN111049583A (en) * 2019-12-24 2020-04-21 合肥国科天迅科技有限公司 MPFC multi-protocol optical fiber channel terminal equipment
CN111510219A (en) * 2020-04-15 2020-08-07 联合华芯电子有限公司 Bidirectional optical fiber communication method in bus type network
CN111541487A (en) * 2020-04-22 2020-08-14 四川思创优光科技有限公司 Networking method of multimode fiber laser and multimode fiber laser
CN113259860A (en) * 2021-06-15 2021-08-13 四川九通智路科技有限公司 Ad hoc network method based on Bluetooth broadcast communication
CN113259860B (en) * 2021-06-15 2021-10-19 四川九通智路科技有限公司 Ad hoc network method based on Bluetooth broadcast communication

Also Published As

Publication number Publication date
CN103716092B (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN103716092B (en) The communication means of the group network system of bidirectional optical fiber communication in a kind of bus-network
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
CN104618207A (en) Heterogeneous FC-AE-1553 network system and exchange method
CN110225071A (en) Vehicle intelligent gateway and automobile
CN202679397U (en) Real-time industrial Ethernet EtherCAT slave station system
CN103475542A (en) Network equipment handling capacity performance testing system and method
CN102546070A (en) Method and system for synchronizing a network using existing network cables
CN105262789A (en) FPGA (Field Programmable Gate Array)-based MAC (Media Access Control) layer to MAC layer communication system and control method
CN105553795B (en) A method of the transmission standard Ethernet data in Industrial Ethernet
CN114039808B (en) CAN/LIN/SENT forwarding protocol of CAN-based multichannel
CN105632385A (en) LED display screen blind spot detection method and detection device thereof
CN207968522U (en) A kind of RS485 bus driving circuits for realizing multi-host communication mode
CN104378274A (en) Non-master network communication system based on CAN bus
CN104168172A (en) Inter-board data interaction device and method based on SWITCH chip
CN102710496B (en) For the data transmission system between multiple server, DIU data interface unit and data transmission method
CN105991788A (en) Method for realizing slave network address assignment based on NFC communication
US10666319B2 (en) Method for synchronized communication in access network applied G.hn technology thereto, access network multiplexer, access network terminal and access network system using the same
CN101895560B (en) Fieldbus DP-NET with open two-stage topological structure
CN108462537B (en) Method for realizing one-master multi-slave communication
CN106338920A (en) Plug-in driving system for intelligent home
CN113885461B (en) Serial-parallel conversion module, equipment, method, device and industrial control system
CN105162792A (en) USB network card and Ethernet data conversion method
CN102081383B (en) Device and method for secure network protocol for field control
CN102118305B (en) Service board of communication equipment and communication equipment employing same
CN101110611B (en) Method and apparatus for echo wave filtering in EOC system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant