Router and optical communication equipment and data communication method
A router and optical communication technology, applied in the field of communication, can solve the problems of equipment data communication difficult to achieve, unable to use wireless network, unable to arrange network cables, etc., to achieve the effect of solving electromagnetic interference, saving costs, and solving wiring difficulties
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 The structure of the router in figure 2 As shown, it includes: an Ethernet interface 102, a processing module 104, and an infrared sending module 106, and the functions of each functional module are as follows:
[0023] Ethernet interface 102 is used for receiving the message that transmits through Ethernet (receiving message from computer or other equipment through Ethernet), wherein, the load (Payload) of this message contains target ID, and this target ID is Indicates the optical communication equipment receiving the data in the payload;
[0024] The processing module 104 is used to modulate the data in the load after judging that the above-mentioned target ID is not the ID and the broadcast ID of the router to obtain a modulated data packet; the router itself is preset with a unique ID (abbreviation of Identity, ID), the broadcast ID is used to indicate that all routers receiving the message need to execute the content in the load of the message;
[002...
Embodiment 2
[0030] In order to realize the modulation of the data in the payload, such as image 3 As shown, the processing module 104 in the router 10 in Embodiment 1 may further include:
[0031] Single-chip microcomputer 1042, after judging that the target ID carried in the message is not the ID and broadcast ID of this router, output the data that needs to be forwarded in the message to the modulation amplifier circuit in serial mode, wherein, the data that needs to be forwarded contains: target ID, source ID, operation instruction, operation data, and check code; wherein, the check code can be the lower 8 bits after adding the target ID, source ID, operation instruction, and operation data, the present invention There is no limit to this;
[0032] Oscillator 1044, is used for generating the carrier wave that frequency is 38KHz; And
[0033] The modulation and amplification circuit 1046 is used to modulate the serial data to be forwarded onto a carrier wave with a frequency of 38KHz...
Embodiment 3
[0039] figure 1 The structure of optical communication equipment in Figure 4 As shown, the following modules are included:
[0040] The transceiver module 202 is used to receive the data packet sent by the router 10 in the form of infrared rays, wherein the data packet includes: target ID, source ID, operation instruction, operation data, and check code;
[0041] A judging module 204, configured to judge whether the target ID carried in the data packet received by the transceiver module 202 is the ID of the optical communication device;
[0042] The execution module 206 is configured to execute corresponding operation instructions according to the operation data in the data packet when the judgment result of the judging module 204 is the ID of the optical communication device.
[0043] After the optical communication device receives the data packet forwarded by the router in Embodiments 1 and 2 through infrared rays, it can judge whether it needs to execute relevant operation...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 