CN202488481U - Router and optical communication device - Google Patents

Router and optical communication device Download PDF

Info

Publication number
CN202488481U
CN202488481U CN 201120436781 CN201120436781U CN202488481U CN 202488481 U CN202488481 U CN 202488481U CN 201120436781 CN201120436781 CN 201120436781 CN 201120436781 U CN201120436781 U CN 201120436781U CN 202488481 U CN202488481 U CN 202488481U
Authority
CN
China
Prior art keywords
router
target
data
optical communication
message
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.)
Expired - Lifetime
Application number
CN 201120436781
Other languages
Chinese (zh)
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.)
Beijing Itsync Technology Co Ltd
Original Assignee
Beijing Itsync Technology 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 Beijing Itsync Technology Co Ltd filed Critical Beijing Itsync Technology Co Ltd
Priority to CN 201120436781 priority Critical patent/CN202488481U/en
Application granted granted Critical
Publication of CN202488481U publication Critical patent/CN202488481U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model discloses a router and an optical communication device. The router comprises an Ethernet interface which is used for receiving messages sent through the Ethernet, wherein the load of the messages comprises a target ID; a processing module which is connected with the Ethernet interface, and is used for modulating the data in the load and obtaining a modulated data packet after determining that the target ID is not the ID of the router or the broadcast ID; and an infrared sending module which is connected with the processing module and is used for sending the modulated data packet by using infrared rays, so that only the optical communication device identified by the target ID processes the data packet, wherein each optical communication device has one ID. According to the utility model, the optical communication among devices is realized, the problems of wiring difficulty and electromagnetic interference can be solved, and the cost is greatly saved.

Description

Router and optical communication equipment
Technical field
The utility model relates to the communications field, more specifically, relates to a kind of router and optical communication equipment.
Background technology
Data communication technology combines computer and communication line and equipment; Realized the communication between people and computer, computer and the computer; The utilance of each subscriber computer is improved greatly; And greatly expanded the computer application scope, and make each user realize sharing of computer software and hardware resource and data resource.Work to the remote control in real time of computer with to the items such as remote collection of data, also can utilize data communication to carry out.
Ethernet (Ethernet) is the most general a kind of communication protocol standard that is adopted when realizing data communication at present.In Ethernet, be connected with netting twine between the equipment such as router, switch, PC, use netting twine to come transmission of electric signals to carry out data communication, perhaps, adopt wireless mode to carry out data communication.But, can not arrange netting twine, perhaps can not use in the complex electromagnetic environment of wireless network at some, the data communication between the equipment will be difficult to realize.
The utility model content
In view of this; The main purpose of the utility model is to provide a kind of router and optical communication equipment; Can solve can not arranging netting twine, perhaps can not use in the complex electromagnetic environment of wireless network at some of existing in the prior art, the data communication between the equipment is difficult to the problem of realization.
For achieving the above object, the technical scheme of the utility model is achieved in that
On the one hand, a kind of router is provided, has comprised: Ethernet interface, be used to receive the message that sends through Ethernet, wherein, include Target id in the load of message; Processing module is connected with Ethernet interface, is used for after judging the ID and broadcasting ID that Target id is not this router, the data in the load being modulated the packet after obtaining modulating; Infrared sending module is connected with processing module, is used to use the packet after infrared is modulated, so that the optical communication equipment handle packet that only Target id identified, wherein, each optical communication equipment has an ID.
Wherein, Processing module comprises: single-chip microcomputer; Be used for after judging ID and the broadcasting ID that Target id that message carries is not this router; The data of need transmitting in the message are outputed to modulation amplifying circuit with the mode of serial, wherein, include in the data that need to transmit: Target id, source ID, operational order, operating data and check code; Oscillator is used to produce the carrier wave that frequency is 38KHz; And modulation amplifying circuit, being connected with oscillator with single-chip microcomputer, the data-modulated that is used for the needs of serial are transmitted is the carrier wave of 38KHz to frequency, the packet after obtaining modulating.
Wherein, single-chip microcomputer also is used for instructing according to the operating data executable operations judging after Target id that message carries is the ID or broadcasting ID of this router.
On the other hand, a kind of optical communication equipment is provided also, has comprised: transceiver module, be used for the packet that receiving router sends with ultrared form, wherein, include in the packet: Target id, source ID, operational order, operating data and check code; Judge module is connected with transceiver module, is used for whether the Target id that the judgment data bag carries is the ID of this optical communication equipment; Executive Module is connected with judge module, and the judged result that is used at judge module is when being the ID of this optical communication equipment, instructs according to the operating data executable operations.
Wherein, the judged result that Executive Module also is used at judge module is when being not the ID of this optical communication equipment, packet discard.
The technique effect of the utility model: the router among the utility model embodiment; After from Ethernet, receiving message, judge at first whether the Target id that comprises in the load of message is the ID of self or broadcasts ID, confirm be not after; Go out through infrared emission the data adjustment back that is about in the load; And after optical communication equipment receives, can determine whether to issue oneself according to Target id wherein, thereby can use infrared ray to carry out data communication between router and the optical communication equipment; Some can not the cloth netting twine, maybe can not use in the complex electromagnetic environment of wireless network; Terminal router through employing the utility model embodiment has been realized the optical communication between the equipment, can solve the problem of difficult wiring and electromagnetic interference, and practice thrift cost widely.
Description of drawings
Accompanying drawing described herein is used to provide the further understanding to the utility model, constitutes the application's a part, and illustrative examples of the utility model and explanation thereof are used to explain the utility model, do not constitute the improper qualification to the utility model.In the accompanying drawings:
Fig. 1 shows the network structure according to the data communication system of the utility model embodiment;
Fig. 2 shows the structural representation according to the router of the utility model embodiment one;
Fig. 3 shows the structural representation according to the router of the utility model embodiment two;
Fig. 4 shows the structural representation according to the optical communication equipment of the utility model embodiment three;
Fig. 5 shows the flow chart according to the data communication method of the router of the utility model embodiment four;
Fig. 6 shows the concrete process chart according to the data communication method of the router of the utility model embodiment five;
Fig. 7 shows the flow chart according to the data communication method of the optical communication equipment of the utility model embodiment six.
Embodiment
Below with reference to accompanying drawing and combine embodiment, specify the utility model.
Fig. 1 shows the network structure according to the data communication system of the utility model embodiment; As shown in Figure 1; At least one router one 0 and at least one optical communication equipment 20 have been comprised in this system; Each router all is connected in the Ethernet, can the message that send through Ethernet (for example IP message etc.) be transmitted to corresponding optical communication equipment, also can carry out corresponding operation according to the message that receives.Carry out communication through infrared ray between router one 0 and the optical communication equipment 20.
Embodiment one
The structure of the router among Fig. 1 is as shown in Figure 2, comprising: Ethernet interface 102, processing module 104 and infrared sending module 106, and the annexation and the function of each functional module are following:
Ethernet interface 102 is used to receive the message (receiving the message from computer or other equipment through Ethernet) that sends through Ethernet; Wherein, Include Target id in the load of this message (Payload), this Target id has promptly been indicated the optical communication equipment that receives the data in the load;
Processing module 104 is connected with Ethernet interface 102, is used for after judging the ID and broadcasting ID that above-mentioned Target id is not this router, the data in the load being modulated the packet after obtaining modulating; Router itself is provided with a unique ID (abbreviation of Identity, sign) in advance, and broadcasting ID is used for indicating the router that receives this message all need carry out the content of the load of this message;
Infrared sending module 106 is connected with processing module 104, is used to use the packet after infrared is modulated, so that the optical communication equipment that only Target id identified is handled this packet, wherein, each optical communication equipment has an ID.
When reality was implemented, infrared sending module 106 can be realized by infrared transmitting tube.
Router among the utility model embodiment; After from Ethernet, receiving message, judge at first whether the Target id that comprises in the load of message is the ID of self or broadcasts ID, confirm be not after; Go out through infrared emission the data adjustment back that is about in the load; And after optical communication equipment receives, can determine whether to issue oneself according to Target id wherein, thereby can use infrared ray to carry out data communication between router and the optical communication equipment; Some can not the cloth netting twine, maybe can not use in the complex electromagnetic environment of wireless network; Terminal router through employing the utility model embodiment has been realized the optical communication between the equipment, can solve the problem of difficult wiring and electromagnetic interference, and practice thrift cost widely.
The utility model embodiment can be applied in the data communication system of average communication data amount less than 400 bps.
Embodiment two
In order to realize the modulation of the data in the load, as shown in Figure 3, the processing module 104 in the router one 0 among the embodiment one further can also comprise:
Single-chip microcomputer 1042; Be used for after judging ID and the broadcasting ID that Target id that message carries is not this router; The data of need transmitting in the message are outputed to modulation amplifying circuit with the mode of serial; Wherein, include in the data that need to transmit: Target id, source ID, operational order, operating data and check code; Wherein, check code can be the least-significant byte after Target id, source ID, operational order and the operating data addition, and the utility model is not done qualification to this;
Oscillator 1044 is used to produce the carrier wave that frequency is 38KHz; And
Modulation amplifying circuit 1046 is connected with oscillator 1044 with single-chip microcomputer 1042, and the data-modulated that is used for the needs of serial are transmitted is the carrier wave of 38KHz to frequency, the packet after obtaining modulating.
Like this, the data (being the data in the load) that need in the message that just can Ethernet interface be received to transmit are gone out through infrared emission after being modulated on the carrier wave of 38KHz.
In addition, single-chip microcomputer 1042 can also be used for instructing according to the operating data executable operations judging after Target id that message carries is the ID or broadcasting ID of this router.If Target id is the ID of this router or broadcasts ID, explain that this message sends to this router, therefore, router will be carried out corresponding operating according to the related content in the load.
Obviously, when reality is implemented, also need equipment DC power supply 108 in the router, think that miscellaneous part provides work required voltage.
Use the router among the embodiment one and two, can realize the data communication between Ethernet and the infrared optical communication equipment.
Embodiment three
The structure of the optical communication equipment among Fig. 1 is as shown in Figure 4, comprises like lower module:
Transceiver module 202 is used for the packet that receiving router 10 sends with ultrared form, wherein, includes in the packet: Target id, source ID, operational order, operating data and check code;
Judge module 204 is connected with transceiver module 202, is used for judging whether the Target id that packet that transceiver module 202 receives carries is the ID of this optical communication equipment;
Executive Module 206 is connected with judge module 204, and the judged result that is used at judge module 204 is when being the ID of this optical communication equipment, carries out the corresponding operating instruction according to the operating data in the packet.
Whether optical communication equipment can be that own ID judges whether needs are carried out the operational order of being correlated with according to the Target id that wherein comprises after receiving the packet that the router of embodiment one in two transmit through infrared ray.
In addition, Executive Module 206 can also be used for abandoning the packet that receives the judged result of judge module 204 when not being the ID of this optical communication equipment (explain and be not to issue oneself).
Optical communication equipment among the embodiment three can be any equipment that can receiving infrared-ray signal, for example LED lighting device, television set etc.
Embodiment four
The data communication method of the router among the embodiment one and two, as shown in Figure 5, may further comprise the steps:
Step S502 receives the message that sends through Ethernet, wherein, includes Target id in the load of message;
Step S504 after judging the ID and broadcasting ID that Target id is not this router, modulates the packet after obtaining modulating to the data in the load;
Router itself is provided with a unique ID in advance, and broadcasting ID is used for indicating the router that receives this message all need carry out the content of the load of this message;
Step S506 uses the packet after infrared is modulated, so that at least one optical communication equipment handle packet that only Target id identified, wherein, each optical communication equipment has an ID.
Router among the utility model embodiment; After from Ethernet, receiving message, judge at first whether the Target id that comprises in the load of message is the ID of self or broadcasts ID, confirm be not after; Go out through infrared emission the data adjustment back that is about in the load; And after optical communication equipment receives, can determine whether to issue oneself according to Target id wherein, thereby can use infrared ray to carry out data communication between router and the optical communication equipment; Some can not the cloth netting twine, maybe can not use in the complex electromagnetic environment of wireless network; Terminal router through employing the utility model embodiment has been realized the optical communication between the equipment, can solve the problem of difficult wiring and electromagnetic interference, and practice thrift cost widely.
Embodiment five
Router among the embodiment one and two carries out the concrete handling process of data communication, and is as shown in Figure 6, may further comprise the steps:
Step S602, after scm software started, the system of router was in the state of waiting for message and the data of preparing to send; After Ethernet interface receives the message that sends through Ethernet; Meeting execution in step S604 if receiving message does not then return step S602, continues to wait for;
As shown in table 1, mainly comprise header and load two parts in the message that receives, wherein, the data in the load further comprise again: Target id, source ID, operational order, operating data, check code.
Table 1
Figure BDA0000106138100000091
In table 1, Target id representes to receive the ID of the equipment (comprising router and optical communication equipment) of the data in the load;
Source ID representes to send the ID of the equipment of this message;
Operational order representes to hope the operation of equipment execution and relevant data with operating data;
Check code is the summation of Target id, source ID, operational order and operating data, gets least-significant byte.
Step S604 is received after the complete message, judges whether check code is correct, if correct, then gets into step S606, if incorrect, then abandons this message, returns step S602 and continues to get back to the state of waiting for message, waits for new message;
Step S606, single-chip microcomputer judge whether the Target id in the load is the ID of this router, if, then get into step S610, if not, step S608 then got into;
Each router has a unique ID, and each optical communication equipment also has a unique ID.
Step S608, single-chip microcomputer continue to judge whether Target id is broadcasting ID, if, then get into step S610, if not, step S612 then got into;
Step S606~S608 judges whether this message is the process of issuing the message of this router, if Target id is the ID or the broadcasting ID of this router, then this router is issued in explanation; If Target id is neither the ID of this router neither broadcast ID, then explanation is not issued oneself, need be transmitted to corresponding optical communication equipment.
Step S610, single-chip microcomputer carry out corresponding operation according to operational order in the load and operating data immediately, for example, according to the IP address in the operating data, the IP address of oneself etc. are set.
Step S612, single-chip microcomputer output to modulation amplifying circuit after with the data serial in the load of message, and modulation amplifying circuit uses the carrier wave of the 38KHz that oscillator generates, serial data is modulated on the carrier wave of this 38KHz, and is launched by infrared transmitting tube.
Embodiment six
The data communication method of the optical communication equipment among the embodiment three, as shown in Figure 7, may further comprise the steps:
Step S702, the packet that receiving router sends with ultrared form wherein, includes in this packet: Target id, source ID, operational order, operating data and check code;
Step S704, whether the Target id that carries in the judgment data bag is the ID of this optical communication equipment, if, then get into step S706, if not, step S708 then got into;
Step S706 instructs according to the operating data executable operations.
Step S708 abandons this packet.
Some can not the cloth netting twine, or can not use in the complex electromagnetic environment of wireless network; In the average data communication system of communication data amount less than 400 bps; Optical communication between the router realization equipment of terminal employing the utility model embodiment; Can solve the problem of difficult wiring and electromagnetic interference, and practice thrift cost greatly.
From above description, can find out that the utility model the above embodiments have realized following technique effect:
Router among the utility model embodiment; After from Ethernet, receiving message, judge at first whether the Target id that comprises in the load of message is the ID of self or broadcasts ID, confirm be not after; Go out through infrared emission the data adjustment back that is about in the load; And after optical communication equipment receives, can determine whether to issue oneself according to Target id wherein, thereby can use infrared ray to carry out data communication between router and the optical communication equipment; Some can not the cloth netting twine, maybe can not use in the complex electromagnetic environment of wireless network; Terminal router through employing the utility model embodiment has been realized the optical communication between the equipment, can solve the problem of difficult wiring and electromagnetic interference, and practice thrift cost widely.
The preferred embodiment that the above is merely the utility model is not limited to the utility model, and for a person skilled in the art, the utility model can have various changes and variation.All within the spirit and principle of the utility model, any modification of being done, be equal to replacement, improvement etc., all should be included within the protection range of the utility model.

Claims (2)

1. a router is characterized in that, comprising:
Ethernet interface is used to receive the message that sends through Ethernet, wherein, includes Target id in the load of said message;
Processing module is connected with said Ethernet interface, is used for after judging the ID and broadcasting ID that said Target id is not this router, the data in the said load being modulated the packet after obtaining modulating;
Infrared sending module is connected with said processing module, is used to use the packet after the said modulation of infrared, so that the optical communication equipment processing said data bag that only said Target id identified, wherein, each optical communication equipment has an ID.
2. router according to claim 1 is characterized in that, said processing module comprises:
Single-chip microcomputer; Be used for after judging ID and the broadcasting ID that Target id that said message carries is not this router; The data of need transmitting in the said message are outputed to modulation amplifying circuit with the mode of serial; Wherein, include in the said data that need to transmit: Target id, source ID, operational order, operating data and check code;
Oscillator is used to produce the carrier wave that frequency is 38KHz; And
Said modulation amplifying circuit is connected with said oscillator with said single-chip microcomputer, and the data-modulated that is used for the said needs of serial are transmitted is the carrier wave of 38KHz to said frequency, obtains the packet after the said modulation.
CN 201120436781 2011-11-07 2011-11-07 Router and optical communication device Expired - Lifetime CN202488481U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201120436781 CN202488481U (en) 2011-11-07 2011-11-07 Router and optical communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201120436781 CN202488481U (en) 2011-11-07 2011-11-07 Router and optical communication device

Publications (1)

Publication Number Publication Date
CN202488481U true CN202488481U (en) 2012-10-10

Family

ID=46962866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201120436781 Expired - Lifetime CN202488481U (en) 2011-11-07 2011-11-07 Router and optical communication device

Country Status (1)

Country Link
CN (1) CN202488481U (en)

Similar Documents

Publication Publication Date Title
KR101368166B1 (en) Re-connection method in peripheral interface using visible light communication
US20170054500A1 (en) Visible Light Communications VLC Related Device and Method
MXPA03005348A (en) Wireless communication networks for providing remote monitoring of devices.
GB2301754B (en) A protocol converter for a telecommunications system
CN105450268A (en) Bluetooth-based method and system for automatically connecting wearable device with mobile terminal
CN111817826B (en) Side link information transmission method, terminal and control node
CA2539468A1 (en) System and method for asynchronous wireless services using reverse service schema generation
CN105022276A (en) Smart home system and data interaction method thereof
CN102957527A (en) Communication method for aggregation of heterogeneous component carriers and communication device and wireless communication station using the same
CN104205998A (en) Method and apparatus for relaying data communications in a bluetooth network
CN106452508A (en) XPON system based home terminal wireless visible light communication system and method
CN105578383A (en) 2.4G-based networking communication system and communication method
CN105682255A (en) Beidou communication terminal ad-hoc networking technology based on non-director mode
CN103984325A (en) IEEE802.15.4-oriented equipment data synchronization method of intelligent housing system
RU2008129124A (en) DEVICE, METHOD AND COMPUTER SOFTWARE PRODUCT FOR CONTROL RECEPTION OF BROADCAST CONTENT
CA2606919A1 (en) Method, system and apparatus for automatic notification to a plurality of communication nodes
CN105939544A (en) Wireless communication method and device
ATE321410T1 (en) FORCING A TIME TO DISCONNECT A COMMUNICATION CONNECTION WITH CORDLESS TERMINALS WITH TRANSIENT NETWORK ADDRESSES
CN105163271A (en) Communication device
CN111787431B (en) Centralized meter reading system of dual-mode networking communication technology and implementation method thereof
CN108684021A (en) A kind of Bluetooth Low Energy communication means and device
CN202488481U (en) Router and optical communication device
CN105228096B (en) A kind of communication establishing method and device based on WIFI
CN105490949A (en) Bluetooth 4.0-based intelligent router and control method thereof
CN104617989A (en) Method and terminal for changing terminal working mode based on a Bluetooth beacon

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20121010