CN104135476A - Method, device and system of converting communication protocol - Google Patents

Method, device and system of converting communication protocol Download PDF

Info

Publication number
CN104135476A
CN104135476A CN201410345720.1A CN201410345720A CN104135476A CN 104135476 A CN104135476 A CN 104135476A CN 201410345720 A CN201410345720 A CN 201410345720A CN 104135476 A CN104135476 A CN 104135476A
Authority
CN
China
Prior art keywords
data
communication port
target device
packet
instruction type
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.)
Granted
Application number
CN201410345720.1A
Other languages
Chinese (zh)
Other versions
CN104135476B (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.)
CHINERGY Co.,Ltd.
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CN201410345720.1A priority Critical patent/CN104135476B/en
Publication of CN104135476A publication Critical patent/CN104135476A/en
Application granted granted Critical
Publication of CN104135476B publication Critical patent/CN104135476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E30/00Energy generation of nuclear origin
    • Y02E30/30Nuclear fission reactors

Abstract

The invention discloses a method, a device and a system of converting a communication protocol, relating to the technical field of nuclear reactors. The method comprises the following steps that: S1, first command data sent by an upper computer are obtained, wherein the first command data include a first command type, an application layer data and a communication port number, and the first command type includes setting a content of data to be sent; S2, the first command data are analyzed, if the first command type is: setting the content of data to be sent, a first data packet is generated by the application layer data, and the first data packet is sent to target equipment through a communication port corresponding to the communication port number; and the first data packet is in a format supported by a digital protection system of a high-temperature gas cooled reactor. Through matching of the steps, communication between the upper computer and the target equipment is implemented, so that each component in the digital protection system of the high-temperature gas cooled reactor and the integrated system are fully and effectively tested.

Description

A kind of communication protocol conversion method, Apparatus and system
Technical field
The present invention relates to nuclear reactor technology field, particularly a kind of communication protocol conversion method, Apparatus and system.
Background technology
High temperature gas cooled reactor is to adopt not have the coating particle of metal casing to make fuel, with graphite, makes moderator, and helium is made the advanced reactor of cooling agent, and core exit temperature is high.High temperature gas cooled reactor has intrinsic fail safe, and heat energy utilization is wide, and the heat efficiency is high; Operation and management is easy, and the flexibility that fuel is selected is large, the feature that fuel consumption is few.The high temperature gas-cooled aspects such as middle-size and small-size nuclear power station, arid area nuclear power station and coal gasification by nuclear heat and liquefaction, hydrogen manufacturing that pile up have a good application prospect.
High temperature gas cooled reactor protection system is one of important safety system of high temperature gas cooled reactor; for monitoring continuously, press the definite protection variable of accident analysis (as core power, a circuit pressure; reactor core out temperature; one loop humidity etc.); when the calculating variable of monitored protection variable or derivation meets or exceeds setting value; automatically provide protection triggering signal; carry out corresponding protection action; be used for preventing that the state of high temperature gas cooled reactor from surpassing the safety limit of regulation, or the consequence that prevention accident is expanded or alleviation causes thus when design basis accident occurs.
The digitlization of high temperature gas cooled reactor protection system is a kind of irreversible trend in rapid development of information technology epoch, is the certainty that computer technology is applied to high-temperature reactor protection system.Digital protection system of high temperature gas cooled reactor can obtain than higher reliability, the Stability and veracity of protection system of simulation, improves significantly the function of reactor protection system simultaneously.
With reference to Fig. 1; digital protection system of high temperature gas cooled reactor adopts the structure of four-way redundancy and two-stage " four get two " voting; and adopt part to meet (with reference to Fig. 2; four redundancy monitor signals of same protection variable are carried out to " four get two " voting) logic, to reduce malfuncton probability and to improve maintainable.
The protection logic device of digital protection system of high temperature gas cooled reactor is comprised of 18 racks; be respectively signal isolation cabinet A, B, C, D, protection logic cabinet Ax, Bx, Cx, Dx, protection logic cabinet Ay, By, Cy, Dy; channel monitoring cabinet A, B, C, D, safety triggers cabinet A, B.Wherein protect logic cabinet x to comprise signal processing apparatus x and logic equality circuit x, protection logic cabinet y comprises signal processing apparatus y and logic equality circuit y.
In forming the basic element of character of digital protection system of high temperature gas cooled reactor; the basic function of signal processing apparatus x, signal processing apparatus y, logic equality circuit x, logic equality circuit y, channel monitoring device, post accident monitoring device, safety display device is realized by software, with communication port.As signal processing apparatus x (or y) sends to the logic processing device x (or y) of 4 passages and the channel monitoring device of this passage by the data after processing by communication port; Channel monitoring device receives the communication data packet from signal processing apparatus x, signal processing apparatus y, logic equality circuit x, logic equality circuit y and the post accident monitoring device of this passage, and the data after processing are sent to 3 safety demonstrations and 1 DCS gateway by port.
In above-mentioned each device with communication port, its communication protocol is based on Ethernet protocol, and Frame is followed IEEE802.3 frame format, and this frame comprises 6 territories: lead code comprises 8 bytes; Destination address comprises 6 bytes; Source address comprises 6 bytes; Type field comprises 2 bytes; Data field comprises 46-1500 byte; Frame Check Sequence comprises 4 bytes.
In digital protection system of high temperature gas cooled reactor; communication protocol has been carried out special definition (being specialized protocol sign) to the type field in IEEE802.3 frame format; incompatible with existing open protocol; and data field is divided into specialized protocol head and application data two parts; and directly realize the control to all access of physical layer by data link layer, incompatible with existing open protocol.
At digital protection system of high temperature gas cooled reactor development, production, installation, debugging, maintenance phase, especially development stage, need to form protection system each parts and integrated after system carry out fully effectively test, with verify and confirm each parts and integrated after system meet its function and performance requirement; In high temperature gas cooled reactor master-control room dynamic authentication system proof procedure, need to provide for master-control room security display, DCS gateway the high temperature gas cooled reactor dedicated ethernet protocol communication packet of emulation.
But in prior art, the equipment of there is no can the above-mentioned communication protocol of emulation, cannot realize to each parts in digital protection system of high temperature gas cooled reactor and integrated after system carry out fully effectively test.
Summary of the invention
For realize to each parts in digital protection system of high temperature gas cooled reactor and integrated after system carry out fully effectively test, the invention provides a kind of communication protocol conversion method, said method comprising the steps of:
S1: obtain the first director data being sent by host computer, described the first director data comprises: the first instruction type, application layer data and communication port numbers, described the first instruction type comprises: data content to be sent is set;
S2: described the first director data is resolved, if described the first instruction type is for arranging data content to be sent, described application layer data is generated to the first packet, described the first packet is sent to target device by the corresponding communication port of described communication port numbers;
Described the first packet is the form that digital protection system of high temperature gas cooled reactor is supported.
Wherein, described the first instruction type also comprises: obtain data accepted content;
In step S2, if described the first instruction type is for obtaining data accepted content, from the corresponding communication port of described communication port numbers, obtain the second packet, the 3rd packet is resolved and regenerated to the second packet, and by described the 3rd Packet Generation to described host computer;
Described the second packet is the form that digital protection system of high temperature gas cooled reactor is supported, described the 3rd packet is the form that host computer is supported.
Wherein, before step S1, also comprise:
S001: obtain the second director data being sent by host computer, described the second director data comprises: the second instruction type, application layer data and communication port numbers;
S002: described the second director data is resolved, and carry out parameter setting according to the second instruction type, application layer data and the communication port numbers that parse.
Wherein, described parameter comprises: be connected with target device communicate by letter the MAC Address of port, be connected with target device and in send mode of operation communication port transmission data time interval, the MAC Address of the enabled state of port and the mode of operation target device communication port corresponding with the communication port that is connected with target device of communicating by letter is connected with target device;
Described the second instruction type comprises:
Setting is connected with target device and communicates by letter that MAC Address, the setting of port is connected with target device and in sending transmission data time interval, the setting of mode of operation communication port be connected with target device with the setting MAC Address of target device communication port corresponding to communication port of the enabled state of port and mode of operation of communicating by letter that is connected with target device;
After step S002, also comprise:
S003: whether setting completed to judge described parameter, if so, returns to step S001, otherwise execution step S1.
Wherein, described the first director data and the second director data also comprise: data check code;
Described parameter also comprises: be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port;
Described the second instruction type also comprises: arrange and be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port.
Wherein, after step S003, also comprise:
Obtain the 3rd director data being sent by host computer, described the 3rd director data comprises: the 3rd instruction type, application layer data and communication port numbers;
Described the 3rd director data is resolved, and carry out parameter acquiring according to the 3rd instruction type, application layer data and the communication port numbers that parse;
According to the parameter obtained, generate the 4th packet, and will described the 4th Packet Generation described host computer extremely, described the 4th packet is the form that host computer is supported.
Wherein, described the 3rd instruction type comprises: obtaining is connected with target device communicate by letter port MAC Address, obtain be connected with target device and in send mode of operation communication port transmission data time interval, obtain communicate by letter enabled state and the mode of operation of port, the MAC Address of obtaining target device communication port corresponding to communication port that be connected with target device of being connected with target device and be connected with target device and transmission data check code integrality state in transmission mode of operation communication port with obtaining.
The invention also discloses a kind of communication protocol conversion device, described device comprises:
Receiving element, for obtaining the first director data being sent by host computer, described the first director data comprises: the first instruction type, application layer data and communication port numbers, described the first instruction type comprises: data content to be sent is set;
Processing unit, for described the first director data is resolved, if described the first instruction type is for data content to be sent is set, generates the first packet by described application layer data;
Output unit, for being sent to target device by described the first packet by the corresponding communication port of described communication port numbers;
Described the first packet is the form that digital protection system of high temperature gas cooled reactor is supported.
Wherein, described the first instruction type also comprises: obtain data accepted content;
Described processing unit, if also for described the first instruction type for obtaining data accepted content, from the corresponding communication port of described communication port numbers, obtain the second packet, the 3rd packet is resolved and regenerated to the second packet;
Described output unit, also for by described the 3rd Packet Generation to described host computer;
Described the second packet is the form that digital protection system of high temperature gas cooled reactor is supported, described the 3rd packet is the form that host computer is supported.
The invention also discloses a kind of communication Protocol Conversion system, described communication Protocol Conversion system comprises: host computer, target device and described device, described target device is the equipment in digital protection system of high temperature gas cooled reactor.
The present invention is by the cooperation between above-mentioned steps, make can realize and communicating by letter between host computer and target device, and then realized to each parts in digital protection system of high temperature gas cooled reactor and integrated after system carry out fully effectively test.
Accompanying drawing explanation
Fig. 1 is the structural representation of digital protection system of high temperature gas cooled reactor;
Fig. 2 is the schematic diagram of " four get two " voting in the digital protection system of high temperature gas cooled reactor shown in Fig. 1;
Fig. 3 is the flow chart of the communication protocol conversion method of one embodiment of the present invention;
Fig. 4 is the structured flowchart of the communication protocol conversion device of one embodiment of the present invention;
Fig. 5 is the schematic diagram of the external structure of installing described in Fig. 4;
Fig. 6 be user-defined format and redefine after the schematic diagram of form of IEEE802.3;
Fig. 7 is the structured flowchart of the communication Protocol Conversion system of the first embodiment of the present invention;
Fig. 8 is the workflow diagram of the communication Protocol Conversion system of the first embodiment of the present invention;
Fig. 9 is the structured flowchart of the communication Protocol Conversion system of the second embodiment of the present invention;
Figure 10 is the workflow diagram of the communication Protocol Conversion system of the second embodiment of the present invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples are used for illustrating the present invention, but are not used for limiting the scope of the invention.
Fig. 3 is the flow chart of the communication protocol conversion method of one embodiment of the present invention; With reference to Fig. 3, said method comprising the steps of:
S1: obtain the first director data being sent by host computer (being Test Host or emulator), described the first director data comprises: the first instruction type, application layer data and communication port numbers, and described the first instruction type comprises: data content to be sent is set;
S2: described the first director data is resolved, if described the first instruction type is for arranging data content to be sent, described application layer data is generated to the first packet, described the first packet is sent to target device by the corresponding communication port of described communication port numbers;
Described the first packet is the form that digital protection system of high temperature gas cooled reactor is supported
For ease of making host computer receive the packet being transmitted by target device, preferably, described the first instruction type also comprises: obtain data accepted content;
In step S2, if described the first instruction type is for obtaining data accepted content, from the corresponding communication port of described communication port numbers, obtain the second packet, the 3rd packet is resolved and regenerated to the second packet, and by described the 3rd Packet Generation to described host computer;
Described the second packet is the form that digital protection system of high temperature gas cooled reactor is supported, described the 3rd packet is the form that host computer is supported.
Before communicating by letter between machine and the target device of position, need to complete in advance parameter setting in realization, for completing in advance parameter setting, preferably, before step S1, also comprise:
S001: obtain the second director data being sent by host computer, described the second director data comprises: the second instruction type, application layer data and communication port numbers;
S002: described the second director data is resolved, and carry out parameter setting according to the second instruction type, application layer data and the communication port numbers that parse.
For guaranteeing that required parameter all arranges accordingly, preferably, described parameter comprises: the MAC Address of port of communicating by letter is connected with target device, be connected with target device and (this time interval is extremely important in sending the transmission data time interval of mode of operation communication port, need to match with the time of reception interval of target device, if this parameter is arbitrarily set, can cause target device to produce misoperation), enabled state and the mode of operation of port of communicating by letter is connected with target device, the MAC Address of the target device communication port corresponding with the communication port that is connected with target device,
Described the second instruction type comprises:
Setting is connected with target device and communicates by letter that MAC Address, the setting of port is connected with target device and in sending transmission data time interval, the setting of mode of operation communication port be connected with target device with the setting MAC Address of target device communication port corresponding to communication port of the enabled state of port and mode of operation of communicating by letter that is connected with target device;
After step S002, also comprise:
S003: whether setting completed to judge described parameter, if so, returns to step S001, otherwise execution step S1.
For guaranteeing the correctness of data, preferably, described the first director data and the second director data also comprise: data check code;
Described parameter also comprises: be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port;
Described the second instruction type also comprises: arrange and be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port.
For ease of the parameter setting is confirmed, preferably, after step S003, also comprise:
Obtain the 3rd director data being sent by host computer, described the 3rd director data comprises: the 3rd instruction type, application layer data and communication port numbers;
Described the 3rd director data is resolved, and carry out parameter acquiring according to the 3rd instruction type, application layer data and the communication port numbers that parse;
According to the parameter obtained, generate the 4th packet, and will described the 4th Packet Generation described host computer extremely, described the 4th packet is the form that host computer is supported.
Preferably, described the 3rd instruction type comprises: obtaining is connected with target device communicate by letter port MAC Address, obtain be connected with target device and in send mode of operation communication port transmission data time interval, obtain communicate by letter enabled state and the mode of operation of port, the MAC Address of obtaining target device communication port corresponding to communication port that be connected with target device of being connected with target device and be connected with target device and transmission data check code integrality state in transmission mode of operation communication port with obtaining.
The invention also discloses a kind of communication protocol conversion device, with reference to Fig. 4, described device comprises:
Receiving element, for obtaining the first director data being sent by host computer, described the first director data comprises: the first instruction type, application layer data and communication port numbers, described the first instruction type comprises: data content to be sent is set;
Processing unit, for described the first director data is resolved, if described the first instruction type is for data content to be sent is set, generates the first packet by described application layer data;
Output unit, for being sent to target device by described the first packet by the corresponding communication port of described communication port numbers;
Described the first packet is the form that digital protection system of high temperature gas cooled reactor is supported.
For ease of making host computer receive the packet being transmitted by target device, preferably, described the first instruction type also comprises: obtain data accepted content;
Described processing unit, if also for described the first instruction type for obtaining data accepted content, from the corresponding communication port of described communication port numbers, obtain the second packet, the 3rd packet is resolved and regenerated to the second packet;
Described output unit, also for by described the 3rd Packet Generation to described host computer;
Described the second packet is the form that digital protection system of high temperature gas cooled reactor is supported, described the 3rd packet is the form that host computer is supported.
Described communication protocol conversion device is also included as other modules that realize above-mentioned communication protocol conversion method, for avoiding redundancy, so do not repeat them here.
With reference to Fig. 5, communication protocol conversion device provides 2~N (N is variable value, determines according to demand, and representative value is 6) ethernet communication port, and being provided with one group of toggle switch, described toggle switch is used for the MAC Address of communication port 1 of configuration protocol conversion equipment.
Communication port 1 is for being connected with host computer (hereinafter to be referred as " commander equipment "), for receiving the director data from commander equipment, according to the parameter of other ports of director data content configuration communication protocol conversion device (as the transmission of configured port or receive mode of operation, source of configuration address/destination address, the transmission time interval of configuration data bag etc.) or carry out the function (as read the configuration parameter of certain port, return to data that certain port receives etc.) of director data appointment.Other a N-1 communication port is for selecting the corresponding communication port of one or more communication port and target device to be connected according to the communication port quantity of the equipment (hereinafter to be referred as " target device ") of use digital protection system of high temperature gas cooled reactor dedicated ethernet agreement; be connected with the target device communication data of communication port of reception; or for the connected communication port of target device provides digital protection system of high temperature gas cooled reactor dedicated ethernet protocol communication data, its MAC Address is configured by director data by commander equipment.
This N-1 communication port has 2 kinds of mode of operations, sends mode of operation and receives mode of operation; If some or a plurality of communication port are not in 2 kinds of mode of operations any one, this communication port does not enable, in idle spare state.
Communication protocol conversion device is carried out following major function: (1) is responsible for the initialization of hardware resource and global data; (2) in order to realize accurate (precision is better than 1ms) timed sending of certain or some communication port communication data packet, be responsible for safeguarding a high accurate calculagraph (resolution is better than 1us) and one or more timing variable; (3) in the process of implementation, round-robin scheduling instruction respond module, this module periodically receives and resolves the director data from the connected communication port of and instruction equipment, according to the function of the parameter of other ports of director data content configuration communication protocol conversion device or the appointment of execution director data; (4) software and hardware resources in device is carried out to On-line self-diagnosis, if find mistake, immediately abnormal information is sent to commander equipment with the form of communication data packet.
Director data between communication protocol conversion device and host computer has three kinds of optional modes: one, based on ICP/IP protocol; Two, based on udp protocol; Three, use self-defining special instruction agreement.
Director data comprises five part: object MAC (accounting for 6 bytes), source MAC (accounting for 6 bytes), protocol-identifier (accounting for 4 bytes), protocol layer data (accounting for 12 bytes), application layer data (accounting for 1004 bytes).Director data has regular length, totally 1032 bytes.Detailed content is in Table 1.
Table 1 communication protocol conversion device director data
When adopting TCP/IP, udp protocol transfer instruction data, commander equipment using 1032 bytes of director data as TCP/IP, UDP application layer data directly sends to the communication port of communication protocol conversion device.
When adopting self-defining special instruction agreement, physical layer is used IEEE802.3 frame format to carry out transfer of data, but the type field of IEEE802.3 and data field are redefined, and its corresponding relation is shown in Fig. 6.
The protocol conversion module of communication protocol conversion device is except the unidirectional feedback of abnormal information, and other situations are all with a kind of instruction---the two-way operation mechanism operation of replying.Commander equipment sends director data bag to conversion equipment, and instruction respond module is resolved after director data, carries out operation accordingly, has operated the packet of backward commander equipment feedback given content.
Communication protocol conversion device (is us Value according to the director data bag property value of protocol layer data in director data, in Table 1) difference, in conjunction with other fields and the application layer data in protocol layer data, realize following major function: (1) arranges the MAC Address of port of communicating by letter that is connected with target device; (2) obtain the MAC Address of port of communicating by letter that is connected with target device; (3) arrange and be connected with target device and the data content to be sent (being above-mentioned " data content to be sent is set ") in transmission mode of operation communication port; (4) obtaining certain is connected with target device and the data accepted content (being above-mentioned " obtaining data accepted content ") in reception mode of operation communication port; (5) arrange and be connected with target device and the transmission data time interval in transmission mode of operation communication port; (6) obtain and be connected with target device and the transmission data time interval in transmission mode of operation communication port; (7) enabled state and the mode of operation of port of communicating by letter that be connected with target device is set; (8) obtain enabled state and the mode of operation of port of communicating by letter that be connected with target device; (9) MAC Address of target device communication port corresponding to communication port that be connected with target device is set; (10) obtain the MAC Address of target device communication port corresponding to communication port that be connected with target device; (11) arrange and be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port; (12) obtain and be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port.
While carrying out information exchange between commander equipment and communication protocol conversion device, the concrete meaning of the communication data mainly protocol layer data in director data agreement determines, specific rules is in Table 2.
The communication data rule of table 2 director data agreement
When being connected with target device of communication protocol conversion device, communicate by letter port when sending mode of operation; according to director data relevant parameter; the target MAC (Media Access Control) address of protection system dedicated ethernet agreement, source MAC, specialized protocol sign, specialized protocol head and application data are filled to (generating new packet) one by one; and take the transmission time interval (multiple that representative value is 5ms, its scope is 5ms~60000ms) of setting and by data link layer, send to the target device communication port being connected.
When being connected with target device of communication protocol conversion device, communicate by letter port when receiving mode of operation; within each execution cycle; automatically receive the protection system dedicated ethernet protocol communication data from the target device communication port that is connected; after the data that receive are resolved, deposit in and connect data buffer zone corresponding to communication port.When commander equipment sends obtaining communication protocol conversion apparatus and receives the communication port data of mode of operation, by the data feedback in corresponding buffering area to commander equipment.
The invention also discloses a kind of communication Protocol Conversion system, described communication Protocol Conversion system comprises: host computer, target device and described device, described target device is the equipment in digital protection system of high temperature gas cooled reactor.
Embodiment 1
With a specific embodiment, the present invention is described below, but does not limit protection scope of the present invention.When the relevant device with communication port of digital protection system of high temperature gas cooled reactor (as signal processing apparatus x, signal processing apparatus y, logic equality circuit x, logic equality circuit y, channel monitoring device, post accident monitoring device, safety display device) is carried out to integration testing, the annexation between the communication protocol conversion device of digital protection system of high temperature gas cooled reactor of the present invention and Test Host, relevant apparatus to be measured (the logic equality circuit x of take is example) is shown in Fig. 7.
In integration testing process, while realizing the communication data exchange between Test Host and device to be measured by communication protocol device of the present invention, Test Host can send director data sequence to communication protocol conversion device by step shown in Fig. 8 and realize exchanges data.
Embodiment 2
With another specific embodiment, the present invention is described below, but does not limit protection scope of the present invention.In high temperature gas cooled reactor master-control room dynamic authentication system, communication protocol conversion device of the present invention and analogue system, safety display device, dcs (Distributed Control System, DCS) english abbreviation, the annexation being called for short between gateway is shown in Fig. 9.
In high temperature gas cooled reactor master-control room dynamic authentication system, while realizing the communication data exchange between analogue system and master-control room security display 1,2,3,4 and DCS gateway by communication protocol device of the present invention, analogue system can send director data sequence to communication protocol conversion device by step shown in Figure 10 and realize exchanges data.
Above execution mode is only for illustrating the present invention; and be not limitation of the present invention; the those of ordinary skill in relevant technologies field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all technical schemes that are equal to also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.

Claims (10)

1. a communication protocol conversion method, is characterized in that, said method comprising the steps of:
S1: obtain the first director data being sent by host computer, described the first director data comprises: the first instruction type, application layer data and communication port numbers, described the first instruction type comprises: data content to be sent is set;
S2: described the first director data is resolved, if described the first instruction type is for arranging data content to be sent, described application layer data is generated to the first packet, described the first packet is sent to target device by the corresponding communication port of described communication port numbers;
Described the first packet is the form that digital protection system of high temperature gas cooled reactor is supported.
2. the method for claim 1, is characterized in that, described the first instruction type also comprises: obtain data accepted content;
In step S2, if described the first instruction type is for obtaining data accepted content, from the corresponding communication port of described communication port numbers, obtain the second packet, the 3rd packet is resolved and regenerated to the second packet, and by described the 3rd Packet Generation to described host computer;
Described the second packet is the form that digital protection system of high temperature gas cooled reactor is supported, described the 3rd packet is the form that host computer is supported.
3. method as claimed in claim 1 or 2, is characterized in that, before step S1, also comprises:
S001: obtain the second director data being sent by host computer, described the second director data comprises: the second instruction type, application layer data and communication port numbers;
S002: described the second director data is resolved, and carry out parameter setting according to the second instruction type, application layer data and the communication port numbers that parse.
4. method as claimed in claim 3, it is characterized in that, described parameter comprises: be connected with target device communicate by letter the MAC Address of port, be connected with target device and in send mode of operation communication port transmission data time interval, the MAC Address of the enabled state of port and the mode of operation target device communication port corresponding with the communication port that is connected with target device of communicating by letter is connected with target device;
Described the second instruction type comprises:
Setting is connected with target device and communicates by letter that MAC Address, the setting of port is connected with target device and in sending transmission data time interval, the setting of mode of operation communication port be connected with target device with the setting MAC Address of target device communication port corresponding to communication port of the enabled state of port and mode of operation of communicating by letter that is connected with target device;
After step S002, also comprise:
S003: whether setting completed to judge described parameter, if so, returns to step S001, otherwise execution step S1.
5. method as claimed in claim 4, is characterized in that, described the first director data and the second director data also comprise: data check code;
Described parameter also comprises: be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port;
Described the second instruction type also comprises: arrange and be connected with target device and the transmission data check code integrality state in transmission mode of operation communication port.
6. method as claimed in claim 5, is characterized in that, after step S003, also comprises:
Obtain the 3rd director data being sent by host computer, described the 3rd director data comprises: the 3rd instruction type, application layer data and communication port numbers;
Described the 3rd director data is resolved, and carry out parameter acquiring according to the 3rd instruction type, application layer data and the communication port numbers that parse;
According to the parameter obtained, generate the 4th packet, and will described the 4th Packet Generation described host computer extremely, described the 4th packet is the form that host computer is supported.
7. method as claimed in claim 6, it is characterized in that, described the 3rd instruction type comprises: obtaining is connected with target device communicate by letter port MAC Address, obtain be connected with target device and in send mode of operation communication port transmission data time interval, obtain communicate by letter enabled state and the mode of operation of port, the MAC Address of obtaining target device communication port corresponding to communication port that be connected with target device of being connected with target device and be connected with target device and transmission data check code integrality state in transmission mode of operation communication port with obtaining.
8. a communication protocol conversion device, is characterized in that, described device comprises:
Receiving element, for obtaining the first director data being sent by host computer, described the first director data comprises: the first instruction type, application layer data and communication port numbers, described the first instruction type comprises: data content to be sent is set;
Processing unit, for described the first director data is resolved, if described the first instruction type is for data content to be sent is set, generates the first packet by described application layer data;
Output unit, for being sent to target device by described the first packet by the corresponding communication port of described communication port numbers;
Described the first packet is the form that digital protection system of high temperature gas cooled reactor is supported.
9. device as claimed in claim 8, is characterized in that, described the first instruction type also comprises: obtain data accepted content;
Described processing unit, if also for described the first instruction type for obtaining data accepted content, from the corresponding communication port of described communication port numbers, obtain the second packet, the 3rd packet is resolved and regenerated to the second packet;
Described output unit, also for by described the 3rd Packet Generation to described host computer;
Described the second packet is the form that digital protection system of high temperature gas cooled reactor is supported, described the 3rd packet is the form that host computer is supported.
10. a communication Protocol Conversion system, is characterized in that, described communication Protocol Conversion system comprises: the device in host computer, target device and claim 8~9 described in any one, described target device is the equipment in digital protection system of high temperature gas cooled reactor.
CN201410345720.1A 2014-07-18 2014-07-18 A kind of communication protocol conversion method, apparatus and system Active CN104135476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410345720.1A CN104135476B (en) 2014-07-18 2014-07-18 A kind of communication protocol conversion method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410345720.1A CN104135476B (en) 2014-07-18 2014-07-18 A kind of communication protocol conversion method, apparatus and system

Publications (2)

Publication Number Publication Date
CN104135476A true CN104135476A (en) 2014-11-05
CN104135476B CN104135476B (en) 2017-06-13

Family

ID=51807998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410345720.1A Active CN104135476B (en) 2014-07-18 2014-07-18 A kind of communication protocol conversion method, apparatus and system

Country Status (1)

Country Link
CN (1) CN104135476B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547260A (en) * 2016-10-26 2017-03-29 北京广利核系统工程有限公司 Communication means, I&C system communicator and I&C system in I&C system
CN107229723A (en) * 2017-06-05 2017-10-03 腾讯科技(深圳)有限公司 Command processing method and instruction processing unit
CN109743296A (en) * 2018-12-14 2019-05-10 航天信息股份有限公司 A kind of method and system of the LA Management Room transmission data incompatible in agreement
CN111510341A (en) * 2020-03-13 2020-08-07 视联动力信息技术股份有限公司 Network testing method and device for video network
CN113542273A (en) * 2021-07-15 2021-10-22 北京润科通用技术有限公司 Data transmission method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1879350A1 (en) * 2006-07-10 2008-01-16 Abb Research Ltd. Distributed computer system with a local area network
CN101621440A (en) * 2009-05-22 2010-01-06 浙江天正电气股份有限公司 Remote multi-path serial port communication mapping system
CN101923126A (en) * 2009-12-30 2010-12-22 华北电网有限公司 Digital protecting tester, automatic closed loop test system and method
CN102280148A (en) * 2011-04-29 2011-12-14 清华大学 Integration testing method and system for digital protection system of high temperature gas cooled reactor
CN102624581A (en) * 2011-12-15 2012-08-01 上海卫星工程研究所 Connecting device of ground testing equipment of aircraft
CN102843380A (en) * 2012-09-13 2012-12-26 深圳市亚特尔科技有限公司 Method for solving serial port communication bottleneck based on MODBUS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1879350A1 (en) * 2006-07-10 2008-01-16 Abb Research Ltd. Distributed computer system with a local area network
CN101621440A (en) * 2009-05-22 2010-01-06 浙江天正电气股份有限公司 Remote multi-path serial port communication mapping system
CN101923126A (en) * 2009-12-30 2010-12-22 华北电网有限公司 Digital protecting tester, automatic closed loop test system and method
CN102280148A (en) * 2011-04-29 2011-12-14 清华大学 Integration testing method and system for digital protection system of high temperature gas cooled reactor
CN102624581A (en) * 2011-12-15 2012-08-01 上海卫星工程研究所 Connecting device of ground testing equipment of aircraft
CN102843380A (en) * 2012-09-13 2012-12-26 深圳市亚特尔科技有限公司 Method for solving serial port communication bottleneck based on MODBUS

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547260A (en) * 2016-10-26 2017-03-29 北京广利核系统工程有限公司 Communication means, I&C system communicator and I&C system in I&C system
CN106547260B (en) * 2016-10-26 2019-03-08 北京广利核系统工程有限公司 Communication means, I&C system communication device and I&C system in I&C system
CN107229723A (en) * 2017-06-05 2017-10-03 腾讯科技(深圳)有限公司 Command processing method and instruction processing unit
CN107229723B (en) * 2017-06-05 2022-05-03 腾讯科技(深圳)有限公司 Instruction processing method and instruction processing device
CN109743296A (en) * 2018-12-14 2019-05-10 航天信息股份有限公司 A kind of method and system of the LA Management Room transmission data incompatible in agreement
CN111510341A (en) * 2020-03-13 2020-08-07 视联动力信息技术股份有限公司 Network testing method and device for video network
CN113542273A (en) * 2021-07-15 2021-10-22 北京润科通用技术有限公司 Data transmission method and related equipment

Also Published As

Publication number Publication date
CN104135476B (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN104135476A (en) Method, device and system of converting communication protocol
Wang et al. Research on application and security protection of internet of things in smart grid
CN100546262C (en) A kind of broadband aviation electronic bus testing apparatus and method of operation thereof
CN103413094B (en) A kind of remote measurement encryption system being applicable to spacecraft CTU
CN104065545A (en) RS485 bus communication method based on Modbus protocol and power electronic system based on communication method
CN108650111B (en) Information security electric power semi-physical simulation platform building method and system
CN100385407C (en) Allopatric data image method of network information system
CN107070911A (en) The method and traffic comprehensive monitoring system of a kind of information transfer
CN104809250A (en) Loose type data consistency checking method
CN109729073A (en) Network Abnormal recognition methods and system in a kind of electric network information physical system
CN201072431Y (en) Broadband aviation electronic bus testing device
CN106789520B (en) A kind of high speed failure safe multi-node communication networks
WO2023221547A1 (en) Device fault detection method and device, and storage medium
CN106445852A (en) Inter-task communication apparatus and method based on self-monitoring architecture
CN102281584A (en) Method and system for implementing capability of Internet of things
CN104133954A (en) Protection logic simulation device and dynamic verification system using protection logic simulation device
CN102394775B (en) A kind of methods, devices and systems of analogue network element
CN103457957A (en) Network penetration test system with self-adaption function and network penetration test method
Schacht et al. Multifunction-timing card lTTEV2 for CoDaC systems of Wendelstein 7-X
CN107404405A (en) A kind of intelligent substation IEC61850 conformance test methods and system
CN106841842A (en) The method of testing and device in the empty loop of secondary device
Li et al. FPGA-based technologies improving the efficiency of point to point communications in safety-related DCSs
Zhao et al. A digital twin framework for cyber security in cyber-physical systems
CN202102418U (en) Automatic test system for software and module
CN113534680B (en) Adapter and hybrid test system based on ED-247 standard

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210111

Address after: 100193 building 26, Zhongguancun Software Park, 8 Dongbeiwang West Road, Haidian District, Beijing

Patentee after: CHINERGY Co.,Ltd.

Address before: 100084 mailbox, 100084-82 Tsinghua Yuan, Beijing, Haidian District, Beijing

Patentee before: TSINGHUA University