CN113271288A - Communication protocol conversion device - Google Patents

Communication protocol conversion device Download PDF

Info

Publication number
CN113271288A
CN113271288A CN202010096288.2A CN202010096288A CN113271288A CN 113271288 A CN113271288 A CN 113271288A CN 202010096288 A CN202010096288 A CN 202010096288A CN 113271288 A CN113271288 A CN 113271288A
Authority
CN
China
Prior art keywords
controller
data
mobile terminal
serial interface
conversion device
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
CN202010096288.2A
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.)
Shanghai Yaotian Electronics Co ltd
Original Assignee
Shanghai Yaotian Electronics 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 Shanghai Yaotian Electronics Co ltd filed Critical Shanghai Yaotian Electronics Co ltd
Priority to CN202010096288.2A priority Critical patent/CN113271288A/en
Publication of CN113271288A publication Critical patent/CN113271288A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a communication protocol conversion device, which comprises a mobile terminal and a protocol conversion device body; the protocol conversion device body comprises a controller, and the controller is connected with a WIFI module, a CAN bus module and a plurality of serial interfaces; the serial interface is used for communicating and connecting equipment, and the CAN bus module and the WIFI module are used for communicating and connecting a server; the controller is used for receiving the operation data of each device through the serial interface and sending the operation data to the server through the CAN bus module and the WIFI module; the mobile terminal is in communication connection with the controller, and a touch screen is arranged on the mobile terminal and used for inputting instructions and displaying data. According to the technical scheme provided by the invention, the mobile terminal is in communication connection with the controller of the protocol conversion device body, the controller sends the data received by each serial interface to the mobile terminal, and a user can display the data of equipment connected with each serial interface on the mobile terminal and input an instruction, so that the problem of single function of the communication conversion equipment is solved.

Description

Communication protocol conversion device
Technical Field
The invention belongs to the technical field of communication equipment, and particularly relates to a communication protocol conversion device.
Background
The field bus communication system is increasingly widely used in industrial production and automation technology. The fieldbus is a communication network between plant floor devices. The field-set execution user equipment, such as a numerical control device, a servo driver, an I/O module, a sensor and the like, are interconnected through a field bus to form a networked, digital, fully-open and fully-distributed automatic control system.
Protocol gateways typically perform protocol conversions between network regions using different protocols. This conversion process may occur at layer 2, layer 3 or between layers 2, 3 of the OSI reference model. However, there are two protocol gateways that do not provide the translation function: a security gateway and a pipeline. Due to the logical difference of the two interconnected network areas, the security gateway is a necessary intermediary between the two technically similar network areas.
The protocol conversion device in the prior art has a simple structure and limited realized functions, and cannot watch the transmitted data.
Disclosure of Invention
The present invention is directed to a communication protocol conversion device, so as to solve the problem of single function of the communication protocol conversion device in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a communication protocol conversion device comprises a mobile terminal and a protocol conversion device body;
the protocol conversion device body comprises a controller, and the controller is connected with a WIFI module, a CAN bus module and a plurality of serial interfaces;
the serial interface is used for communicating and connecting equipment, and the CAN bus module and the WIFI module are used for communicating and connecting a server; the controller is used for receiving the operation data of each device through the serial interface and sending the operation data to the server through the CAN bus module and the WIFI module;
the mobile terminal is in communication connection with the controller, and a touch screen is arranged on the mobile terminal and used for inputting instructions and displaying data.
Further, the controller stores the data of each serial interface after receiving the data, and when the controller receives an inquiry command, a check command and a deletion command input by a user at the mobile terminal, the controller performs inquiry, check and deletion operations on the stored data.
Further, the controller is also connected with a 4G communication module.
Furthermore, the equipment connected with each serial interface sends a heartbeat message to the corresponding serial interface at a set time interval; when the serial interface does not receive the heartbeat message of the equipment within the set time, the equipment connected with the serial interface is judged to be offline and is sent to the mobile terminal.
Further, when data is displayed on the mobile terminal, if the time length of pressing the data is detected to be greater than a first set time length, a link of the data is opened, and if the time length of pressing the data is detected to be greater than a second set time length, an operation menu of the data is popped up.
According to the technical scheme provided by the invention, the mobile terminal is in communication connection with the controller of the protocol conversion device body, the controller sends the data received by each serial interface to the mobile terminal, and a user can display the data of equipment connected with each serial interface on the mobile terminal and input an instruction, so that the problem of single function of the communication conversion equipment in the prior art is solved.
Drawings
Fig. 1 is a schematic structural diagram of a communication protocol conversion apparatus according to an embodiment of the present invention.
Detailed Description
The embodiment provides a communication protocol conversion device, which is used for solving the problem that the function of communication protocol conversion equipment in the prior art is single.
The communication protocol conversion device provided in this embodiment, taking an application thereof in a motor detection system as an example, is structurally shown in fig. 1, and includes a mobile terminal and a communication protocol conversion device body, where the communication protocol conversion device body includes a controller, and the controller is connected with a WIFI module, a CAN bus module, and four serial interfaces.
Each serial interface is respectively used for communicating with a motor controller of the motor, the WIFI module and the CAN bus module are used for connecting a server, and the controller receives working state data of the corresponding motor from each serial interface and sends the working state data to the server through the WIFI module and the CAN bus module.
The mobile terminal adopts a mobile phone and is in communication connection with the controller, the communication connection can be Bluetooth communication connection, namely a Bluetooth module is arranged on the communication conversion device body, and the controller is connected with the Bluetooth module; the mobile terminal is also provided with a Bluetooth module so as to establish communication connection between the mobile terminal and the controller; the controller and the mobile terminal can be in communication connection in other modes, if the controller is in communication connection with the internet through the WIFI module, the mobile terminal is connected with the internet through the GPRS communication module, and therefore communication connection between the controller and the mobile terminal is established through the internet.
The mobile terminal is provided with a touch screen and is provided with an application program, and when the application program comprises a virtual keyboard and a display panel. When the controller of the communication conversion device body receives the permission data of each motor through each serial communication interface, the permission data is stored.
The user inputs instructions including a query instruction, a check instruction and a delete instruction through the virtual keyboard.
When a user inputs a query instruction, the mobile terminal sends the query instruction to the controller, and the controller sends corresponding data to the mobile terminal; the mobile terminal receives the data sent by the controller and then displays the data on the display panel;
when a user inputs a checking instruction, the mobile terminal sends the checking instruction to the controller; the checking instruction is an instruction for checking whether the motor data is abnormal or not, the controller receives the checking instruction and judges whether the motor data is abnormal or not, and the checking result is sent to the mobile terminal; the mobile terminal receives the checking result sent by the controller and then displays the checking result on the display panel;
when a user inputs a deleting instruction, the mobile terminal sends the deleting instruction to the controller, and the controller executes the deleting instruction, deletes corresponding data and sends information to the mobile terminal after deletion; and the mobile terminal displays the information on the display panel after receiving the information sent by the controller.
The motor controller connected with each serial interface sends a heartbeat message to the controller at intervals of first set time; the controller receives heartbeat messages from each serial interface, if any serial interface does not receive the heartbeat messages after a first set time interval, the motor controller connected with the serial interface is judged to be offline, the information is sent to the mobile terminal, and the display interface of the mobile terminal displays the offline information of the motor controller.
When the data is displayed on the display interface, the user can perform long-press operation and short-press operation on the data.
The short press operation means that the time for the user to press the data is less than a second set time length, and the long press operation means that the time for the user to press the data is greater than the second set time length.
When a user performs short-time pressing operation on data, the mobile terminal sends corresponding information to the controller; after receiving the information, the controller acquires the link of the data and sends the link to the mobile terminal; and the mobile terminal displays the link of the data on the display interface after receiving the link of the data. The link of the data comprises information such as a motor to which the data belongs, acquisition time and the like.
When a user performs long-time pressing operation on data, popping up an operation menu of the data; the operation menu comprises a deletion option and a copy option, when a user selects the deletion option, the mobile terminal sends deletion information to the controller, and the controller deletes corresponding data after receiving the information; when the user selects the copy option, the mobile terminal copies the data to the copy board.
Furthermore, a 4G communication module is further arranged in the communication protocol conversion device, the controller is connected with the 4G communication module, and the controller is connected with a network through the 4G communication module.

Claims (5)

1. A communication protocol conversion device is characterized by comprising a mobile terminal and a protocol conversion device body;
the protocol conversion device body comprises a controller, and the controller is connected with a WIFI module, a CAN bus module and a plurality of serial interfaces;
the serial interface is used for communicating and connecting equipment, and the CAN bus module and the WIFI module are used for communicating and connecting a server; the controller is used for receiving the operation data of each device through the serial interface and sending the operation data to the server through the CAN bus module and the WIFI module;
the mobile terminal is in communication connection with the controller, and a touch screen is arranged on the mobile terminal and used for inputting instructions and displaying data.
2. The apparatus according to claim 1, wherein the controller stores the data received from each serial interface, and when the controller receives a query command, a check command, and a delete command from the mobile terminal, the controller performs query, check, and delete operations on the stored data.
3. The device of claim 1, wherein the controller is further connected to a 4G communication module.
4. The apparatus according to claim 1, wherein the device connected to each serial interface sends a heartbeat message to the corresponding serial interface at a predetermined interval; when the serial interface does not receive the heartbeat message of the equipment within the set time, the equipment connected with the serial interface is judged to be offline and is sent to the mobile terminal.
5. The apparatus according to claim 1, wherein when data is displayed on the mobile terminal, if it is detected that the length of time for which the data is pressed is longer than a first set length of time, a link to the data is opened, and if it is detected that the length of time for which the data is pressed is longer than a second set length of time, an operation menu for the data is popped up.
CN202010096288.2A 2020-02-17 2020-02-17 Communication protocol conversion device Pending CN113271288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010096288.2A CN113271288A (en) 2020-02-17 2020-02-17 Communication protocol conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010096288.2A CN113271288A (en) 2020-02-17 2020-02-17 Communication protocol conversion device

Publications (1)

Publication Number Publication Date
CN113271288A true CN113271288A (en) 2021-08-17

Family

ID=77227498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010096288.2A Pending CN113271288A (en) 2020-02-17 2020-02-17 Communication protocol conversion device

Country Status (1)

Country Link
CN (1) CN113271288A (en)

Similar Documents

Publication Publication Date Title
CN105005280B (en) A kind of industrial equipment man-machine interactive system and its control method based on intelligent wireless terminal
US20090006977A1 (en) Method and System of Computer Remote Control that Optimized for Low Bandwidth Network and Low Level Personal Communication Terminal Device
CN104426990A (en) Control method and control device
CN105260112A (en) Method and device for controlling screen between terminals
CN103312794A (en) Field equipment integration device based on mobile terminal
CN111427524A (en) Remote control method, device, computer equipment and storage medium
CN106205091A (en) The remote control thereof of a kind of unmanned plane and remote control unit
WO2015188529A1 (en) Method and system for managing embedded monitoring device
JP7284960B2 (en) System and method for managing multiple instructional peripherals simultaneously
CN105812543A (en) Information integration system and method
CN105511442A (en) Man-machine interaction system and method, and fire fighting truck
CN113271288A (en) Communication protocol conversion device
US8943244B2 (en) Mobile device and USB system including the same
CN103533085A (en) Method and system for remotely controlling computer
CN105229607B (en) Display control unit and display control method
CN103838466A (en) Information processing method and system and electronic equipment
CN113038251B (en) Control method and control device
CN112261044A (en) Remote assistance system and method suitable for internal and external network isolation
CN112380096A (en) Serial port communication monitoring system method based on virtual serial port
JP3321157B2 (en) Numerical control system
CN111007737B (en) Device control method, device control apparatus, and computer-readable storage medium
CN218240716U (en) Control system and working machine
WO2019209315A1 (en) Messages based on input/output device signals to virtual computers
CN103488303A (en) Electronic equipment and operation method of electronic equipment
CN102722250A (en) Method and system for interactive editing of image control points

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210817

WD01 Invention patent application deemed withdrawn after publication