The intelligent home network control system
Technical field
The present invention relates to network service control technology field, and relate in particular to a kind of intelligent home network control system.
Background technology
The intelligent home network control system is the important component part of intelligent domestic system.If liken intelligent domestic system to people, the intelligent home network control system is exactly people's a nerve center so.For concentrated area control is distributed in than the various types of intelligent terminals in the large space scope (so-called intelligent terminal comprises the controlling object of all intelligent domestic systems such as smart machine, intelligent appliance and/or intelligent facility), need utilize multiple technologies integrated management and enforcements such as computer technology, the network communications technology, wiring technique, control technology.Except requirement, also need certain efficient and intelligent be arranged to the control and the action of various intelligent terminals in this function aspects.The requirement of these functions and aspect of performance has proposed new requirement all for the intelligent home network control system that is connected each node.The intelligent home network control system is set up special communications protocol in inside, be used between the intelligent terminal mutual and intelligent terminal and external environment (comprising external network, external equipment facility or electrical equipment and people) alternately.
In the prior art, this is a control system that integrates multiple illumination control mode, modern digital control technology and network technology, and whole system is partly formed by three usually: field control level equipment, transducer is with the signal of communication transmission system.For example; Application number is that 200610170518.5 one Chinese patent application " architecture of soft exchanging system is realized the system and method for Smart Home control down " discloses and realizes the system and method that Smart Home is controlled a kind of architecture of soft exchanging system under; It is on the basis of traditional intelligent domestic system; Through adopting the soft switch unit; Make full use of NGN network and the H.248 high control of agreement and good topological relation descriptive power, realize control and the monitoring of residence gateway, and realize easily that related a plurality of home appliance cooperatively interacts and accomplish the function of more multitask home appliance.Be the disclosed a kind of Smart Home supervisory control system running method based on WIFI and http technology of 201010122598.3 one Chinese patent application such as application number again, this system comprises master controller and the remote operation terminal that is connected with master controller through the RS485 data/address bus, local operation terminal, power control part branch and regulates and control monitor portion.
Above-mentioned prior art all must be used multiple switch or adopt extra auxiliary equipment such as WIFI equipment; The function of switch can't customize; Must design a large amount of sub-control systems and carry out a large amount of wirings again, but could satisfy situation for multiple or a fairly large number of intelligent terminal of the same race.After general switch carries out cascade, cause the addressing difficulty of intelligent terminal.
Again for example; In Lighting Control Assembly, great majority adopt the topological structure of star and bus type, and all light fixtures directly are connected with control centre; Cause the difficulty of later stage increase number of devices bigger; And the lighting mains that adopts multi-level star topology need increase a plurality of branch controls center, causes the increase of cost, and adopts the communication protocol of non-TCP/IP mode that the equipment addressing mode is had nothing in common with each other in the existing communication protocol; The addressing of equipment is also comparatively complicated, and adopts the communication protocol of TCP/IP mode to be not suitable for the lower lighting control networks of data volume.
Summary of the invention
In view of the shortcoming of prior art, the present invention provides a kind of intelligent home network control system, and this control system includes gateway, switch and intelligent terminal, it is characterized in that:
Said gateway is connected with said switch and communicates through ethernet twisted pair; Wherein the 1st, 2,3,6 four line through ethernet twisted pair is used to transmit ethernet signal and communicates, and/or the 4th, 5,7,8 four line through ethernet twisted pair constitutes the RS485 bus and communicate.
Preferably; Said switch is connected with said intelligent terminal and communicates through ethernet twisted pair; Wherein the 1st, 2,3,6 four line through ethernet twisted pair is used to transmit ethernet signal and communicates, and/or the 4th, 5,7,8 four line through ethernet twisted pair constitutes the RS485 bus and communicate.
Preferably; This control system also includes second switch; Said switch is connected with said second switch and communicates through ethernet twisted pair; Wherein the 1st, 2,3,6 four line through ethernet twisted pair is used to transmit ethernet signal and communicates, and/or the 4th, 5,7,8 four line through ethernet twisted pair constitutes the RS485 bus and communicate.
Preferably; This control system also includes second gateway; Said gateway is connected with said second gateway and communicates through ethernet twisted pair; Wherein the 1st, 2,3,6 four line through ethernet twisted pair is used to transmit ethernet signal and communicates, and/or the 4th, 5,7,8 four line through ethernet twisted pair constitutes the RS485 bus and communicate.
Preferably, this control system also includes electric connector, and this electric connector comprises infrared socket, infrared plug, infrared communication module and the holding wire that has power line and be connected to infrared transceiver device;
Said intelligent terminal is connected to said gateway through this electric connector;
Said electric connector is that said intelligent terminal provides electric power through power line, and communicates through holding wire and the said gateway that is connected to infrared transceiver device.
Preferably, when the infrared plug that is connected to said intelligent terminal was connected infrared socket, said intelligent terminal sent fixed address at first for said gateway;
Said gateway distributes a dynamic id address can for the corresponding infrared socket of this fixed address after receiving fixed address, and adopts source address and the destination address of this dynamic id address as communication.
Preferably, said fixed address comprises the one or more combination in the bar code, batch code, sequence number of said intelligent terminal.
Preferably, said infrared communication module communicates through RS485 bus and said gateway.
The application's beneficial effect is:
The invention provides a kind of intelligent home network control system that has the multiplexing function of cable; This system utilizes existing Ethernet twisted-pair feeder parallel transmission ethernet signal and RS485 bus signals; And can not disturb each other; Not only expanded the function of existing ethernet twisted pair, and be convenient to have the home network transformation with minimum cost, fast now, be upgraded to intelligent house network system.
It is convenient to have networking, the advantage of being convenient to expand.Utilize traditional ethernet twisted-pair feeder and RJ45 interface; Just can realize the quick establishment of intelligent house network system, and can increase gateway flexibly according to the practical application scene; Middle cascade device, switch and intelligent terminal, but infinite expanding and cascade in theory.
It is flexible to have networking mode.Both can carry out networking between each control appliance, switching equipment, intelligent terminal in the intelligent domestic system through the ethernet twisted pair that the multiplexing function of cable is arranged; Also can realize wireless networking between switch and intelligent terminal through being electrically connected; Mode networkings such as all right mixed ethernet twisted-pair feeder, RJ485 bus, electric connector; Particularly for increasing, remove and the frequent intelligent terminal of position adjustment; Infrared radio connects and communication mode satisfies this demand fully, and need not extra wiring or reservation cable.
Switch adopts the mode of ID coding that function device is carried out addressing, thereby addressing system is simple especially, but can satisfy the control mode under the various scenes, for example individual equipment is controlled or an equipment group is controlled.
Not only home gateway, last layer switch can come through the switch with ID function of exchange function device is controlled; And intelligent terminal also can directly insert the switch with ID function of exchange and controls; Even therefore home gateway breaks down; The use of each function device can not be affected, and therefore makes control system that higher fault-tolerance and stability arranged.
Switch self with ID function of exchange has memory function and port mapping function; Therefore need not function device (light fixture) comprises intelligent chip; Can general function equipment be applied in the network, this has just improved the range of application of intelligent home network greatly.
Through replacing IP address or privately owned address exchanged form with the ID exchanged form, cascade easily also is easy to expand.Because the switch volume I with ID function of exchange is directly to be installed in the socket; Therefore go in the first construction wiring of Smart Home; Also can be easily to having the transformation of domestic environment; As only utilize external socket just can realize the intelligent lighting control of lamp group equipment, provide cost savings preferably.
The invention solves 485 bus signals and can't pass the technical barrier of Ethernet switch.Because present Ethernet switch does not support 4 useless lines to carry out the information transmission of 485 buses.Reduce the wiring trouble, improved the twisted-pair feeder utilance.
Description of drawings
Fig. 1 shows the structured flowchart of the intelligent home network control system among the application;
Fig. 2 shows the intelligent home network structure that the application is suitable for;
Fig. 3 is the electric connector that the application adopts.
Embodiment
As shown in Figure 1; Intelligent home network control system in the intelligent domestic system comprises gateway, switch, intelligent terminal; Said gateway and switch cascade are also carried out the information forwarding of upper layer information and switch; Said switch links to each other with said intelligent terminal; Communicate through RS485 and ethernet twisted pair between the intelligent terminal, and 4,5,7,8 four lines formation RS485 buses of said switch use ethernet twisted pair, and the signal end of 4,5,7,8 four lines of corresponding ethernet twisted pair in the switch is connected with the RS485 bus.Wherein, said intelligent terminal can be equipment or the terminal of controlling alternately with the control centre or the user of intelligent domestic system in any form.
Fig. 2 has shown the concrete structure of intelligent home network disclosed by the invention, mainly comprises digital home's intelligent gateway of household internal.Gateway passes through the bus switch machine, industry ethernet, and 485 buses couple together various smart machines.
The communication structure of the electric connector that the application that shows Fig. 3 adopts.Advantages such as the holding wire of infrared socket adopts 485 buses, and 485 buses have long transmission distance, and antijamming capability is strong.All holding wires have been avoided the problem of cabling again along with the power supply cabling.At the socket place, for good binding signal line, adopted the Infrared Transmission mode, promptly insert an infrared transceiver device socket one side, also install an infrared transceiver device plug one side.Utilize Infrared Transmission, holding wire has adopted non-contacting connection, and is promptly reliable, convenient again, avoided intelligent electric appliance need rethink the problem that holding wire connects.
Infrared socket data exchange process is following:
1), sends fixed address: when the infrared plug of terminal household electrical appliances is connected the infrared socket of compound bus; The terminal household electrical appliances at first can send fixed address to gateway; CPU1 among Fig. 3 can send fixed address with the infrared communication protocol of agreement and give socket CUP2, and socket is decoded after receiving ir encoded signal, obtains fixed address and deposits this fixed address; Simultaneously, through fixed address notice message notifying gateway.
2), distribute dynamic id address: receive fixed address and distribute a dynamic id address can for the corresponding socket of household electrical appliances after logical that when gateway household electrical appliances itself then need not write down dynamic id address to its audit.Gateway will must be delivered to destination address to the corresponding socket of id address notification that distributes to the destination address of the fixed address of receiving as communication to dynamic id address; And when household electrical appliances sent fixed address to gateway, associated socket all recorded the fixed address of household electrical appliances, so; Gateway sends to socket CPU2 to dynamic id through the address assignment message; CUP2 is coupling fixed address data earlier, if mate successfully, then deposit dynamic id address; Like this, source address and the destination address of this dynamic id address as communication just adopted in later communication.
Because the equipment that need not is directly stored the address that is assigned with, this has just reduced the requirement that realizes smart machine control, and conventional equipment can be applied in the intelligent home network and go widely.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, also comprise in the said intelligent domestic system: infrared communication module comprises infrared socket and infrared plug, the holding wire that it has power line and is connected to infrared transceiver device; Home intelligent equipment is connected to digital home's intelligent gateway through infrared communication module; Wherein infrared communication module provides electric power through power line for home intelligent equipment, and communicates through holding wire and the digital home's intelligent gateway that is connected to infrared transceiver device.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, when the infrared plug of family's smart machine was connected the infrared socket of compound bus, home intelligent equipment sent fixed address at first for digital home's intelligent gateway; Distribute a dynamic id address after digital home's intelligent gateway is received fixed address, can for the corresponding infrared socket of this fixed address, and adopt source address and the destination address of this dynamic id address as communication.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, this fixed address comprises the one or more combination in the sequence number of batch code, home intelligent equipment of bar code, the home intelligent equipment of home intelligent equipment.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, infrared communication module communicates through RS485 bus and digital intelligent gateway.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, said IP switch connects the equipment of two or more dissimilar interfaces.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, can a plurality of ID switches of cascade, to connect the intelligent terminal and the information terminal of any amount.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, the ID switch adopts the mode of ID coding that function device is carried out addressing.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, said ID switch self has memory cell and can carry out port mapping.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, said ID switch has identical hardware configuration with said IP switch.
According to another embodiment, on the basis of aforementioned each embodiment of the present invention, said intelligent domestic system uses the ID exchanged form to replace IP address or privately owned address exchanged form.
Compared with prior art, switch adopts the mode of ID coding that function device is carried out addressing, thereby addressing system is simple especially, but can satisfy the control mode under the various scenes, for example individual equipment is controlled or an equipment group is controlled.
Not only home gateway, last layer switch can come through the switch with ID function of exchange function device is controlled; And intelligent terminal also can directly insert this switch and controls; Even therefore home gateway breaks down; The use of each function device can not be affected, and therefore makes control system that higher fault-tolerance and robustness arranged.
Switch self with ID function of exchange has memory function and port mapping function; Therefore need not function device (light fixture) comprises intelligent chip; Can general function equipment be applied in the network, this has just improved the range of application of intelligent home network greatly.
Through replacing IP address or privately owned address exchanged form with the ID exchanged form, cascade easily also is easy to expand.Because the switch volume I with ID function of exchange is directly to be installed in the socket; Therefore go in the first construction wiring of Smart Home; Also can be easily to having the transformation of domestic environment; As only utilize external socket just can realize the intelligent lighting control of lamp group equipment, provide cost savings preferably.
The method of above-mentioned each embodiment all can be used separately, also can combine each embodiment of aforementioned intelligent household network among the application, infrared socket and/or address structure to use together.
It is understandable that the application's claim is not limited to these specific open forms, fall into alter mode, equivalents and substitute mode within the spirit and scope of the present invention but covered all.