A kind of communication device based on Li-Fi wire communication smart home system
Technical field
The present invention relates to smart home fields, and in particular to a kind of logical based on Li-Fi wire communication smart home system
Interrogate device.
Background technique
The bussing technique of existing smart home system usually has wireless interconnected, wired interconnection and power line carrier PLCBUS etc.
Technology, basic ideas are all substantially the nodes that independent life application module is integrated into network-control, by central processing center
Control.But come with some shortcomings, such as: wireless technology signal it is unstable, vulnerable to the interference of architectural composition, frequency spectrum is excessively
It is crowded, and band segment is by control;That there are transmission rates is low for power carrier, it is difficult to be consistent with the network of increasingly high speed
It closes, is not able to satisfy user experience, there is also security risks;Wired interconnection technique difficult wiring is broken especially for the repacking of old house
It is bad larger, it is with high costs.
Summary of the invention
For the above-mentioned prior art, it is an object of that present invention to provide one kind to be based on Li-Fi wire communication smart home system
Communication device, aiming to solve the problem that existing smart home system, there are jitters, and the rate of information throughput is low, and transmission spectrum is gathered around
It squeezes, the technical problems such as security risk and reliability are low.
In order to achieve the above objectives, The technical solution adopted by the invention is as follows:
A kind of communication device based on Li-Fi wire communication smart home system, including file server: it is stored with intelligence
The basic configuration information of household electrical appliances;Li-Fi communication module: including pretreatment unit, matching in file server substantially is accessed
Confidence breath, the data for carrying out Li-Fi transmission format protocol are packaged and coding, and generate coded data packet;The access point Li-Fi: it connects
It receives the coded data packet of Li-Fi communication module and addresses transmission coded data packet or feedback encoding data packet and communicate mould to Li-Fi
Block has the function of wired input output and is wirelessly input to;Node: the coded data packet for uploading intelligent appliance job information is given
The access point Li-Fi, download the access point Li-Fi coded data packet to intelligent appliance, between the access point Li-Fi and intelligent appliance into
The interaction of row coded data packet.
In above scheme, the Li-Fi communication module, including pretreatment unit: input data is converted to Li-Fi transmission
The data of protocol format are simultaneously packaged, and/or Li-Fi transmission format protocol data are converted to output data and are solved
Packet;Satellite-signal transceiver: the connection between pretreatment unit and internet is established by satellite, and in controlling terminal and pretreatment
Signal transmission is carried out between unit;Programming interface: be programmed between main control module and pretreatment unit order or data spread it is defeated;
Codec: the data packet for receiving pretreatment unit is encoded and is sent to the access point Li-Fi, and/or receives Li-Fi access
The coded data packet of point is decoded and is sent to pretreatment unit.Realize that the data of Li-Fi transmission format protocol are packaged or solve
Packet, and encode or decode, establish Li-Fi sub-data transmission mode for cloth;Even if in the case where the external world interconnects disconnection, by file service
Device can continue as the next Li-Fi network for the local area network of center hinge and provide basic operational support, lifting system stability and can
By property.
In above scheme, the access point Li-Fi, including light-detecting device and light emitting devices;It further include for seeking
The microchip of location: it controls the luminous of light emitting devices or extinguishes, and receive the signal of light-detecting device.Establish Li-Fi network letter
Number transmission distribution hinge, provide download access and upload feedback node.
In above scheme, the node NODE, the node including being separately connected the access point Li-Fi LFAP optical modulation device
NODE_1 to _ N.It realizes and stablizes, almost noiseless, the Li-Fi data transmission of no crosstalk.
In above scheme, main control module: Li-Fi communication module is programmed, is debugged and data stream transmitting;Control is eventually
End: mutually transmitting coded data packet with the access point Li-Fi, to main control module input control signal, and regulates and controls Li-Fi communication mould
Block;The main control module, including judgement unit: receiving the control signal or receive the access point Li-Fi work that controlling terminal issues
Make the feedback signal of state, and exports Mbus or feedback clock;Processor: the Mbus of judgement unit is received, is passed through
Interface exports programming information to Li-Fi communication module;For debugging the adapter of transport protocol compatibility: selecting protocol adaptation
Device has different adaptation patterns;Connect the Li-Fi spectrographic detection unit 2 of judgement unit: including photodiode;Place
Reason device is connect with adapter;It connects the user interface of processor: selecting multikey position scene control, there is a key to change intelligent family
The function of electric scene setting.Classification by judgement unit to input signal, realize feedback intelligent household electrical appliances work state information and
Custom-configure program input;The compatibility of transport protocol is debugged between different information process units.
In above scheme, the main control module is connected with data, and data, which are stored with, custom-configures information and multimedia
Information.Processor receives the feedback clock of judgement unit, control adapter debugging Li-Fi communication module and main control module transmission association
The compatibility of view;Processor reads data, forms data flow, and export to Li-Fi communication module;Processor receives judgement unit
Mbus, be written data, be stored as custom-configuring information.The current family individual scene of imformosome is custom-configured to set
It sets, after one-time programming, is called by one key of user interface, it is easy to use;Multimedia messages embody user and need to pass through Li-
The information that Fi is sent, issues after processor calls, is moved easily phone, the portable equipments such as laptop are in the local area network
Quickly access.
In above scheme, the controlling terminal, including Li-Fi spectrographic detection unit 1: it receives the access point Li-Fi and issues
Coded data packet, and unpacked;Decoder: receiving and decodes the coded data of Li-Fi spectrographic detection unit output;
FPGA: the output signal of decoder is obtained by SDIO interface;Encoder: to FPGA issue modulation pulse or clock signal into
Row coding, and outputting encoded data;Driving: according to the coded data of encoder output, output driving level;Laser diode:
It is shone or is extinguished according to the drive level of driving;For inputting program, creation custom-configures information and observation intelligent appliance work
Make the Trackpad of state: connection FPGA;The buffer for connecting FPGA, connects the satellite-signal transceiver of buffer.Li-Fi communication
Module LFCM is connect with the access point Li-Fi LFAP optical fiber, the access point Li-Fi LFAP and node NODE, main control module CMM, control
The connection of terminal CT optical fiber.Buffer enhances frequency matching degree, and satellite-signal transceiver is auxiliary means of communication, guarantees main control module
When failure, user can directly control Li-Fi communication module;User need to only complete all kinds of programmings and setting work by Trackpad
To make, the configuration of individualized intelligent household electrical appliances and scene composition have embodied a concentrated reflection of simply, and it is convenient, comfortably, the intelligence of information exchange and communication
Change home life.
Detailed description of the invention
Fig. 1 is the structural diagram of the present invention;
Fig. 2 is the operation workflow figure of Li-Fi communication module of the present invention;
Fig. 3 is present invention specific implementation figure;
In figure: FPGA- field programmable gate array, SDIO- secure digital input/output interface, SDU- spectrographic detection unit
The access point SPECTRAL DETECTION UNIT, LFAP-Li-Fi Li-Fi ACCESS POINT.
Specific embodiment
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive
Feature and/or step other than, can combine in any way.
The present invention will be further described with reference to the accompanying drawing:
Fig. 1 is the structural diagram of the present invention, a kind of communication device based on Li-Fi wire communication smart home system,
Including file server FS: being stored with the basic configuration information of intelligent appliance;Li-Fi communication module LFCM: including pre- place
Manage unit PPU, access file server FS in basic configuration information, carry out Li-Fi transmission format protocol data be packaged and
Coding, and generate coded data packet;The access point Li-Fi LFAP: the coded data packet of Li-Fi communication module LFCM and addressing are received
It sends coded data packet or feedback encoding data packet gives Li-Fi communication module LFCM, there is wired input output and be wirelessly input to
Function;Node NODE: the coded data packet for uploading intelligent appliance job information gives the access point Li-Fi LFAP, downloading Li-Fi to visit
Ask that the coded data packet of point LFAP to intelligent appliance, carries out coded data packet friendship between the access point Li-Fi LFAP and intelligent appliance
Mutually.
Fig. 2 is the operation workflow figure of Li-Fi communication module of the present invention, and the access point Li-Fi LFAP is to pretreatment unit PPU
Access request is issued, pretreatment unit PPU is by reading file server FS or reading the data in satellite-signal transceiver SST
Information replys request, or neutralizes as interim storage file write-in file server FS and pass through satellite-signal transceiver
SST is uploaded to internet.Unlike other wireless technologys, Li-Fi transmission process is not by electromagnetic interference effect (EMIE) shadow
It rings, Electromagnetic Compatibility is preferable, not by communication bandwidth control, transmission speed averagely about 10Gbps, also much larger than current
Common Wi-Fi communication modes transmission speed;It preferably, will be complete in the smart home system with super clear CCD monitoring camera-shooting
At the transmission of 1080P image information.
Fig. 3 is present invention specific implementation figure, and processor P receives the feedback clock of judgement unit JU, control adapter debugging
The compatibility of Li-Fi communication module LFCM and main control module CMM transport protocol;Processor P reads data, forms data flow, and
It exports to Li-Fi communication module LFCM;Processor P receives the Mbus of judgement unit JU, and data DATA is written, and is stored as certainly
Define configuration information.It custom-configures the current family individual scene of imformosome to be arranged, after one time programming, passes through user interface UI
One key calls, easy to use;Multimedia messages embody the information that user needs to send by Li-Fi, call through processor P
After issue, be moved easily phone, the portable equipments such as laptop quickly access in the Li-Fi local area network.User needs to set
Individual scene or scene are set, assembler is inputted by Trackpad TP, FPGA exports corresponding code stream, controls laser diode LD
Li-Fi coded data packet is issued, after the judgement unit JU classification processing of main control module, processor P receives Mbus, output pair
Coded sequence (custom-configuring information) is answered, is stored to data DATA, and gives the pretreatment unit PPU of Li-Fi communication module,
It exports the corresponding data packet, and codec E/DC completes scene codes, issues coded data by the access point Li-Fi LFAP
Packet regulates and controls the electrical parameter of corresponding intelligent appliance, forms certain scenarios, it is secondary using same scene when, need to only pass through user interface
The scene that the personalized programming of mono- key of UI selection institute is set.
Embodiment 1
The light-detecting device and light emitting devices of the access point Li-Fi LFAP can select respectively TTL technique single-lens reflex camera CCD and
The optional operation wavelength section the electrooptic modulator EOM of Li-Fi optical communication technology, electrooptic modulator EOM in 850 nm, 1310nm,
1490nm, CW- DM, 1550nm, DWDM;Enabling mode is photoinduction starting, passive photopolymerization initiation, optoacoustic control combination technology, light
Incude mechanically integrated module and/or the optional choice of technology.
Embodiment 2
Pretreatment unit PPU is suitable for following DSP, CPU or GPU, the RISC Architecture of APU, ARM or x86 framework, quantum
Or the photon CPU choice of technology.There is technological incorporation in the technology development for making a general survey of microprocessor: optical communication chip, graphene chip
Invention so that network Development hardware unknown mutation is occurred, the progress of technology is the reference of selection standard.But it is bad for changing
Invention, or cost viewpoint, only from the selection of technical scheme of practicability.
Almost noiseless, without crosstalk the invention has the advantages that: signal stabilization, the rate of information throughput is high, and transmission spectrum is not
By control and securely and reliably.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Belong to those skilled in the art in the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of, all answers
It is included within the scope of the present invention.