Specific embodiment
Hereinafter, being illustrated referring to control device, terminal installation and apparatus control system of the attached drawing to embodiment.
(the 1st embodiment)
Fig. 1 is the brief diagram for the concrete example that the system for indicating the apparatus control system 100 in the 1st embodiment is constituted.ExampleSuch as, apparatus control system 100 has: more than one control device 1 controls control object equipment;With more than one endTransmitting-receiving includes the control message of the related control information of control with control object equipment between end device 2, with control device 1.In Fig. 1, as an example of more than one control device 1,4 control device 1-1~1-4 are illustrated.Equally, schemingIn 1, as an example of more than one terminal installation 2,5 terminal installation 2-1~2-5 are illustrated.For example, control objectEquipment is the equipment such as the air-conditioning equipment of building, lighting apparatus, and the control device 1 controlled these equipment is set mostlyThe equal spaces in ceiling.On the other hand, terminal installation 2 is the setting such as remote controler used in the operation of control object equipmentDevice occupies indoor state and the equipment such as various sensors for using to grasp, and is arranged on people mostly and carries out movable roomIt is interior.
Grid network is formed between each control device 1 and other control systems 1, and is mutually carried out via the grid networkWireless communication.Grid network is by constituting each node of network constantly switching path information, and thus, it is possible to dynamically changeOne form of the network of communication path.In a mesh network, data will be received to adjacent by constituting each node of networkNode is relayed, and the node that data are transferred to destination is thus sent.In this way, in a mesh network, due to communication pathBy dynamic reconstruction, so each node also can be by number in the case where even producing the path not being available because of failure etc.According to the node for being more reliably sent to destination.
Terminal installation 2 can select any one control device 1 to carry out channel radio from control device 1-1~1-4Letter.Terminal installation 2 is generated according to the generation for the control information that should be sent to establish corresponding control device 1 with the present apparatusSend the control message of the control information as a purpose.Terminal installation 2 is using selected control device 1 as transmission purposeGround sends control message generated.Here, the control device 1 for becoming " destination " of control message refers to, final to receivePass through the control device 1 for the control message that grid network transfers.In addition, becoming the control dress of " the sending destination " of control messageIt sets 1 to refer to, from the control device 1 of the direct receiving control message of transmission source." destination " below and " sending destination "Record means above-mentioned difference.
In addition, terminal installation 2 is also configured to by identifying oneself with above-mentioned grid network come via grid network and controlDevice 1 processed is communicated, but the formation and maintenance of grid network will undertake more compared with the network of general access point-typeLoad.In addition, being set to, to occupy indoor terminal installation 2 be to pass through battery etc. because of portability, limitation of setting place etc. to haveThe case where equipment that the power supply of limit is acted, is also very much.Therefore, in order to improve the economize on electricity of terminal installation 2, it is desirable to terminal dressThe communication between 2 and control device 1 is set as the network of access point-type by capableing of the communication mode of underload movement come realIt is existing.
Network 3 is the network for connecting control device 1-4 with external system (not shown).For example, external system is BEMS(Building Energy Management System: architectural resource management system), BAS (BuildingAutomation System: building management/central monitoring system) etc. systems.Control device 1-4 can be incited somebody to action via network 3The information communicated between other control systems 1, terminal installation 2 is sent to external system.
In addition, the information sent via network 3 from external system can be sent to other controls by control device 1-4Device 1, terminal installation 2.
Fig. 2 is the frame for the concrete example for indicating that the function of control device 1 and terminal installation 2 in the 1st embodiment is constitutedFigure.Firstly, being illustrated to the composition of control device 1.Control device 1 has the CPU (Central connected by busProcessing Unit), memory, auxilary unit etc., and execute program.Control device 1 is made by the execution of programTo have the first wireless communication part 101, the second wireless communication part 102, connection receiving unit 103, message receiving unit 104, relay105, the device in acknowledgement character response portion 106, storage unit 107 and storage area management portion 108 functions.In addition it is also possible to useASIC(Application Specific Integrated Circuit)、PLD(Programmable Logic Device)、The hardware such as FPGA (Field Programmable Gate Array) realize the whole or one of each function of control device 1Part.Program can be recorded in the recording medium that computer can be read.The recording medium that computer can be read is, for example,The storage devices such as the portable mediums such as floppy disk, photomagneto disk, ROM, CD-ROM, the hard disk for being built in computer system.Program can also be withIt is sent via electrical communication line.
First wireless communication part 101 is configured to the wireless communication interface for having the wireless communication of realization and terminal installation 2.TheOne wireless communication part 101 is carried out wireless communication with the terminal installation 2 having had been established and the present apparatus is connect.
Second wireless communication part 102 is configured to have realization and the wireless communication of the wireless communication of other control systems 1 connectsMouthful.Second wireless communication part 102 has the function by forming grid network between switching path information and other control systems 1Energy.Second wireless communication part 102 is carried out wireless communication with the other control systems 1 for constituting grid network.
Connection receiving unit 103 accepts the connection request of the wireless communication for the present apparatus, and establishes the communication with request sourceWireless communication connection between device.Hereinafter, will be connected to establish wireless communication between control device 1 and terminal installation 2And the processing executed is known as connection processing.By the wireless communication establishment of connection, the first wireless communication part 101 can be with terminalDevice 2 is communicated.
Message receiving unit 104 receives the control message sent from terminal installation 2.Message receiving unit 104 is in the control receivedIn the case that the destination of message processed is the present apparatus, received control message is obtained, in the mesh of the control message receivedGround be not the present apparatus in the case where, received control message is exported to relay 105.Wherein, it is taken by the present apparatusThe control message obtained is output to the control unit (not shown) with the function of being controlled the control object equipment of the present apparatus.Control unit controls control object equipment based on the control message received.
Relay 105 executes the first relay process and the second relay process.First relay process is in other control dressesSet the processing relayed between 1 and terminal installation 2 to control message.Specifically, relay 105 will be connect from the present apparatusThe control message that receives of terminal installation 2 relayed to other control systems 1, and by the terminal installation to be connect with the present apparatus2 transfer the control message come from other control systems 1 and relay to the terminal installation 2 of destination as a purpose.In addition, secondRelay process is the processing relayed between other control systems 1 to control message.Specifically, being 105 base of relayIn the transfer path of grid network by different 1 turns of control device from the control message that other control systems 1 receive to otherThe processing sent.It is destination with terminal installation 2 by executing the second relay process by each control device 1 for constituting grid networkTransmission data the terminal installation 2 of destination is transferred to via grid network.
In addition, in this case, each control device 1 needs the terminal installation 2 on identifying purpose ground and which control device 1 connectsIt connects, this can be identified by arbitrary method.For example, being configured to terminal installation 2 and a pre-determined control device 1In the case where connection, control device 1 can indicate the information of the connection relationship by being stored in advance, and carry out the terminal on identifying purpose groundThe control device 1 that device 2 is connected.In addition, each control device 1 can also be to including respective for example in the first relay processThe reception data of identification information relayed.In this case, control device 1 can be believed based on the identification that data are included is receivedBreath carrys out the control device 1 that the terminal installation 2 on identifying purpose ground is connected.
Reception of the acknowledgement character response portion 106 according to the present apparatus to control message sends conduct to the terminal installation 2 of transmission sourceFor the ACK of the reception response of control message.More specifically, acknowledgement character response portion 106 is according to the purpose of the control message receivedGround sends an ACK or secondary ACK to the terminal installation 2 of transmission source.Here, an ACK is not control via otherThen the control device 1 that the control message sent from terminal installation 2 is directly received in device 1, instead of that should sendThe ACK that the control device 1 of the destination of ACK is sent to the terminal installation 2 of transmission source.On the other hand, secondary ACK is as controlThe ACK that the control device 1 of the destination of message processed is sent for the terminal installation 2 of transmission source.
Storage unit 107 is constituted using the storage devices such as magnetic hard disk device, semiconductor storage.Storage unit 107 to from itsThe reception data (hereinafter referred to as " secondary ack msg " for the secondary ACK that his control device 1 is sent.) stored.
Storage area management portion 108 is managed the storage region of the secondary ack msg in storage unit 107.It is specific andSpeech ensures the secondary ack msg at this case that storage area management portion 108 is according to secondary ACK is received in storage unit 107Storage region (hereinafter referred to as " region ACK ".), also, mesh is sent to according to the secondary ack msg for being stored in the region ACKGround this case of terminal installation 2, the region ACK ensured in storage unit 107 is discharged.
Hereinafter, being illustrated to the details in acknowledgement character response portion 106.Acknowledgement character response portion 106 have usual response portion 111,ACK receiving unit 112 and proxy response portion 113 are as the function part for realizing above-mentioned function.
In the case where receiving from the terminal installation 2 being connect with the present apparatus using the present apparatus as the control message of destination,I.e. in the case where the transmission destination of the control message received and destination are the present apparatus, usual response portion 111 is directed toThe terminal installation 2 of transmission source sends secondary ACK.
ACK receiving unit 112 receives other control systems 1 and is directed to the secondary of the transmission of terminal installation 2 connecting with the present apparatusACK.ACK receiving unit 112 exports the secondary ack msg received to storage area management portion 108.Secondary ack msg is based onThe management in storage area management portion 108 is stored in the region ACK ensured in storage unit 107.
The control message with other control systems 1 for destination is being received from the terminal installation 2 that connect with the present apparatusIn the case of, be the present apparatus in the transmission destination of the control message received and destination is the control device other than the present apparatusIn the case where 1, proxy response portion 113 sends an ACK for the terminal installation 2 of transmission source.On the other hand, proxy response portionThe request for the terminal installation 2 that 113 bases are connect with the present apparatus is obtained from storage unit 107 for the secondary of the terminal installation 2 transmissionAck msg.Acquired secondary ack msg is sent to the terminal installation 2 of request source by proxy response portion 113.
Then, the composition of terminal installation 2 is illustrated.Terminal installation 2 have by bus connect CPU, memory,Auxilary unit etc., and execute program.Terminal installation 2 is by the execution of program, as having wireless communication part 201, evenThe device for connecing request unit 202, relay test section 203, message transmission unit 204 and suspend mode control unit 205 functions.ThisOutside, the hardware such as ASIC, PLD, FPGA can be used also to realize all or part of each function of terminal installation 2.ProgramThe recording medium that computer can be read can be recorded in.The recording medium that computer can be read is, for example, floppy disk, optomagneticThe storage devices such as the portable mediums such as disk, ROM, CD-ROM, the hard disk for being built in computer system.Program can also be via electricalCommunication line is sent.
Wireless communication part 201 is configured to the wireless communication interface for having the wireless communication of realization and control device 1.Channel radioLetter portion 201 is carried out wireless communication with the control device 1 having had been established and the present apparatus is connect.
Connection request portion 202 executes junction and other communication devices are sent with the connection request of wireless communicationWireless communication connection is established between reason, and the communication device of transmission destination.By the wireless communication establishment of connection, wirelesslyCommunication unit 201 can be communicated with control device 1.
Control device 1 (hereinafter referred to as " relaying of the relay test section 203 to the transmission destination for becoming control messageDevice ".) detected.The relay that relay test section 203 will test is notified to connection request portion 202.Connection is askedIt asks portion 202 and is attached processing according to the notice, thus establish the wireless communication connection between the present apparatus and relay.
Message transmission unit 204 sends out the relay detected by relay test section 203 as destination is sentSend control message.
From the specified time limit for receiving the period until an ACK plays the secondary ACK of reception, suspend mode control unit 205 makes thisThe function of a part of device is stopped.Wherein, which can be plays until receiving secondary ACK from ACK of receptionDuring, during being also possible to a part in this period.
Hereinafter, being illustrated to the details of message transmission unit 204.Message transmission unit 204 has individual transmission units211, transmission unit 212 and ACK receiving unit 213 are organized as the function part for realizing above-mentioned function.
Individual transmission units 211 will establish a corresponding control device 1 as a purpose with the present apparatus, will be directed to the controlThe control message of device 1 processed is sent to relay.
Group transmission unit 212 will establish corresponding multiple control devices 1 as a purpose with the present apparatus, will be for these controlsThe control message of device 1 processed is sent to relay.
ACK receiving unit 213 receives the ACK and secondary ACK that the control device 1 connected from the present apparatus is sent.ToolFor body, ACK receiving unit 213 receives one that relay corresponding with the present apparatus is sent immediately according to the reception of control messageSecondary ACK.In addition, after the stipulated time, ACK receiving unit 213 is directed to relay from the opportunity for receiving an ACKRequest the transmission to the secondary ACK of the present apparatus.
Fig. 3 is the figure for indicating the concrete example of corresponding relationship of control device 1 and terminal installation 2 in the 1st embodiment.ExampleSuch as, keep correspondence table 200 as shown in Figure 3 come identification control device 1 and terminal installation 2 in advance by each terminal installation 2Corresponding relationship.Corresponding table 200 has the corresponding record of each terminal installation identifier.Corresponding record has terminal installation identifierAnd each value of corresponding informance.Terminal installation identifier is the identification information of each terminal installation 2.Corresponding informance was indicated and by endThe information of the corresponding control device 1 of terminal installation 2 shown in end device identifier.For example, corresponding informance includes for wholeControl device 1 indicates that whether there is or not corresponding information with the terminal installation 2.
For example, in the example in figure 3, control device [i] (1≤i≤n) indicates the identification information of each control device 1.Fig. 3Example be expressed as control device [1], control device [3] and control device [4] and terminal installation 2 as air-conditioning setting apparatusEstablish correspondence.It, can also be in addition, a terminal installation 2 can be corresponding with the foundation of control device 1 in corresponding table 200It is corresponding with multiple foundation of control device 1.In addition, the correspondence table stored in each terminal installation 2 can include as corresponding table 200The corresponding record of all terminal installations 2 can also only include the corresponding record of each terminal installation 2.
Fig. 4 is to indicate that in the 1st embodiment terminal installation 2 detects the processing of candidate device from multiple control devices 1The first concrete example flow chart.Candidate device is the control device 1 of the candidate as relay.First concrete example illustratesTerminal installation 2 detects the example of candidate device based on the connection processing carried out between control device 1.Firstly, terminal installation 2The connection request (step S101) for arbitrary control device 1 is sent by broadcasting.The setting response of terminal installation 2 waits meterWhen device (step S102).Response waiting timer is that equity device 1 to be controlled makes a response (hereinafter referred to as connection request" connection request response ".) time carry out timing timer.Pass through the setting of the response waiting timer, the company of starting waitingConnect the timing of the time of request response.If setting response waiting timer, the beginning connection request response of terminal installation 2 etc.It waits (step S103).
Until the waiting of the connection request response started in step s 103 continues to response waiting timer time-out.It is anotherIt is overtime in subsequent step S104 to respond waiting timer for aspect.Therefore, it is played the waiting responded since connection requestDuring responding until waiting timer time-out, terminal installation 2 receives the connection request response sent from each control device 1.ExampleSuch as, the example of Fig. 4 is illustrated receives control device [1], control device [2] and control device [n] in stand-by timeConnection request response (step S111~S113) and the connection request sound that control device [3] is not received by stand-by timeThe case where answering (step S114).
Terminal installation 2 detects candidate device (step S105) based on the reception situation that such connection request responds.ToolFor body, the relay test section 203 of terminal installation 2 will have sent the connection request response received in stand-by timeControl device 1 is detected as candidate device.Such as in the example in fig. 4, control device [1], control device [2] and control device[n] is detected as candidate device, and control device [3] is not detected as candidate device.Then, relay test section 203 is based onThe radio communication quality of each control device 1 detected as candidate device, is decided to become relay from candidate deviceControl device 1 (step S106).
Fig. 5 is to indicate that in the 1st embodiment terminal installation 2 detects the processing of candidate device from multiple control devices 1The second concrete example flow chart.Second concrete example illustrates terminal installation 2 based on the beacon signal that control device 1 is sent to examineThe example of astronomical observation benefit device.Firstly, terminal installation 2 sets beacon waiting timer (step S201).Beacon waiting timer isThe time for the beacon signal that equity control device 1 to be received is sent carries out the timer of timing.Pass through the beacon waiting timerSetting, start waiting receive beacon signal time timing.If setting beacon waiting timer, terminal installation 2 is openedThe waiting (step S202) of beginning beacon signal.
Until the waiting of the beacon signal started in step S202 continues to beacon waiting timer time-out.Another partyFace, beacon waiting timer are overtime in subsequent step S203.Therefore, beacon etc. is played the waiting since beacon signalDuring until to timer expired, terminal installation 2 receives the beacon signal sent from each control device 1.For example, the example of Fig. 5Subrepresentation receives the beacon signal (step of control device [1], control device [3] and control device [n] in stand-by timeRapid S212~S214) and it is not received by stand-by time the beacon signal (step of control device [2] and control device [3]Rapid S211 and S215) the case where.
Terminal installation 2 detects candidate device (step S204) based on the reception situation of such beacon signal.It is specific andSpeech, the relay test section 203 of terminal installation 2 will have sent the control device of the beacon signal received in stand-by time1 is detected as candidate device.For example, in the example of fig. 5, control device [1], control device [3] and control device [n] are testedSurveying is candidate device, and control device [2] is not detected as candidate device.Then, relay test section 203 is based on as timeThe radio communication quality of device and detected each control device 1 is mended, to be decided to become the control of relay from candidate deviceDevice 1 (step S205) processed.
Fig. 6 A, Fig. 6 B and Fig. 6 C be in the 1st embodiment terminal installation 2 determine relay from candidate deviceMethod the figure that is illustrated of concrete example.For example, the relay test section 203 of terminal installation 2 can be rung in connection requestWhen the acquirement answered, the reception of beacon signal, obtain and the communication conditions between detected control device 1 as candidate deviceRelated information (hereinafter referred to as " candidate device information ".).Fig. 6 A illustrates the tool for the candidate device information that can be obtained in this wayBody example.For example, relay test section 203 obtains the response time of each candidate device, receives electric power, MAC (MediaAccess Control) information such as address are as candidate device information.
Relay test section 203 is based on the candidate device information obtained in this way, to infer between each candidate deviceCommunication quality, and will infer that and be determined as relay for the highest candidate device of communication quality.For example, Fig. 6 B is illustrated based on rootAccording to the example for receiving the communication quality that electric power is inferred to and the relay determined.Generally, receive the height of electric power with communicate matterThe height of amount is related.Therefore, in the case where having obtained candidate device information as Fig. 6 A, it is believed that it is maximum to receive electric powerThe communication quality highest of control device [1].In this case, control device [1] is determined as by relay test section 203Relay.
In addition, the index value received other than electric power also can be used in the deduction of communication quality.For example, it is also possible to be based onThe response time of communication infers communication quality.Furthermore it is also possible to pass through the group for receiving multiple index values such as electric power, response timeIt closes to infer communication quality.For example, the communication quality indicated by the combination of multiple index values can be calculated by following formula (1)Evaluation of estimate.
Evaluation of estimate=F (t, r, e ...)=α × t+ β × r+ γ × e+ ... formula (1)
T: response time
R: electric power is received
E: packet error rate
α, β, γ: evaluation coefficient
In addition, relay test section 203 by it is in the control device 1 detected as candidate device, in addition to being determinedIt is set to some or all of the control device 1 other than the control device 1 of relay, is decided to be relaying dress as being inferior toThe second relay that the control device 1 set preferentially is communicated is (hereinafter referred to as " instead of relay ".).For example, schemingIn the case where the example of 6A, relay test section 203 is some or all by control device [2]~control device [n]It is determined as replacing relay.
Relay test section 203 makes the relay for indicating to determine in this way and replaces the relay of relayInformation is stored in internal storage region.For example, relay information is stored as relay shown in Fig. 6 B and Fig. 6 CTable 310 and replacement relay table 320.
Fig. 7 is the first action example of the processing for indicating that relay relays control message in the 1st embodimentFigure.In action example shown in Fig. 7, control device 1-11 is detected as relay by terminal installation 2.In addition, schemingIn 7, control device [12] corresponds to control device 1-12.For example, in this case, the generation of terminal installation 2 includes to control device1-12 indicates the control message M1 for the control information (starting of air conditioner) that the power supply of air-conditioning equipment is connected.At this point, terminal installation 2 is logicalCrossing makes the payload of control message M1 include control information and assigns payload based on terminal installation 2 and control device 1Between communication protocol header (hereinafter referred to as " the 1st protocol header ".), Lai Shengcheng control message M1.
The transmission of address MAC (Media Access Control) of destination is sent in 1st protocol header comprising expressionThe transmission source MAC of destination MAC Address and the MAC Address of expression transmission source.In the case where the action example of Fig. 7, to hairThe MAC Address " XX:XX:XX:AA " for sending destination MAC Address to set control device 1-11 is set to source MAC is sentThe MAC Address " XX:XX:XX:RR " of terminal installation 2.
The control device 1-11 for receiving control message M1 is turned control message M1 by executing the first relay processIt is changed to the corresponding control message M2 of communication protocol between control device 1.Specifically, control device 1-11 will be to receivingControl message M1 assign the 1st protocol header be converted to the header based on the communication protocol between control device 1 (hereinafter referred to as" the 2nd protocol header ".).It is same as the 1st protocol header, it include sending destination MAC Address and transmission source in the 2nd protocol headerMAC Address.In the case where the action example of Fig. 7, the MAC Address of control device 1-12 is set to transmission destination MAC Address" XX:XX:XX:DD " sets the MAC Address " XX:XX:XX:AA " of control device 1-11 to transmission source MAC.Turn in this wayControl message M2 after changing as the control device 1-12 for sending destination by receiving.
Fig. 8 is the second action example of the processing for indicating that relay relays control message in the 1st embodimentFigure.Fig. 7 illustrates the case where direct controlled device 1-12 of control message relayed by control device 1-11 is receivedAction example, in contrast, Fig. 8 shows the control messages after being relayed by control device 1-11 via other control systems 1-13 quiltThe action example for the case where control device 1-12 is received.
In this case, by executing the first relay process, the control message M1 received is converted by control device 1-11For control message M2 '.At this point, in the 2nd protocol header that the 1st protocol header of replacement is given to payload, in addition to hairIt send destination MAC Address and sends other than source MAC, further include the destination MAC for indicating the MAC Address of destinationThe MAC Address that location and expression transmit source transmits source MAC.Wherein, " transmitting source " mentioned here refers to, according to shouldThe generation of the control information of transmission and the node for having carried out generation and the transmission of control message.That is, in the action example of Fig. 8,Terminal installation 2 becomes the node in the source that transmits.In contrast, " transmission source " refers to, the sending side of the two directly received and dispatchedNode.The record of " transmitting source " below and " transmission source " refers to above-mentioned difference.
In the case where the action example of Fig. 8, the control for sending destination MAC Address and transmission source MAC and Fig. 7 disappearsBreath M2 is similarly set, and the MAC Address " XX:XX:XX:DD " of control device 1-12 is set to destination MAC Address, to hairInformation source MAC Address sets the MAC Address " XX:XX:XX:RR " of terminal installation 2.In addition, control device 1-11 is based on net at this timeThe transmission destination of the agreement of grid network, the case where capable of being identified as with control device 1-12 as a purpose is control device1-13.Control message M2 ' after converting in this way as the control device 1-13 for sending destination by receiving.
The control device 1-13 for receiving control message M2 ', by executing the second relay process, the control that will receiveIt is the control message M2 " for sending destination that message M2 ' processed, which is converted to control device 1-12 as a purpose,.Specifically,Control device 1-13 by the transmission source MAC of control message M2 ' is changed to the present apparatus MAC Address " XX:XX:XX:BB ", the MAC Address " XX:XX:XX:DD " that transmission destination MAC Address is changed to control device 1-12 as a purpose,To generate control message M2 ".Control message M2 " after converting in this way by (and send destination) as a purpose control device1-12 is received.
Fig. 9 is to indicate that control device 1 responds one for having sent the terminal installation 2 of control message in the 1st embodimentThe timing diagram of the process of the processing of secondary ACK and secondary ACK.Firstly, terminal installation 2 is for the control device as relay[1] control message (step 301) is sent.Control device [1] responds one for terminal installation 2 according to the reception of control messageSecondary ACK (step S302).If responding an ACK, control device [1] ensures for the mesh from the control message receivedThe region ACK (step S303) that is stored secondary ACK that responds of ground, that is, control device 1.
If the ensuring that the region ACK, then control device [1] is by the control message received to the control device 1 of destinationRelayed (step S304).Here, it is contemplated that the case where control device 1 of destination is control device [4].In this case, controlUntil message processed is transferred to the control device [4] of destination according to the transfer path of grid network.For example, from control device[1] control message sent can directly be received by the control device [4] of destination, can also pass through other control systems 1Second relay process and be transferred to destination control device [4] until.
Control device [4] is according to the reception of control message, to respond ACK (step for the terminal installation 2 for transmitting sourceS305).The ACK sent from control device [4] is transferred to and fills with the terminal of destination according to the transfer path of grid networkSet 2 control devices [1] being connected to.Here, each control device 1 is capable of the terminal installation 2 on identifying purpose ground and which control fillsSet 1 connection.For example, each control device 1 can be carried out extensively by the link information for the terminal installation 2 connecting to expression with the present apparatusIt broadcasts to notify to the other control systems 1 in grid network.
In addition, for example in the case where the control device 1 as relay receives control message from terminal installation 2,The relay can be to including that itself the control message of identification information relays.In this case, to the control messageThe other control systems relayed, identification information based on relay and transmit source MAC, to learn to fill as relayingThe corresponding relationship of the control device 1 and terminal installation 2 set.
What control device [1] reception was sent from control device [4] is the ACK of destination with terminal installation 2.Control device[1] information of the ACK received will be indicated as secondary ack msg, storage to the region ACK ensured in step S303(step S306).
On the other hand, terminal installation 2 comes according to the reception of the ACK sent in step s 302 from control device [1]Set ACK inquiry timer (step S307).ACK inquiry timer is that relay is inquired to terminal installation 2 to standbyTime until the reception of secondary ACK carries out the timer of timing.By the setting of the secondary ACK timer, start from receptionACK plays the timing of the time until the reception for inquiring secondary ACK for relay standby always.If setting twoSecondary ACK timer, then terminal installation 2 makes the present apparatus migrate state (hereinafter referred to as " the suspend mode shape to have stopped to the function of a partState ".) (step S308).
The dormant state started in step S308 continues until secondary ACK timer expired.On the other hand, secondaryACK timer is overtime in subsequent step S309.Therefore, phase of the terminal installation 2 until until secondary ACK timer expiredBetween, dormant state is moved to, thus, it is possible to be acted with electricity-saving state.
If secondary ACK timer expired, terminal installation 2 revert to usual state from dormant state.Terminal installation 2According to the recovery to usual state, to request the control device [1] as relay the transmission to the secondary ACK of the present apparatus(step S310).Control device [1] sends the reception of request according to secondary ACK, obtains from the region ACK and is filled with the terminal of request source2 are set as the secondary ack msg of destination.Control device [1] is filled based on acquired secondary ack msg come the terminal to request sourceSet the secondary ACK (step S311) of 2 transmissions.Control device [1] will be stored with the secondary ack msg when having sent secondary ACKThe region ACK discharges (step S312).
In addition, in the action example of Fig. 9, due to the exception of control device [4] etc., it may occur however that receiving terminal installationAt the time of 2 secondary ACK sends request, control device [1] is not received by the situation of the ACK sent from control device [4].It shouldIn the case of, control device [1] responds to be not received by with the terminal installation 2 as destination the terminal installation 2 of request sourceSecondary ACK.In addition, in this case, secondary ACK, which can be repeated, in terminal installation 2 sends request until obtaining secondary ACK'sUntil response.In this case, terminal installation 2 can be repeated on one side by setting secondary ACK timer again to suspend modeSecondary ACK is repeated on one side and sends request for the transfer of state and recovery to usual state, can also be not moved to dormant stateGround is repeated secondary ACK and sends request.In addition, can not the secondary ACK that stipulated number is repeated sends request yetIn the case where the response for obtaining secondary ACK, terminal installation 2 can be filled the control message having sent in step S301 to control[1] is set to send again.
Figure 10 is the third action example for the processing for indicating that relay relays control message in the 1st embodimentFigure.Figure 10 is illustrated about the control message (hereinafter referred to as " group control message " sent by group transmission unit 212.) relaying atThe summary of reason.In this case, it includes indicating that control device 1-12, the control of the stopping of air-conditioning equipment is believed that terminal installation 2, which generates,The group control for the control information (starting of air conditioner) that breath (air-conditioning closing) is connected with the power supply to control device 1-13 instruction air-conditioning equipmentMessage M processedG1.At this point, terminal installation 2 is by making payload include the control letter for control device 1-12 and 1-13It ceases and assigns identical with Fig. 7 or Fig. 8 the 1st protocol header to payload, next life control message M in groupsG1。
Receive a group control message MG1 control device 1-11 will include being directed to by executing the first relay processThe group control message M of the control information of multiple destinationsG1 be converted to only include each destination (i.e. control device 1-12 andThe control message M2 of control information 1-14)1And M22.Specifically, firstly, the group control that control device 1-11 will be receivedMessage M processedG1 is converted to the control message of each destination of multiple destinations.By the conversion, control message M is organizedG1 is turnedIt is changed to including control information C1Payload impart the 1st control message M1 of the 1st protocol header H11It is (not shown) and rightIncluding controlling information C2Payload impart the 2nd control message M1 of the 1st protocol header H12(not shown).
Control device 1-11 passes through to based on group control message MGControl message M1 obtained from 1 conversion1And M12PointThe first relay process is not executed, will be given to control message M11And M12The 1st protocol header H1 be converted into and respective meshThe corresponding 2nd protocol header H2 in ground1And H22.Pass through the conversion, the 1st control message M11It is converted into control message M21,2nd control message M12It is converted into control message M22。
At this point, to control message M21The 2nd protocol header H2 assigned1In, to transmission destination MAC Address and purposeGround MAC Address sets the MAC Address " XX:XX:XX:BB " of control device 1-12.On the other hand, to control message M22It assignsThe 2nd protocol header H2 given2In, control device 1-13 is set to transmission destination MAC Address and destination MAC AddressMAC Address " XX:XX:XX:DD ".
Moreover, because control message M21And M22All be the source that transmits be terminal installation 2, transmission source is control device 1-11, so in the 2nd protocol header H21And H22Some in, all to sending source MAC setting control device 1-11MAC Address " XX:XX:XX:AA ", to the MAC Address " XX:XX:XX:RR " for transmitting source MAC setting terminal device 2.Pass throughThe control message M2 of such conversion and generation1And M22By as the control for sending destination (being equal to destination in this case)Device 1-12 and 1-13 processed is received respectively.
Figure 11 is to indicate that control device 1 is responded for having sent the terminal installation 2 of group control message in the 1st embodimentThe timing diagram of the process of the processing of ACK and secondary ACK.Wherein, by everywhere in shown in Figure 11 in reason with Fig. 9 phaseSame processing imparting and the identical appended drawing reference of Fig. 9, thus omits explanation here.Firstly, 2 pairs of terminal installation fill as relayingControl device [1] the transmission group control message (step S401) set.Here, in transmitted group control message for example including being directed toThe control information of control device [2] and control device [4].In this case, control device [1] is by executing at the first relayingThe group control message received, is converted to each control device for control device [2] and control device [4] by reasonEach control message.Hereinafter, by control message [2] are recorded as the control message of control device [2], it will be for control dressThe control message for setting [4] is recorded as control message [4] to be distinguished.
Control device [1] sends control message [2] (step S402) so that control device [2] are destination, to control dressSetting [4] is destination to send control message [4] (step S403).Control device [2] according to the reception of control message [2] come pairTerminal installation 2 in the source that transmits responds ACK (step S404).Equally, control device [4] comes according to the reception of control message [4]Terminal installation 2 for transmitting source responds ACK (step S405).Hereinafter, the ACK responded from control device [2] is recorded as ACK[2], the ACK responded from control device [4] is recorded as ACK [4].
In this case, the control device [1] of the transmission request of secondary ACK is received from terminal installation 2 in step s310,The ACK [2] and ACK [4] received as the response for terminal installation 2 is obtained from the region ACK, and will be acquiredACK [2] and ACK [4] sends (step S406) to the terminal installation 2 of request source as secondary ACK.
In the apparatus control system 100 of the 1st embodiment constituted in this way, according to the control sent from terminal installation 2The reception of message to send an ACK to terminal installation 2, to 1 sound of other control systems from the destination as control messageThe secondary ACK answered is temporarily stored.Then, request of the control device 1 according to terminal installation 2, two will temporarily stored by the present apparatusSecondary ACK is sent to the terminal installation 2 of request source.By having such composition, terminal installation 2 can be from receiving an ACKIt rises during until requesting secondary ACK, the present apparatus is made to move to dormant state.Therefore, terminal installation 2 can be moved to than previousProlonged dormant state can be further reduced consumption electric power.
(the 2nd embodiment)
Figure 12 is the block diagram for the concrete example for indicating that the function of the terminal installation 2a in the 2nd embodiment is constituted.Wherein, Figure 12Shown in control device 1 it is identical as the control device 1 of the 1st embodiment.The terminal installation of terminal installation 2a and the 1st embodiment2 the difference lies in that having suspend mode control unit 205a this point instead of suspend mode control unit 205.
Other than suspend mode control unit 205a function possessed by the suspend mode control unit 205 in the 1st embodiment, also haveIt is changed according to the reception situation of secondary ACK from receiving an ACK during until carrying out the transmission request of secondary ACKDormancy time function.
Figure 13 is the first timing for indicating the process of the processing of terminal installation 2a change dormancy time in the 2nd embodimentFigure.Firstly, terminal installation 2a sends control message (step S501) to control device [1].Control device [1] is according to control messageReception, for terminal installation 2a respond an ACK (step S502).Control device [1] is if respond terminal installation 2aACK, then relayed (step S503) to control device [4] as a purpose for the control message received.ControlDevice [4] processed is according to the reception of control message, to send the secondary ACK (step for being directed to the terminal installation 2a as the source that transmitsS504).The secondary ACK sent from control device [4] is stored in the region ACK by control device [1].
On the other hand, terminal installation 2a makes the present apparatus move to dormant state (step S505) according to the reception of an ACK.For example it is assumed that being 10 seconds for dormancy time here.If have passed through 10 seconds dormancy times, terminal installation 2a is for controlDevice [1] requests the transmission (step S506) of secondary ACK.Control device [1] sends the reception of request according to secondary ACK, will(step S507) is sent from the secondary ACK that control device [4] receives to the terminal installation 2a of request source.Terminal installation 2a's stopsDormancy control unit 205a shortens dormancy time (step S508) according to secondary ACK this case is normally received.
The example of Figure 13 illustrates suspend mode control unit 205a by the time after subtracting the unit time from current dormancy timeThe example of dormancy time as next time.In this case, the unit time can be preset fixed value, rule can also be passed throughFixed calculating formula calculates.In addition, the unit time can also be selected from multiple candidates based on defined condition.Here, notDormancy control unit 205a and subtracting preset unit time " 1 second " from current dormancy time by next suspend mode whenBetween be determined as " 9 seconds ".
Then, if producing the new control information for control device [4], terminal installation in terminal installation 2a2a generates the control message sent to newly generated control information.Terminal installation 2a is by control message generated to controlDevice [1] sends (step S509).Then, by executing processing identical with step S502~S507, terminal installation 2a is rungIt should be for the secondary ACK (step S510~S515) of the control message sent in step S509.
At this point, in step S513, terminal installation 2a moves to dormant state when being the suspend mode after shortening in step S505Between.The example of Figure 13 illustrates that terminal installation 2a determines 9 seconds from original dormancy time that is, obtained from subtracting within 10 seconds 1 secondFor the example of new dormancy time.In this case, terminal installation 2a moves to dormant state according to the reception of an ACK, passing throughThe transmission that control device [1] requests secondary ACK is directed to after the dormant state for having spent 9 seconds.
Figure 14 is the second timing for indicating the process of the processing of terminal installation 2a change dormancy time in the 2nd embodimentFigure.Figure 13, which is illustrated according to secondary ACK this case is received, shortens the process of the processing of dormancy time, in contrast, figure14 indicate according to the process for being not received by this case that secondary ACK the processing for extending dormancy time.Wherein, by Figure 14Processing same as figure 13 everywhere in shown in reason assigns appended drawing reference same as figure 13 to omit explanation here.
Figure 14 and Figure 13's the difference lies in that the secondary ACK having sent in step s 507 not by terminal installation 2a justOften receive.In this case, suspend mode control unit 205a extends dormancy time to make secondary ACK send the opportunity delay of request(step S601).
The example of Figure 14 illustrate suspend mode control unit 205a by current dormancy time added after the unit time whenBetween as next time dormancy time example.Here, suspend mode control unit 205a is set in advance by adding to current dormancy timeNext dormancy time is determined as " 11 seconds " by the fixed unit time " 1 second ".In this case, terminal installation 2a is according to primaryThe reception of ACK and move to dormant state, after it have passed through 11 seconds dormant states for control device [1] request it is secondaryThe transmission of ACK.
In the apparatus control system 100 of the 2nd embodiment constituted in this way, terminal installation 2a connects according to secondary ACK'sReceipts situations changes dormancy time.The adjustment of dormancy time in this way, can be by the length of the dormancy time of terminal installation 2aDegree is adjusted to length appropriate.
Hereinafter, being illustrated to the variation of the apparatus control system 100 of embodiment.
Relay test section 203 is also configured in the number that send again of control message be more than the upper limit of stipulated numberIn the case where execute the detection of relay again.
Message transmission unit 204 is also configured to, in the case where not receiving an ACK, with pre-determined regulationNumber send transmitted control message as the upper limit again.
Message transmission unit 204 may be also constructed to, and be more than the upper limit of stipulated number in the number that send again of control messageIn the case of, relay will be replaced to send control message again as destination is sent.
Suspend mode control unit 205a is also configured to, and rule have been repeated in the shortening and extension of the length of dormancy timeIn the case where determining number, unit time when will shorten or lengthen the length of dormancy time shortens.
Suspend mode control unit 205a may be also constructed to, and rule have been repeated in the shortening and extension of the length of dormancy timeIn the case where determining number, by the length of dormancy time be fixed as the moment length and later without change.
At least one embodiment from the description above will be disappeared by including control device for the control receivedThe first of breath receives response and sends to terminal installation and send the control being expressed as by destination according to the request of terminal installationDevice processed receives the second reception response of control message;And terminal installation, from reception first receive response until receiveSecond receive response until during specified time limit, so that the function of a part of the present apparatus is stopped, thus equipment control relate toAnd cordless communication network in can be realized the economize on electricity of wireless device.
Several embodiments of the invention are described, but these embodiments only illustrate, it is not intended to limitThe range of invention.These embodiments can be implemented by various other ways, in the range for not departing from inventive concept, energyEnough carry out various omissions, displacement, change etc..These embodiments and modifications thereof are included in the scope and summary of invention, also,It include invention and its equivalent range documented by technical solution.