CN105721172B - The processing method and master-slave system of communication failure in master-slave system - Google Patents

The processing method and master-slave system of communication failure in master-slave system Download PDF

Info

Publication number
CN105721172B
CN105721172B CN201610104576.1A CN201610104576A CN105721172B CN 105721172 B CN105721172 B CN 105721172B CN 201610104576 A CN201610104576 A CN 201610104576A CN 105721172 B CN105721172 B CN 105721172B
Authority
CN
China
Prior art keywords
equipment
master
main equipment
slave system
main
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.)
Active
Application number
CN201610104576.1A
Other languages
Chinese (zh)
Other versions
CN105721172A (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 present invention provides the processing methods and master-slave system of communication failure in a kind of master-slave system, wherein, the master-slave system includes a main equipment and at least one from equipment, the treating method comprises: whether described at least one of main equipment detection from the device every is online from equipment, obtains the described every status information from equipment;The main equipment sends the status information to described every from equipment;Described every from equipment according to the status information received, it is determined whether booting operation.Technical solution of the present invention makes in master-slave system, it can be run from equipment using the testing result of main equipment as according to determine whether to be switched on, and then when failing from the transmission of equipment, should not can be switched on operation automatically from equipment, to ensure that master-slave system can work normally.

Description

The processing method and master-slave system of communication failure in master-slave system
Technical field
The present invention relates to master-slave system technical fields, in particular to communication failure in a kind of master-slave system Processing method and a kind of master-slave system.
Background technique
When being communicated in multi-gang air-conditioner device system using 485 buses, outer machine and interior machine are master-slave communications, wherein Outer machine is host, and actively inside machine sends data, and interior machine is slave, and the passive data for receiving outer machine transmission simultaneously carry out response.Outside It is confidential to know whether interior machine is online, and according to interior machine operating status capability requirement (i.e. progress carry calculation), it is therefore desirable to Reliable communication is realized between outer machine and interior machine.
In 485 communicating circuits, two pins are drawn on main control chip: data receiver pin RX and data send pin TX, is then converted to 485 level by 485 communication chips, and RX foot and TX foot all have the possibility (such as rosin joint) of failure.Assuming that The failure of TX foot, then will show as equipment can receive data, but can not send out data.In addition, the transmission of equipment may By certain interference, cause recipient that can not receive the data of transmission.
If occurring the problem of machine sends failure in some in multi-gang air-conditioner device system, just will appear the interior machine can It detects the presence of outer machine, and the problem of outer machine testing is less than the interior machine, and then will lead to not normal (such as the outer machine meter of system work The ability need of calculation is smaller to be caused to be unable to normal boot-strap).
Therefore, how in master-slave system, even if a certain slave sends failure, it can also guarantee master-slave system Working normally becomes technical problem urgently to be resolved.
Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, an object of the present invention is to provide a kind of processing sides of communication failure in new master-slave system Case, so that can be run from equipment using the testing result of main equipment as according to determine whether to be switched in master-slave system, And then when failing from the transmission of equipment, should not can be switched on operation automatically from equipment, to ensure that master-slave system can be normal Work.
It is another object of the present invention to propose a kind of master-slave system.
To achieve the above object, according to the embodiment of the first aspect of the invention, it proposes in a kind of master-slave system and leads to Interrogate the processing method of failure, the master-slave system includes a main equipment and at least one from equipment, the processing method packet Include: whether described at least one of main equipment detection from the device every is online from equipment, obtains described every from equipment Status information;The main equipment sends the status information to described every from equipment;Described every from equipment according to reception The status information arrived, it is determined whether booting operation.
The processing method of communication failure in the master-slave system of embodiment according to the present invention, by keeping main equipment detection every Platform sends the status information detected to every from equipment from the status information of equipment, by every from equipment according to main equipment The status information detected runs to determine whether to be switched on, so that master-slave system is during the work time, it can be with master from equipment The testing result of equipment is used as to be run according to determine whether to be switched on, and then is being failed from the transmission of equipment (as sent pin mistake Imitating or being interfered causes main equipment that can not normally receive) when, i.e., main equipment detects a certain when being in off-line state from equipment, Should from equipment can automatic shutdown (be not switched on operation) avoid from setting so that it is guaranteed that master-slave system can work normally It is standby online, but since communication failure (sending failure) causes main equipment to detect that this is in off-line state from equipment and causes to lead The problem of can not work normally of ability need inaccuracy initiation that equipment calculates.
The processing method of communication failure in master-slave system according to the abovementioned embodiments of the present invention, can also have following Technical characteristic:
According to one embodiment of present invention, described at least one of main equipment detection from the device every is from equipment Whether online step, specifically include: the main equipment to it is any send data from equipment after, judge whether to receive described Any reply data sent from equipment;If the number for not receiving any reply data sent from equipment reaches predetermined Number, it is determined that described any from equipment processing off-line state.
In such an embodiment, it is preferable main equipment can be by judging whether that it is a certain that continuous several times (such as 3 times) do not receive The reply data sent from equipment, judges whether this is in off-line state from equipment indirectly.
According to one embodiment of present invention, the main equipment sends the step of the status information to described every from equipment Suddenly, specifically include: the main equipment generates notification message, and the notification message includes at least one marker, each mark The value of position is known for the status information described in corresponding expression one from equipment;The main equipment sends institute to described every from equipment State notification message.
In this embodiment, the number of the slave equipment in the number and master-slave system of the marker for including in notification message Identical, a marker corresponds to one from equipment.When the value of marker is the first value (such as 1), indicate corresponding from equipment Online;When the value of marker is second value (such as 0), indicate corresponding not online from equipment.
According to one embodiment of present invention, described every from equipment according to the status information received, determination is The step of no booting is run, specifically includes:
If any determined according to the state information from equipment the main equipment detect described any from equipment In presence, it is determined that booting operation;And
If any determined according to the state information from equipment the main equipment detect described any from equipment In off-line state, it is determined that be not switched on operation.
The processing method of communication failure in the master-slave system of embodiment according to the present invention, from equipment by determining master When equipment detects that it is in off-line state, be not switched on operation, it can be ensured that master-slave system can work normally, avoid from Equipment on-line, but cause main equipment to detect that this is in off-line state from equipment and main equipment is caused to calculate due to sending failure The problem of can not work normally of ability need inaccuracy initiation.
According to one embodiment of present invention, further includes: if any determines the operation that is not switched on from equipment, receiving When the data that the main equipment is sent, continue to send reply data to the main equipment.
The processing method of communication failure in the master-slave system of embodiment according to the present invention, from equipment by determining not Booting operation when, if receive main equipment transmission data, continue to main equipment send reply data so that from equipment with When communication between main equipment restores normal (i.e. main equipment can receive the reply data sent from equipment), it is ensured that main equipment It 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, the master-slave system include One main equipment and at least one are from equipment, wherein
The main equipment includes: detection unit, for detect described at least one from the device every from equipment whether Online, the described every status information from equipment is obtained;Transmission unit, for sending the state letter to described every from equipment Breath;
Described every from equipment include: the first determination unit, for according to the status information that receives, it is determined whether Booting operation.
The master-slave system of embodiment according to the present invention, by making main equipment detect every status information from equipment, And the status information that detects is sent to every from equipment, come according to the status information that main equipment detects by every from equipment true The fixed operation that whether is switched on so that master-slave system is during the work time, from equipment can using the testing result of main equipment as according to It is run according to determine whether to be switched on, and then (is leading to main set as sent pin and failing or be interfered from the transmission of equipment failure It is standby to normally receive) when, i.e., main equipment detects a certain when be in off-line state from equipment that this being capable of automatic shutdown from equipment (be not switched on operation), so that it is guaranteed that master-slave system can work normally, avoids from equipment on-line, but due to communication failure The ability need that (sending failure) causes main equipment to detect that this is in off-line state from equipment and main equipment is caused to calculate is not Accurately cause the problem of can not work normally.
Master-slave system according to the abovementioned embodiments of the present invention can also have following technical characteristic:
According to one embodiment of present invention, the detection unit includes: judging unit, for the main equipment to appoint One after equipment transmission data, judge whether to receive any reply data sent from equipment;Second determination unit is used In determining that the main equipment does not receive any number of reply data sent from equipment and reaches in the judging unit When pre-determined number, determine described any from equipment processing off-line state.
In such an embodiment, it is preferable main equipment can be by judging whether that it is a certain that continuous several times (such as 3 times) do not receive The reply data sent from equipment, judges whether this is in off-line state from equipment indirectly.
According to one embodiment of present invention, the transmission unit includes: generation unit, for generating notification message, institute Stating notification message includes at least one marker, and the value of each marker is for the shape described in corresponding expression one from equipment State information;Execution unit, for sending the notification message to described every from equipment.
In this embodiment, the number of the slave equipment in the number and master-slave system of the marker for including in notification message Identical, a marker corresponds to one from equipment.When the value of marker is the first value (such as 1), indicate corresponding from equipment Online;When the value of marker is second value (such as 0), indicate corresponding not online from equipment.
According to one embodiment of present invention, first determination unit is specifically used for:
If determining according to the state information, the main equipment detects that any is online from equipment, it is determined that Described any runs from device power-up;And
If determining according to the state information, the main equipment detects that any is in off-line state from equipment, it is determined that The described any operation that is not switched on from equipment.
The master-slave system of embodiment according to the present invention, from equipment by determining that main equipment detects that it is in offline When state, be not switched on operation, it can be ensured that master-slave system can work normally, and avoid from equipment on-line, but due to sending Failure causes main equipment to detect that the ability need inaccuracy for being in off-line state from equipment and main equipment being caused to calculate causes The problem of can not work normally.
According to one embodiment of present invention, described every from equipment, further includes: processing unit, for described first Determination unit determines that any is not switched on when running from equipment, if receiving the data that the main equipment is sent, continues to institute It states main equipment and sends reply data.
The master-slave system of embodiment according to the present invention, from equipment by determine be not switched on run when, if receiving The data that main equipment is sent then continue to send reply data to main equipment, so that extensive in the communication between equipment and main equipment When multiple normal (i.e. main equipment can receive the reply data sent from equipment), it is ensured that main equipment can detect in time.
According to one embodiment of present invention, the master-slave system is multi-gang air-conditioner device system, and the main equipment is The outer machine of the multi-gang air-conditioner device system, it is described from equipment be the multi-gang air-conditioner device system interior machine.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 shows the exemplary flow of the processing method of communication failure in the master-slave system of embodiment according to the present invention Figure;
Fig. 2 shows the schematic block diagrams of the master-slave system of embodiment according to the present invention;
Fig. 3 shows the structural schematic diagram of the master-slave system of embodiment according to the present invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the exemplary flow of the processing method of communication failure in the master-slave system of embodiment according to the present invention Figure.
Master-slave system proposed by the present invention includes a main equipment and at least one from equipment.As shown in Figure 1, according to this The processing method of communication failure in the master-slave system of the embodiment of invention, comprising:
Step 102, whether described at least one of main equipment detection from the device every is online from equipment, obtains institute State every status information from equipment;
Step 104, the main equipment sends the status information to described every from equipment;
Step 106, described every from equipment according to the status information received, it is determined whether booting operation.
Pass through the state letter for making main equipment detect every status information from equipment, and sending to every from equipment to detect Breath determines whether booting operation according to the status information that main equipment detects from equipment by every, so that master-slave system exists It, can be using the testing result of main equipment as according to determining whether booting operation, and then from setting from equipment in the course of work When standby transmission is failed (as transmission pin fails or being interfered causes main equipment that can not normally receive), i.e., main equipment detects It is a certain when being in off-line state from equipment, should from equipment can automatic shutdown (be not switched on operation), so that it is guaranteed that master-slave mode system System can work normally, and avoid from equipment on-line, but since communication failure (sending failure) causes main equipment to detect this The problem of can not work normally of ability need inaccuracy initiation for being in off-line state from equipment and main equipment being caused to calculate.
The processing method of communication failure in master-slave system according to the abovementioned embodiments of the present invention, can also have following Technical characteristic:
According to one embodiment of present invention, described at least one of main equipment detection from the device every is from equipment Whether online step, specifically include: the main equipment to it is any send data from equipment after, judge whether to receive described Any reply data sent from equipment;If the number for not receiving any reply data sent from equipment reaches predetermined Number, it is determined that described any from equipment processing off-line state.
In such an embodiment, it is preferable main equipment can be by judging whether that it is a certain that continuous several times (such as 3 times) do not receive The reply data sent from equipment, judges whether this is in off-line state from equipment indirectly.
According to one embodiment of present invention, the main equipment sends the step of the status information to described every from equipment Suddenly, specifically include: the main equipment generates notification message, and the notification message includes at least one marker, each mark The value of position is known for the status information described in corresponding expression one from equipment;The main equipment sends institute to described every from equipment State notification message.
In this embodiment, the number of the slave equipment in the number and master-slave system of the marker for including in notification message Identical, a marker corresponds to one from equipment.When the value of marker is the first value (such as 1), indicate corresponding from equipment Online;When the value of marker is second value (such as 0), indicate corresponding not online from equipment.
According to one embodiment of present invention, described every from equipment according to the status information received, determination is The step of no booting is run, specifically includes:
If any determined according to the state information from equipment the main equipment detect described any from equipment In presence, it is determined that booting operation;And
If any determined according to the state information from equipment the main equipment detect described any from equipment In off-line state, it is determined that be not switched on operation.
It specifically, can be true from equipment by the way that when determining that main equipment detects that it is in off-line state, be not switched on operation Protect master-slave system can work normally, avoid from equipment on-line, but due to send failure cause main equipment detect this from Equipment is in off-line state and causes the problem of can not work normally of ability need inaccuracy initiation of main equipment calculating.
According to one embodiment of present invention, further includes: if any determines the operation that is not switched on from equipment, receiving When the data that the main equipment is sent, continue to send reply data to the main equipment.
From equipment by if receiving the data of main equipment transmission, continuing to main equipment when determination is not switched on and runs Reply data is sent, enables and restores that normal (i.e. main equipment is received from equipment in the communication between equipment and main equipment The reply data of transmission) when, it is ensured that main equipment can detect in time.
Fig. 2 shows the schematic block diagrams of the master-slave system of embodiment according to the present invention.
As shown in Fig. 2, the master-slave system 20 of embodiment according to the present invention, comprising: a main equipment 21 and at least one Platform is from equipment 22, wherein
The main equipment 21 includes: detection unit 211, for detecting described at least one from every in equipment 22 from setting Whether standby 22 is online, obtains the described every status information from equipment 22;Transmission unit 212, for described every from equipment 22 send the status information;
Described every from equipment 22 include: the first determination unit 221, for according to the status information that receives, really The fixed operation that whether is switched on.
By making main equipment 21 detect every status information from equipment 22, and detected to every from the transmission of equipment 22 Status information determines whether booting operation according to the status information that main equipment 21 detects from equipment 22 by every, makes winner During the work time from formula system 20, can determine whether to be switched on using the testing result of main equipment 21 as foundation from equipment 22 Operation, and then (such as send pin failure from the transmission of equipment 22 failure or being interfered causes main equipment 21 not connect normally Receive) when, i.e., main equipment 21 detects a certain when be in off-line state from equipment 22, this from equipment 22 can automatic shutdown (i.e. not Booting operation), so that it is guaranteed that master-slave system 20 can work normally, avoid from equipment 22 online, but due to communication failure The ability that (sending failure) causes main equipment 21 to detect that this is in off-line state from equipment 22 and main equipment 21 is caused to calculate The problem of can not work normally of demand inaccuracy initiation.
Master-slave system 20 according to the abovementioned embodiments of the present invention, can also have following technical characteristic:
According to one embodiment of present invention, the detection unit 211 includes: judging unit 2111, in the master Equipment 21 to it is any send data from equipment 22 after, judge whether to receive any reply data sent from equipment 22; Second determination unit 2112, it is described any from equipment for determining that the main equipment 21 does not receive in the judging unit 2111 When the number of 22 reply datas sent reaches pre-determined number, determine described any from the processing off-line state of equipment 22.
In such an embodiment, it is preferable main equipment 21 can be by judging whether that continuous several times (such as 3 times) do not receive certain Whether one reply data sent from equipment 22 to judge indirectly this from equipment 22 in off-line state.
According to one embodiment of present invention, the transmission unit 212 includes: generation unit 2121, for generating notice Message, the notification message include at least one marker, the value of each marker for it is corresponding indicate one described in from The status information of equipment 22;Execution unit 2122, for sending the notification message to described every from equipment 22.
In this embodiment, the number and the slave equipment 22 in master-slave system 20 for the marker for including in notification message Number is identical, and a marker corresponds to one from equipment 22.When the value of marker is the first value (such as 1), indicate corresponding It is online from equipment 22;When the value of marker is second value (such as 0), indicate corresponding not online from equipment 22.
According to one embodiment of present invention, first determination unit 221 is specifically used for:
If determining according to the state information, the main equipment 21 detects that any is online from equipment 22, Determine that described any runs from the booting of equipment 22;And
If determining according to the state information, the main equipment 21 detects that any is in off-line state from equipment 22, Determine that described any is not switched on operation from equipment 22.
From equipment 22 by the way that when determining that main equipment 21 detects that it is in off-line state, be not switched on operation, it can be ensured that Master-slave system 20 can work normally, and avoid from equipment 22 online, but cause main equipment 21 to detect due to sending failure This is in off-line state from equipment 22 and can not work normally of causing of the ability need inaccuracy that causes main equipment 21 to calculate Problem.
According to one embodiment of present invention, described every from equipment 22, further includes: processing unit 222, for described First determination unit 221 determines that any is not switched on when running from equipment 22, if receiving the data that the main equipment 21 is sent, Then continue to send reply data to the main equipment 21.
From equipment 22 by if receiving the data of the transmission of main equipment 21, continuing to master when determination is not switched on and runs Equipment 21 sends reply data, enables and restores normal (i.e. main equipment 21 in the communication between equipment 22 and main equipment 21 Receive the reply data sent from equipment 22) when, it is ensured that main equipment 21 can detect in time.
According to one embodiment of present invention, the master-slave system 20 is multi-gang air-conditioner device system, the main equipment 21 be the multi-gang air-conditioner device system outer machine, it is described from equipment 22 be the multi-gang air-conditioner device system interior machine.
Fig. 3 shows the structural schematic diagram of the master-slave system of embodiment according to the present invention.
As shown in Figure 3, it is assumed that there are X platform slave devices in master-slave system, then with X bit (b1, b2 ... ..., BX slave 1, slave 2 ... ..., slave X are identified) respectively.For example bn=0 indicates that slave n is not online, bn=1 indicates that slave n exists Line.Wherein, when host continuous several times (such as 3 times) do not receive the reply data of slave transmission, it is not online to be considered as the slave.
For example in a multi-gang air-conditioner device system, there is 64 interior machines, wherein machine is online in No. 1-6, then this 64 ratios Special position (from low to high) is successively: 1111,1100,0000,0000,0000,0000,0000,0000,0000,0000,0000, 0000,0000,0000,0000,0000.Wherein it is preferred to which above-mentioned X bit can be with (X+7)/8 eight hytes come table Show.
Host is in the data packet for issuing slave, comprising X above-mentioned bit, when certain slave n receives the number of host According to packet, it can know that can host receive the data of oneself from this X bit.It is specifically divided into two following situations:
Situation 1: if corresponding bit bn=1, then it represents that host can detect the presence of the slave, i.e. communication is normal, Slave normal response during subsequent communications.
Situation 2: if corresponding bit bn=0, then it represents that host not yet detects the presence of the slave, and then slave can To show fault message, and the operation that is not switched on.But the data that the slave or normal response host are sent, with this from When communication between machine and host restores normal, host can detect in time.
When master-slave system shown in Fig. 3 is multi-gang air-conditioner device system, i.e. the outer machine when multi-gang air-conditioner device system When communicating with interior machine, interior machine is when the bit sent according to outer machine determines that outer machine can not receive the reply data of oneself transmission, energy Automatic shutdown detachment system, so that outer machine can work normally (rather than simple report according to the actually detected slave quantity that arrives Failure cannot be started up, and cause system out of service).
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, and the invention proposes a kind of new master-slave systems The processing scheme of middle communication failure, so that in master-slave system, it can be using the testing result of main equipment as foundation from equipment It is run to determine whether to be switched on, and then when failing from the transmission of equipment, should not can be switched on operation automatically from equipment, to ensure Master-slave system can work normally.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (11)

1. the processing method of communication failure in a kind of master-slave system, which is characterized in that the master-slave system includes a master Equipment and at least one the treating method comprises from equipment:
Whether described at least one of main equipment detection from the device every is online from equipment, obtains described every from equipment Status information;
The main equipment sends the status information to described every from equipment;
Described every from equipment according to the status information received, it is determined whether booting operation;
The main equipment detects at least one every step whether online from equipment from the device, specifically includes:
The main equipment to it is any send data from equipment after, judge whether to receive any response sent from equipment Data;
If not receiving any number of reply data sent from equipment reaches pre-determined number, it is determined that it is described it is any from Equipment is in off-line state.
2. the processing method of communication failure in master-slave system according to claim 1, which is characterized in that the main equipment The step of sending the status information from equipment to described every, specifically includes:
The main equipment generates notification message, and the notification message includes at least one marker, the value of each marker For the status information described in corresponding expression one from equipment;
The main equipment sends the notification message to described every from equipment.
3. the processing method of communication failure in master-slave system according to claim 1 or 2, which is characterized in that described every Platform is from equipment according to the status information received, it is determined whether the step of booting is run specifically includes:
If any determines that the main equipment detects that described any is in from equipment from equipment according to the state information Linear state, it is determined that booting operation;And
If any determined according to the state information from equipment the main equipment detect described any from equipment be in from Linear state, it is determined that be not switched on operation.
4. the processing method of communication failure in master-slave system according to claim 3, which is characterized in that further include:
If any determines the operation that is not switched on from equipment, when receiving the data that the main equipment is sent, continue to described Main equipment sends reply data.
5. a kind of master-slave system, which is characterized in that the master-slave system includes a main equipment and at least one from equipment, Wherein,
Whether the main equipment includes: detection unit, online from equipment for detecting described at least one from the device every, Obtain the described every status information from equipment;Transmission unit, for sending the status information to described every from equipment;
Described every from equipment include: the first determination unit, for according to the status information that receives, it is determined whether booting Operation;
The detection unit includes:
Judging unit, for the main equipment to it is any send data from equipment after, judge whether to receive it is described it is any from The reply data that equipment is sent;
Second determination unit, for the judging unit determine the main equipment do not receive it is described it is any from equipment send When the number of reply data reaches pre-determined number, determines and described any be in off-line state from equipment.
6. master-slave system according to claim 5, which is characterized in that the transmission unit includes:
Generation unit, for generating notification message, the notification message includes at least one marker, each marker Value is for the status information described in corresponding expression one from equipment;
Execution unit, for sending the notification message to described every from equipment.
7. master-slave system according to claim 5 or 6, which is characterized in that first determination unit is specifically used for:
If determining according to the state information, the main equipment detects that any is online from equipment, it is determined that described Any runs from device power-up;And
If determining according to the state information, the main equipment detects that any is in off-line state from equipment, it is determined that described Any operation that is not switched on from equipment.
8. master-slave system according to claim 7, which is characterized in that described every from equipment, further includes:
Processing unit, for first determination unit determine any be not switched on from equipment run when, if receiving described The data that main equipment is sent then continue to send reply data to the main equipment.
9. master-slave system according to claim 5 or 6, which is characterized in that the master-slave system is multi-gang air-conditioner Device system, the main equipment be the multi-gang air-conditioner device system outer machine, it is described from equipment be multi-gang air-conditioner device system The interior machine of system.
10. master-slave system according to claim 7, which is characterized in that the master-slave system is multi-gang air-conditioner device System, the main equipment be the multi-gang air-conditioner device system outer machine, it is described from equipment be the multi-gang air-conditioner device system Interior machine.
11. master-slave system according to claim 8, which is characterized in that the master-slave system is multi-gang air-conditioner device System, the main equipment be the multi-gang air-conditioner device system outer machine, it is described from equipment be the multi-gang air-conditioner device system Interior machine.
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 CN105721172A (en) 2016-06-29
CN105721172B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107869822B (en) * 2017-11-08 2020-10-23 四川虹美智能科技有限公司 Multi-split air conditioner monitoring method and system and outdoor host
CN112082249B (en) * 2020-08-25 2022-02-18 青岛海信移动通信技术股份有限公司 Anti-freezing early warning method and system for air conditioner outdoor unit and server

Citations (4)

* 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
CN102289224A (en) * 2011-06-22 2011-12-21 天津工业大学 System for remote monitoring state of needling machine
CN104240480A (en) * 2014-10-16 2014-12-24 珠海格力电器股份有限公司 Remote control device, system and method for electrical equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256287B (en) * 2010-05-19 2015-06-10 中兴通讯股份有限公司 Method and system for determining online status of household base station
JPWO2012147176A1 (en) * 2011-04-27 2014-07-28 富士通株式会社 Program, information processing apparatus, and monitoring method
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
CN103347252B (en) * 2013-07-16 2018-05-11 上海德思普微电子技术有限公司 Multimedia cluster communication system, communication terminal and switching centre

Patent Citations (4)

* 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
CN102289224A (en) * 2011-06-22 2011-12-21 天津工业大学 System for remote monitoring state of needling machine
CN104240480A (en) * 2014-10-16 2014-12-24 珠海格力电器股份有限公司 Remote control device, system and method for electrical equipment

Also Published As

Publication number Publication date
CN105721172A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN103401726A (en) Network path detecting method, device and system
US20100110904A1 (en) Identifying improper cabling of devices
TWI586115B (en) Method of facilitating testing of multiple time-division-duplex (tdd) data packet signal transceivers
CN105721172B (en) The processing method and master-slave system of communication failure in master-slave system
CN102484636B (en) Prevention of masquerade by using identification sequences
CN107077115B (en) Safe operation control method and automated network with the security control
CN105897507A (en) Node equipment state detection method and node equipment state detection device
CN104104488A (en) Wireless sensor network protocol conformance testing system and method
CN103516456B (en) For method, network equipment and the network equipment for running the network equipment
CN105207802A (en) Node version upgrading method, device and system
CN102664755B (en) Control channel fault determining method and device
CN102598593B (en) The communication network of addressing method and this addressing method of tool
CN103109500B (en) The method of the installation site of inspection part and automation component
CN108446250A (en) A kind of method communicated between multi -CPU
US10109440B2 (en) Safety switch
CN101136810A (en) Link state detecting method and network appliance
CN102347878A (en) Multi-point communication system, method and equipment
CN106789407A (en) A kind of method that cloud platform checks virtual machine connection status
CN104793601A (en) DCS (distributed control system) controller redundancy device and method
CN105785854B (en) The control method and master-slave system of master-slave system
CN105553865B (en) A kind of FC exchanger chips credit management test method
CN104283739B (en) A kind of detection method and equipment based on distributed ISSU upgradings
CN108234232A (en) Fault location, loop detecting method, device, system and equipment based on bus
CN105049294A (en) Automatic testing method for port state switching of EAPS (Ethernet Automatic Protection Switching) protocol MASTER switch
US10599117B2 (en) Safety-oriented automation 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