CN105491037B - Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet - Google Patents

Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet Download PDF

Info

Publication number
CN105491037B
CN105491037B CN201510886499.5A CN201510886499A CN105491037B CN 105491037 B CN105491037 B CN 105491037B CN 201510886499 A CN201510886499 A CN 201510886499A CN 105491037 B CN105491037 B CN 105491037B
Authority
CN
China
Prior art keywords
data
beidou
boat
protocol
ship
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.)
Active
Application number
CN201510886499.5A
Other languages
Chinese (zh)
Other versions
CN105491037A (en
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.)
DALIAN LANDSEA MARITECH Co Ltd
Original Assignee
DALIAN LANDSEA MARITECH 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 DALIAN LANDSEA MARITECH Co Ltd filed Critical DALIAN LANDSEA MARITECH Co Ltd
Priority to CN201510886499.5A priority Critical patent/CN105491037B/en
Publication of CN105491037A publication Critical patent/CN105491037A/en
Application granted granted Critical
Publication of CN105491037B publication Critical patent/CN105491037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of marine communication protocol conversion system and conversion processes, are exchanged with each other for data between boat-carrying Beidou II equipment and ship Ethernet.Protocol conversion system UART0 module is communicated for sending and receiving boat-carrying Beidou II device data;Beidou II protocol function for identification and processing Beidou II location data, device status data, syslog data, and to boat-carrying Beidou II equipment send Beidou device directive;Protocol conversion module is used to boat-carrying Beidou II device data and IEC 61162-450 normal data being packaged conversion;IEC 61162-450 protocol function is managed the physical layer of communication protocol stack, data link layer, internetwork layer, transportation level, application layer by logical device and application process, establishes communication link;Network Interface Module is established network connection with ship Ethernet and is communicated.Therefore the present invention can make boat-carrying Beidou II equipment for meeting in the ship Ethernet of IEC 61162-450 standard, to lay the foundation in ship domain application.

Description

Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet
Technical field
The present invention relates to a kind of marine communication protocol conversion system and conversion processes, are used for boat-carrying Beidou II equipment and ship Data are exchanged with each other between oceangoing ship Ethernet.
Background technique
Boat-carrying Beidou II equipment is due to its passive location, many merits such as positioning accuracy is high, real-time is good, in ship neck Domain obtains more and more extensive use.But since the communication standard of boat-carrying Beidou II equipment uses " Beidou satellite navigation system User terminal universal data interface ", the standard disunity of this standard and ship Ethernet, to the use of boat-carrying Beidou II equipment Inconvenience is caused, while also increasing difficulty of construction and management cost.
It is IEC 61162-450 (" sail and wireless telecom equipment and system that ship Ethernet, which executes standard, at present Data-interface " Part 450: the interconnection of the Ethernet of multi-party call device and receiver), without defining boat-carrying Beidou two in standard Ship Ethernet how is accessed for equipment, causes boat-carrying Beidou II equipment access ship Ethernet difficult.Especially existing IMO the Maritime Safety committee of International Maritime Organization resolution MSC.379 (93) in about " boat-carrying BDS(Beidou) receiving device Requirement has to comply with the interface requirement of IEC 61162 in energy standard ".And the existing sea IEC 61162-1 and IEC 61162-2( Upper navigation and radio communication equipment and system digital interface part 1: single session device and more receivers) it defines based on serial ports number According to format, the method for not providing boat-carrying Beidou II equipment access ship Ethernet in the standard of corresponding IEC 61162-450, Wanting for IEC 61162-450 standard is unable to satisfy using the solution that common serial-port communication is converted with ethernet communication It asks.
For these reasons, it needs a kind of protocol conversion device and method to solve the above problems, is set for boat-carrying Beidou II The standby extensive use in ship domain lays the foundation.
Summary of the invention
The object of the present invention is to provide one kind for boat-carrying Beidou II device data acquisition, transmission and connection ship ether The communication Protocol Conversion system of net, so that boat-carrying Beidou II equipment can be used in meeting IEC 61162-450 standard at present Ship Ethernet.
It is a further object of the present invention to provide a kind of protocol conversion process of above-mentioned protocol conversion system.
To realize above-mentioned first purpose, the invention provides the following technical scheme:
A kind of protocol conversion system suitable for being interconnected between boat-carrying Beidou II equipment and ship Ethernet, comprising:
UART0 module meets Beidou satellite navigation system user terminal universal data interface standard for sending and receiving Data, using RS422 standard and boat-carrying Beidou II device talk;
Beidou II protocol function, according to Beidou satellite navigation system user terminal universal data interface standard into Row building handles boat-carrying Beidou II device talk data, including command frame establishment, data frame analyzing and encapsulation;
Protocol conversion module will meet the boat-carrying Beidou of Beidou satellite navigation system user terminal universal data interface standard Two generation device datas are mutually converted with the data for meeting IEC 61162-450 standard;
IEC 61162-450 protocol function is constructed according to IEC 61162-450 standard, realizes IEC Function specified in 61162-450 standard, the scheduling function related to management, communications protocol including program circuit each in logical device The realization of energy;
Network Interface Module is taken for sending and receiving data as defined in IEC 61162-450 standard using UDP multicast Business agreement is communicated on the ship Ethernet for meeting IEC 61162-450 standard.
The UART0 module includes data reception module 0, data transmission blocks 0 and timer 0;
The data reception module 0, the segmented mode in give the complete data frame received to Beidou II function mould Block is handled;
The data of Beidou II data frame package module are sent to ship using inquiry mode by the data transmission blocks 0 Carry Beidou II equipment;
The timer 0, for judging time-out between data frame byte.
The Beidou function module encapsulates two module compositions by Beidou II data frame analyzing, Beidou II data frame;
The Beidou II data frame analyzing module is according to Beidou satellite navigation system user terminal universal data interface mark Standard carries out data frame analyzing, and entrance is the output end of data reception module 0, and when data frame analyzing exception will generate error logging And system log is generated, Beidou is sent by the data for meeting Beidou satellite navigation system user terminal universal data interface standard In two generations, turned IEC 61162-450 Data Identification module;
The Beidou II data frame package module is according to Beidou satellite navigation system user terminal universal data interface mark Standard is identified that entrance is the output end that IEC 61162-450 turns Beidou II Data Identification module, and generation meets The data of NMEA0183 reference format;The data hair of Beidou satellite navigation system user terminal universal data interface standard will be met It is sent to data transmission blocks 0.
The protocol conversion module turns IEC61162-450 Data Identification by Beidou II and IEC 61162-450 turns Beidou Two codes or datas identify two module compositions;
The Beidou II, which turns IEC61162-450 Data Identification module, will meet Beidou satellite navigation system user terminal The data of universal data interface standard are converted to the data of IEC61162-450 reference format, and protocol conversion process is as follows:
Input data abides by Beidou satellite navigation system user terminal universal data interface standard, and wherein navigation information frame seals Dress is packaged according to IEC61162-450 standard Appendix B regulation, TAG block are as follows:
" UdPbC t:MMSI, c:UTC, s:Source-identification, n:Line-count * Checksum\";
Wherein: " MMSI " indicates Waterborne movable communication service identification code, " c ": indicate the time, " UTC " indicates UTC time, In seconds, " Checksum " indicates check code;
The ship Ethernet for meeting IEC61162-450 standard is sent data to using UDP multicast service;
The function that the IEC61162-450 of the protocol conversion module turns Beidou II Data Identification module is will to meet IEC The data of 61162-450 standard are searched according to the regulation of Beidou satellite navigation system user terminal universal data interface standard And conversion, it is sent to Beidou II data frame package module.
The IEC 61162-450 protocol function includes three parts: logical device, application process module and standard Communication protocol stack;
All objects are all put into logical device by the logical device only with a logic management equipment, packet Include functional object and data object;
The application process module completes the function of IEC 61162-450 standard, including IEC 61162-450 normal data Processing, management logical device information, each service primitive of response, if these service primitives meet IEC 61162-450 standard It then gives communication protocol stack to send, otherwise gives protocol conversion module and handled;
The communication protocol stack uses the system protocol stack structure of five layer protocols, and communication protocol stack completes the envelope of communication protocol Dress, including five application layer, transportation level, network layer, data link layer, physical layer protocol layers complete establishment of connection, communication number It is detected according to the coding and parsing, the encapsulation of complete data frame, frame check and frame format and time-out of frame.
The IEC 61162-450 protocol function uses customized extension specified in IEC 61162-450 standard, Multicast group NAVD, the port multicast address 239.192.0.4 60004, navigation information frame envelope is added in customized Beidou navigation information BD The Beidou II location data processing information that dress is sent carries out multicast on NAVD.
The IEC 61162-450 protocol function, system log provide to use according to IEC 61162-450 standard UDP multicast service carries out multicast, multicast address 239.192.0.254, port 514.
The IEC 61162-450 protocol function, according to the rule of customized extension in IEC 61162-450 standard Fixed, definition Beidou state BDZT is multicast group #, multicast address 239.192.0.9, port 60009, equipment state frame The boat-carrying Beidou II device status information that encapsulation is sent carries out multicast on BDZT.
The Network Interface Module includes data transmission blocks 1, data reception module 1 and timer 1;
The data receiver of the data reception module uses interrupt mode, and the ship Ethernet data received is conveyed to Communication protocol stack carries out subsequent processing;
The data of the data transmission blocks, which are sent, uses inquiry mode, by the data of communication protocol stack be sent to it is peculiar to vessel with Too net;
The timer, for time-out between judgment frame byte.
In order to realize the second purpose, the invention provides the following technical scheme:
Protocol conversion process of the invention is as follows:
The communication process of IEC 61162-450 standard is to need to establish an application before a communication using UDP multicast formula Connection, when protocol conversion system connects boat-carrying Beidou II equipment and ship Ethernet, communication process starts, entire communication stream Journey is as follows:
The first step, which is established, applies connection procedure,
Step 1: after protocol conversion system accesses ship Ethernet, physical layer connection is first established;
Step 2: physical layer establishes system generated data response command after connection and issues consultative management process, consultative management into Data frame is sent after journey response command establishes data link layer connection;
Step 3: consultative management process sends commands to internetwork layer connection after data link layer connection is established, according to this agreement The IP address of converting system configuration establishes internetwork layer connection;
Step 4: internetwork layer connection sends data response command to consultative management process after establishing, consultative management process is sent Transportation level connection is established in order, this converting system is communicated using UDP multicast protocol;
Step 5: transportation level connection sends data response command to consultative management process after establishing, consultative management process is sent Application layer connection is established in order;
Step 6: application layer connection sends data response command to consultative management process after establishing, consultative management process is sent Instruction shows the data communication that can be normally carried out protocol conversion system to application process;
Second step establishes data communication process,
What data communication process must carry out under the premise of establishing using connection;
(1) data protocol of boat-carrying Beidou II device data to ship Ethernet is converted,
Step 1: boat-carrying Beidou II equipment sends data frame through the reception of UART0 receiving module, Beidou II protocol function Module carries out data frame analyzing, protocol conversion module gives application process after carrying out data conversion;
Step 2: application process passes through communication protocols using UDP communication protocol according to the regulation of IEC 61162-450 standard It discusses stack and ship Ethernet is sent data to by Network Interface Module;
(2) data protocol of ship Ethernet data to boat-carrying Beidou II equipment is converted,
Step 1: Network Interface Module receives the data of ship Ethernet, is transmitted to application process by communication protocol stack, Application process carries out data parsing according to the regulation of IEC 61162-450 standard;
Step 2: the data handled are transferred to protocol conversion module to carry out data conversion, the data converted by application process It transfers to Beidou II protocol function to carry out data frame encapsulation, and boat-carrying Beidou II is sent to by UART0 sending module Equipment.
Provided by the present invention for boat-carrying Beidou II equipment and ship ethernet communication protocol converting system and its conversion Process, applied to meet " Beidou satellite navigation system user terminal universal data interface " standard boat-carrying Beidou II equipment and Between the system for meeting the two different specifications of the ship Ethernet of IEC61162-450 standard, so that the two different specifications Normal data exchange can be carried out between system.Therefore the present invention can make current boat-carrying Beidou II equipment for meeting In the ship Ethernet of IEC61162-450 standard, to be established for boat-carrying Beidou II equipment in the popularization and application of ship domain Basis.
Detailed description of the invention
Fig. 1 is protocol conversion system hardware block diagram of the present invention;
Fig. 2 is protocol conversion system functional block diagram of the present invention;
Fig. 3 is the structure chart of protocol conversion system IEC 61162-450 functional module communication protocol stack of the present invention;
Fig. 4 is protocol conversion system IEC 61162-450 UDP multi-case data format of the present invention.
Specific embodiment
There are two PORT COM, a PORT COM is used for and meets that " big-dipper satellite is led protocol conversion system of the present invention tool Navigate system user terminal universal data interface " standard boat-carrying Beidou II device talk;Another PORT COM with use IEC The ship Ethernet of 61162-450 standard is communicated.Thus meeting " the general number of Beidou satellite navigation system user terminal According to interface " the boat-carrying Beidou II equipment of standard and meet the two communication systems of the ship Ethernet of IEC61162-450 standard It connects, being allowed to two systems realizes data exchange.To realize present invention technical purpose to be achieved.
As shown in Figure 1, protocol conversion system of the invention includes power module, MCU, memory, reseting module, UART0 And network interface.
Power module provides power supply for protocol conversion system modules.
MCU is the core for connecting the protocol conversion system of boat-carrying Beidou II equipment and ship Ethernet, for executing Program code completes protocol conversion function.
Memory is used to store the program and configuration information of protocol conversion system, including IP address, serial communication baud rate Etc. information.
Reseting module uses the generation reset signal when program breaks down that can restart the hardware watchdog of system, utilizes one A timer circuit, timing output are connected to the reset terminal of circuit, and program resets timer within certain time, because When this program works normally, timer cannot always overflow, and cannot also generate reset signal, if program breaks down, not exist House dog is resetted in timing cycle, allows for WatchDog Timer and overflow generating reset signal and laying equal stress on starting system.
UART0 uses serial data communication mode, carries out full-duplex communication using RS422 interface here, and RS422 interface is pressed It is constructed according to TIA/EIA-422-A standard.
Network interface is constructed according to IEEE802.3 standard, is connected to ship Ethernet by RJ45 interface.
As shown in Fig. 2, the protocol conversion system of connection boat-carrying Beidou II equipment and ship Ethernet is divided into 5 moulds Block is divided into: UART0 module, Beidou function module, protocol conversion module, IEC61162-450 protocol function, network interface Module is illustrated respectively below.
1, UART0 module
The function of this module is exactly to send and receive boat-carrying Beidou II device package, i.e., is connect by UART0 in attached drawing 1 Mouth uses binary system Stream Data Transmission ASCII, it includes data reception module 0, data transmission blocks 0 and timer 0.
(1) data reception module 0 uses interrupt mode, and data reception module gives the complete data frame received to Beidou Two codes or data frame parsing modules carry out subsequent processing;
(2) data transmission blocks 0 use inquiry mode, and data transmission blocks are responsible for Beidou II data frame package module The data sent are sent to boat-carrying Beidou II equipment;
(3) timer 0 is for time-out between judgment frame byte.
2, Beidou II protocol function
The major function of Beidou II protocol function is processing boat-carrying Beidou II device talk data, according to " north Struggle against satellite navigation system user terminal universal data interface " standard building, by Beidou II data frame analyzing, Beidou II data Frame encapsulates two module compositions.
(1) Beidou II data frame analyzing module
The entrance of this module are as follows: the output end of the data reception module of UART0, according to " Beidou satellite navigation system user Terminal universal data interface " standard carries out data frame analyzing, and error logging will be generated when data frame analyzing exception and will generate system Log;
The outlet of this module are as follows: meet the data of Beidou satellite navigation system user terminal universal data interface standard, send out It is sent to the input terminal that Beidou II turns IEC61162-450 Data Identification module;
(2) Beidou II data frame package module
The entrance of this module is the output end that IEC61162-450 turns Beidou II Data Identification module, according to " Beidou is defended Star navigation system users terminal universal data interface " standard identified, the data for meeting NMEA0183 reference format are generated, 0183 standard of NMEA is National Marine Electronics association (National Marine Electronics Association) The reference format formulated for sea electronic equipment.;
The outlet of this module is the data hair that will meet Beidou satellite navigation system user terminal universal data interface standard It is sent to the input terminal of UART0 data transmission blocks.
3, protocol conversion module
The function of protocol conversion module is according to " Beidou satellite navigation system user terminal universal data interface " standard lookup The data of mark are provided in IEC61162-450 standard, and notebook data is converted to and meets " Beidou satellite navigation system user's end Hold universal data interface " standard data;It is defined " Beidou satellite navigation system user terminal universal data interface " is met Data are rebuild according to IEC61162-450 standard.This module by Beidou II turn IEC61162-450 Data Identification and IEC61162-450 turns two module compositions of Beidou II Data Identification.
(1) Beidou II turns IEC61162-450 Data Identification module
The function of this module is will to meet that " Beidou satellite navigation system user terminal is logical in boat-carrying Beidou II device data With data-interface " data of standard are converted to the data of IEC 61162-450 reference format.
The entrance of this module: the output end of Beidou II data frame analyzing module, data format are NMEA0183 standard.
The outlet of this module: the input terminal of the application process module of IEC 61162-450 protocol function.
(2) IEC61162-450 turns Beidou II Data Identification module
The function of this module is the data by IEC 61162-450 reference format according to " Beidou satellite navigation system user Terminal universal data interface " standard searched and converted, to be supplied to boat-carrying Beidou II equipment.
The entrance of this module: the output end of the application process module of IEC 61162-450 protocol function.
The outlet of this module: data issue the input terminal of Beidou II data frame package module, and data format is NMEA0183 standard.
4, IEC 61162-450 protocol function
IEC 61162-450 protocol function is constructed according to IEC61162-450 standard, is to support this standard Nucleus module, major function are the correlation function of completion IEC61162-450 standard, including in logical device and equipment respectively Scheduling and management, the realization of communications protocol correlation function of program circuit etc..IEC 61162-450 protocol function includes three A part: logical device, application process module and standard communication protocol stack.
(1) logical device
Protocol conversion system according to the present invention is the building that equipment is completed by object-oriented data model, This protocol conversion system manages all logical device only with a logical device, and all objects are all put into logic and are set In standby, including functional object and data object, these objects construct the data mould of IEC 61162-450 protocol function jointly Type.
(2) application process module
This module is to complete the nucleus module of IEC 61162-450 standard, and task includes IEC 61162-450 standard rule The processing of fixed number evidence, management logical device information, each service primitive of response.If these service original statements are and IEC 61162-450 standard is relevant, transfers to give communication protocol stack and sends, and otherwise gives protocol conversion module and is handled.
(3) communication protocol stack
Communication protocol stack uses the system protocol stack structure of five layer protocols, and communication protocol stack completes the envelope of communication protocol Dress, including five application layer, transportation level, network layer, data link layer, physical layer protocol layers mainly include establishment of connection, logical The coding and parsing, the encapsulation of complete data frame, frame check and frame format of letter data frame and time-out detection etc..Communication protocol Stack specific structure is as shown in Figure 4.
5, Network Interface Module
The major function of Network Interface Module is to send and receive IEC 61162-450 standard Protocol Data packet, i.e., two into Flow data processed.It includes data transmission blocks 1, data reception module 1 and timer 1.
(1) data reception module 1
Data receiver uses interrupt mode, carries out subsequent place for communication protocol stack is transmitted to after taken-over vessel Ethernet data Reason;
(2) data transmission blocks 1
Data, which are sent, uses inquiry mode, is responsible for the number of IEC61162-450 standard agreement functional module communication protocol stack According to being sent to Ethernet peculiar to vessel.
(3) timer 1
Timer 1 is used for time-out between judgment frame byte;
As shown in figure 3, the protocol conversion process of above-mentioned protocol conversion system is as follows:
The communication process of IEC 61162-450 standard is to need to establish an application before a communication using UDP multicast formula Connection.When protocol conversion system accesses ship Ethernet, communication process starts.Entire communication process is as follows:
1, it establishes and applies connection procedure
Step 1: first establishing physical layer connection after protocol conversion system access ship Ethernet;
Step 2: system generated data response command issues consultative management process, consultative management after physical layer establishes connection Data frame is sent after process response command establishes data link layer connection;
Step 3: consultative management process sends commands to internetwork layer connection after data link layer connection is established, according to this association The IP address for discussing converting system configuration establishes internetwork layer connection;
Step 4: internetwork layer connection sends data response command to consultative management process, consultative management process hair after establishing Transportation level connection is established in order of losing one's life, this converting system is communicated using UDP multicast protocol;
Step 5: transportation level connection sends data response command to consultative management process, consultative management process hair after establishing Application layer connection is established in order of losing one's life.
Step 6: application layer connection sends data response command to consultative management process, consultative management process hair after establishing It send instruction to application process, shows the data communication that can be normally carried out protocol conversion system.
2, data communication process
What data communication process must carry out under the premise of establishing using connection.
(1) data protocol of boat-carrying Beidou II device data to ship Ethernet is converted
Step 1: boat-carrying Beidou II equipment sends data frame through the reception of UART0 receiving module, Beidou II protocol function Module carries out data frame analyzing, protocol conversion module gives application process after carrying out data conversion;
Step 2: regulation of the application process according to IEC 61162-450 standard passes through communication protocols using UDP communication protocol It discusses stack and ship Ethernet is sent data to by network interface service module.
(2) data protocol of ship Ethernet data to boat-carrying Beidou II equipment is converted
Step 1: network interface service module receives the data of ship Ethernet, application is transmitted to by communication protocol stack Process, application process carry out data parsing according to the regulation of IEC 61162-450 standard.
Step 2: the data handled are transferred to protocol conversion module to carry out data conversion, the number converted by application process According to transferring to Beidou II protocol function to carry out data frame encapsulation, and boat-carrying Beidou two is sent to by UART0 sending module For equipment.
As shown in figure 4, when Beidou II location data is handled to navigation information frame encapsulation according to " Beidou satellite navigation system User terminal universal data interface " standard transmission location information data, data fit NMEA0183 standard, such as:
“$BDGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,
M,,*47<0x0D><0x0A>”
The encapsulation of navigation information frame is encapsulated according to IEC 61162-450 standard and its Appendix B regulation.TAG block is " UdPbC t:MMSI, c:UTC, s:Source-identification, n:Line-count * Checksum "
Wherein: " MMSI " indicates Waterborne movable communication service identification code, " c ": indicating the time;" UTC " indicates UTC time, In seconds." Checksum " indicates check code.
Encapsulation of data are as follows:
" UdPbC t:412607000, c:1424893517, s:BD0001, n:987*20 $ GPGGA, 123519,
4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47<0x0D><0x0A>”
Wherein:
" UdPbC " is that multicast as defined in IEC 61162-450 agreement indicates symbol;
" t " indicates text in " t:412607000 ", and " 412607000 " indicate Waterborne movable communication service identification code MMSI;
" c " indicates the time in " c:1424893517 ", and " 1424893517 " indicate UTC time, corresponding Beijing time "2015/2/26 3:45:17";
" s " indicates information source in " s:BD0001 ", and " BD " indicates boat-carrying Beidou II equipment, " 0001 " order of representation Number;
" n " indicates line number in " n:987 ", and " 987 " indicate line number value, there is identical identifier (such as " $ GPGGA ") information frame Statement line numerical value output is recycled from 0 to 999;
" * " is separator in " n:987*20 ";
" 20 " are cyclic redundancy check in " n:987*20 ".
UDP multicast service sends data to ship Ethernet.
When the processing of boat-carrying Beidou II device status data is according to " Beidou satellite navigation system user terminal general data connects Mouthful " standard to equipment state frame encapsulate transmit and receive status information data, such as:
“$BDBSI,3,4,0,2,0,0,3,5,0,0,0,0*5D <0x0D><0x0A>”
The encapsulation of equipment state frame is encapsulated according to IEC61162-450 standard regulation, and wherein TAG and navigation information frame seal The TAG data format of dress is identical, data after encapsulation are as follows:
" UdPbC t:412607000, c:1424893517, s:BD0001, n:453*24 $ BDBSI, 3,4,0,2,
0,0,3,5,0,0,0,0*5D<0x0D><0x0A>”
The encapsulation of boat-carrying Beidou II device directive is advised according to " Beidou satellite navigation system user terminal universal data interface " Surely station-keeping mode is sent to boat-carrying Beidou II terminal device by sending module and data is set, such as:
“$CCMSS,Z,2,B1,A,B3,P,,*36<0x0D><0x0A>”
The error reporting of the Beidou II functional module captured is sent error log by error reporting, according to IEC The regulation generation error log of 4.3.3 is as follows in 61162-450:
“1311 20150204T23:10:20-01:00 192.168.103.250 450-BDT - 102 – data header error”
The encapsulation of system log frame is encapsulated according to IEC 61162-450 standard regulation, and wherein TAG and navigation information frame seal The TAG formatted data of dress is identical, and data are after encapsulation
" UdPbC t:412607000, c:1467543517, s:BD0001, n:187*2F 1,311 20150204
T23:10:20-01:00 192.168.103.250 450-BDT - 102 – data header error”
Table 1 lists Beidou II location information UDP multicast service address.
Table 1
Using customized extension in IEC 61162-450, customized BD(Beidou navigation information) multicast group NAVD is added, it is more Broadcast the address port 239.192.0.4 60004.The Beidou II location data processing information that the encapsulation of navigation information frame is sent is in NAVD Upper carry out multicast.
Table 2 lists boat-carrying Beidou II device status information UDP multicast service address.
Table 2
Using customized extension in IEC 61162-450, it is defined as BDZT(Beidou state) multicast group #, multicast address 239.192.0.9 port 60009.The boat-carrying Beidou II device status information that equipment state frame encapsulation 232 is sent is on BDZT Carry out multicast.
Table 3 lists boat-carrying Beidou II device log multicast service address.
Table 3
Boat-carrying Beidou II device Errors log is encapsulated by system log frame, is according to regulation in IEC61162-450 standard The requirement for log multicast group of uniting carries out multicast by UDP multicast service on the port multicast address 239.192.0.254 514.

Claims (1)

1. a kind of protocol conversion process suitable for the protocol conversion system between boat-carrying Beidou II equipment and ship Ethernet, It is characterized in that, the protocol conversion process is as follows:
The communication process of IEC 61162-450 standard is to be needed to establish an application before a communication using UDP multicast formula and connected It connects, when protocol conversion system connects boat-carrying Beidou II equipment and ship Ethernet, communication process starts, entire communication process It is as follows:
The first step, which is established, applies connection procedure,
Step 1: after protocol conversion system accesses ship Ethernet, physical layer connection is first established;
Step 2: system generated data response command issues consultative management process after physical layer establishes connection, and consultative management process is rung Data frame is sent after should ordering establishes data link layer connection;
Step 3: consultative management process sends commands to internetwork layer connection after data link layer connection is established, according to this protocol conversion The IP address of system configuration establishes internetwork layer connection;
Step 4: internetwork layer connection sends data response command to consultative management process after establishing, consultative management process sends order Transportation level connection is established, this converting system is communicated using UDP multicast protocol;
Step 5: transportation level connection sends data response command to consultative management process after establishing, consultative management process sends order Establish application layer connection;
Step 6: application layer connection sends data response command to consultative management process after establishing, consultative management process sends instruction To application process, show the data communication that can be normally carried out protocol conversion system;
Second step establishes data communication process,
What data communication process must carry out under the premise of establishing using connection;
(1) data protocol of boat-carrying Beidou II device data to ship Ethernet is converted,
Step 1: boat-carrying Beidou II equipment sends data frame through the reception of UART0 receiving module, Beidou II protocol function Carry out data frame analyzing, protocol conversion module gives application process after carrying out data conversion;
Step 2: application process passes through communication protocol stack using UDP communication protocol according to the regulation of IEC 61162-450 standard Ship Ethernet is sent data to by Network Interface Module;
(2) data protocol of ship Ethernet data to boat-carrying Beidou II equipment is converted,
Step 1: Network Interface Module receives the data of ship Ethernet, is transmitted to application process by communication protocol stack, applies Process carries out data parsing according to the regulation of IEC 61162-450 standard;
Step 2: the data handled are transferred to protocol conversion module to carry out data conversion by application process, and the data converted are transferred to Beidou II protocol function carries out data frame encapsulation, and is sent to boat-carrying Beidou II equipment by UART0 sending module.
CN201510886499.5A 2015-12-07 2015-12-07 Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet Active CN105491037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510886499.5A CN105491037B (en) 2015-12-07 2015-12-07 Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510886499.5A CN105491037B (en) 2015-12-07 2015-12-07 Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet

Publications (2)

Publication Number Publication Date
CN105491037A CN105491037A (en) 2016-04-13
CN105491037B true CN105491037B (en) 2019-02-12

Family

ID=55677752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510886499.5A Active CN105491037B (en) 2015-12-07 2015-12-07 Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet

Country Status (1)

Country Link
CN (1) CN105491037B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111992A (en) * 2017-12-23 2018-06-01 北京卫星信息工程研究所 A kind of split type boat-carrying admittance equipment and its data processing method
CN110381046B (en) * 2019-07-10 2021-12-07 广东星舆科技有限公司 GNSS data encryption transmission method
CN110794826B (en) * 2019-09-24 2023-10-20 北京旷视机器人技术有限公司 Hybrid navigation method and device, communication method and device, equipment and storage medium
CN111585999B (en) * 2020-04-28 2022-03-29 深圳震有科技股份有限公司 Data conversion method, system and storage medium
CN112116201B (en) * 2020-08-11 2021-07-06 长江三峡通航管理局 Method for acquiring and processing navigation operation data of ship lock
CN112019256A (en) * 2020-08-28 2020-12-01 深圳市青柠互动科技开发有限公司 Gateway device and satellite ground station system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201039202Y (en) * 2007-04-24 2008-03-19 武汉理工大学 Multi-channel standard data receiver for boat
CN101277299A (en) * 2008-05-13 2008-10-01 珠海中慧微电子有限公司 Protocol conversion system and protocol conversion process
CN101820417A (en) * 2010-03-05 2010-09-01 威胜集团有限公司 Development system of interoperability electricity communication protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201039202Y (en) * 2007-04-24 2008-03-19 武汉理工大学 Multi-channel standard data receiver for boat
CN101277299A (en) * 2008-05-13 2008-10-01 珠海中慧微电子有限公司 Protocol conversion system and protocol conversion process
CN101820417A (en) * 2010-03-05 2010-09-01 威胜集团有限公司 Development system of interoperability electricity communication protocol

Also Published As

Publication number Publication date
CN105491037A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN105491037B (en) Protocol conversion system and process between boat-carrying Beidou II equipment and ship Ethernet
CN111064726B (en) Method and system for realizing data conversion between GOOSE protocol and HDLC protocol
CN108111494A (en) A kind of protocol conversion apparatus of 1553B buses and FlexRay buses
CN102053935A (en) MODBUS serial communication protocol-based communication method
CN102195946A (en) Intelligent communication controller based on ARM (Advanced RISC Machines) technology
CN103647706A (en) Self-adaptation protocol communication gateway and communication platform
WO2015103848A1 (en) Method, system and terminal for realizing network access via wifi
CN113115346A (en) Gateway multi-protocol conversion device based on 5G and method thereof
CN205901798U (en) Very high frequency VHF radio station workstation
CN104821936A (en) System for realizing IEC61850 station level communication protocol based on socket and ASN.1
CN103581138A (en) Data transmission method and device
CN108156137A (en) A kind of method for converting protocol of 1553B buses and FlexRay buses
CN113015113B (en) Beidou satellite-based ocean Internet of things universal gateway data forwarding method
CN104683228A (en) FPGA-based digital switch media gateway implementation method
CN106657377B (en) A kind of WIA-PA/ interconnects manufacture network information service adapter and implementation method entirely
CN206585575U (en) A kind of visible ray network card device
CN110838892B (en) High-reliability merging and forwarding method for multi-path full-duplex serial port
CN102208998B (en) Field programmable gate array (FPGA)-based common object request broker architecture (CORBA) communication device
CN206135931U (en) English NAVTEX maritime safety information broadcasts workstation
CN105610554A (en) Data exchange method for data exchange system based on BDS (BeiDou Navigation Satellite System) and UWSNs (Underwater Wireless Sensor Networks) and shore base station
CN101860410B (en) Communication system of cross station spread cable interface
CN111314242B (en) Multi-channel supporting packet cache scheduling simulation verification method and system
CN103873391B (en) A kind of two layers of adapter select system and method
KR20150000516A (en) Apparatus and method for communication using communication protocol of container tracer
CN107276625A (en) Intelligent terminal adapter, system and control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant