CN113867325A - Communication diagnosis method and system for instrument control system - Google Patents

Communication diagnosis method and system for instrument control system Download PDF

Info

Publication number
CN113867325A
CN113867325A CN202111256756.9A CN202111256756A CN113867325A CN 113867325 A CN113867325 A CN 113867325A CN 202111256756 A CN202111256756 A CN 202111256756A CN 113867325 A CN113867325 A CN 113867325A
Authority
CN
China
Prior art keywords
communication
communication diagnosis
card
diagnosis
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111256756.9A
Other languages
Chinese (zh)
Inventor
吴艺璇
朱怀宇
高斌华
冯懿
冯雪
王炜瑟
王静雯
颜林峰
葛立炎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Nuclear Power Automation System Engineering Co Ltd
Original Assignee
State Nuclear Power Automation System Engineering 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 State Nuclear Power Automation System Engineering Co Ltd filed Critical State Nuclear Power Automation System Engineering Co Ltd
Priority to CN202111256756.9A priority Critical patent/CN113867325A/en
Publication of CN113867325A publication Critical patent/CN113867325A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0221Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods

Abstract

The invention discloses a communication diagnosis method and a communication diagnosis system of an instrument control system, which are used for carrying out communication diagnosis on a card; the communication diagnosis method includes the steps of: a forwarding module of the target equipment acquires a communication diagnosis request sent by the test host and forwards the communication diagnosis request to the core card; the core card analyzes the communication diagnosis request to obtain communication diagnosis parameters, checks whether the communication diagnosis parameters meet preset requirements, and forwards the communication diagnosis request to an application card of the target equipment if the communication diagnosis parameters meet the preset requirements; the application card analyzes the communication diagnosis request to obtain communication diagnosis parameters, and performs communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information. The invention effectively simplifies the communication diagnosis process of the instrument control system, improves the communication diagnosis efficiency and flexibility, increases the fool-proof property of the diagnosis process and expands the communication diagnosis range; therefore, all cards of the instrument control system can be subjected to comprehensive, rapid and effective communication diagnosis.

Description

Communication diagnosis method and system for instrument control system
Technical Field
The invention relates to the field of instrument control communication, in particular to a system communication diagnosis method and system.
Background
In some more complex system diagnostics, a larger number of diagnostic target devices are often involved, such as cards located on different backplanes or different chassis. The process of diagnosing different diagnosis target devices is complex, due to the fact that the control cabinet and the clamping pieces are numerous, the frequent plugging and unplugging of the clamping pieces for accessing, reading and writing operations consumes manpower, the efficiency and the foolproof performance are poor, and adverse effects can be caused on the normal operation of the devices. For example, in a nuclear power safety instrument control system, at present, various cards in various chassis are mainly accessed through communication diagnosis, and functions of system maintenance, parameter setting and the like are realized; data configuration mainly accesses a single FPGA (Field-Programmable Gate Array) card one by one through a JTAG (Joint Test Action Group, an international standard Test protocol) interface, a large amount of card plugging and unplugging operations are required in a diagnosis process, the convenience of communication diagnosis is poor, and further the system maintenance and repair efficiency is low. In addition, the communication diagnosis safety also affects the safety of the whole instrument control system.
Disclosure of Invention
The invention provides a communication method and a system for system diagnosis, aiming at overcoming the defects of low efficiency and poor fool-proof performance of the whole diagnosis process caused by the fact that a control instrument control system has a plurality of devices and a card needs to be frequently inserted and pulled for access reading and writing in the test process in the prior art.
The invention solves the technical problems through the following technical scheme:
the invention provides a communication diagnosis method of an instrument control system, which is used for carrying out communication diagnosis on a card; the communication diagnostic method includes the steps of:
a forwarding module of the target equipment acquires a communication diagnosis request sent by a test host and forwards the communication diagnosis request to a core card;
the core card analyzes the communication diagnosis request to obtain communication diagnosis parameters, checks whether the communication diagnosis parameters meet preset requirements, and forwards the communication diagnosis request to an application card of the target equipment if the communication diagnosis parameters meet the preset requirements;
the application card analyzes the communication diagnosis request to obtain the communication diagnosis parameters, and performs communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
Preferably, the step of the core card parsing the communication diagnosis request to obtain the communication diagnosis parameters includes: and the core card piece checks whether the communication diagnosis request conforms to a preset UART protocol, and if not, the communication diagnosis request is discarded and first prompt information is generated.
Preferably, the step of the application card parsing the communication diagnosis request to obtain the communication diagnosis parameters includes: and the application card verifies whether the communication diagnosis request conforms to a preset UART protocol, and if not, discards the communication diagnosis request and generates second prompt information.
Preferably, the step of checking, by the core card, whether the communication diagnosis parameter meets a preset requirement includes:
if the communication frame header, the communication frame length and the communication frame sequence number of the communication diagnosis parameter all accord with preset parameters; and the communication diagnostic parameter passes a CRC check; the communication diagnostic parameter meets a preset requirement.
Preferably, the target card comprises at least one of the application card, the core card and other cards.
Preferably, the communication diagnostic parameter comprises a communication diagnostic address; the step of the application card performing communication diagnosis operation on the target card corresponding to the communication diagnosis parameters comprises the following steps:
and the application card determines the target card according to the communication diagnosis address.
Preferably, the communication diagnosis parameter comprises an access type, and the access type represents that the communication diagnosis operation is a read operation or a write operation;
and if the access type does not accord with the read-write permission of the target card, the target card prohibits the communication diagnosis operation.
Preferably, the step of obtaining the communication diagnosis result information by the application card further comprises: the application card outputs the communication diagnosis result information to the test host;
the communication diagnostic method further includes: and if the communication diagnosis result information is not acquired within the preset time, the application card generates overtime error prompt information.
The invention also provides a communication diagnosis system of the instrument control system, which is used for carrying out communication diagnosis on the card; the communication diagnosis system comprises a forwarding module, a core card and an application card;
the core card is in communication connection with the forwarding module and the application card respectively;
the forwarding module is used for acquiring a communication diagnosis request sent by the test host and forwarding the communication diagnosis request to the core card;
the core card is used for analyzing the communication diagnosis request to obtain communication diagnosis parameters, checking whether the communication diagnosis parameters meet preset requirements or not, and forwarding the communication diagnosis request to the application card if the communication diagnosis parameters meet the preset requirements;
the application card is used for analyzing the communication diagnosis request to obtain the communication diagnosis parameters, and performing communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
Preferably, the communication diagnosis system comprises the test host and a target device; the core card, the application card and the forwarding module are arranged on the target equipment; the test host is in communication connection with the target equipment;
the test host is used for generating the communication diagnosis request.
The positive progress effects of the invention are as follows: by providing the communication diagnosis method and the communication diagnosis system of the instrument control system, the communication diagnosis process of the instrument control system is effectively simplified, the communication diagnosis efficiency and flexibility are improved, the fool-proofing performance of the diagnosis process is improved, and the communication diagnosis range is expanded; therefore, all cards of the instrument control system can be subjected to comprehensive, rapid and effective communication diagnosis.
Drawings
Fig. 1 is a schematic flowchart of a communication diagnosis method of an instrumentation and control system according to embodiment 1 of the present invention.
Fig. 2 is a data flow diagram of a communication diagnostic method of the instrumentation and control system according to embodiment 1 of the present invention.
Fig. 3 is a block diagram schematically showing a communication diagnosis system of the instrumentation and control system according to embodiment 2 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, the present invention specifically provides a communication diagnosis method for an instrument control system, which is used for performing communication diagnosis on a card; the method comprises the following steps:
s1, a forwarding module of the target equipment acquires a communication diagnosis request sent by a test host and forwards the communication diagnosis request to a core card.
And S2, the core card analyzes the communication diagnosis request to obtain communication diagnosis parameters, checks whether the communication diagnosis parameters meet preset requirements, and forwards the communication diagnosis request to an application card of the target equipment if the communication diagnosis parameters meet the preset requirements.
And S3, the application card analyzes the communication diagnosis request to obtain communication diagnosis parameters, and performs communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
In this embodiment, the instrument control system may be a comprehensive system for controlling an instrument and an instrument, including but not limited to a circuit structure, an electrical structure, and an electronic product; for example, the system can be a nuclear power safety instrument control system. The target device includes, but is not limited to, an electronic module having storage and/or processing control functionality, a device, or a combination thereof, such as a target chassis including a core cartridge, an application cartridge, and a forwarding module.
The forwarding module in this embodiment is disposed on the target chassis back-transfer board, and of course, if communication diagnosis needs to be performed on multiple chassis, the forwarding module may also be used as an independent forwarding device to implement forwarding communication on different target chassis.
The core card and the target card can be physically independent cards, and can also be independent cards which are arranged on the same card and are divided independently according to functions, such as a core FPGA card and an application FPGA card on the same card. The FPGA is a programmable logic array, belongs to a semi-custom circuit in an application-specific integrated circuit, and has a basic structure comprising a programmable input/output unit, a configurable logic block, a digital clock management module, a wiring resource, an embedded special hard core, a bottom embedded functional unit and the like, and has better reprogrammability and high integration level. As can be understood by those skilled in the art, as for the FPGA card, the core card and the application card may be two physically independent FPGA boards, or two different FPGA areas disposed on the same board.
In step S1, the forwarding module disposed in the target device receives a communication diagnosis request sent by the test host, where it is understood that the test host includes but is not limited to an upper computer of the target device, and the communication diagnosis request may be sent and received through a remote communication, for example, sending the communication diagnosis request to an accessed target chassis through an optical fiber or a prefabricated cable. The forwarding module is used for forwarding the communication diagnosis request to the core card, and then corresponding photoelectric conversion can be carried out, namely, an electric signal corresponding to the communication diagnosis request is generated to be transmitted to the core card.
In step S2, the core card parses the received communication diagnosis request, so as to obtain communication diagnosis parameters through parsing. The core card checks the communication diagnosis parameters, and if the communication diagnosis parameters meet preset requirements, the core card forwards the communication diagnosis parameters to an application card of the target equipment; the method is used for communication diagnosis of the subsequent application card.
As a preferred embodiment, the step of the core card parsing the communication diagnosis request to obtain the communication diagnosis parameters further includes the following steps: the core card piece checks whether the communication diagnosis request accords with a preset UART (Universal Asynchronous Receiver/Transmitter) protocol, and if not, the core card piece discards the communication diagnosis request and generates first prompt information. If the protocol is met, the data of the communication frame is further substantively inspected. In the embodiment, no public general network protocol is used for diagnosis communication, point-to-point serial communication is used as a bottom layer protocol, and the diagnosis communication method is simple in logic, low in communication overhead, low in cost and convenient to use. By arranging the special physical communication link, the stability and the reliability of communication are improved, and corresponding first prompt information is sent out for reference and debugging of related personnel when the verification requirements are not met.
As a preferred embodiment, after the core card obtains the communication diagnosis parameters, it checks whether it meets the preset requirements. In a complex application environment, the problems of data transmission errors, frame loss and data loss are inevitable. Therefore, various frame identification information is set in the communication diagnosis method, and a reliable identification information source is added for detecting the integrity of single frame data.
Specifically, if the communication frame header, the communication frame length, and the communication frame sequence number of the communication diagnostic parameter all conform to preset parameters; and the communication diagnosis parameter passes CRC check; the communication diagnosis parameter meets the preset requirement, if at least one item of the examination does not meet the preset parameter, the communication diagnosis parameter is shown to not meet the preset requirement. The embodiment can ensure the integrity and reliability of the receiving and transmitting application data in the system by detecting the integrity of the single frame data and the packet data, thereby effectively avoiding the damage of the reliability and the integrity of the serial data caused by the serial data receiving error caused by electromagnetic interference, and ensuring the availability of the data and timely safe processing when the data is transmitted in error.
In step S3, the application card parses the communication diagnosis request to obtain communication diagnosis parameters, and performs communication diagnosis operation on the target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
As a preferred embodiment, before the step of the application card parsing the communication diagnosis request to obtain the communication diagnosis parameters, the method further comprises the steps of: and the application card verifies whether the communication diagnosis request conforms to the preset UART protocol, and if not, the communication diagnosis request is discarded and second prompt information is generated. If the protocol is met, the data of the communication frame is further substantively inspected. In this embodiment, the application card also performs the UART protocol check after receiving the communication diagnosis request forwarded from the core card, and sends the second prompt message if the request does not meet the preset requirement, thereby ensuring the stability and reliability of communication. Further, the step of checking whether the communication diagnosis parameters meet the preset requirements by using the card is similar to the checking process of the core card, and therefore, the detailed description is omitted.
In a preferred embodiment, the communication diagnosis parameter includes a communication diagnosis address; the step of applying the card to carry out communication diagnosis operation on the target card corresponding to the communication diagnosis parameters comprises the following steps: and the application card determines a target card according to the communication diagnosis address.
The embodiment provides a communication object control logic of an application card in the communication diagnosis process, namely, a target card is determined according to a communication diagnosis address in communication diagnosis parameters, and communication diagnosis operation on the target card is determined according to an access type in the communication diagnosis parameters.
Specifically, the communication diagnostic address may be constituted by an access address and an access length. The access type may characterize the communication diagnostic operation as a read operation or a write operation; and if the access type does not accord with the read-write permission of the target card, the target card prohibits the communication diagnosis operation. For example, an invalid address error response is replied for the address space which does not allow reading and writing; replying a write failure error response to the address which does not allow the write operation; thereby forming a strict control on the type and scope of communication diagnostic access and ensuring that the relevant control logic is not disturbed or destroyed.
The target cartridge may be an application cartridge, a core cartridge, or other cartridge. For example, the application card is an application FPGA with the board card divided according to functions, and the core card is a core FPGA with the board card divided according to functions; when the target card is an FPGA (field programmable gate array) of the same board card of the same case, the FPGA is directly applied to processing, diagnosing and communicating; when the target card is a core FPGA of the same board card of the same case, the FPGA is applied to forward a communication diagnosis request to the core FPGA for processing diagnosis communication through a TDM (time-division multiplexing) communication protocol; and when the target card is the other cards in the same chassis, the application FPGA can forward the communication diagnosis request to the core FPGA of the corresponding other cards through the backplane LVDS (Low-Voltage Differential Signaling) communication to further process the diagnosis communication.
As a preferred embodiment, the step of obtaining the communication diagnosis result information by using the card comprises the following steps: the application card outputs communication diagnosis result information to the test host; the communication diagnosis method further includes: and if the communication diagnosis result information is not acquired within the preset time, the application card generates overtime error prompt information.
In this embodiment, the application card outputs the obtained communication diagnosis result to the test host to complete the complete communication diagnosis process, which can be understood to include but not limited to performing communication transmission by using a reverse link through which the application card obtains a communication diagnosis request from the test host; and if the communication diagnosis result information cannot be acquired within the preset time length, namely the corresponding communication diagnosis access does not reply within the preset time length, generating overtime error prompt information as a response.
The communication diagnosis method of the instrumentation and control system according to the present embodiment is described below by taking a complete communication diagnosis flow as an example, where fig. 2 shows a data flow direction in the communication diagnosis flow.
And S10, sending a diagnosis communication request to the accessed case through an optical fiber or a prefabricated cable by a test host machine such as an engineer station/upper computer.
And S11, after the accessed case receives the optical fiber signal, performing optical-to-electrical conversion processing on the forwarding module of the back transmission plate and transmitting the electrical signal to a core FPGA (field programmable gate array) on the case board card, namely the core card.
And S12, the core FPGA analyzes and diagnoses the communication request according to the agreed UART protocol, and if the communication request does not meet the agreed regulations, the communication content is discarded and errors such as parity check and the like are reported to the test host.
And S13, after the UART protocol is analyzed, the core FPGA analyzes the communication diagnosis request according to the protocol, specifically comprising a frame header, a length, a sequence number, an access address, CRC (cyclic redundancy check) and the like, and any frame which does not meet the format requirement is enabled, but the function operation of a receiver is not influenced. The comparison between the frame header and the length field of the communication frame and the preset frame header and the length field of the receiver ensures the correct link of the communication frame and cannot be received by mistake. The receiver can judge whether the frame is lost or not by checking the sequence number field. The communication frame with the error found by the CRC check is discarded.
And S14, after the communication diagnosis request is checked, the core FPGA sends the communication diagnosis request to an application FPGA, namely an application card.
And S15, applying the FPGA to check and analyze the communication request, and if the CRC fails, replying a CRC failure error response.
S16, for the diagnosis communication without error, the access address and the access type of the diagnosis communication are analyzed by using the FPGA; the access types are divided into two types of write operation and read operation, and for the address space which is not allowed to be read and written, the FPGA replies an invalid address error response. For addresses that do not allow write operations, the FPGA will reply with a write failure error response.
S17, determining a destination of the communication diagnosis access according to the access address by applying the FPGA; and respectively processing according to different access addresses:
and for the communication diagnosis access of the application FPGA region accessing the local card of the case, the FPGA is directly applied for processing.
And for the communication diagnosis access of the core FPGA region accessing the local card of the case, the application FPGA forwards the communication diagnosis access to the application FPGA for processing through the TDM communication protocol.
For communication diagnosis access of other cards accessing the local box, the FPGA is applied to forward the communication to the target card piece through backboard LVDS communication, and then the core FPGA of the target card piece is used for further processing.
S18, if the forwarded communication diagnosis request is not replied within the preset time, replying an overtime error response by using the FPGA; and if the reply is obtained, the FPGA is applied to forward the reply to the test host to complete the whole communication diagnosis process.
The communication diagnosis method of the instrument control system effectively simplifies the communication diagnosis process of the instrument control system, improves the communication diagnosis efficiency and flexibility, increases the fool-proof performance of the diagnosis process, and expands the communication diagnosis range; therefore, all cards of the instrument control system can be subjected to comprehensive, rapid and effective communication diagnosis.
Example 2
Referring to fig. 3, the embodiment specifically provides a communication diagnosis system of an instrument control system, which is used for performing communication diagnosis on a card; the communication diagnosis system comprises a forwarding module 31, a core card 32 and an application card 33;
the core card 32 is in communication connection with the forwarding module 31 and the application card 33 respectively; the forwarding module 31 is configured to obtain a communication diagnosis request sent by the test host, and forward the communication diagnosis request to the core card 32; the core card 32 is configured to parse the communication diagnosis request to obtain a communication diagnosis parameter, check whether the communication diagnosis parameter meets a preset requirement, and forward the communication diagnosis request to the application card 33 if the communication diagnosis parameter meets the preset requirement.
The application card 33 is used for analyzing the communication diagnosis request to obtain communication diagnosis parameters, and performing communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
Preferably, a test host 34 and a target device 35 are also included; wherein the core card 32, the application card 33 and the forwarding module are arranged on the target device 35; the test host 34 and the target device 35 are communicatively connected; the test host 34 is used to generate a communication diagnostic request.
In this embodiment, the instrument control system may be a comprehensive system for controlling an instrument and an instrument, including but not limited to a circuit structure, an electrical structure, and an electronic product; for example, the system can be a nuclear power safety instrument control system. The target device 35 includes, but is not limited to, an electronic module, a device, or a combination thereof having storage and/or processing control functions, such as a target chassis including a core binder 32, an application binder 33, and a forwarding module 31. The forwarding module 31 in this embodiment is disposed on the target chassis back-pass board, and of course, if communication diagnosis needs to be performed on multiple chassis, the forwarding module 31 may also be used as an individual forwarding device to implement forwarding communication on different target chassis.
The core card 32 and the application card 33 may be physically independent cards, or may be independent cards that are disposed on the same board card but are independently divided according to functions, such as a core FPGA card and an application FPGA card on the same board card.
In this embodiment, the forwarding module 31 receives a communication diagnosis request sent by a test host, and it is understood that the test host includes but is not limited to an upper computer of a target device, and the communication diagnosis request may be sent and received through a different-place communication, for example, sending the communication diagnosis request to an accessed target chassis through an optical fiber or a prefabricated cable. After the forwarding module 31 obtains the communication diagnosis request, it forwards the communication diagnosis request to the core card 32, so that corresponding photoelectric conversion can be performed, that is, an electric signal corresponding to the communication diagnosis request is generated to be transmitted to the core card 32.
The core card 32 analyzes the received communication diagnosis request to obtain communication diagnosis parameters. The core card 32 checks the communication diagnosis parameters, and if the communication diagnosis parameters meet preset requirements, the core card is forwarded to an application card of the target device; the method is used for communication diagnosis of the subsequent application card.
Specifically, the core card 32 checks whether the communication diagnosis request conforms to the preset UART protocol, discards the communication diagnosis request if not, and further performs a substantial check on the data of the communication frame if conforming. Including but not limited to whether the communication frame header, the communication frame length, the communication frame sequence number, etc. meet the preset parameters, if at least one of the checks does not meet the preset parameters, it indicates that the communication diagnosis parameters do not meet the preset requirements. Therefore, the integrity and the reliability of the receiving and sending application data in the system are ensured by detecting the integrity of the single frame data and the packet data, thereby effectively avoiding the damage of the reliability and the integrity of the serial data caused by the serial data receiving error caused by electromagnetic interference and ensuring the availability of the data and the timely safe processing when the data is sent in error.
The application card 33 parses the communication diagnosis request to obtain communication diagnosis parameters, and performs communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
The communication diagnosis system of the instrument control system effectively simplifies the communication diagnosis process of the instrument control system, improves the communication diagnosis efficiency and flexibility, increases the fool-proof performance in the diagnosis process, and expands the communication diagnosis range; therefore, all cards of the instrument control system can be subjected to comprehensive, rapid and effective communication diagnosis.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (10)

1. The communication diagnosis method of the instrument control system is characterized by being used for carrying out communication diagnosis on a card; the communication diagnostic method includes the steps of:
a forwarding module of the target equipment acquires a communication diagnosis request sent by a test host and forwards the communication diagnosis request to a core card;
the core card analyzes the communication diagnosis request to obtain communication diagnosis parameters, checks whether the communication diagnosis parameters meet preset requirements, and forwards the communication diagnosis request to an application card of the target equipment if the communication diagnosis parameters meet the preset requirements;
the application card analyzes the communication diagnosis request to obtain the communication diagnosis parameters, and performs communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
2. The communications diagnostic method of an instrumentation control system according to claim 1, wherein said step of said core cartridge parsing said communications diagnostic request to obtain communications diagnostic parameters is preceded by the steps of: and the core card piece checks whether the communication diagnosis request conforms to a preset UART protocol, and if not, the communication diagnosis request is discarded and first prompt information is generated.
3. The method of communication diagnostics for an instrumentation control system according to claim 1, wherein said step of said application cartridge parsing said communication diagnostics request to obtain said communication diagnostics parameters comprises, prior to said step of: and the application card verifies whether the communication diagnosis request conforms to a preset UART protocol, and if not, discards the communication diagnosis request and generates second prompt information.
4. The communications diagnostic method of an instrumentation control system according to claim 1, wherein said step of said core cartridge checking whether said communications diagnostic parameters meet preset requirements comprises:
if the communication frame header, the communication frame length and the communication frame sequence number of the communication diagnosis parameter all accord with preset parameters; and the communication diagnostic parameter passes a CRC check; the communication diagnostic parameter meets a preset requirement.
5. The method of communications diagnostics for an instrumentation system according to claim 1, wherein said target cartridge comprises at least one of said application cartridge, said core cartridge, and other cartridges.
6. The instrumentation system of claim 1, wherein said communication diagnostic parameters comprise a communication diagnostic address; the step of the application card performing communication diagnosis operation on the target card corresponding to the communication diagnosis parameters comprises the following steps:
and the application card determines the target card according to the communication diagnosis address.
7. The instrumentation system according to claim 1, wherein said communication diagnostic parameters comprise an access type, said access type characterizing said communication diagnostic operation as a read operation or a write operation;
and if the access type does not accord with the read-write permission of the target card, the target card prohibits the communication diagnosis operation.
8. The method of claim 2, wherein the step of obtaining communication diagnostic result information using the application cartridge is followed by: the application card outputs the communication diagnosis result information to the test host;
the communication diagnostic method further includes: and if the communication diagnosis result information is not acquired within the preset time, the application card generates overtime error prompt information.
9. The communication diagnosis system of the instrument control system is characterized by being used for carrying out communication diagnosis on a card; the communication diagnosis system comprises a forwarding module, a core card and an application card;
the core card is in communication connection with the forwarding module and the application card respectively;
the forwarding module is used for acquiring a communication diagnosis request sent by the test host and forwarding the communication diagnosis request to the core card;
the core card is used for analyzing the communication diagnosis request to obtain communication diagnosis parameters, checking whether the communication diagnosis parameters meet preset requirements or not, and forwarding the communication diagnosis request to the application card if the communication diagnosis parameters meet the preset requirements;
the application card is used for analyzing the communication diagnosis request to obtain the communication diagnosis parameters, and performing communication diagnosis operation on a target card corresponding to the communication diagnosis parameters to obtain communication diagnosis result information.
10. The communication diagnostic system of an instrumentation control system according to claim 9, wherein said communication diagnostic system comprises said test host and a target device; the core card, the application card and the forwarding module are arranged on the target equipment; the test host is in communication connection with the target equipment;
the test host is used for generating the communication diagnosis request.
CN202111256756.9A 2021-10-27 2021-10-27 Communication diagnosis method and system for instrument control system Pending CN113867325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111256756.9A CN113867325A (en) 2021-10-27 2021-10-27 Communication diagnosis method and system for instrument control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111256756.9A CN113867325A (en) 2021-10-27 2021-10-27 Communication diagnosis method and system for instrument control system

Publications (1)

Publication Number Publication Date
CN113867325A true CN113867325A (en) 2021-12-31

Family

ID=78998369

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111256756.9A Pending CN113867325A (en) 2021-10-27 2021-10-27 Communication diagnosis method and system for instrument control system

Country Status (1)

Country Link
CN (1) CN113867325A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082773A (en) * 2009-11-30 2011-06-01 北京广利核系统工程有限公司 Communication method based on inter-column security communication network protocol of reactor protection system
CN102393738A (en) * 2011-12-16 2012-03-28 哈尔滨工业大学 Diagnostic device and test method of automobile electronic control unit (ECU)
CN103457791A (en) * 2013-08-19 2013-12-18 国家电网公司 Self-diagnosis method of network sampling and control link of intelligent substation
RU2012148633A (en) * 2012-02-29 2014-05-20 Евгений Степанович Бахмач LOGIC MANAGEMENT SYSTEM (OPTIONS)
US20170004063A1 (en) * 2015-06-30 2017-01-05 Freescale Semiconductor, Inc. Flash memory controller, data processing system with flash memory controller and method of operating a flash memory controller
CN106888114A (en) * 2017-01-24 2017-06-23 北京广利核系统工程有限公司 A kind of self-diagnosing method of nuclear power station security level I&C system communication protocol
CN109714209A (en) * 2018-12-29 2019-05-03 中国科学院计算技术研究所 A kind of diagnostic method and system of website visiting failure

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082773A (en) * 2009-11-30 2011-06-01 北京广利核系统工程有限公司 Communication method based on inter-column security communication network protocol of reactor protection system
CN102393738A (en) * 2011-12-16 2012-03-28 哈尔滨工业大学 Diagnostic device and test method of automobile electronic control unit (ECU)
RU2012148633A (en) * 2012-02-29 2014-05-20 Евгений Степанович Бахмач LOGIC MANAGEMENT SYSTEM (OPTIONS)
CN103457791A (en) * 2013-08-19 2013-12-18 国家电网公司 Self-diagnosis method of network sampling and control link of intelligent substation
US20170004063A1 (en) * 2015-06-30 2017-01-05 Freescale Semiconductor, Inc. Flash memory controller, data processing system with flash memory controller and method of operating a flash memory controller
CN106888114A (en) * 2017-01-24 2017-06-23 北京广利核系统工程有限公司 A kind of self-diagnosing method of nuclear power station security level I&C system communication protocol
CN109714209A (en) * 2018-12-29 2019-05-03 中国科学院计算技术研究所 A kind of diagnostic method and system of website visiting failure

Similar Documents

Publication Publication Date Title
CN105388893B (en) A kind of CAN communication data monitoring method and system based on OBD interfaces
US6425094B1 (en) Diagnostic cage for testing redundant system controllers
US11245547B2 (en) Monitoring controller area network (CAN) nodes
CN109558371B (en) Method for communicating with a microcontroller, and computing system
CN101324860B (en) Mainboard test system and test method
CN107025203B (en) First board card, second board card and equipment
CN108282375B (en) Computer interlocking interface general simulation system and method based on PLC series-parallel technology
CN112367680B (en) External communication test method and device based on intelligent ammeter and computer equipment
KR20110113829A (en) Safety-grade communication switch for nuclear power plant safety system
CN116132268A (en) Control method and system for managing multiple nodes based on CANopen master station
CN111614531A (en) Monitoring a LIN node
CN114356671A (en) Board card debugging device, system and method
US8391162B2 (en) Apparatus and method for testing SMNP cards
CN113867325A (en) Communication diagnosis method and system for instrument control system
CN104780123A (en) Network packet receiving and sending processing device and design method thereof
CN116501536A (en) AXI interconnection module checking, checking and protecting method, device and storage medium
CN103858105B (en) connection method
JP5418670B2 (en) Bus control device and bus control method
CN112249088A (en) Method for mutual diagnosis and data synchronization of double-display system, double-display system and train
CN112395147B (en) Debugging device on SOC
CN115658404A (en) Test method and system
CN111277452A (en) Bus data testing method, device, equipment and storage medium
CN103995475A (en) Flexible embedded type tested device simulator
US20220012114A1 (en) Secure communication apparatus and method
WO2022247422A1 (en) Resource queue management interface verification method, electronic device, and storage medium

Legal Events

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