CN105721172A - Method for processing communication failures in master-slave system and master-slave system - Google Patents

Method for processing communication failures in master-slave system and master-slave system Download PDF

Info

Publication number
CN105721172A
CN105721172A CN201610104576.1A CN201610104576A CN105721172A CN 105721172 A CN105721172 A CN 105721172A CN 201610104576 A CN201610104576 A CN 201610104576A CN 105721172 A CN105721172 A CN 105721172A
Authority
CN
China
Prior art keywords
equipment
master
arbitrary
slave system
main 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.)
Granted
Application number
CN201610104576.1A
Other languages
Chinese (zh)
Other versions
CN105721172B (en
Inventor
廖南海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Guangdong Midea HVAC Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea HVAC Equipment 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 Midea Group Co Ltd, Guangdong Midea HVAC Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201610104576.1A priority Critical patent/CN105721172B/en
Publication of CN105721172A publication Critical patent/CN105721172A/en
Application granted granted Critical
Publication of CN105721172B publication Critical patent/CN105721172B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Abstract

The invention provides a method for processing communication failures in a master-slave system and the master-slave system. The master-slave system comprises master device and slave device. The method comprises the following steps: detecting, by the master device, whether each slave device is online, so as to obtain state information of each slave device; sending the state information to each slave device by the master device; and determining, by each slave device, whether each slave equipment is started to be operated according to the received state information. According to the technical scheme, the slave device in the master-slave system can take the detection result of the master device as basis to determine whether the slave device is started to be operated, so that when the sending of the slave device is invalid, the slave device cannot be automatically started to be operated and then the normal work of the master-slave system can be ensured.

Description

The processing method of communication failure and master-slave system in master-slave system
Technical field
The present invention relates to master-slave system technical field, in particular to the processing method of communication failure in a kind of master-slave system and a kind of master-slave system.
Background technology
When adopting 485 buses to carry out communication in multi-gang air-conditioner device system, outer machine and interior machine are master-slave communication, and wherein, outer machine is main frame, and active inwardly machine sends data, and interior machine is from machine, and the passive data receiving the transmission of outer machine also carry out response.Confidential outward know that interior machine is whether online, and according to interior machine running status capability requirement (namely carrying out carry calculation), it is therefore desirable to realize reliable communication between outer machine and interior machine.
In 485 communicating circuits, main control chip is drawn two pins: data receiver pin RX and data send pin TX, be then passed through 485 communication chips and be converted to 485 level, RX foot and TX foot and all there is the possibility (such as rosin joint) of inefficacy.Assume that TX foot lost efficacy, then equipment will be shown as and can receive data, but can not send out data.It addition, the transmission of equipment may be subject to certain interference, cause that recipient cannot receive the data of transmission.
If occurring that in multi-gang air-conditioner device system in certain, machine sends the problem lost efficacy, arise that this interior machine is able to detect that the existence of outer machine, and outer machine testing is less than the problem of this interior machine, and then system work not normal (the such as ability need of outer machine calculating less cause can not normal boot-strap) can be caused.
Therefore, how in master-slave system, inefficacy can be sent even if a certain from machine, it is also possible to ensure that master-slave system normal operation becomes technical problem urgently to be resolved hurrily.
Summary of the invention
It is contemplated that at least solve one of technical problem of existence in prior art or correlation technique.
For this, it is an object of the present invention to propose the processing scheme of communication failure in a kind of new master-slave system, make in master-slave system, can using the testing result of main equipment as according to determining whether that start runs from equipment, and then when losing efficacy from the transmission of equipment, can automatically should not start shooting operation from equipment, to guarantee that master-slave system can normal operation.
Further object is that and propose a kind of master-slave system.
For achieving the above object, embodiment according to the first aspect of the invention, propose the processing method of communication failure in a kind of master-slave system, described master-slave system includes a main equipment and at least one from equipment, the treating method comprises: the detection of described main equipment described at least one from equipment every whether online from equipment, obtain described every from the status information of equipment;Described main equipment sends described status information to described every from equipment;Described every from equipment according to the described status information received, it is determined whether start run.
The processing method of communication failure in master-slave system according to an embodiment of the invention, by making main equipment detect every status information from equipment, and send, to every, the status information detected from equipment, determined whether that start run from equipment according to the status information that main equipment detects by every, make master-slave system in the course of the work, can using the testing result of main equipment as according to determining whether that start runs from equipment, and then when losing efficacy (causing that main equipment cannot normally receive as transmission pin loses efficacy or is interfered) from the transmission of equipment, namely main equipment detect a certain from equipment be in off-line state time, should can automatic shutdown (operation of namely not starting shooting) from equipment, so that it is guaranteed that master-slave system can normal operation, avoid from equipment on-line, but due to communication failure (namely sending inefficacy) cause that main equipment detects this inaccurate initiation of ability need being in off-line state from equipment and causing main equipment to calculate cannot the problem of normal operation.
The processing method of communication failure in master-slave system according to the abovementioned embodiments of the present invention, it is also possible to there is techniques below feature:
According to one embodiment of present invention, the detection of described main equipment described at least one from equipment every from the whether online step of equipment, specifically include: described main equipment is to arbitrary from after equipment sending data, it may be judged whether receive described arbitrary reply data sent from equipment;If not receiving described arbitrary number of times from the reply data of equipment transmission to reach pre-determined number, it is determined that described arbitrary from equipment process off-line state.
In such an embodiment, it is preferable main equipment can pass through to judge whether that continuous several times (such as 3 times) does not receive a certain reply data sent from equipment, indirectly judge this is from whether equipment is in off-line state.
According to one embodiment of present invention, described main equipment to described every from equipment send described status information step, specifically include: described main equipment generates notification message, described notification message comprises at least one flag, and the value of each described flag is used for described in correspondence expression one from the status information of equipment;Described main equipment sends described notification message to described every from equipment.
In this embodiment, identical from the number of equipment with master-slave system of the number of the flag comprised in notification message, flag corresponding to one from equipment.When the value of flag is the first value (such as 1), represent corresponding to equipment on-line;When the value of flag is the second value (such as 0), represent the not online from equipment of correspondence.
According to one embodiment of present invention, described every from equipment according to the described status information received, it is determined whether start run step, specifically include:
If according to described status information, arbitrary is determined that described main equipment detects that described arbitrary is in line states from equipment from equipment, it is determined that start runs;And
If according to described status information, arbitrary is determined that described main equipment detects that described arbitrary is in off-line state from equipment from equipment, it is determined that operation of not starting shooting.
The processing method of communication failure in master-slave system according to an embodiment of the invention, from equipment by when determining that main equipment detects that it is in off-line state, do not start shooting operation, may insure that master-slave system can normal operation, avoid from equipment on-line, but due to send lost efficacy cause that main equipment detects this inaccurate initiation of ability need being in off-line state from equipment and causing main equipment to calculate cannot the problem of normal operation.
According to one embodiment of present invention, also include: if arbitrary is determined, from equipment, operation of not starting shooting, then, when receiving the data that described main equipment sends, continue to send reply data to described main equipment.
The processing method of communication failure in master-slave system according to an embodiment of the invention, from equipment by determine do not start shooting operation time, if receiving the data that main equipment sends, then continue to send reply data to main equipment, make when recovering normal (namely main equipment is able to receive that from the reply data that equipment sends) from the communication between equipment and main equipment, it is ensured that main equipment can detect in time.
Embodiment according to a second aspect of the present invention, it is also proposed that a kind of master-slave system, described master-slave system includes a main equipment and at least one from equipment, wherein,
Described main equipment includes: detection unit, for detect described at least one from equipment every whether online from equipment, obtain described every from the status information of equipment;Transmitting element, for sending described status information to described every from equipment;
Described every includes from equipment: first determines unit, for according to the described status information received, it is determined whether start runs.
Master-slave system according to an embodiment of the invention, by making main equipment detect every status information from equipment, and send, to every, the status information detected from equipment, determined whether that start run from equipment according to the status information that main equipment detects by every, make master-slave system in the course of the work, can using the testing result of main equipment as according to determining whether that start runs from equipment, and then when losing efficacy (causing that main equipment cannot normally receive as transmission pin loses efficacy or is interfered) from the transmission of equipment, namely main equipment detect a certain from equipment be in off-line state time, should can automatic shutdown (operation of namely not starting shooting) from equipment, so that it is guaranteed that master-slave system can normal operation, avoid from equipment on-line, but due to communication failure (namely sending inefficacy) cause that main equipment detects this inaccurate initiation of ability need being in off-line state from equipment and causing main equipment to calculate cannot the problem of normal operation.
Master-slave system according to the abovementioned embodiments of the present invention, it is also possible to there is techniques below feature:
According to one embodiment of present invention, described detection unit includes: judging unit, at described main equipment to arbitrary from after equipment sending data, it may be judged whether receive described arbitrary reply data sent from equipment;Second determines unit, for described judging unit judge described main equipment do not receive described arbitrary number of times of reply data sent from equipment reach pre-determined number time, it is determined that described arbitrary process off-line state from equipment.
In such an embodiment, it is preferable main equipment can pass through to judge whether that continuous several times (such as 3 times) does not receive a certain reply data sent from equipment, indirectly judge this is from whether equipment is in off-line state.
According to one embodiment of present invention, described transmitting element includes: generating unit, be used for generating notification message, described notification message comprises at least one flag, and the value of each described flag is used for described in correspondence expression one from the status information of equipment;Performance element, for sending described notification message to described every from equipment.
In this embodiment, identical from the number of equipment with master-slave system of the number of the flag comprised in notification message, flag corresponding to one from equipment.When the value of flag is the first value (such as 1), represent corresponding to equipment on-line;When the value of flag is the second value (such as 0), represent the not online from equipment of correspondence.
According to one embodiment of present invention, described first determine unit specifically for:
If determining that described main equipment detects that arbitrary is in line states from equipment according to described status information, it is determined that described arbitrary is run from device power-up;And
If determining that described main equipment detects that arbitrary is in off-line state from equipment according to described status information, it is determined that described arbitrary operation of not starting shooting from equipment.
Master-slave system according to an embodiment of the invention, from equipment by when determining that main equipment detects that it is in off-line state, do not start shooting operation, may insure that master-slave system can normal operation, avoid from equipment on-line, but due to send lost efficacy cause that main equipment detects this inaccurate initiation of ability need being in off-line state from equipment and causing main equipment to calculate cannot the problem of normal operation.
According to one embodiment of present invention, described every also includes: processing unit from equipment, for described first determine unit determine arbitrary do not start shooting from equipment operation time, if receiving the data that described main equipment sends, then continue to send reply data to described main equipment.
Master-slave system according to an embodiment of the invention, from equipment by determine do not start shooting operation time, if receiving the data that main equipment sends, then continue to send reply data to main equipment, make when recovering normal (namely main equipment is able to receive that from the reply data that equipment sends) from the communication between equipment and main equipment, it is ensured that main equipment can detect in time.
According to one embodiment of present invention, described master-slave system is multi-gang air-conditioner device system, and described main equipment is the outer machine of described multi-gang air-conditioner device system, described from the interior machine that equipment is described multi-gang air-conditioner device system.
The additional aspect of the present invention and advantage will part provide in the following description, and part will become apparent from the description below, or is recognized by the practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage are from conjunction with will be apparent from easy to understand the accompanying drawings below description to embodiment, wherein:
Fig. 1 illustrates the schematic flow diagram of the processing method of communication failure in master-slave system according to an embodiment of the invention;
Fig. 2 illustrates the schematic block diagram of master-slave system according to an embodiment of the invention;
Fig. 3 illustrates the structural representation of master-slave system according to an embodiment of the invention.
Detailed description of the invention
In order to be more clearly understood that the above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that when not conflicting, embodiments herein and the feature in embodiment can be mutually combined.
Elaborate a lot of detail in the following description so that fully understanding the present invention; but; the present invention can also adopt other to be different from other modes described here to implement, and therefore, protection scope of the present invention is by the restriction of following public specific embodiment.
Fig. 1 illustrates the schematic flow diagram of the processing method of communication failure in master-slave system according to an embodiment of the invention.
The master-slave system that the present invention proposes includes a main equipment and at least one from equipment.As it is shown in figure 1, the processing method of communication failure in master-slave system according to an embodiment of the invention, including:
Step 102, the detection of described main equipment described at least one from equipment every whether online from equipment, obtain described every from the status information of equipment;
Step 104, described main equipment sends described status information to described every from equipment;
Step 106, described every from equipment according to the described status information received, it is determined whether start run.
By making main equipment detect every status information from equipment, and send, to every, the status information detected from equipment, determined whether that start run from equipment according to the status information that main equipment detects by every, make master-slave system in the course of the work, can using the testing result of main equipment as according to determining whether that start runs from equipment, and then when losing efficacy (causing that main equipment cannot normally receive as transmission pin loses efficacy or is interfered) from the transmission of equipment, namely main equipment detect a certain from equipment be in off-line state time, should can automatic shutdown (operation of namely not starting shooting) from equipment, so that it is guaranteed that master-slave system can normal operation, avoid from equipment on-line, but due to communication failure (namely sending inefficacy) cause that main equipment detects this inaccurate initiation of ability need being in off-line state from equipment and causing main equipment to calculate cannot the problem of normal operation.
The processing method of communication failure in master-slave system according to the abovementioned embodiments of the present invention, it is also possible to there is techniques below feature:
According to one embodiment of present invention, the detection of described main equipment described at least one from equipment every from the whether online step of equipment, specifically include: described main equipment is to arbitrary from after equipment sending data, it may be judged whether receive described arbitrary reply data sent from equipment;If not receiving described arbitrary number of times from the reply data of equipment transmission to reach pre-determined number, it is determined that described arbitrary from equipment process off-line state.
In such an embodiment, it is preferable main equipment can pass through to judge whether that continuous several times (such as 3 times) does not receive a certain reply data sent from equipment, indirectly judge this is from whether equipment is in off-line state.
According to one embodiment of present invention, described main equipment to described every from equipment send described status information step, specifically include: described main equipment generates notification message, described notification message comprises at least one flag, and the value of each described flag is used for described in correspondence expression one from the status information of equipment;Described main equipment sends described notification message to described every from equipment.
In this embodiment, identical from the number of equipment with master-slave system of the number of the flag comprised in notification message, flag corresponding to one from equipment.When the value of flag is the first value (such as 1), represent corresponding to equipment on-line;When the value of flag is the second value (such as 0), represent the not online from equipment of correspondence.
According to one embodiment of present invention, described every from equipment according to the described status information received, it is determined whether start run step, specifically include:
If according to described status information, arbitrary is determined that described main equipment detects that described arbitrary is in line states from equipment from equipment, it is determined that start runs;And
If according to described status information, arbitrary is determined that described main equipment detects that described arbitrary is in off-line state from equipment from equipment, it is determined that operation of not starting shooting.
Specifically, from equipment by when determining that main equipment detects that it is in off-line state, do not start shooting operation, may insure that master-slave system can normal operation, avoid from equipment on-line, but due to send lost efficacy cause that main equipment detects this inaccurate initiation of ability need being in off-line state from equipment and causing main equipment to calculate cannot the problem of normal operation.
According to one embodiment of present invention, also include: if arbitrary is determined, from equipment, operation of not starting shooting, then, when receiving the data that described main equipment sends, continue to send reply data to described main equipment.
From equipment by determine do not start shooting operation time, if receiving the data that main equipment sends, then continue to send reply data to main equipment, make when recovering normal (namely main equipment is able to receive that from the reply data that equipment sends) from the communication between equipment and main equipment, it is ensured that main equipment can detect in time.
Fig. 2 illustrates the schematic block diagram of master-slave system according to an embodiment of the invention.
As in figure 2 it is shown, master-slave system 20 according to an embodiment of the invention, including a: main equipment 21 and at least one from equipment 22, wherein,
Described main equipment 21 includes: detection unit 211, for detect described at least one from equipment 22 every whether online from equipment 22, obtain described every status information from equipment 22;Transmitting element 212, for sending described status information to described every from equipment 22;
Described every includes from equipment 22: first determines unit 221, for according to the described status information received, it is determined whether start runs.
By making main equipment 21 detect every status information from equipment 22, and send, to every, the status information detected from equipment 22, determined whether that start run from equipment 22 according to the status information that main equipment 21 detects by every, make master-slave system 20 in the course of the work, can using the testing result of main equipment 21 as according to determining whether that start runs from equipment 22, and then when losing efficacy (causing that main equipment 21 cannot normally receive as transmission pin loses efficacy or is interfered) from the transmission of equipment 22, namely main equipment 21 detect a certain from equipment 22 be in off-line state time, should can automatic shutdown (operation of namely not starting shooting) from equipment 22, so that it is guaranteed that master-slave system 20 can normal operation, avoid from equipment 22 online, but due to communication failure (namely sending inefficacy) cause main equipment 21 to detect this is in off-line state from equipment 22 and causes the inaccurate initiation of ability need that main equipment 21 calculates cannot the problem of normal operation.
Master-slave system 20 according to the abovementioned embodiments of the present invention, it is also possible to there is techniques below feature:
According to one embodiment of present invention, described detection unit 211 includes: judging unit 2111, for described main equipment 21 to arbitrary send data from equipment 22 after, it may be judged whether receive described arbitrary from equipment 22 send reply data;Second determines unit 2112, for described judging unit 2111 judge described main equipment 21 do not receive described arbitrary number of times of reply data sent from equipment 22 reach pre-determined number time, it is determined that described arbitrary process off-line state from equipment 22.
In such an embodiment, it is preferable main equipment 21 can pass through to judge whether that continuous several times (such as 3 times) does not receive a certain reply data sent from equipment 22, indirectly judge this is from whether equipment 22 is in off-line state.
According to one embodiment of present invention, described transmitting element 212 includes: generate unit 2121, for generating notification message, described notification message comprises at least one flag, and the value of each described flag is used for described in correspondence expression one from the status information of equipment 22;Performance element 2122, for sending described notification message to described every from equipment 22.
In this embodiment, the number of the flag comprised in notification message is identical with the number from equipment 22 in master-slave system 20, flag corresponding to one from equipment 22.When the value of flag is the first value (such as 1), represent the online from equipment 22 of correspondence;When the value of flag is the second value (such as 0), represent the not online from equipment 22 of correspondence.
According to one embodiment of present invention, described first determine unit 221 specifically for:
If determining that described main equipment 21 detects that arbitrary is in line states from equipment 22 according to described status information, it is determined that described arbitrary is run from equipment 22 start;And
If determining that described main equipment 21 detects that arbitrary is in off-line state from equipment 22 according to described status information, it is determined that do not start shooting operation from equipment 22 for described arbitrary.
From equipment 22 by when determining that main equipment 21 detects that it is in off-line state, do not start shooting operation, may insure that master-slave system 20 can normal operation, avoid from equipment 22 online, but due to send lost efficacy cause main equipment 21 detect this from equipment 22 be in off-line state and cause the inaccurate initiation of ability need that main equipment 21 calculates cannot the problem of normal operation.
According to one embodiment of present invention, described every also includes: processing unit 222 from equipment 22, for described first determine unit 221 determine arbitrary from equipment 22 do not start shooting operation time, if receiving the data that described main equipment 21 sends, then continue to send reply data to described main equipment 21.
From equipment 22 by determine do not start shooting operation time, if receiving the data that main equipment 21 sends, then continue to send reply data to main equipment 21, make when recovering normal (namely main equipment 21 is able to receive that from the reply data that equipment 22 sends) from the communication between equipment 22 and main equipment 21, it is ensured that main equipment 21 can detect in time.
According to one embodiment of present invention, described master-slave system 20 is multi-gang air-conditioner device system, and described main equipment 21 is the outer machine of described multi-gang air-conditioner device system, described from the interior machine that equipment 22 is described multi-gang air-conditioner device system.
Fig. 3 illustrates the structural representation of master-slave system according to an embodiment of the invention.
As shown in Figure 3, it is assumed that master-slave system exists X platform slave devices, then with X bit (b1, b2 ..., bX) identify from machine 1 respectively, from machine 2 ..., from machine X.Such as bn=0 represents not online from machine n, and bn=1 represents online from machine n.Wherein, when main frame continuous several times (such as 3 times) does not receive the reply data from machine transmission, it is considered as this not online from machine.
Such as in a multi-gang air-conditioner device system, having 64 interior machines, wherein machine is online in No. 1-6, then these 64 bits (from low to high) are successively: 1111,1100,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000,0000.Wherein it is preferred to, above-mentioned X bit can represent by (X+7)/8 eight hyte.
Main frame is being issued from the packet of machine, comprises X above-mentioned bit, when certain packet receiving main frame from machine n, it is possible to know that can main frame receive the data of oneself from this X bit.It is specifically divided into two following situations:
Situation 1: if the bit bn=1 of correspondence, then it represents that main frame can detect this existence from machine, and namely communication is normal, from machine normal response in subsequent communications process.
Situation 2: if the bit bn=0 of correspondence, then it represents that main frame not yet detects this existence from machine, and then can show fault message and operation of not starting shooting from machine.But, the data that should send from machine or normal response main frame, with when this recovers normal from the communication between machine and main frame, main frame can detect in time.
When the master-slave system shown in Fig. 3 is multi-gang air-conditioner device system, namely when the outer machine of multi-gang air-conditioner device system and interior machine communication, interior machine is when the bit sent according to outer machine determines that outer machine can not receive the reply data oneself sent, energy automatic shutdown detachment system, thus outer machine can according to actually detected to (rather than simply report fault from machine quantity normal operation, cannot be started up, cause that system is out of service).
Technical scheme is described in detail above in association with accompanying drawing, the present invention proposes the processing scheme of communication failure in a kind of new master-slave system, make in master-slave system, can using the testing result of main equipment as according to determining whether that start runs from equipment, and then when losing efficacy from the transmission of equipment, can automatically should not start shooting operation from equipment, to guarantee that master-slave system can normal operation.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (11)

1. the processing method of communication failure in a master-slave system, it is characterised in that described master-slave system includes a main equipment and at least one from equipment, the treating method comprises:
The detection of described main equipment described at least one from equipment every whether online from equipment, obtain described every from the status information of equipment;
Described main equipment sends described status information to described every from equipment;
Described every from equipment according to the described status information received, it is determined whether start run.
2. the processing method of communication failure in master-slave system according to claim 1, it is characterised in that the detection of described main equipment described at least one from equipment every from the whether online step of equipment, specifically include:
Described main equipment is to arbitrary from after equipment sending data, it may be judged whether receive described arbitrary reply data sent from equipment;
If not receiving described arbitrary number of times from the reply data of equipment transmission to reach pre-determined number, it is determined that described arbitrary from equipment process off-line state.
3. the processing method of communication failure in master-slave system according to claim 1, it is characterised in that described main equipment, to described every step sending described status information from equipment, specifically includes:
Described main equipment generates notification message, and described notification message comprises at least one flag, and the value of each described flag is used for described in correspondence expression one from the status information of equipment;
Described main equipment sends described notification message to described every from equipment.
4. the processing method of communication failure in master-slave system according to any one of claim 1 to 3, it is characterised in that described every from equipment according to the described status information received, it is determined whether start run step, specifically include:
If according to described status information, arbitrary is determined that described main equipment detects that described arbitrary is in line states from equipment from equipment, it is determined that start runs;And
If according to described status information, arbitrary is determined that described main equipment detects that described arbitrary is in off-line state from equipment from equipment, it is determined that operation of not starting shooting.
5. the processing method of communication failure in master-slave system according to claim 4, it is characterised in that also include:
If arbitrary is determined, from equipment, operation of not starting shooting, then when receiving the data that described main equipment sends, continue to send reply data to described main equipment.
6. a master-slave system, it is characterised in that described master-slave system includes a main equipment and at least one from equipment, wherein,
Described main equipment includes: detection unit, for detect described at least one from equipment every whether online from equipment, obtain described every from the status information of equipment;Transmitting element, for sending described status information to described every from equipment;
Described every includes from equipment: first determines unit, for according to the described status information received, it is determined whether start runs.
7. master-slave system according to claim 6, it is characterised in that described detection unit includes:
Judging unit, at described main equipment to arbitrary from after equipment sending data, it may be judged whether receive described arbitrary reply data sent from equipment;
Second determines unit, for described judging unit judge described main equipment do not receive described arbitrary number of times of reply data sent from equipment reach pre-determined number time, it is determined that described arbitrary process off-line state from equipment.
8. master-slave system according to claim 6, it is characterised in that described transmitting element includes:
Generating unit, be used for generating notification message, described notification message comprises at least one flag, and the value of each described flag is used for described in correspondence expression one from the status information of equipment;
Performance element, for sending described notification message to described every from equipment.
9. the master-slave system according to any one of claim 6 to 8, it is characterised in that described first determine unit specifically for:
If determining that described main equipment detects that arbitrary is in line states from equipment according to described status information, it is determined that described arbitrary is run from device power-up;And
If determining that described main equipment detects that arbitrary is in off-line state from equipment according to described status information, it is determined that described arbitrary operation of not starting shooting from equipment.
10. master-slave system according to claim 9, it is characterised in that described every from equipment, also include:
Processing unit, for described first determine unit determine arbitrary do not start shooting from equipment operation time, if receive described main equipment send data, then continue to described main equipment send reply data.
11. the master-slave system according to any one of claim 6 to 10, it is characterized in that, described master-slave system is multi-gang air-conditioner device system, and described main equipment is the outer machine of described multi-gang air-conditioner device system, described from the interior machine that equipment is described multi-gang air-conditioner device system.
CN201610104576.1A 2016-02-25 2016-02-25 The processing method and master-slave system of communication failure in master-slave system Active CN105721172B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610104576.1A CN105721172B (en) 2016-02-25 2016-02-25 The processing method and master-slave system of communication failure in master-slave system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610104576.1A CN105721172B (en) 2016-02-25 2016-02-25 The processing method and master-slave system of communication failure in master-slave system

Publications (2)

Publication Number Publication Date
CN105721172A true CN105721172A (en) 2016-06-29
CN105721172B CN105721172B (en) 2019-04-30

Family

ID=56157067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610104576.1A Active CN105721172B (en) 2016-02-25 2016-02-25 The processing method and master-slave system of communication failure in master-slave system

Country Status (1)

Country Link
CN (1) CN105721172B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107869822A (en) * 2017-11-08 2018-04-03 绵阳美菱软件技术有限公司 A kind of multi-gang air-conditioner monitoring method, monitoring system and outdoor host computer
CN112082249A (en) * 2020-08-25 2020-12-15 青岛海信移动通信技术股份有限公司 Anti-freezing early warning method and system for air conditioner outdoor unit and server

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753377A (en) * 2005-11-04 2006-03-29 北京和利时系统工程股份有限公司 Method of avoiding access collision of redundant main station against serial bus ink
CN101997691A (en) * 2009-08-08 2011-03-30 苏州彭华信息技术有限公司 Remote starting unit
CN102256287A (en) * 2010-05-19 2011-11-23 中兴通讯股份有限公司 Method and system for determining online status of household base station
CN102289224A (en) * 2011-06-22 2011-12-21 天津工业大学 System for remote monitoring state of needling machine
CN103347252A (en) * 2013-07-16 2013-10-09 上海德思普微电子技术有限公司 Multimedia trunking communication system, communication terminal and switching center
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
US20140032173A1 (en) * 2011-04-27 2014-01-30 Fujitsu Limited Information processing apparatus, and monitoring method
CN104240480A (en) * 2014-10-16 2014-12-24 珠海格力电器股份有限公司 Remote control device, system and method for electrical equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1753377A (en) * 2005-11-04 2006-03-29 北京和利时系统工程股份有限公司 Method of avoiding access collision of redundant main station against serial bus ink
CN101997691A (en) * 2009-08-08 2011-03-30 苏州彭华信息技术有限公司 Remote starting unit
CN102256287A (en) * 2010-05-19 2011-11-23 中兴通讯股份有限公司 Method and system for determining online status of household base station
US20140032173A1 (en) * 2011-04-27 2014-01-30 Fujitsu Limited Information processing apparatus, and monitoring method
CN102289224A (en) * 2011-06-22 2011-12-21 天津工业大学 System for remote monitoring state of needling machine
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
CN103347252A (en) * 2013-07-16 2013-10-09 上海德思普微电子技术有限公司 Multimedia trunking communication system, communication terminal and switching center
CN104240480A (en) * 2014-10-16 2014-12-24 珠海格力电器股份有限公司 Remote control device, system and method for electrical equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107869822A (en) * 2017-11-08 2018-04-03 绵阳美菱软件技术有限公司 A kind of multi-gang air-conditioner monitoring method, monitoring system and outdoor host computer
CN112082249A (en) * 2020-08-25 2020-12-15 青岛海信移动通信技术股份有限公司 Anti-freezing early warning method and system for air conditioner outdoor unit and server
CN112082249B (en) * 2020-08-25 2022-02-18 青岛海信移动通信技术股份有限公司 Anti-freezing early warning method and system for air conditioner outdoor unit and server

Also Published As

Publication number Publication date
CN105721172B (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN101989934B (en) A kind of data ring network fault detect and the method and system of positioning
JP2009161148A (en) Fault location detecting device, communication device, and fault location detecting method
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
CN105933407A (en) Method and system for achieving high availability of Redis cluster
CN111988191B (en) Fault detection method and device for distributed communication network
CN103825766A (en) Device and method for detecting BFD links
WO2016095344A1 (en) Link switching method and device, and line card
CN101808021A (en) Fault detection method, device and system, message statistical method and node equipment
CN105450469A (en) Method for detecting faults of rapid communication bus in industrial equipment
CN101222402B (en) Ethernet ring protection method, system and device
CN105721172A (en) Method for processing communication failures in master-slave system and master-slave system
CN111988170A (en) Terminal fault positioning method and device
CN103457797B (en) The detection method of a kind of RCPU port effectiveness and equipment
CN105490837A (en) Network monitoring processing method and device
CN105703967A (en) Method and apparatus for detecting label switching path connectivity
CN107332697B (en) Fault detection method and device
CN105553735A (en) Stacking system fault handling method, equipment and stacking system
US11606282B2 (en) Method and device for detecting network reliability
CN102711163A (en) Method for rapidly detecting alarm link failure in IP (internal protocol)-RAN (random access network) equipment
JP4507700B2 (en) Fault detection system and method, optical transmission apparatus and optical transmission system used therefor
CN105656656A (en) RS485 communication circuit and fault detection method of nodes applying the circuit
CN104506364A (en) Master-slave switching method, main control card and network equipment
JP2019080203A (en) Communication device, communication system, and loopback execution determination method
CN107104830A (en) A kind of multiserver switching method and system
CN106992889A (en) A kind of multiserver switching method and system

Legal Events

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