CN104954216A - 485 bus fault self-processing method and device - Google Patents

485 bus fault self-processing method and device Download PDF

Info

Publication number
CN104954216A
CN104954216A CN201410126015.2A CN201410126015A CN104954216A CN 104954216 A CN104954216 A CN 104954216A CN 201410126015 A CN201410126015 A CN 201410126015A CN 104954216 A CN104954216 A CN 104954216A
Authority
CN
China
Prior art keywords
node
bus
preset time
frame
control equipment
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
CN201410126015.2A
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.)
ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd
Original Assignee
ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) 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 ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd filed Critical ULTRAPOWER INTERNATIONAL TECHNOLOGY DEVELOPMENT(BEIJING) Co Ltd
Priority to CN201410126015.2A priority Critical patent/CN104954216A/en
Publication of CN104954216A publication Critical patent/CN104954216A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to the technical field of 485 bus communication, and provides a 485 bus fault self-processing method and device. When the method is used for bus control equipment, the method comprises the steps that an inquiring frame is transmitted to a node on a bus; whether a response frame is received within first preset time is judged; if the response frame is not received, occurrence of a fault on the node is confirmed, and the node is deleted from the bus; and after the first preset time is due or the response frame is received, the inquiring frame is transmitted to the next node on the bus. According to the scheme, an original serial connection mode does not need to be changed, and the fault node can be accurately positioned and deleted through a one-inquiring-one-response mode so that adverse influence on the bus caused by the fault node can be avoided, normal communication of the bus system is enabled to be rapidly recovered and robustness of the bus system is enhanced. Besides, the fault node can also actively quit the bus when the fault of the fault node is discovered so that other nodes on the bus are ensured not to be influenced, and thus the whole bus can be self-covered when the fault occurs on the nodes.

Description

A kind of 485 bus failures are from processing method and device
Technical field
The embodiment of the present invention relates generally to 485 bus communication technical fields, especially relates to a kind of 485 bus failures from processing method and device.
Background technology
RS-485 universal serial bus (hereinafter referred to as 485 buses) is extensive adopted a kind of cable when long haul communication.In actual applications, along with the increase of length of cable, the quantity of node is also in increase, if now there is fault in some or several node, so these malfunctioning nodes may take bus always, even cause the paralysis of whole piece bus time serious, when 485 bus malfunctions, how this processes as seen is a very important problem.
In the prior art, with 485 repeaters, 485 network deployment can be become star-connection or tree-like wiring by 485 hubs, the node that searches problem when going wrong like this is relatively easy.But inventor is realizing finding in process of the present invention, this scheme of the prior art changes original mode connected in series, need more connection cable, hub and repeater, make wiring become complicated, and this scheme also only address only searching problem of malfunctioning node.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of 485 bus failures from processing method and device, realizes the automatic process of 485 bus failures under the prerequisite not changing original mode connected in series.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses following technical scheme:
First aspect, embodiments provide a kind of 485 bus failures from processing method, for bus control equipment, described method comprises:
Inquiry frame is sent to the node in bus;
Judge the acknowledgement frame whether receiving described node in the first Preset Time;
If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus;
When described first Preset Time is to after date or after receiving described acknowledgement frame, send described inquiry frame to the next node in described bus.
Preferably, described method also comprises:
Described determine described one malfunctions after,
Send alarm information to processing center, wherein said alarm information comprises the mark of described node.
Preferably, described method also comprises:
Described determine described one malfunctions after,
If receive the fault release message that described node sends, then described node is rejoined in described bus.
Second aspect, embodiments provide a kind of 485 bus failures from processing method, the node in bus, described method comprises:
Judge whether to receive in the second Preset Time the inquiry frame that bus control equipment is sent;
If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node;
If receive described inquiry frame in described second Preset Time, then send acknowledgement frame to described bus control equipment, and again timing is carried out to described second Preset Time.
Preferably, described method also comprises:
After the power supply of described this node of cut-out communication module,
If this node failure is repaired, then open the power supply of described communication module, send fault release message to described bus control equipment.
Preferably, described second Preset Time is determined by following formula:
T=n·△T
Wherein T is described second Preset Time, and n is the nodes in described bus, and △ T is each maximum wait time prepared when receiving acknowledgement frame of presetting on described bus control equipment.
The third aspect, embodiments provide a kind of 485 bus failures from processing unit, for bus control equipment, described device comprises:
Inquiry frame transmitting element, for sending inquiry frame to the node in bus;
Acknowledgement frame receiving element, for receiving the acknowledgement frame that described node returns;
Node failure judging unit, for judging whether to receive in the first Preset Time the acknowledgement frame of described node after have sent inquiry frame to described node; If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus;
Polling system unit, for when described first Preset Time is to after date or after receiving described acknowledgement frame, drives described inquiry frame transmitting element to send described inquiry frame to the next node in described bus.
Preferably, described device also comprises:
Alarm Unit, for sending alarm information to processing center after determining described one malfunctions, wherein said alarm information comprises the mark of described node.
Preferably, described device also comprises:
Node recovery unit, for when after the fault release message receiving the described node transmission of breaking down, rejoins described node in described bus.
Fourth aspect, embodiments provide a kind of 485 bus failures from processing unit, the node in bus, described device comprises:
Inquiry frame receiving element, for receiving the inquiry frame that bus control equipment sends;
Acknowledgement frame transmitting element, for sending acknowledgement frame to described bus control equipment;
Whether faults itself judging unit, receive described inquiry frame for judging in the second Preset Time; If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node; If receive described inquiry frame in described second Preset Time, then described acknowledgement frame transmitting element is driven to send described acknowledgement frame to described bus control equipment;
Periodic Control unit, for again carrying out timing to described second Preset Time after sending acknowledgement frame to described bus control equipment.
Preferably, described device also comprises:
Trouble shooting notification unit, for opening the power supply of described communication module after this node failure is repaired, sends fault release message to described bus control equipment.
5th aspect, embodiments provide a kind of 485 bus systems, described bus system comprises:
Bus control equipment, for sending inquiry frame to a node; Judge the acknowledgement frame whether receiving described node in the first Preset Time; If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus; When described first Preset Time is to after date or after receiving described acknowledgement frame, send described inquiry frame to the next node in described bus;
Node, for judging whether to receive in the second Preset Time the described inquiry frame that described bus control equipment is sent; If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node; If receive described inquiry frame in described second Preset Time, then send acknowledgement frame to described bus control equipment, and again timing is carried out to described second Preset Time.
The technical scheme that the embodiment of the present invention provides can comprise following beneficial effect:
In embodiments of the present invention, bus control equipment can send inquiry frame to the node in bus, and judge the acknowledgement frame whether receiving described node in the first Preset Time, if do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus.This scheme in the embodiment of the present invention does not need to change original mode connected in series, answer one to answer by one can accurately locate and delete malfunctioning node, avoid malfunctioning node to cause harmful effect to bus, enable bus system recover normal communication rapidly, improve the robustness of bus system.
In addition, in embodiments of the present invention, malfunctioning node can by judging whether that receiving inquiry frame judges whether self breaks down, initiatively bus is exited when finding oneself fault, ensure that other nodes are unaffected in bus, thus realize whole bus and can carry out self-recoverage when there being one malfunctions.
In addition, in embodiments of the present invention, by arranging node 485 modular power source control circuit, making malfunctioning node by the power supply of this circuitry cuts node communication module, thus can both ensure that malfunctioning node can move back line automatically, additionally reducing cable load.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the present invention.
Accompanying drawing explanation
Accompanying drawing to be herein merged in specification and to form the part of this specification, shows embodiment according to the invention, and is used from specification one and explains principle of the present invention.
Fig. 1 is that 485 bus failures that provide of the embodiment of the present invention one are from processing method exemplary process diagram;
Fig. 2 is that 485 bus failures that provide of the embodiment of the present invention two are from processing method exemplary process diagram;
Fig. 3 is the schematic diagram to each node polls process;
Fig. 4 is that 485 bus failures that provide of the embodiment of the present invention three are from processing method exemplary process diagram;
Fig. 5 is that 485 bus failures that provide of the embodiment of the present invention three are from processing method exemplary process diagram;
Fig. 6 is the schematic diagrames of 485 bus failures that provide of the embodiment of the present invention four from processing unit 600;
Fig. 7 is the schematic diagrames of 485 bus failures that provide of the embodiment of the present invention five from processing unit 700;
Fig. 8 is the schematic diagram of a kind of 485 bus systems that the embodiment of the present invention six provides.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Execution mode described in following exemplary embodiment does not represent all execution modes consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Embodiment one
Fig. 1 is the exemplary process diagram of 485 bus failures that provide of the embodiment of the present invention one from processing method.The method may be used for bus control equipment.Shown in Figure 1, can comprise the following steps:
S101, in bus node send inquiry frame.
The basic ideas of the present embodiment make bus control equipment inquire each node by the mode of poll, knows whether there is fault by the response of node.A this step i.e. ring of this polling procedure, in this step, bus control equipment node in bus sends inquiry frame and realizes inquiry, and this node can be called destination node.
S102, judge the acknowledgement frame whether receiving described node in the first Preset Time.
Normal node can return acknowledgement frame to bus control equipment, to represent that this node is working properly after receiving inquiry frame.If reception fault has appearred in this node, so would not receive this inquiry frame, also would not send acknowledgement frame; If transmission fault has appearred in this node, even if this inquiry frame can be received, but still acknowledgement frame cannot be sent.Therefore, by the acknowledgement frame judging whether to receive destination node, bus control equipment comes to judge whether destination node is in normal operating conditions.
Bus control equipment is after sending inquiry frame, and can arrange a time limit for receiving acknowledgement frame, namely arranging a first Preset Time △ T, this time is each maximum wait time prepared when receiving acknowledgement frame.If exceed this time to receive acknowledgement frame not yet, then decision node can there is fault.It is easily understood that this first Preset Time can be arranged according to various concrete scene, the present embodiment does not need to limit.
If S103 does not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus.
Destination node does not return acknowledgement frame in the first Preset Time △ T, namely represents this node and has occurred fault, and near its impact, node even affects whole bus system, and it should delete from bus by bus control equipment.
S104, when described first Preset Time is to after date or after receiving described acknowledgement frame, send described inquiry frame to the next node in described bus.
Bus control equipment inquires that each node is a cyclic process, or perhaps one repeatedly travel through, the process of poll.For the situation not receiving the acknowledgement frame that destination node returns always, so inquiry next node can be turned at the first Preset Time to after date; For the situation that have received this acknowledgement frame; can wait for that the very first time expires and namely turn to inquiry next node; even if also can be set to receive acknowledgement frame also will wait for that the first Preset Time turns to next node of inquiry again to after date; do not limit this present embodiment, these modes that can use herein all do not deviate from spirit of the present invention and protection range.
In the present embodiment or the present invention's some other embodiments, described method can also comprise: described determine described one malfunctions after,
Send alarm information to processing center, wherein said alarm information comprises the mark of described node.
After processing center has learnt that node there occurs fault, the mark according to node can position this node, thus is convenient to process in time.
In the present embodiment or the present invention's some other embodiments, described method can also comprise:
Described determine described one malfunctions after,
If receive the fault release message that described node sends, then described node is rejoined in described bus.
Malfunctioning node is after its trouble shooting, bus control equipment can be informed by the mode sending fault release message, this node just can rejoin in bus as normal node after learning this situation by bus control equipment, to recover the function of this node in bus.
In an embodiment, bus control equipment can send inquiry frame to the node in bus, and judge the acknowledgement frame whether receiving described node in the first Preset Time, if do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus.This scheme in the present embodiment does not need to change original mode connected in series, answer one to answer by one can accurately locate and delete malfunctioning node, avoid malfunctioning node to cause harmful effect to bus, enable bus system recover normal communication rapidly, improve the robustness of bus system.
Embodiment two
Fig. 2 is the exemplary process diagram of 485 bus failures that provide of the embodiment of the present invention two from processing method.The present embodiment is corresponding with a upper embodiment, and the method may be used for the node in bus.Shown in Figure 2, the method can comprise the following steps:
S201, judge whether to receive in the second Preset Time the inquiry frame that bus control equipment sends.
Second preset time T specifically can be arranged according to different scene, and the present embodiment does not limit.In the present embodiment or the present invention's some other embodiments, the second preset time T can be set to the polling cycle of bus control equipment, or perhaps the duration to complete one time of all node polls, namely
Described second Preset Time can be determined by following formula:
T=n·△T
Wherein T is described second Preset Time, and n is the nodes in described bus, and △ T is each maximum wait time prepared when receiving acknowledgement frame of presetting on described bus control equipment.Namely △ T goes up the first Preset Time in an embodiment.
T and △ T can be shown in Figure 3.Fig. 3 is the schematic diagram to each node polls process.In figure 3, have 3 nodes 1,2,3, i.e. n=3, " 1 inquiry " " 1 response " represent respectively node 1 is inquired, node 1 replys.
If S202 does not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node.
There are two kinds of fundamental causes that node can be caused in the second Preset Time not receive inquiry frame.The first is that reception fault has appearred in this node, therefore cannot receive the inquiry frame that bus control equipment sends.The second is that transmission fault has appearred in this node, cannot send acknowledgement frame, therefore bus control equipment is regarded as malfunctioning node, no longer sends inquiry frame, so this node also just cannot receive any inquiry frame again.Be no matter the superposition of which kind of reason or reason, this node can judge self to there occurs fault according to the phenomenon not receiving inquiry frame in the second Preset Time, and in order to avoid impacting bus, this node initiatively should exit bus system.
In addition, for this technical characteristic of power supply cutting off this node communication module, specifically node 485 modular power source control circuit can be set on node and automatically be cut off by node under some scenes and realize.
If S203 receives described inquiry frame in described second Preset Time, then send acknowledgement frame to described bus control equipment, and again timing is carried out to described second Preset Time.
After node sends acknowledgement frame, start the wait to inquiry frame of a new round.
In the present embodiment or the present invention's some other embodiments, described method can also comprise:
After the power supply of described this node of cut-out communication module,
If this node failure is repaired, then open the power supply of described communication module, send fault release message to described bus control equipment.To make bus control equipment, this node is rejoined in bus system.
Under some scenes, this fault release message can be exactly acknowledgement frame, and namely malfunctioning node initiatively sends acknowledgement frame, to show that this node has recovered normal to bus control equipment.
In the present embodiment, by the inquiry frame judging whether to receive bus control equipment and send, node judges whether self breaks down, initiatively bus is exited when finding faults itself, ensure that in bus, other nodes are unaffected, thus realize whole piece bus energy self-recoverage when there being one malfunctions.
In addition, in the present embodiment, by arranging node 485 modular power source control circuit, making malfunctioning node by the power supply of this circuitry cuts node communication module, thus can both ensure that malfunctioning node can move back line automatically, additionally reducing cable load.
Embodiment three
Fig. 4 is the exemplary process diagram of 485 bus failures that provide of the embodiment of the present invention three from processing method.The present embodiment, based on above-described embodiment, is in conjunction with the further refinement of concrete scene to above-described embodiment.Be introduced for mining Card Reader cable system in the present embodiment, bus control equipment is specially this bus system communication main equipment, is called for short main equipment.
S401, main equipment send inquiry frame to destination node.
S402, wait △ T duration.
S403, judge whether receive acknowledgement frame in the stand-by period; If have received acknowledgement frame, then represent this node normal, enter step S404; If do not receive acknowledgement frame, then enter step S405.
S404, choose next node as new destination node, and return step S401.
When specifically choosing, if a upper node being last node, can returning when so choosing next node and again having chosen first node as new destination node, thus form circulation.
S405, think this one malfunctions, this node is deleted from bus system, no longer sends inquiry frame to it.
S406, to send a warning message to processing center, and skip to S404.
Above operating procedure stands in main equipment angle, if stand in node angle, then can be shown in Figure 5, and can comprise:
S501, waiting n △ T duration.
S502, judge the inquiry frame whether receiving main equipment within the stand-by period, if so, then enter step S503; If not, then step S504 is entered.
S503, send acknowledgement frame to main equipment, and rebound S501 is to enter next cycle.
S504, think and self break down, cut off the power supply of communication module to exit bus.
S505, wait are repaired.
S506, judge repair whether complete, if repair, then skip to S503, namely to main equipment send acknowledgement frame, initiatively to inform that its this node is repaired in this way; If repair not yet, then return S505.
Embodiment four
Fig. 6 is the schematic diagrames of 485 bus failures that provide of the embodiment of the present invention four from processing unit 600.The present embodiment is corresponding with said method embodiment, may be used for bus control equipment.This device 600 can comprise:
Inquiry frame transmitting element 601, for sending inquiry frame to the node in bus;
Acknowledgement frame receiving element 602, for receiving the acknowledgement frame that described node returns;
Node failure judging unit 603, for judging whether to receive in the first Preset Time the acknowledgement frame of described node after have sent inquiry frame to described node; If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus;
Polling system unit 604, for when described first Preset Time is to after date or after receiving described acknowledgement frame, drives described inquiry frame transmitting element to send described inquiry frame to the next node in described bus.
In the present embodiment or the present invention's some other embodiments, described device 600 can also comprise:
Alarm Unit, for sending alarm information to processing center after determining described one malfunctions, wherein said alarm information comprises the mark of described node.
In the present embodiment or the present invention's some other embodiments, described device 600 can also comprise:
Node recovery unit, for when after the fault release message receiving the described node transmission of breaking down, rejoins described node in described bus.
About the device in above-described embodiment, wherein the concrete mode of unit executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Embodiment five
Fig. 7 is the schematic diagrames of 485 bus failures that provide of the embodiment of the present invention five from processing unit 700.The present embodiment is corresponding with said method embodiment, may be used for the node in bus.This device 700 can comprise:
Inquiry frame receiving element 701, for receiving the inquiry frame that bus control equipment sends;
Acknowledgement frame transmitting element 702, for sending acknowledgement frame to described bus control equipment;
Whether faults itself judging unit 703, receive described inquiry frame for judging in the second Preset Time; If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node; If receive described inquiry frame in described second Preset Time, then described acknowledgement frame transmitting element is driven to send described acknowledgement frame to described bus control equipment;
Periodic Control unit 704, for again carrying out timing to described second Preset Time after sending acknowledgement frame to described bus control equipment.
In the present embodiment or the present invention's some other embodiments, described device 700 can also comprise:
Trouble shooting notification unit, for opening the power supply of described communication module after this node failure is repaired, sends fault release message to described bus control equipment.
About the device in above-described embodiment, wherein the concrete mode of unit executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Embodiment six
Fig. 8 is the schematic diagram of a kind of 485 bus systems that the embodiment of the present invention six provides.This bus system comprises:
Bus control equipment 801, for sending inquiry frame to a node; Judge the acknowledgement frame whether receiving described node in the first Preset Time; If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus; When described first Preset Time is to after date or after receiving described acknowledgement frame, send described inquiry frame to the next node in described bus;
Node 802, for judging whether to receive in the second Preset Time the described inquiry frame that described bus control equipment is sent; If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node; If receive described inquiry frame in described second Preset Time, then send acknowledgement frame to described bus control equipment, and again timing is carried out to described second Preset Time.
Those skilled in the art, at consideration specification and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The present invention is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the present invention or conventional techniques means.Specification and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (12)

1. 485 bus failures are from a processing method, it is characterized in that, for bus control equipment, described method comprises:
Inquiry frame is sent to the node in bus;
Judge the acknowledgement frame whether receiving described node in the first Preset Time;
If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus;
When described first Preset Time is to after date or after receiving described acknowledgement frame, send described inquiry frame to the next node in described bus.
2. method according to claim 1, is characterized in that, described method also comprises:
Described determine described one malfunctions after,
Send alarm information to processing center, wherein said alarm information comprises the mark of described node.
3. method according to claim 1, is characterized in that, described method also comprises:
Described determine described one malfunctions after,
If receive the fault release message that described node sends, then described node is rejoined in described bus.
4. 485 bus failures are from a processing method, it is characterized in that, the node in bus, and described method comprises:
Judge whether to receive in the second Preset Time the inquiry frame that bus control equipment is sent;
If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node;
If receive described inquiry frame in described second Preset Time, then send acknowledgement frame to described bus control equipment, and again timing is carried out to described second Preset Time.
5. method according to claim 4, is characterized in that, described method also comprises:
After the power supply of described this node of cut-out communication module,
If this node failure is repaired, then open the power supply of described communication module, send fault release message to described bus control equipment.
6. method according to claim 4, is characterized in that, described second Preset Time is determined by following formula:
T=n·△T
Wherein T is described second Preset Time, and n is the nodes in described bus, and △ T is each maximum wait time prepared when receiving acknowledgement frame of presetting on described bus control equipment.
7. 485 bus failures are from a processing unit, it is characterized in that, for bus control equipment, described device comprises:
Inquiry frame transmitting element, for sending inquiry frame to the node in bus;
Acknowledgement frame receiving element, for receiving the acknowledgement frame that described node returns;
Node failure judging unit, for judging whether to receive in the first Preset Time the acknowledgement frame of described node after have sent inquiry frame to described node; If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus;
Polling system unit, for when described first Preset Time is to after date or after receiving described acknowledgement frame, drives described inquiry frame transmitting element to send described inquiry frame to the next node in described bus.
8. device according to claim 7, is characterized in that, described device also comprises:
Alarm Unit, for sending alarm information to processing center after determining described one malfunctions, wherein said alarm information comprises the mark of described node.
9. device according to claim 7, is characterized in that, described device also comprises:
Node recovery unit, for when after the fault release message receiving the described node transmission of breaking down, rejoins described node in described bus.
10. 485 bus failures are from a processing unit, it is characterized in that, the node in bus, and described device comprises:
Inquiry frame receiving element, for receiving the inquiry frame that bus control equipment sends;
Acknowledgement frame transmitting element, for sending acknowledgement frame to described bus control equipment;
Whether faults itself judging unit, receive described inquiry frame for judging in the second Preset Time; If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node; If receive described inquiry frame in described second Preset Time, then described acknowledgement frame transmitting element is driven to send described acknowledgement frame to described bus control equipment;
Periodic Control unit, for again carrying out timing to described second Preset Time after sending acknowledgement frame to described bus control equipment.
11. devices according to claim 10, is characterized in that, described device also comprises:
Trouble shooting notification unit, for opening the power supply of described communication module after this node failure is repaired, sends fault release message to described bus control equipment.
12. a kind of 485 bus system, is characterized in that, described bus system comprises:
Bus control equipment, for sending inquiry frame to a node; Judge the acknowledgement frame whether receiving described node in the first Preset Time; If do not receive the acknowledgement frame of described node in described first Preset Time, then determine described one malfunctions, and described node is deleted from described bus; When described first Preset Time is to after date or after receiving described acknowledgement frame, send described inquiry frame to the next node in described bus;
Node, for judging whether to receive in the second Preset Time the described inquiry frame that described bus control equipment is sent; If do not receive described inquiry frame in described second Preset Time, then determine this one malfunctions, cut off the power supply of this node communication module, exit described bus to make this node; If receive described inquiry frame in described second Preset Time, then send acknowledgement frame to described bus control equipment, and again timing is carried out to described second Preset Time.
CN201410126015.2A 2014-03-31 2014-03-31 485 bus fault self-processing method and device Pending CN104954216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410126015.2A CN104954216A (en) 2014-03-31 2014-03-31 485 bus fault self-processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410126015.2A CN104954216A (en) 2014-03-31 2014-03-31 485 bus fault self-processing method and device

Publications (1)

Publication Number Publication Date
CN104954216A true CN104954216A (en) 2015-09-30

Family

ID=54168589

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410126015.2A Pending CN104954216A (en) 2014-03-31 2014-03-31 485 bus fault self-processing method and device

Country Status (1)

Country Link
CN (1) CN104954216A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302066A (en) * 2016-08-26 2017-01-04 珠海格力电器股份有限公司 Without master-slave communication method and device
CN109104303A (en) * 2018-07-20 2018-12-28 中国电子科技集团公司第三十八研究所 A kind of automatic configuration system and method for CAN bus ID
CN111127870A (en) * 2019-12-30 2020-05-08 深圳小佳科技有限公司 Remote control method, remote controller, remote control system and storage medium
CN111224838A (en) * 2019-12-10 2020-06-02 中国航空工业集团公司西安航空计算技术研究所 Method for confirming node state in time-triggered bus and node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499946A (en) * 2009-03-05 2009-08-05 北京云涌科技发展有限责任公司 Method for CAN bus dynamic networking
US20110245938A1 (en) * 2010-04-01 2011-10-06 ESI Ventures, LLC Modular centralized lighting control system for buildings
CN102684923A (en) * 2012-05-24 2012-09-19 江苏华德电力科技有限公司 Self-healing networking method for half-duplex asynchronous communication
CN103023715A (en) * 2012-11-23 2013-04-03 北京广利核系统工程有限公司 Fault monitoring method based on RS485 bus communication link

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499946A (en) * 2009-03-05 2009-08-05 北京云涌科技发展有限责任公司 Method for CAN bus dynamic networking
US20110245938A1 (en) * 2010-04-01 2011-10-06 ESI Ventures, LLC Modular centralized lighting control system for buildings
CN102684923A (en) * 2012-05-24 2012-09-19 江苏华德电力科技有限公司 Self-healing networking method for half-duplex asynchronous communication
CN103023715A (en) * 2012-11-23 2013-04-03 北京广利核系统工程有限公司 Fault monitoring method based on RS485 bus communication link

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
曹志凯,江青茵,郑振耀,吴顺祥: "基于RS-485总线的网络控制通讯软件设计及应用", 《计算机工程与应用》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302066A (en) * 2016-08-26 2017-01-04 珠海格力电器股份有限公司 Without master-slave communication method and device
CN109104303A (en) * 2018-07-20 2018-12-28 中国电子科技集团公司第三十八研究所 A kind of automatic configuration system and method for CAN bus ID
CN111224838A (en) * 2019-12-10 2020-06-02 中国航空工业集团公司西安航空计算技术研究所 Method for confirming node state in time-triggered bus and node
CN111127870A (en) * 2019-12-30 2020-05-08 深圳小佳科技有限公司 Remote control method, remote controller, remote control system and storage medium
CN111127870B (en) * 2019-12-30 2021-09-21 深圳小佳科技有限公司 Remote control method, remote controller, remote control system and storage medium

Similar Documents

Publication Publication Date Title
CN104954216A (en) 485 bus fault self-processing method and device
CN102801614B (en) A kind of convergence method of equal-cost route and the network equipment
CN102123024A (en) Method, system and device for switching and selecting clock source equipment
CN102594600A (en) Method and system for determining failure position of bidirectional forwarding detection session
CN106254199B (en) Unidirectional ring network fault point positioning method, concentrator, terminal equipment and system
CN102025562A (en) Path detection method and device
CN101483571B (en) RRPP configuring method, system and device
CN101557347B (en) Creation method, device and system for label forward path during fast reroute switch
CN103856578A (en) Automatic slave station address acquisition method through Modbus RTU and slave station
CN104283711A (en) Fault detection method based on BFD, nodes and system
CN104781792A (en) Redundancy device unit and method for determining fault in industrial control system, industrial control system and industrial system comprising redundancy device unit
CN102035695A (en) Bidirectional forwarding detection method and device
JP5073440B2 (en) Telemeter system and radio communication system
CN108289050B (en) Ring network control system and control method for transmitter
JP2015139110A (en) Relay system and switch device
CN102368720A (en) Link state detection method, apparatus and system
CN105247901A (en) Device and method for managing multicast group in wireless network
CN102932172A (en) Method, equipment and system for detecting Ethernet ring failure node
CN104486787A (en) Method and device for detecting wireless link fault
CN104052659A (en) Gateway used for vehicle network signal forwarding and method for vehicle network signal forwarding
CN109618006B (en) RTU remote monitoring method
CN102571460A (en) Single-fiber failure switching method and device
CN104579757A (en) Method and device for detecting fault
CN110603710B (en) Communication device, communication method, and communication system
CN105429796A (en) Remote wireless forwarding method based on intelligent controller

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

Application publication date: 20150930

RJ01 Rejection of invention patent application after publication