CN109474637A - It is a kind of that type bus protocol is fought for based on fixed time slicing - Google Patents
It is a kind of that type bus protocol is fought for based on fixed time slicing Download PDFInfo
- Publication number
- CN109474637A CN109474637A CN201811638805.3A CN201811638805A CN109474637A CN 109474637 A CN109474637 A CN 109474637A CN 201811638805 A CN201811638805 A CN 201811638805A CN 109474637 A CN109474637 A CN 109474637A
- Authority
- CN
- China
- Prior art keywords
- equipment
- network
- fixed time
- time slicing
- bus protocol
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40052—High-speed IEEE 1394 serial bus
- H04L12/40078—Bus configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Abstract
The present invention discloses a kind of equipment distribution token fought for type bus protocol based on fixed time slicing, be on network, makes it have information transmitting rights;Fixed time slicing mechanism is set on network, is that a regular time piece is distributed in each equipment or address, each equipment only carries out transmission information in the timeslice that it is distributed;Using any one of network node or equipment as main equipment, communicated between main equipment and other equipment by heartbeat packet.The present invention starts with from the software protocol layer of RS-485, and using competitive mechanism on software protocol, realization communicates end to end, greatly improves communication speed.The timeliness communicated between three permanent system equipments is substantially increased, delay sense of user when using three permanent systems is eliminated, to ensure user experience.The present invention is not only applicable in three permanent systems, can be applied to the various communication systems for needing to communicate to connect.
Description
Technical field
The invention belongs to art communication systems fields, and in particular to a kind of to fight for type bus association based on fixed time slicing
View.
Background technique
In recent years, as science and technology is constantly progressive, people's lives level is also higher and higher, when enjoying comfortable life becomes
Lower people consider the problems of that existing three permanent systems are intended to that people is allowed to obtain comfortable life, but in system between each device
It communicates (such as between sub-control panel), requires by realizing communication using RS-485, though RS-485 is not specified by communications protocol, lead to
Often use ModBus agreement, this communications protocol, which defines a controller, can recognize the message structure used, but regardless of it more
Be to be communicated by which kind of network.Since Modbus agreement is a master-Slave Protocol, have no idea to require equipment " report
It is every that exception " (constructs on the ICP/IP protocol of Ethernet, except referred to as open-mbus) inquiry that host node must recycle
A node device, and search the variation in data.In the application that bandwidth may be more valuable, this mode consumes in the application
Bandwidth and network time, to reduce the timeliness totally communicated.
There is a large amount of device in three permanent systems, if being communicated using traditional Modbus agreement, although communication can be ensured,
But timeliness is bad, just will use family and feels the sense that is significantly delayed in operating system, destroys user to a certain degree to three perseverances
The experience of system.
Summary of the invention
Goal of the invention: in view of the deficienciess of the prior art, the object of the present invention is to provide one kind to be based on fixed time slicing
Fight for type bus protocol.
Technical solution: in order to achieve the above-mentioned object of the invention, The technical solution adopted by the invention is as follows:
It is a kind of that type bus protocol is fought for based on fixed time slicing, it is that the equipment on network distributes token, makes it have letter
Cease transmitting rights;Fixed time slicing mechanism is set on network, is that a regular time piece is distributed in each equipment or address,
Each equipment only carries out transmission information in the timeslice that it is distributed;Using any one of network node or equipment as
Main equipment is communicated between main equipment and other equipment by heartbeat packet, and the main equipment is the beginning of whole network, tool
There is the high permission of network, safeguards and keep the communication of network others equipment.
Preferably, the main equipment issues a heartbeat packet at interval of a period of time, coordinate the free time of bus, if
Some equipment needs to send information, and bus free, then sends information in timeslice of the equipment where it.
Preferably, selecting a channel and network mark first before the main equipment starts to send information on network
Know, then starts whole network.
Preferably, the equipment of first address bit of network default is main equipment, the equipment on all address bits
It can be used as main equipment, until the last one address bit of network terminates.
Preferably, all devices on network are in monitored state, and if the main equipment breaks down, failure one end
After time, the equipment of setting next address position is main equipment, until the last one address bit of network terminates.
Preferably, each address has a regular time piece, i.e. a frame end is an equipment, and other equipment can
By device address calculate the equipment when between on piece.
Preferably, the length of the timeslice is configured according to the bus of different medium.
Preferably, being communication modes end to end between all devices on network, there is no principal and subordinate passes for all devices
System.
The utility model has the advantages that compared with prior art, the invention has the following advantages that
The present invention is attached in physical layer to node each in system by RS-485, is assisted from the software of RS-485
View layer is started with, and using competitive mechanism on software protocol, realization communicates end to end, greatly improves communication speed.This hair
It is bright based on fixed time slicing fight for type bus protocol solve the problems, such as three permanent devices in system between communication delay it is more serious, i.e., it is sharp
It is easy with RS-485 physical connection, the characteristic of multinode, and eliminates delay sense of user when using three permanent systems, significantly
The timeliness communicated between three permanent system equipments is improved, to ensure user experience.The present invention is not only applicable to three permanent systems
On, it can be applied to the various communication systems for needing to communicate to connect.
Detailed description of the invention
Fig. 1 is the type bus protocol schematic diagram of fighting for based on fixed time slicing.
Specific embodiment
Combined with specific embodiments below, the present invention is furture elucidated, and embodiment is under the premise of the technical scheme of the present invention
Implemented, it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
RS-485 standard defines multiple spot, two-way (half-duplex) communication link based on single pair balanced line, is a kind of
Communications platform extremely economic and with quite high noise suppressed, transmission rate, transmission range and wide common mode range.As long as
Required communication apparatus is equipped with 485 chips, and the transmitting-receivings of equipment room data can be realized by being subject to corresponding communications protocol.
The present invention is attached in physical layer to node each in system by RS-485, is utilized on software protocol
Competitive mechanism, realization communicate end to end, and the present invention takes a kind of emulative communications protocol in software protocol layer.In order to
Realize this competitiveness, all devices in the bus all can be in monitored state.
Of the invention fights for type bus protocol based on fixed time slicing, specifically includes: for the equipment distribution on network
Token makes it have information transmitting rights;Fixed time slicing mechanism is set on network, is each equipment or address distribution one
A regular time piece, each equipment only carry out transmission information in the timeslice that it is distributed;By any one of network
Node or equipment are communicated between main equipment and other equipment by heartbeat packet as main equipment, and main equipment is entire net
The beginning of network, the high permission with network, safeguards and keeps the communication of network others equipment.
The token stated of the present invention is the permission of information transmission, and the transmission mechanism of token and token-ring network is not
Together.The present invention devises stealthy token ring, and the token ring of this stealth is to solve to lead when equipment is simultaneously emitted by signal
The problem of causing communication abnormality, equipment are assigned to effective token ring through single-chip microcontroller, who has token who just has transmitting rights in equipment.Net
It is communication modes end to end between all devices on network, master-slave relationship is not present in all devices, without circulation to next
Equipment sends message.
Due to equipment difference, the clock timing of the chip of each equipment has deviation, if time deviation is larger, equipment can not
Whether accurate judgement bus is idle, and equipment is caused to fall into a long wait, therefore main equipment issues a heartbeat at interval of a period of time
Packet, coordinates the free time of bus, if some equipment needs to send information, and bus free, then time of the equipment where it
Information is sent in piece.Equipment can only send information in the timeslice where it, since each equipment is assigned the different time
Piece, therefore multiple equipment cannot send information simultaneously, when which prevents several equipment from having information to need to send, respective letter
Manner of breathing mutually covers, can not be accurately by delivering.
Before main equipment starts to send information on network, a channel and network identity are selected first, is then started whole
A network.The equipment of first address bit of network default is main equipment, and the equipment on all address bits can be used as master and set
It is standby, until the last one address bit of network terminates.All devices on network are in monitored state, if event occurs in main equipment
Barrier, after the time of failure one end, the equipment of setting next address position is main equipment, until the last one address bit knot of network
Beam.The reliability and timeliness of device talk on system bus are ensured.It is this that shape bus one is fought for based on fixed time slicing
Determine the delay for reducing three permanent systems in degree, user is enabled to obtain more comfortable experience.
Each address of the invention has a regular time piece, i.e. a frame end is an equipment, and other equipment can
By device address calculate the equipment when between on piece.
The length of timeslice is configured according to the bus of different medium, is set according to the medium, that is, length and baud rate of bus
The length of each timeslice is set, if the length of one timeslice of setting is 25 μ s, there are 200 equipment in network, then on network
The total time of one cycle period is 200*25 μ s.
Claims (8)
1. a kind of fight for type bus protocol based on fixed time slicing, it is characterised in that: distribute token for the equipment on network, make
It is with information transmitting rights;Fixed time slicing mechanism is set on network, is that a fixation is distributed in each equipment or address
Timeslice, each equipment only carries out transmission information in the timeslice that it is distributed;By any one of network node or
Person's equipment is communicatively coupled between main equipment and other equipment by heartbeat packet as main equipment, and the main equipment is entire
The beginning of network, the high permission with network, safeguards and keeps the communication of network others equipment.
2. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: the main equipment
A heartbeat packet is issued at interval of a period of time, coordinates the free time of bus, if some equipment needs to send information, and bus
Free time then sends information in timeslice of the equipment where it.
3. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: the main equipment
Before starting to send information on network, a channel and network identity are selected first, then starts whole network.
4. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: the network is silent
The equipment for recognizing first address bit is main equipment, and the equipment on all address bits can be used as main equipment, until network
The last one address bit terminates.
5. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: the institute on network
There is equipment to be in monitored state, if the main equipment breaks down, after the time of failure one end, setting next address position is set
Standby is main equipment, until the last one address bit of network terminates.
6. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: each address tool
There is a regular time piece, i.e. a frame end is an equipment, and other equipment can be calculated the equipment by device address and be existed
When between on piece.
7. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: the timeslice
Length be configured according to the bus of different medium.
8. according to claim 1 fight for type bus protocol based on fixed time slicing, it is characterised in that: the institute on network
Have for communication modes end to end between equipment, there is no master-slave relationships for all devices.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811638805.3A CN109474637A (en) | 2018-12-29 | 2018-12-29 | It is a kind of that type bus protocol is fought for based on fixed time slicing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811638805.3A CN109474637A (en) | 2018-12-29 | 2018-12-29 | It is a kind of that type bus protocol is fought for based on fixed time slicing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109474637A true CN109474637A (en) | 2019-03-15 |
Family
ID=65677667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811638805.3A Pending CN109474637A (en) | 2018-12-29 | 2018-12-29 | It is a kind of that type bus protocol is fought for based on fixed time slicing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109474637A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112665035A (en) * | 2021-01-19 | 2021-04-16 | 青岛海信日立空调系统有限公司 | Multi-connected air conditioning system and control method thereof |
CN112954419A (en) * | 2021-02-09 | 2021-06-11 | 海信视像科技股份有限公司 | Display device and display method |
CN114500159A (en) * | 2022-02-17 | 2022-05-13 | 杭州老板电器股份有限公司 | Wired communication method and device of central range hood system and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110142066A1 (en) * | 2008-04-21 | 2011-06-16 | Nat'I Inst of Advanced Industrial Sci and Tech | Serial bus transmission system |
CN104168168A (en) * | 2013-12-12 | 2014-11-26 | 易程(苏州)智能系统有限公司 | Method for using special frame to control sending by nodes on RS485 bus |
CN104866455A (en) * | 2015-06-10 | 2015-08-26 | 首都师范大学 | Multi-master arbitration method in dynamic reconfigurable high-rate serial bus |
CN106130859A (en) * | 2016-06-23 | 2016-11-16 | 北京东土科技股份有限公司 | A kind of industry internet field layer wideband bus configuration management implementation method |
CN106155014A (en) * | 2016-06-23 | 2016-11-23 | 北京东土科技股份有限公司 | A kind of industry internet field layer wideband bus real-time implementation method |
-
2018
- 2018-12-29 CN CN201811638805.3A patent/CN109474637A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110142066A1 (en) * | 2008-04-21 | 2011-06-16 | Nat'I Inst of Advanced Industrial Sci and Tech | Serial bus transmission system |
CN104168168A (en) * | 2013-12-12 | 2014-11-26 | 易程(苏州)智能系统有限公司 | Method for using special frame to control sending by nodes on RS485 bus |
CN104866455A (en) * | 2015-06-10 | 2015-08-26 | 首都师范大学 | Multi-master arbitration method in dynamic reconfigurable high-rate serial bus |
CN106130859A (en) * | 2016-06-23 | 2016-11-16 | 北京东土科技股份有限公司 | A kind of industry internet field layer wideband bus configuration management implementation method |
CN106155014A (en) * | 2016-06-23 | 2016-11-23 | 北京东土科技股份有限公司 | A kind of industry internet field layer wideband bus real-time implementation method |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112665035A (en) * | 2021-01-19 | 2021-04-16 | 青岛海信日立空调系统有限公司 | Multi-connected air conditioning system and control method thereof |
CN112665035B (en) * | 2021-01-19 | 2022-06-24 | 青岛海信日立空调系统有限公司 | Multi-connected air conditioning system and control method thereof |
CN112954419A (en) * | 2021-02-09 | 2021-06-11 | 海信视像科技股份有限公司 | Display device and display method |
CN112954419B (en) * | 2021-02-09 | 2022-08-23 | 海信视像科技股份有限公司 | Display device and display method |
CN114500159A (en) * | 2022-02-17 | 2022-05-13 | 杭州老板电器股份有限公司 | Wired communication method and device of central range hood system and electronic equipment |
CN114500159B (en) * | 2022-02-17 | 2023-12-15 | 杭州老板电器股份有限公司 | Wired communication method and device of central range hood system and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109474637A (en) | It is a kind of that type bus protocol is fought for based on fixed time slicing | |
CN104317765B (en) | A kind of one-to-many communication system and implementation method based on serial communication | |
US20020105949A1 (en) | Band control device | |
CN104980224A (en) | FC-AE-1553 data exchange mode design method, FC-AE-1553 data exchange mode network control method and FC-AE-1553 data exchange mode energy saving method | |
JP2003518335A (en) | Method and apparatus for accessing a computer network communication channel | |
CN103560898B (en) | A kind of port status method to set up, the system of selection of port priority and device | |
US9485077B2 (en) | System and method for energy efficient ethernet with asymmetric traffic profiles | |
JP2000509585A (en) | Protocols for sensitive applications | |
CN109639560A (en) | Improve the method for the availability of real-time computer networks | |
US20080219289A1 (en) | 10GBase-T link speed arbitration for 30m transceivers | |
CN108270652A (en) | A kind of high speed real-time bus system and its data processing method | |
CN108471642A (en) | A kind of infusion pump network of LoRa transmission | |
CN101930417A (en) | Arbiter for serial data bus-based streaming media transmission system terminal equipment | |
CN101340339A (en) | Wideband access server cluster system and apparatus | |
CN105515792B (en) | The network wake-up method and building talkback equipment of building talkback equipment | |
US9705809B2 (en) | Method and device for adjusting rate of data transmission in Ethernet | |
JPS61214834A (en) | Composite information transmission system | |
CN105391666B (en) | Multi-service bus transmission system and transmission method based on FSK modulation demodulation | |
CN102064956A (en) | Method for regulating aging time, system and modulator-demodulator | |
CN101436953B (en) | Management method and processing module for on-line announcement message of network appliance | |
CN109245911B (en) | Method and device for realizing BRAS hot standby and computer readable storage medium | |
CN205179093U (en) | Total line transmission system of multi -service based on FSK modem | |
CN106304241A (en) | A kind of data transmission method, transponder and gateway | |
CN103152836B (en) | A kind of means of communication with frequency multiple terminals wireless communication networks | |
CN111130816B (en) | Message forwarding processing equipment, method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190315 |