CN105323162A - Internet of Things routing system and method - Google Patents

Internet of Things routing system and method Download PDF

Info

Publication number
CN105323162A
CN105323162A CN201510631237.4A CN201510631237A CN105323162A CN 105323162 A CN105323162 A CN 105323162A CN 201510631237 A CN201510631237 A CN 201510631237A CN 105323162 A CN105323162 A CN 105323162A
Authority
CN
China
Prior art keywords
bus
routing
internet
central processing
buses
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
CN201510631237.4A
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.)
SHENZHEN SAFTOP TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN SAFTOP 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 SHENZHEN SAFTOP TECHNOLOGY Co Ltd filed Critical SHENZHEN SAFTOP TECHNOLOGY Co Ltd
Priority to CN201510631237.4A priority Critical patent/CN105323162A/en
Publication of CN105323162A publication Critical patent/CN105323162A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • H04L12/40176Flexible bus arrangements involving redundancy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements

Abstract

The invention discloses an Internet of Things routing system and method. The system comprises a hardware controller; the hardware controller is internally provided with a plurality of bus interfaces connected to buses, wherein each bus interface is connected with a bus controller; the bus controller is used for acquiring data states of the buses connected to the bus interfaces and transmitting a bus control instruction according to corresponding data states; the hardware controller is provided with central processing units connected to each bus controller, and the central processing units are used for receiving or setting a routing strategy, wherein the routing strategy is transmitting the bus control instruction to the bus controllers according to the data states of the buses, and selecting the buses that transmits data. The Internet of Things routing system provided by the invention supports two or more than two different types of buses or networks on the hardware controller, and there can be multiple buses or networks of the same type, and when the buses or networks are redundant, the buses or networks can be mutually fault-tolerant, and the bandwidths can be superposed; when one of the buses or networks of the same type goes wrong, other buses can be used for transmitting the data.

Description

A kind of Internet of Things route system and method
Technical field
The present invention relates to Internet of Things field, particularly relate to a kind of Internet of Things route system and method.
Background technology
The Stability and dependability of bus communication has vital meaning for system, when there is the situation that bus breaks down, will certainly cause the paralysis of whole system.
In prior art, the bus that two types generally can be adopted identical is mutually fault-tolerant, when a bus goes wrong time, an other bus can be used to ensure working on of system.
The deficiencies in the prior art part is: one, and prior art can only use the bandwidth of a bus, does not carry out bandwidth expansion, affects the speed of transfer of data; Two, undertaken fault-tolerant by identical network or bus, when occurring that this kind of passage is obstructed, two buses all possibly cannot normally work.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of Internet of Things route system and method, be intended to solve the problem that in prior art, bus communication stability and reliability have much room for improvement.
Technical scheme of the present invention is as follows:
A kind of Internet of Things route system, wherein, comprising: a hardware control;
The bus interface of multiple connection for bus is provided with in described hardware control, each bus interface connects a bus control unit, and described bus control unit is for obtaining the data mode of the bus be connected in bus interface and sending bus marco instruction according to corresponding data mode; Dissimilar bus is provided with two or more, and the bus of same kind is provided with two or more;
Be provided with the central processing unit being connected to each bus control unit in described hardware control, for receiving or arranging routing policy, described routing policy is send bus marco instruction according to the data mode of bus to bus control unit, selects the bus sending data.
Described Internet of Things route system, wherein, described Internet of Things route system also comprises the memory of a connection central processing unit, for storing routing policy.
Described Internet of Things route system, wherein, described bus is CAN, Ethernet, RS485 bus or RS232 bus.
A method for routing for Internet of Things route system as above, wherein, comprises step:
A, carry out routing policy configuration in advance;
B, central processing unit read routing policy;
C, bus control unit obtain the data mode of the bus that bus interface connects and report central processing unit;
D, described central processing unit, according to the data mode reported and routing policy, send bus marco instruction to respective bus controller, select the bus sending data.
Described method for routing, wherein, described bus is CAN, Ethernet, RS485 bus or RS232 bus.
Described method for routing, wherein, in described steps A, the web page carried by client software or hardware control carries out routing policy configuration.
Described method for routing, wherein, in described steps A, the memory connecting central processing unit by stores routing policy.
Described method for routing, wherein, each bus connects an equipment or multiple equipment.
Beneficial effect: the bus that the present invention supports two or more dissimilar on single hardware control or network, the bus of same kind or network also can have many, when bus of the same race or network have a redundancy, can be mutually fault-tolerant, bandwidth also can superpose; Bus of the same race or network wherein one go wrong, other bus transfer data can be utilized.By the present invention, one is by the superposition of redundant bus or the network bandwidth, can improve speed; Two is support dissimilar bus or network and passage Redundancy Design of the same race, can the stability of maximum safeguards system; Three is can by user's request configuration bus or network routing scheme voluntarily.
Accompanying drawing explanation
Fig. 1 is the fundamental diagram of a kind of Internet of Things route system of the present invention preferred embodiment.
Fig. 2 is the fundamental diagram of another embodiment of a kind of Internet of Things route system of the present invention.
Fig. 3 is the fundamental diagram of the another embodiment of a kind of Internet of Things of the present invention route system.
Fig. 4 is the flow chart of a kind of Internet of Things method for routing of the present invention preferred embodiment.
Embodiment
The invention provides a kind of Internet of Things route system and method, for making object of the present invention, technical scheme and effect clearly, clearly, the present invention is described in more detail below.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A kind of Internet of Things route system provided by the present invention, it comprises: a hardware control;
The bus interface of multiple connection for bus is provided with in described hardware control, each bus interface connects a bus control unit, and described bus control unit is for obtaining the data mode of the bus be connected in bus interface and sending bus marco instruction according to corresponding data mode; Dissimilar bus is provided with two or more, and the bus of same kind is provided with two or more;
Be provided with the central processing unit being connected to each bus control unit in described hardware control, for receiving or arranging routing policy, described routing policy is send bus marco instruction according to the data mode of bus to bus control unit, selects the bus sending data.
The bus (comprising network) that hardware control of the present invention supports two or more dissimilar, the bus of same kind also can have many.When bus of the same race has a redundancy, can be mutually fault-tolerant, bandwidth also can superpose; I.e. bus of the same race wherein when breaking down, data can pass through an other transmission, and in all non-serviceable situation of the bus of the type, can walk the bus of other types, data can also be allowed to be transmitted by the bus of dissimilar or identical type simultaneously simultaneously, improve transmission bandwidth; And data are by the bus transfer of which kind of type, can configure voluntarily.
The present invention had both achieved the superposition of redundant bus, improve transmission speed, supported that again dissimilar bus is to transmit data, can the stability of safeguards system of maximum program, can carry out the routing policy of configuration bus in addition according to user's request.
Hardware control of the present invention, has two or more bus interface above, and different bus interface can support dissimilar bus, and namely hardware control supports the bus of two or more type, for connecting different equipment.Consider that bus redundancy of the same race designs, can arrange several interface more, namely the bus interface of same kind is provided with multiple, and dissimilar bus interface is also provided with multiple.Each bus interface is connected with a bus control unit, described bus control unit can be used to the data mode obtaining bus in bus interface, such as obtain the packet information and heartbeat packet information etc. of transmission, described bus control unit can also be used to send bus marco instruction, bus marco instruction is sent to bus control unit, thus control selects which kind of bus to transmit data or which kind of bus does not transmit data.
Bus of the same race has redundancy Time Bandwidth to superpose becomes double or many times.Bandwidth expansion mode is exemplified below: suppose there are 2 can buses, be respectively can1 and can2, if can1 just receives packet, but do not receive timing to send heartbeat packet and (refer to the small data packets of timed sending, for representing that passage or task are in normal condition), show that this bus is in busy state, the bandwidth of can2 just can be utilized to transmit data when at this moment sending packet, thus transmission bandwidth is doubled.
Hardware control of the present invention has a configuration interface, carries out the configuration of routing policy, and this configuration interface can be client software, also can be the web page that hardware control carries.
So the web page carried by client software or hardware control is to issue routing policy to hardware control.
Hardware control receives or after setting routing policy, can be kept in background administration module, determines the conspiracy relation between distinct device by background administration module.This hardware control supports two or more bus.Hardware control such as, be connected to 2 buses: 1 CAN and 1 Ethernet, connection device 1 in CAN, connection device 2 on Ethernet.
Described bus interface is by CAN, Ethernet, RS485 bus or RS232 bus connection device.Namely the bus of hardware control support or network comprise CAN, Ethernet, RS485 bus or RS232 bus or other standards industrial bus.
The preferred embodiment of a kind of Internet of Things route system of the present invention, as shown in Figure 1, hardware control (in large square frame) is connected to 4 buses: bus 1, bus 2, bus 3 and bus 4, connection device 1 in bus 1, connection device 2 in bus 2, connection device 3 in bus 3, connection device 4 in bus 4, what each bus was all respective connects bus control unit by bus interface, bus control unit can read the data mode of bus and send bus control commands according to corresponding data mode, and each bus control unit all connects central processing unit.This central processing unit can be used for receiving or arranging routing policy, and further, described Internet of Things route system also comprises the memory (memory block) of a connection central processing unit, for storing routing policy.
The web page first carried by client software or hardware control carries out routing policy configuration, as shown in Figure 2, background administration module (background program of central processing unit) may be read into the routing policy of client software or web page configuration, is saved in memory by central processing unit.
After bus control unit reads the data mode of total built-in unit, report background administration module central processing unit, central processing unit background administration module query routing linkage strategy, if desired carry out linking to bus and send bus control commands, then send bus marco instruction to corresponding bus control unit, implement co-operating to make corresponding device bus.Such as, bus control unit is reported to central processing unit after reading the data mode of certain bus, and central processing unit, according to the data mode reported and routing policy, determines which bar circuit selection walks.Such as Fig. 2: routing policy is configured to first walk bus 1, bus 1 obstructed walk bus 2, bus 2 also obstructed walk bus 3, bus 3 obstructed walk bus 4.At present, what normally run is bus 1, if there occurs bus 1 not receive packet and heartbeat packet, the situation that namely bus 1 is obstructed, according to strategy configuration, walks bus 2.May have multiple bus in practical application, bus may be of the same race also may be not of the same race.Bus or network lead to or are not connected with following situation: one is, does not receive packet, does not also receive heartbeat packet on time, and illustrating that bus or network do not work, is obstructed; Two is have received packet, but does not receive heartbeat packet on time, and network busy is described, can send data to other buses.The heartbeat packet state on every bar bus or network is read by background program, the state recording every bar bus or network is logical or obstructed, time obstructed, determine that bus or network are selected according to strategy configuration, walk an other similar bus or network or change a kind of bus or network.
For specific embodiment as shown in Figure 3, (hardware) equipment 1 is connected by 2 Ethernets and 2 can buses with (hardware) equipment 2, routing policy examples of configurations: the Ethernet 1 that gets ahead is set, then Ethernet 2, when Ethernet is obstructed, can bus 1 of going further and can bus 2(can get ahead when walking can bus can bus 1, walk can bus 2 time obstructed).The bus of the same race run, its bandwidth can superpose.More than scheme citing: routing policy configures the industry ethernet that gets ahead, and can walk Ethernet 2 when Ethernet 1 is busy, bandwidth is the superposition of two Ethernet bandwidth simultaneously.
That is, routing policy of the present invention can configure as follows: when in the bus of a certain type, one of them bus is obstructed, utilizes other bus transfer datas in the bus of the type; When all buses of the type are all obstructed, then utilize the bus transfer data of other types.Meanwhile, when one of them bus is in busy state in the bus of a certain type, utilize other bus transfer datas in the bus of the type simultaneously; When all buses of the type are all in busy state, then utilize the bus transfer data of other types simultaneously.Bus is led to and with obstructed standard is: have received packet, also have received heartbeat packet on time, then bus is logical; Do not receive packet, also do not receive heartbeat packet on time, then bus is obstructed; Being in busy state whether standard for bus is: have received packet, but do not receive heartbeat packet on time, then for being in busy state, have received packet, and receive heartbeat packet on time, be not then in busy state.
Based on said system, the present invention also provides a kind of method for routing of Internet of Things route system as above, and as shown in Figure 4, it comprises step:
S1, carry out routing policy configuration in advance;
S2, central processing unit read routing policy;
S3, bus control unit obtain the data mode of the bus that bus interface connects and report central processing unit;
S4, described central processing unit, according to the data mode reported and routing policy, send bus marco instruction to respective bus controller, select the bus sending data.
Further, described bus is CAN, Ethernet, RS485 bus or RS232 bus.
Further, in described step S1, the web page carried by client software or hardware control carries out routing policy configuration.
Further, in described step S1, the memory connecting central processing unit by stores routing policy.
Further, each bus connects an equipment or multiple equipment.
Ins and outs about said method are existing in system above to be described in detail, therefore repeats no more.
In sum, the bus that the present invention supports two or more dissimilar on single hardware control or network, the bus of same kind or network also can have many, when bus of the same race or network have a redundancy, can be mutually fault-tolerant, bandwidth also can superpose; Bus of the same race or network wherein one go wrong, other bus transfer data can be utilized.By the present invention, one is by the superposition of redundant bus or the network bandwidth, can improve speed; Two is support dissimilar bus or network and passage Redundancy Design of the same race, can the stability of maximum safeguards system; Three is can by user's request configuration bus or network routing scheme voluntarily.
Should be understood that, application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can be improved according to the above description or convert, and all these improve and convert the protection range that all should belong to claims of the present invention.

Claims (8)

1. an Internet of Things route system, is characterized in that, comprising: a hardware control;
The bus interface of multiple connection for bus is provided with in described hardware control, each bus interface connects a bus control unit, and described bus control unit is for obtaining the data mode of the bus be connected in bus interface and sending bus marco instruction according to corresponding data mode; Dissimilar bus is provided with two or more, and the bus of same kind is provided with two or more;
Be provided with the central processing unit being connected to each bus control unit in described hardware control, for receiving or arranging routing policy, described routing policy is send bus marco instruction according to the data mode of bus to bus control unit, selects the bus sending data.
2. Internet of Things route system according to claim 1, is characterized in that, described Internet of Things route system also comprises the memory of a connection central processing unit, for storing routing policy.
3. Internet of Things route system according to claim 1, is characterized in that, described bus is CAN, Ethernet, RS485 bus or RS232 bus.
4. a method for routing for Internet of Things route system as claimed in claim 1, is characterized in that, comprise step:
A, carry out routing policy configuration in advance;
B, central processing unit read routing policy;
C, bus control unit obtain the data mode of the bus that bus interface connects and report central processing unit;
D, described central processing unit, according to the data mode reported and routing policy, send bus marco instruction to respective bus controller, select the bus sending data.
5. method for routing according to claim 4, is characterized in that, described bus is CAN, Ethernet, RS485 bus or RS232 bus.
6. method for routing according to claim 4, is characterized in that, in described steps A, the web page carried by client software or hardware control carries out routing policy configuration.
7. method for routing according to claim 4, is characterized in that, in described steps A, the memory connecting central processing unit by stores routing policy.
8. method for routing according to claim 4, is characterized in that, each bus connects an equipment or multiple equipment.
CN201510631237.4A 2015-09-29 2015-09-29 Internet of Things routing system and method Pending CN105323162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510631237.4A CN105323162A (en) 2015-09-29 2015-09-29 Internet of Things routing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510631237.4A CN105323162A (en) 2015-09-29 2015-09-29 Internet of Things routing system and method

Publications (1)

Publication Number Publication Date
CN105323162A true CN105323162A (en) 2016-02-10

Family

ID=55249788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510631237.4A Pending CN105323162A (en) 2015-09-29 2015-09-29 Internet of Things routing system and method

Country Status (1)

Country Link
CN (1) CN105323162A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322538A (en) * 2018-02-07 2018-07-24 淮安信息职业技术学院 A kind of Internet of Things network route method and system
CN112152854A (en) * 2020-09-25 2020-12-29 绿盟科技集团股份有限公司 Information processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610327A (en) * 2003-10-17 2005-04-27 中国科学院空间科学与应用研究中心 Method for transmitting data of dissimilar bus cooperative work and equipment thereof
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
CN102055687A (en) * 2010-12-30 2011-05-11 上海顶竹通讯技术有限公司 Internet of things (IOT) access gateway
CN102255810A (en) * 2011-07-14 2011-11-23 湖南艾特美电子科技有限公司 Routing method and router based on Internet of things
CN103139060A (en) * 2013-03-01 2013-06-05 哈尔滨工业大学 High-fault-tolerance controller area network (CAN) bus digital gateway based on double digital signal processors (DSPs)
WO2015080553A1 (en) * 2013-11-27 2015-06-04 Mimos Berhad Method and system for enabling ip communication between an ip device and a non-ip internet of things device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610327A (en) * 2003-10-17 2005-04-27 中国科学院空间科学与应用研究中心 Method for transmitting data of dissimilar bus cooperative work and equipment thereof
CN101447929A (en) * 2008-12-26 2009-06-03 华为技术有限公司 Traffic routing method, router and communication system
CN102055687A (en) * 2010-12-30 2011-05-11 上海顶竹通讯技术有限公司 Internet of things (IOT) access gateway
CN102255810A (en) * 2011-07-14 2011-11-23 湖南艾特美电子科技有限公司 Routing method and router based on Internet of things
CN103139060A (en) * 2013-03-01 2013-06-05 哈尔滨工业大学 High-fault-tolerance controller area network (CAN) bus digital gateway based on double digital signal processors (DSPs)
WO2015080553A1 (en) * 2013-11-27 2015-06-04 Mimos Berhad Method and system for enabling ip communication between an ip device and a non-ip internet of things device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322538A (en) * 2018-02-07 2018-07-24 淮安信息职业技术学院 A kind of Internet of Things network route method and system
CN112152854A (en) * 2020-09-25 2020-12-29 绿盟科技集团股份有限公司 Information processing method and device
CN112152854B (en) * 2020-09-25 2023-11-07 绿盟科技集团股份有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN105450489B (en) The preferential efficient field bus systems of HEBus and communication means for realizing most short message of output
CN103490966B (en) A kind of dual-redundant CAN bus method for receiving and processing data
US8990444B2 (en) Fieldbus gateway using virtual serial fieldbus port and data transmission method thereof
CN101710314B (en) High-speed peripheral component interconnection switching controller and realizing method thereof
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN101943898B (en) Real-time control system of train sets
US9166922B2 (en) Communication device for an industrial communication network which can be operated in a redundant manner and method for operating a communication device
CN102035688B (en) Design method for rapidly controlling network link access
CN102857397A (en) Multi-master asynchronous duplex differential bus and communication method
US8812759B2 (en) Bus subscriber device for connection to a line-redundant data bus, and method for controlling the communication of a bus subscriber with a line-redundant serial data bus
CN103581164A (en) Method for transmitting messages in redundantly operable industrial communication network and communication device for redundantly operable industrial communication network
CN107147538B (en) Fault Locating Method based on RS485 bridge circuit device
CN106603359B (en) The communicating control method and device of PLC system
CN105897574A (en) Modbus RTU/TCP gateway device supporting double-Ethernet and double-master-station redundancy
CN103684716A (en) Method for transmitting messages in a redundantly operable industrial communication network and communication device for the redundantly operable industrial communication network
US10033546B2 (en) Method and system for reprogramming
CN104767665A (en) Ring communication network master station redundancy method, device and system
CN110635982A (en) Double-host communication method and system on communication bus, industrial control gateway and storage medium
KR101179431B1 (en) Network Management System based on a EhterCAT And Managing Method thereof
CN105323162A (en) Internet of Things routing system and method
CN207853917U (en) A kind of slave, communication expansion card and group network system
KR101250024B1 (en) Network system and method for determining network path
CN106411616B (en) A kind of device and method by 1553B bus management ethernet terminal
JP5974852B2 (en) Transmission apparatus and transmission method
US7830880B2 (en) Selective build fabric (BF) and reconfigure fabric (RCF) flooding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160210