CN117743237A - Communication device and communication system - Google Patents

Communication device and communication system Download PDF

Info

Publication number
CN117743237A
CN117743237A CN202311789193.9A CN202311789193A CN117743237A CN 117743237 A CN117743237 A CN 117743237A CN 202311789193 A CN202311789193 A CN 202311789193A CN 117743237 A CN117743237 A CN 117743237A
Authority
CN
China
Prior art keywords
communicated
hardware serial
communication
signal
gate circuit
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.)
Pending
Application number
CN202311789193.9A
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.)
Hangzhou Langxun Technology Co ltd
Original Assignee
Hangzhou Langxun 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 Hangzhou Langxun Technology Co ltd filed Critical Hangzhou Langxun Technology Co ltd
Priority to CN202311789193.9A priority Critical patent/CN117743237A/en
Publication of CN117743237A publication Critical patent/CN117743237A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

The invention provides a communication device and a communication system, comprising: a plurality of AND gates connected to each other; the output end of each AND gate circuit is connected with the signal receiving end of the corresponding hardware serial port equipment to be communicated; the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except the corresponding hardware serial device to be communicated; the hardware serial port equipment to be communicated is used for sending out a communication signal of a preset type according to the signal transmission instruction when receiving the signal transmission instruction; transmitting the communication signal to other hardware serial port equipment to be communicated corresponding to other AND gate circuits through other AND gate circuits except the target AND gate circuit in the plurality of AND gate circuits so as to realize communication expansion; the output end of the target AND gate circuit is connected with the input end of the hardware serial device to be communicated. The communication device realizes broadcasting of communication signals, is easy to expand, and has strong stability of digital circuits.

Description

Communication device and communication system
Technical Field
The present invention relates to the field of hardware communications technologies, and in particular, to a communication device and a communication system.
Background
Currently, complex hardware protocols such as RS-232, RS-422, RS-485 and the like are required for communication between hardware devices, and conventional hardware communication is usually performed in a point-to-point manner, or interconnection hardware protocol conversion of multiple devices is realized through a processor such as an MCU and the like. For the point-to-point mode, the flexibility is not high because the expansion is not supported. Furthermore, the implementation of the protocol conversion of the interconnection hardware of the multiple devices by the processor such as the MCU is also faced with high cost and certain requirements on the stability of the program, and often needs to be actually applied in an industrial environment to test whether the program is stable and reliable.
As a whole, the conventional communication device has problems of poor stability and poor flexibility.
Disclosure of Invention
The invention aims to provide a communication device and a communication system, which are used for solving the technical problems of poor stability and poor flexibility of the conventional communication device and improving the stability and flexibility of communication.
In a first aspect, an embodiment of the present invention provides a communication apparatus, including: a plurality of AND gates connected to each other; the output end of each AND gate circuit is connected with the signal receiving end of the corresponding hardware serial port equipment to be communicated; the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except the corresponding hardware serial devices to be communicated; the hardware serial port equipment to be communicated is used for sending out a communication signal of a preset type according to the signal transmission instruction when receiving the signal transmission instruction; transmitting the communication signal to the other hardware serial port equipment to be communicated corresponding to the other AND gate circuits through the other AND gate circuits except the target AND gate circuit in the plurality of AND gate circuits so as to realize communication expansion; and the output end of the target AND gate circuit is connected with the input end of the hardware serial device to be communicated.
In a preferred embodiment of the present invention, the type of the communication signal is an RS232 communication protocol, an RS485 communication protocol or an RS422 communication protocol.
In a preferred embodiment of the present invention, the plurality of and circuits includes: the first AND gate circuit, the second AND gate circuit and the third AND gate circuit; the output end of the first AND gate circuit is connected with the signal input end of the first hardware serial port equipment to be communicated; the output end of the second AND gate circuit is connected with the signal input end of the second hardware serial port equipment to be communicated; the output end of the third AND gate circuit is connected with the signal input end of the third hardware serial port equipment to be communicated; the input end of the first AND gate circuit is connected with the signal transmitting ends of the second hardware serial device to be communicated and the third hardware serial device to be communicated; the input end of the second AND gate circuit is connected with the signal transmitting ends of the first hardware serial device to be communicated and the third hardware serial device to be communicated; the input end of the third AND gate circuit is connected with the signal transmitting ends of the first hardware serial device to be communicated and the second hardware serial device to be communicated; the first hardware serial port equipment to be communicated is used for sending out a first communication signal of a preset type according to the first signal transmission instruction when receiving the first signal transmission instruction; and sending the first communication signal to the second hardware serial device to be communicated and the third hardware serial device to be communicated through the second AND gate circuit and the third AND gate circuit.
In a preferred embodiment of the present invention, the second hardware serial device to be communicated is configured to send a second communication signal of a preset type according to the second signal transmission instruction when receiving the second signal transmission instruction; and sending the second communication signal to the first to-be-communicated hardware serial device and the third to-be-communicated hardware serial device through the first AND gate circuit and the third AND gate circuit.
In a preferred embodiment of the present invention, the third hardware serial device to be communicated is configured to send a third communication signal of a preset type according to a third signal transmission instruction when receiving the third signal transmission instruction; and transmitting the third communication signal to the first to-be-communicated hardware serial port device and the second to-be-communicated hardware serial port device through the first AND gate circuit and the second AND gate circuit.
In a preferred embodiment of the present invention, the input end of each and gate circuit is connected to the signal transmitting end of the other hardware serial devices to be communicated except the corresponding hardware serial device to be communicated through a bus.
In a preferred embodiment of the present invention, an input end of the first and gate circuit is connected to a signal transmitting end of the second hardware serial device to be communicated and the third hardware serial device to be communicated through a first bus; the input end of the second AND gate circuit is connected with the signal transmitting ends of the first hardware serial device to be communicated and the third hardware serial device to be communicated through a second bus; and the input end of the third AND gate circuit is connected with the signal transmitting end of the first hardware serial device to be communicated and the signal transmitting end of the second hardware serial device to be communicated through a third bus.
In a second aspect, an embodiment of the present invention provides a communication system, including: the communication device further comprises a plurality of hardware serial devices to be communicated.
In a preferred embodiment of the present invention, the hardware serial device to be communicated is an industrial device.
In a preferred embodiment of the present invention, the communication system further includes: the controller is connected with the hardware serial device to be communicated; the controller is used for acquiring the signal transmission instruction.
The embodiment of the invention has the following beneficial technical effects:
the embodiment of the invention provides a communication device and a communication system, comprising: a plurality of AND gates connected to each other; the output end of each AND gate circuit is connected with the signal receiving end of the corresponding hardware serial port equipment to be communicated; the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except the corresponding hardware serial devices to be communicated; the hardware serial port equipment to be communicated is used for sending out a communication signal of a preset type according to the signal transmission instruction when receiving the signal transmission instruction; transmitting the communication signal to the other hardware serial port equipment to be communicated corresponding to the other AND gate circuits through the other AND gate circuits except the target AND gate circuit in the plurality of AND gate circuits so as to realize communication expansion; and the output end of the target AND gate circuit is connected with the input end of the hardware serial device to be communicated. According to the communication device, the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except for the corresponding hardware serial devices to be communicated, the corresponding hardware serial devices to be communicated transmit communication signals to the other hardware serial devices to be communicated corresponding to the other AND gate circuits except for the target AND gate circuits in the multiple AND gate circuits, so that broadcasting of the communication signals is realized, the circuit is easy to expand, and the stability of the digital circuit is high.
Additional features and advantages of the present embodiments will be set forth in the description which follows, or in part will be obvious from the description, or may be learned by practice of the techniques of the present disclosure.
The foregoing objects, features and advantages of the disclosure will be more readily apparent from the following detailed description of the preferred embodiments taken in conjunction with the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another communication device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a third communication device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
Icon: 11-a plurality of AND gates; 111-a first and gate; 112-a second and-gate circuit; 113-a third and gate; 21-a first hardware serial device to be communicated; 22-a second hardware serial device to be communicated; 23-third hardware serial port equipment to be communicated; 31-a plurality of hardware serial devices to be communicated; 41-communication means.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Currently, complex hardware protocols such as RS-232, RS-422, RS-485 and the like are required for communication between hardware devices, and conventional hardware communication is usually performed in a point-to-point manner, or interconnection hardware protocol conversion of multiple devices is realized through a processor such as an MCU and the like. For the point-to-point mode, the flexibility is not high because the expansion is not supported. Furthermore, the implementation of the protocol conversion of the interconnection hardware of the multiple devices by the processor such as the MCU is also faced with high cost and certain requirements on the stability of the program, and often needs to be actually applied in an industrial environment to test whether the program is stable and reliable. As a whole, the conventional communication device has problems of poor stability and poor flexibility.
Based on this, the embodiment of the invention provides a communication device and a communication system, the communication device realizes the broadcasting of communication signals, the circuit is easy to expand, and the stability of the digital circuit is strong. For the convenience of understanding the embodiments of the present invention, a communication device disclosed in the embodiments of the present invention will be described in detail.
Example 1
In this embodiment, fig. 1 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
As seen in fig. 1, the communication device includes: a plurality of and circuits 11 connected to each other; the output end of each AND gate circuit is connected with the signal receiving end of the corresponding hardware serial port equipment to be communicated; the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except the corresponding hardware serial device to be communicated.
In this embodiment, the hardware serial device to be communicated is configured to send a preset type of communication signal according to the signal transmission instruction when receiving the signal transmission instruction; transmitting the communication signal to the other hardware serial port equipment to be communicated corresponding to the other AND gate circuits through the other AND gate circuits except the target AND gate circuit in the plurality of AND gate circuits so as to realize communication expansion; and the output end of the target AND gate circuit is connected with the input end of the hardware serial device to be communicated.
In this embodiment, the type of the communication signal is an RS232 communication protocol, an RS485 communication protocol, or an RS422 communication protocol.
In this embodiment, fig. 2 is a schematic structural diagram of another communication device according to an embodiment of the present invention.
As can be seen from fig. 2, the plurality of and circuits includes: a first and gate 111, a second and gate 112, and a third and gate 113; the output end of the first and circuit 111 is connected to the signal input end of the first hardware serial device 21 to be communicated; the output end of the second and circuit 112 is connected to the signal input end of the second hardware serial device 22 to be communicated; the output end of the third and gate 113 is connected to the signal input end of the third hardware serial device to be communicated 23; the input end of the first and gate 111 is connected to the signal transmitting ends of the second to-be-communicated hardware serial device 22 and the third to-be-communicated hardware serial device 23; the input end of the second and circuit 112 is connected to the signal transmitting ends of the first hardware serial device 21 to be communicated and the third hardware serial device 23 to be communicated; the input end of the third and circuit 113 is connected to the signal transmitting ends of the first hardware serial device 21 to be communicated and the second hardware serial device 22 to be communicated.
Further, the first to-be-communicated hardware serial device 21 is configured to send a first communication signal of a preset type according to the first signal transmission instruction when receiving the first signal transmission instruction; the first communication signal is sent to the second hardware serial device 22 to be communicated and the third hardware serial device 23 to be communicated through the second and gate 112 and the third and gate 113.
Further, the second hardware serial device 22 to be communicated is configured to send a second communication signal of a preset type according to the second signal transmission instruction when receiving the second signal transmission instruction; the second communication signal is sent to the first hardware serial device to be communicated 21 and the third hardware serial device to be communicated 23 through the first and gate 111 and the third and gate 113.
Further, the third hardware serial device to be communicated 23 is configured to send a third communication signal of a preset type according to the third signal transmission instruction when receiving the third signal transmission instruction; the third communication signal is sent to the first hardware serial device to be communicated 21 and the second hardware serial device to be communicated 22 through the first and gate 111 and the second and gate 112.
Further, the input end of each and gate circuit is connected with the signal transmitting end of the other hardware serial port devices to be communicated except the corresponding hardware serial port device to be communicated through a bus.
Further, the input end of the first and circuit 111 is connected to the signal transmitting ends of the second to-be-communicated hardware serial device 22 and the third to-be-communicated hardware serial device 23 through a first bus; the input end of the second and gate 112 is connected to the signal transmitting ends of the first to-be-communicated hardware serial device 21 and the third to-be-communicated hardware serial device 23 through a second bus; the input end of the third and circuit 113 is connected to the signal transmitting ends of the first hardware serial device 21 to be communicated and the second hardware serial device 22 to be communicated through a third bus.
For easy understanding, fig. 3 is a schematic structural diagram of a third communication device according to an embodiment of the present invention.
As seen in fig. 3, includes: the above-mentioned multiple and circuits 11 and multiple hardware serial devices 31 to be communicated. Furthermore, the number of the AND gate circuits can be expanded, and the number of the hardware serial devices to be communicated can be expanded.
The embodiment of the invention provides a communication device, which comprises: a plurality of AND gates connected to each other; the output end of each AND gate circuit is connected with the signal receiving end of the corresponding hardware serial port equipment to be communicated; the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except the corresponding hardware serial devices to be communicated; the hardware serial port equipment to be communicated is used for sending out a communication signal of a preset type according to the signal transmission instruction when receiving the signal transmission instruction; transmitting the communication signal to the other hardware serial port equipment to be communicated corresponding to the other AND gate circuits through the other AND gate circuits except the target AND gate circuit in the plurality of AND gate circuits so as to realize communication expansion; and the output end of the target AND gate circuit is connected with the input end of the hardware serial device to be communicated. According to the communication device, the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except for the corresponding hardware serial devices to be communicated, the corresponding hardware serial devices to be communicated transmit communication signals to the other hardware serial devices to be communicated corresponding to the other AND gate circuits except for the target AND gate circuits in the multiple AND gate circuits, so that broadcasting of the communication signals is realized, the circuit is easy to expand, and the stability of the digital circuit is high.
Example 2
In this embodiment, fig. 4 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
As seen in fig. 4, the communication system includes: the communication apparatus 41 of the above embodiment further includes a plurality of hardware serial devices 31 to be communicated.
In actual operation, the hardware serial device to be communicated is industrial equipment.
Further, the communication system further includes: the controller is connected with the hardware serial device to be communicated; the controller is used for acquiring the signal transmission instruction.
The communication system provided by the embodiment of the invention has the same technical characteristics as the communication device provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved. It will be clear to those skilled in the art that, for convenience and brevity of description, the specific operation of the communication system described above may refer to the corresponding procedure in the foregoing embodiment of the communication device, which is not described herein again.
In the description of embodiments of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.

Claims (10)

1. A communication device, comprising: a plurality of AND gates connected to each other; the output end of each AND gate circuit is connected with the signal receiving end of the corresponding hardware serial port equipment to be communicated; the input end of each AND gate circuit is connected with the signal transmitting ends of other hardware serial devices to be communicated except the corresponding hardware serial device to be communicated;
the hardware serial port equipment to be communicated is used for sending out a communication signal of a preset type according to the signal transmission instruction when receiving the signal transmission instruction; transmitting the communication signal to the other hardware serial port equipment to be communicated corresponding to the other AND gate circuits through the other AND gate circuits except the target AND gate circuit in the plurality of AND gate circuits so as to realize communication expansion; and the output end of the target AND gate circuit is connected with the input end of the hardware serial device to be communicated.
2. The communication device according to claim 1, wherein the type of communication signal is an RS232 communication protocol, an RS485 communication protocol or an RS422 communication protocol.
3. The communication device of claim 1, wherein the plurality of and gates comprises: the first AND gate circuit, the second AND gate circuit and the third AND gate circuit; the output end of the first AND gate circuit is connected with the signal input end of the first hardware serial port equipment to be communicated; the output end of the second AND gate circuit is connected with the signal input end of the second hardware serial port equipment to be communicated; the output end of the third AND gate circuit is connected with the signal input end of the third hardware serial port equipment to be communicated; the input end of the first AND gate circuit is connected with the signal transmitting ends of the second hardware serial device to be communicated and the third hardware serial device to be communicated; the input end of the second AND gate circuit is connected with the signal transmitting ends of the first hardware serial device to be communicated and the third hardware serial device to be communicated; the input end of the third AND gate circuit is connected with the signal transmitting ends of the first hardware serial device to be communicated and the second hardware serial device to be communicated;
the first hardware serial port equipment to be communicated is used for sending out a first communication signal of a preset type according to a first signal transmission instruction when receiving the first signal transmission instruction; and sending the first communication signal to the second hardware serial device to be communicated and the third hardware serial device to be communicated through the second AND gate circuit and the third AND gate circuit.
4. The communication apparatus according to claim 3, wherein the second hardware serial device to be communicated is configured to send out a second communication signal of a preset type according to the second signal transmission instruction when receiving the second signal transmission instruction; and sending the second communication signal to the first to-be-communicated hardware serial device and the third to-be-communicated hardware serial device through the first AND gate circuit and the third AND gate circuit.
5. The communication apparatus according to claim 3, wherein the third hardware serial device to be communicated is configured to send out a third communication signal of a preset type according to a third signal transmission instruction when receiving the third signal transmission instruction; and sending the third communication signal to the first to-be-communicated hardware serial port device and the second to-be-communicated hardware serial port device through the first AND gate circuit and the second AND gate circuit.
6. A communication apparatus according to claim 3, wherein the input terminal of each and circuit is connected to the signal transmitting terminal of the other hardware serial device to be communicated except the corresponding hardware serial device to be communicated via a bus.
7. The communication apparatus according to claim 6, wherein the input end of the first and gate circuit is connected to the signal transmitting ends of the second hardware serial device to be communicated and the third hardware serial device to be communicated through a first bus; the input end of the second AND gate circuit is connected with the signal transmitting ends of the first hardware serial device to be communicated and the third hardware serial device to be communicated through a second bus; and the input end of the third AND gate circuit is connected with the signal transmitting end of the first hardware serial device to be communicated and the signal transmitting end of the second hardware serial device to be communicated through a third bus.
8. A communication system, comprising: the communication apparatus of any one of claims 1 to 7, further comprising a plurality of hardware serial devices to be communicated.
9. The communication system of claim 8, wherein the hardware serial device to be communicated is an industrial device.
10. The communication system of claim 8, further comprising: the controller is connected with the hardware serial device to be communicated; the controller is used for acquiring the signal transmission instruction.
CN202311789193.9A 2023-12-22 2023-12-22 Communication device and communication system Pending CN117743237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311789193.9A CN117743237A (en) 2023-12-22 2023-12-22 Communication device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311789193.9A CN117743237A (en) 2023-12-22 2023-12-22 Communication device and communication system

Publications (1)

Publication Number Publication Date
CN117743237A true CN117743237A (en) 2024-03-22

Family

ID=90257257

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311789193.9A Pending CN117743237A (en) 2023-12-22 2023-12-22 Communication device and communication system

Country Status (1)

Country Link
CN (1) CN117743237A (en)

Similar Documents

Publication Publication Date Title
US20080316005A1 (en) Communication by carrier current for centralized control centers
CN117743237A (en) Communication device and communication system
CN217363065U (en) Terminal antenna monitoring device is divided to 5G room
CN103702356A (en) TDD (time division duplexing) system-based fault diagnosis device
CN217467051U (en) Radio frequency performance test circuit and device
EP1713272A1 (en) Device and process for pairing a master decoder and slave decoders and reception system incorporating said device
US20030017811A1 (en) Composite radio apparatus and diversity switching method
CN103138858A (en) Test system for interface board
CN209913823U (en) Data conversion device and photoelectric conversion network system
CN115858441B (en) Switching circuit
CN110830754A (en) Heterogeneous video conference device based on network
CN113300741B (en) PLC divides accuse ware and control system
CN218868219U (en) Dual-mode output receiver for agricultural equipment
CN216982028U (en) Data exchange equipment and rail vehicle
CN217590979U (en) Multi-channel synthesizer with unit switching function and wireless transmitting system
CN216819818U (en) Radio frequency switch
CN220730793U (en) Audio transmission card, processing equipment and processing system
CN215934864U (en) Radio frequency circuit board
CN216648569U (en) Same-frequency combining equipment and system
CN220139543U (en) Digital receiving sampling system without intermediate frequency coaxial cable
JPH06216923A (en) Communication system
CN116291658A (en) Hydraulic support electric control system
JPS589396Y2 (en) multiple microwave radio equipment
EP1006625B1 (en) Straight/cross connection using double connector
CN113114296A (en) 433 radio frequency signal and bluetooth radio signal's adapter

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination