CN112165411B - Method and system for monitoring transmission data based on controller - Google Patents

Method and system for monitoring transmission data based on controller Download PDF

Info

Publication number
CN112165411B
CN112165411B CN202010985813.6A CN202010985813A CN112165411B CN 112165411 B CN112165411 B CN 112165411B CN 202010985813 A CN202010985813 A CN 202010985813A CN 112165411 B CN112165411 B CN 112165411B
Authority
CN
China
Prior art keywords
controller
target processor
monitoring
command
identity information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010985813.6A
Other languages
Chinese (zh)
Other versions
CN112165411A (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.)
Cqc South China Testing Technology Co ltd
Original Assignee
Cqc South China Testing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Cqc South China Testing Technology Co ltd filed Critical Cqc South China Testing Technology Co ltd
Priority to CN202010985813.6A priority Critical patent/CN112165411B/en
Publication of CN112165411A publication Critical patent/CN112165411A/en
Application granted granted Critical
Publication of CN112165411B publication Critical patent/CN112165411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种基于控制器对传输数据进行监控的方法及系统,属于数据安全监控技术领域。本发明方法,包括:对目标处理器及控制器进行网络连接;目标处理器与控制器间相互发送身份验证指令,目标处理器与控制器根据接收的身份验证指令,进行身份验证;目标处理器调取控制器的基本参数信息,根据基本参数信息,确定调试参数,并发送至控制器,根据调试参数对控制器进行调试;控制器调试完成后,目标处理器发送监控命令至控制器,控制器启动监控任务,对目标处理器的传输数据进行监控。本发明操作简单、易用,可直观的观察到通信数据,也可以随时保存数据,极大提高了工作效率与检测准确性,促进了控制器产品软件检测的相关技术创新。

Figure 202010985813

The invention discloses a method and a system for monitoring transmission data based on a controller, and belongs to the technical field of data security monitoring. The method of the invention includes: connecting the target processor and the controller to a network; sending an identity verification instruction between the target processor and the controller, and the target processor and the controller perform identity verification according to the received identity verification instruction; the target processor The basic parameter information of the controller is called, and the debugging parameters are determined according to the basic parameter information, and sent to the controller, and the controller is debugged according to the debugging parameters; after the debugging of the controller is completed, the target processor sends the monitoring command to the controller to control The processor starts the monitoring task to monitor the transmission data of the target processor. The invention is simple to operate, easy to use, can visually observe the communication data, and can save the data at any time, greatly improves the work efficiency and the detection accuracy, and promotes the related technical innovation of the software detection of the controller product.

Figure 202010985813

Description

一种基于控制器对传输数据进行监控的方法及系统A method and system for monitoring transmission data based on a controller

技术领域technical field

本发明涉及数据安全监控技术领域,并且更具体地,涉及一种基于控制器对传输数据进行监控的方法及系统。The present invention relates to the technical field of data security monitoring, and more particularly, to a method and system for monitoring transmission data based on a controller.

背景技术Background technique

空调器的软件控制质量,是影响产品可靠性、安全等的重要指标,如在没有相应的编译平台及仿真器的情况下,要对控制软件检测或RS485通讯数据监测时,只能通过示波器观察电平与波形,无法对数据传输的正确性进行判断与分析。The software control quality of the air conditioner is an important indicator that affects the reliability and safety of the product. For example, in the absence of a corresponding compilation platform and simulator, the control software detection or RS485 communication data monitoring can only be observed through an oscilloscope. Level and waveform, it is impossible to judge and analyze the correctness of data transmission.

发明内容SUMMARY OF THE INVENTION

针对上述问题,本发明提出了一种基于控制器对传输数据进行监控的方法,包括:In view of the above problems, the present invention proposes a method for monitoring transmission data based on a controller, including:

针对待监控的目标处理器,选择控制器,对目标处理器及控制器进行网络连接;For the target processor to be monitored, select the controller, and connect the target processor and the controller to the network;

网络连接完成后,控制目标处理器向控制器发送身份信息调用指令,当控制器接收身份信息调用指令后,对所述身份信息调用指令进行验证,核实目标处理的身份信息,核实无误后允许目标处理器调用控制器的身份信息,目标处理器对控制器的身份信息进行核实并验证控制器是否安全且于目标处理器是否匹配;After the network connection is completed, the control target processor sends the identity information calling instruction to the controller, and after the controller receives the identity information calling instruction, it verifies the identity information calling instruction, verifies the identity information processed by the target, and allows the target to verify that it is correct. The processor calls the identity information of the controller, and the target processor verifies the identity information of the controller and verifies whether the controller is safe and whether it matches the target processor;

当核实及验证后确定控制器安全且匹配后,目标处理器发出控制器本参数调取指令,控制器接收调取指令后,允许目标处理器调取控制器的基本参数信息,根据基本参数信息,目标处理器确定调试参数,并发送至控制器,根据调试参数对控制器进行调试;When it is determined that the controller is safe and matched after verification and verification, the target processor sends the controller's own parameter call command. After the controller receives the call command, it allows the target processor to call the basic parameter information of the controller. According to the basic parameter information , the target processor determines the debugging parameters, sends them to the controller, and debugs the controller according to the debugging parameters;

控制器调试完成后,目标处理器发送监控命令至控制器,控制器启动监控任务,对目标处理器的传输数据进行监控。After the controller is debugged, the target processor sends a monitoring command to the controller, and the controller starts a monitoring task to monitor the transmission data of the target processor.

可选的,调试参数,包括:波特率、数据位及校验位。Optional, debugging parameters, including: baud rate, data bits and parity bits.

可选的,传输数据,包括:目标处理器与网络服务器间的传输数据或目标处理器间的传输数据。Optionally, the transmission data includes: transmission data between the target processor and the network server or transmission data between the target processors.

可选的,监控命令为主动命令和定时命令,所述主动命令根据监控需求主动生成,所述定时命令为根据监控需求以预设时间定时生成;Optionally, the monitoring command is an active command and a timing command, the active command is actively generated according to the monitoring requirement, and the timing command is periodically generated at a preset time according to the monitoring requirement;

监控命令为16进制命令。The monitoring command is a hexadecimal command.

可选的,对目标处理器的传输数据进行监控的过程中,对传输数据进行存储及实时显示。Optionally, in the process of monitoring the transmission data of the target processor, the transmission data is stored and displayed in real time.

本发明还提出了一种基于控制器对传输数据进行监控的系统,包括:The present invention also proposes a system for monitoring transmission data based on the controller, including:

网络连接模块,针对待监控的目标处理器,选择控制器,对目标处理器及控制器进行网络连接;The network connection module selects the controller for the target processor to be monitored, and connects the target processor and the controller to the network;

验证模块,网络连接完成后,控制目标处理器向控制器发送身份信息调用指令,当控制器接收身份信息调用指令后,对所述身份信息调用指令进行验证,核实目标处理的身份信息,核实无误后允许目标处理器调用控制器的身份信息,目标处理器对控制器的身份信息进行核实并验证控制器是否安全且于目标处理器是否匹配;The verification module, after the network connection is completed, controls the target processor to send the identity information invocation instruction to the controller, and after the controller receives the identity information invocation instruction, verifies the identity information invocation instruction, verifies the identity information processed by the target, and verifies that it is correct After allowing the target processor to call the identity information of the controller, the target processor verifies the identity information of the controller and verifies whether the controller is safe and whether it matches the target processor;

调试模块,当核实及验证后确定控制器安全且匹配后,目标处理器发出控制器本参数调取指令,控制器接收调取指令后,允许目标处理器调取控制器的基本参数信息,根据基本参数信息,目标处理器确定调试参数,并发送至控制器,根据调试参数对控制器进行调试;Debugging module, after verifying and verifying that the controller is safe and matching, the target processor sends out the controller's own parameter call command, after the controller receives the call command, it allows the target processor to call the controller's basic parameter information, according to Basic parameter information, the target processor determines the debugging parameters, sends them to the controller, and debugs the controller according to the debugging parameters;

监控模块,控制器调试完成后,目标处理器发送监控命令至控制器,控制器启动监控任务,对目标处理器的传输数据进行监控。In the monitoring module, after the debugging of the controller is completed, the target processor sends a monitoring command to the controller, and the controller starts the monitoring task to monitor the transmission data of the target processor.

调试参数,包括:波特率、数据位及校验位。Debug parameters, including: baud rate, data bits and parity bits.

传输数据,包括:目标处理器与网络服务器间的传输数据或目标处理器间的传输数据。The transmission data includes: the transmission data between the target processor and the network server or the transmission data between the target processors.

监控命令为主动命令和定时命令,所述主动命令根据监控需求主动生成,所述定时命令为根据监控需求以预设时间定时生成;The monitoring command is an active command and a timing command, the active command is actively generated according to the monitoring requirement, and the timing command is periodically generated at a preset time according to the monitoring requirement;

所述监控命令为16进制命令。The monitoring command is a hexadecimal command.

对目标处理器的传输数据进行监控的过程中,对传输数据进行存储及实时显示。In the process of monitoring the transmission data of the target processor, the transmission data is stored and displayed in real time.

本发明操作简单、易用,可直观的观察到通信数据,也可以随时保存数据,作为后续分析依据,极大提高了工作效率与检测准确性,促进了控制器产品软件检测的相关技术创新。The invention is simple to operate, easy to use, can observe the communication data intuitively, and can save the data at any time as a basis for subsequent analysis, greatly improves the work efficiency and detection accuracy, and promotes the related technical innovation of the software detection of the controller product.

附图说明Description of drawings

图1为本发明一种基于控制器对传输数据进行监控的方法流程图;1 is a flowchart of a method for monitoring transmission data based on a controller of the present invention;

图2为本发明一种基于控制器对传输数据进行监控的系统结构图。FIG. 2 is a structural diagram of a system for monitoring transmission data based on a controller according to the present invention.

具体实施方式Detailed ways

现在参考附图介绍本发明的示例性实施方式,然而,本发明可以用许多不同的形式来实施,并且不局限于此处描述的实施例,提供这些实施例是为了详尽地且完全地公开本发明,并且向所属技术领域的技术人员充分传达本发明的范围。对于表示在附图中的示例性实施方式中的术语并不是对本发明的限定。在附图中,相同的单元/元件使用相同的附图标记。Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for the purpose of this thorough and complete disclosure invention, and fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings are not intended to limit the invention. In the drawings, the same elements/elements are given the same reference numerals.

除非另有说明,此处使用的术语(包括科技术语)对所属技术领域的技术人员具有通常的理解含义。另外,可以理解的是,以通常使用的词典限定的术语,应当被理解为与其相关领域的语境具有一致的含义,而不应该被理解为理想化的或过于正式的意义。Unless otherwise defined, terms (including scientific and technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is to be understood that terms defined in commonly used dictionaries should be construed as having meanings consistent with the context in the related art, and should not be construed as idealized or overly formal meanings.

本发明提出了一种基于控制器对传输数据进行监控的方法,如图1所示,包括:The present invention proposes a method for monitoring transmission data based on a controller, as shown in FIG. 1 , including:

针对待监控的目标处理器,选择控制器,对目标处理器及控制器进行网络连接;For the target processor to be monitored, select the controller, and connect the target processor and the controller to the network;

网络连接完成后,控制目标处理器向控制器发送身份信息调用指令,当控制器接收身份信息调用指令后,对所述身份信息调用指令进行验证,核实目标处理的身份信息,核实无误后允许目标处理器调用控制器的身份信息,目标处理器对控制器的身份信息进行核实并验证控制器是否安全且于目标处理器是否匹配;After the network connection is completed, the control target processor sends the identity information calling instruction to the controller. After the controller receives the identity information calling instruction, it verifies the identity information calling instruction, verifies the identity information processed by the target, and allows the target to verify that it is correct. The processor calls the identity information of the controller, and the target processor verifies the identity information of the controller and verifies whether the controller is safe and whether it matches the target processor;

当核实及验证后确定控制器安全且匹配后,目标处理器发出控制器本参数调取指令,控制器接收调取指令后,允许目标处理器调取控制器的基本参数信息,根据基本参数信息,目标处理器确定调试参数,并发送至控制器,根据调试参数对控制器进行调试;When it is determined that the controller is safe and matched after verification and verification, the target processor sends the controller's own parameter call command. After the controller receives the call command, it allows the target processor to call the basic parameter information of the controller. According to the basic parameter information , the target processor determines the debugging parameters, sends them to the controller, and debugs the controller according to the debugging parameters;

控制器调试完成后,目标处理器发送监控命令至控制器,控制器启动监控任务,对目标处理器的传输数据进行监控。After the controller is debugged, the target processor sends a monitoring command to the controller, and the controller starts a monitoring task to monitor the transmission data of the target processor.

调试参数,包括:波特率、数据位及校验位。Debug parameters, including: baud rate, data bits and parity bits.

波特率是调制速率,指的是有效数据讯号调制载波的速率,即单位时间内载波调制状态变化的次数。The baud rate is the modulation rate, which refers to the rate at which the effective data signal modulates the carrier, that is, the number of times the carrier modulation state changes per unit time.

传输数据,包括:目标处理器与网络服务器间的传输数据或目标处理器间的传输数据。The transmission data includes: the transmission data between the target processor and the network server or the transmission data between the target processors.

监控命令为主动命令和定时命令,所述主动命令根据监控需求主动生成,所述定时命令为根据监控需求以预设时间定时生成;The monitoring command is an active command and a timing command, the active command is actively generated according to the monitoring requirement, and the timing command is periodically generated at a preset time according to the monitoring requirement;

监控命令为16进制命令。The monitoring command is a hexadecimal command.

对目标处理器的传输数据进行监控的过程中,对传输数据进行存储及实时显示。In the process of monitoring the transmission data of the target processor, the transmission data is stored and displayed in real time.

下面结合实施例对本发明进行进一步说明:Below in conjunction with embodiment, the present invention is further described:

本发明实施例目标处理器选择PC机及USB-RS485无源转换装置、串口调试工具等;The target processor of the embodiment of the present invention selects a PC, a USB-RS485 passive conversion device, a serial port debugging tool, and the like;

首先将控制器通电运行,可以工作后,由RS485通讯端到USB-RS485无源转换装置端的数据通讯线,将控制器及PC机进行连接,并进行身份验证;First, power on the controller, and after it can work, connect the controller and the PC with the data communication line from the RS485 communication end to the USB-RS485 passive conversion device end, and perform identity verification;

在PC机安装串口调试工具,设置波特率、数据位、校验位等所需的相关参数,对控制器进行调试;Install the serial port debugging tool on the PC, set the relevant parameters such as baud rate, data bit, parity bit, etc., and debug the controller;

调试完成后,串口调试工具下发监控命令对PC机的数据传输进行监控。After the debugging is completed, the serial port debugging tool issues a monitoring command to monitor the data transmission of the PC.

本发明还提出了一种基于控制器对传输数据进行监控的系统200,如图2所示,包括:The present invention also proposes a system 200 for monitoring transmission data based on a controller, as shown in FIG. 2 , including:

网络连接模块201,针对待监控的目标处理器,选择控制器,对目标处理器及控制器进行网络连接;The network connection module 201 selects a controller for the target processor to be monitored, and performs network connection between the target processor and the controller;

验证模块202,网络连接完成后,控制目标处理器向控制器发送身份信息调用指令,当控制器接收身份信息调用指令后,对所述身份信息调用指令进行验证,核实目标处理的身份信息,核实无误后允许目标处理器调用控制器的身份信息,目标处理器对控制器的身份信息进行核实并验证控制器是否安全且于目标处理器是否匹配;The verification module 202, after the network connection is completed, controls the target processor to send the identity information invocation instruction to the controller, and after the controller receives the identity information invocation instruction, verifies the identity information invocation instruction, verifies the identity information processed by the target, and verifies After it is correct, the target processor is allowed to call the identity information of the controller, and the target processor verifies the identity information of the controller and verifies whether the controller is safe and whether it matches the target processor;

调试模块203,当核实及验证后确定控制器安全且匹配后,目标处理器发出控制器本参数调取指令,控制器接收调取指令后,允许目标处理器调取控制器的基本参数信息,根据基本参数信息,目标处理器确定调试参数,并发送至控制器,根据调试参数对控制器进行调试;The debugging module 203, after verifying and verifying that the controller is safe and matching, the target processor sends out the controller's own parameter call instruction, and after the controller receives the call instruction, allows the target processor to call the basic parameter information of the controller, According to the basic parameter information, the target processor determines the debugging parameters, sends them to the controller, and debugs the controller according to the debugging parameters;

监控模块204,控制器调试完成后,目标处理器发送监控命令至控制器,控制器启动监控任务,对目标处理器的传输数据进行监控。In the monitoring module 204, after the debugging of the controller is completed, the target processor sends a monitoring command to the controller, and the controller starts a monitoring task to monitor the transmission data of the target processor.

调试参数,包括:波特率、数据位及校验位。Debug parameters, including: baud rate, data bits and parity bits.

传输数据,包括:目标处理器与网络服务器间的传输数据或目标处理器间的传输数据。The transmission data includes: the transmission data between the target processor and the network server or the transmission data between the target processors.

监控命令为主动命令和定时命令,所述主动命令根据监控需求主动生成,所述定时命令为根据监控需求以预设时间定时生成;The monitoring command is an active command and a timing command, the active command is actively generated according to the monitoring requirement, and the timing command is periodically generated at a preset time according to the monitoring requirement;

所述监控命令为16进制命令。The monitoring command is a hexadecimal command.

对目标处理器的传输数据进行监控的过程中,对传输数据进行存储及实时显示。In the process of monitoring the transmission data of the target processor, the transmission data is stored and displayed in real time.

本发明操作简单、易用,可直观的观察到通信数据,也可以随时保存数据,作为后续分析依据,极大提高了工作效率与检测准确性,促进了控制器产品软件检测的相关技术创新。The invention is simple to operate, easy to use, can observe the communication data intuitively, and can save the data at any time as a basis for subsequent analysis, greatly improves the work efficiency and detection accuracy, and promotes the related technical innovation of the software detection of the controller product.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。本申请实施例中的方案可以采用各种计算机语言实现,例如,面向对象的程序设计语言Java和直译式脚本语言JavaScript等。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein. The solutions in the embodiments of the present application may be implemented in various computer languages, for example, the object-oriented programming language Java and the literal translation scripting language JavaScript, and the like.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiments of the present application have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of this application.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims (8)

1. A method of monitoring transmitted data based on a controller, the method comprising:
selecting a controller aiming at a target processor to be monitored, and carrying out network connection on the target processor and the controller;
after the network connection is completed, controlling the target processor to send an identity information calling instruction to the controller, verifying the identity information calling instruction after the controller receives the identity information calling instruction, verifying the identity information of the target processor, allowing the target processor to call the identity information of the controller after the identity information calling instruction is verified, verifying the identity information of the controller by the target processor, and verifying whether the controller is safe and whether the target processor is matched;
after the controllers are verified and verified to be safe and matched, the target processor sends a controller local parameter calling instruction, the controller receives the calling instruction, allows the target processor to call basic parameter information of the controllers, determines debugging parameters according to the basic parameter information, sends the debugging parameters to the controllers, and debugs the controllers according to the debugging parameters;
after the controller is debugged, the target processor sends a monitoring command to the controller, and the controller starts a monitoring task to monitor the transmission data of the target processor;
the monitoring command is an active command and a timing command, the active command is actively generated according to a monitoring requirement, and the timing command is generated at a preset time in a timing mode according to the monitoring requirement;
the monitoring command is a 16-system command.
2. The method of claim 1, the debugging parameters comprising: baud rate, data bits, and check bits.
3. The method of claim 1, the transmitting data, comprising: and transmitting data between the target processor and the network server or transmitting data between the target processors.
4. The method of claim 1, wherein the transmitted data is stored and displayed in real time during the monitoring of the transmitted data of the target processor.
5. A system for monitoring transmitted data based on a controller, the system comprising:
the network connection module is used for selecting a controller aiming at a target processor to be monitored and carrying out network connection on the target processor and the controller;
the verification module is used for controlling the target processor to send an identity information calling instruction to the controller after network connection is completed, verifying the identity information calling instruction after the controller receives the identity information calling instruction, verifying the identity information of target processing, allowing the target processor to call the identity information of the controller after verification is correct, and verifying the identity information of the controller and verifying whether the controller is safe and whether the controller is matched with the target processor or not by the target processor;
the debugging module is used for sending a controller local parameter calling instruction by the target processor after the controllers are verified and verified to be safe and matched, allowing the target processor to call basic parameter information of the controllers after the controllers receive the calling instruction, determining debugging parameters by the target processor according to the basic parameter information, sending the debugging parameters to the controllers, and debugging the controllers according to the debugging parameters;
the monitoring module is used for sending a monitoring command to the controller by the target processor after the controller is debugged, starting a monitoring task by the controller and monitoring the transmission data of the target processor; the monitoring command is an active command and a timing command, the active command is actively generated according to a monitoring requirement, and the timing command is generated at a preset time in a timing mode according to the monitoring requirement;
the monitoring command is a 16-system command.
6. The system of claim 5, the debugging parameters comprising: baud rate, data bits, and check bits.
7. The system of claim 5, the transmitting data, comprising: and transmitting data between the target processor and the network server or transmitting data between the target processors.
8. The system of claim 5, wherein the transmitted data is stored and displayed in real time during the monitoring of the transmitted data of the target processor.
CN202010985813.6A 2020-09-18 2020-09-18 Method and system for monitoring transmission data based on controller Active CN112165411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010985813.6A CN112165411B (en) 2020-09-18 2020-09-18 Method and system for monitoring transmission data based on controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010985813.6A CN112165411B (en) 2020-09-18 2020-09-18 Method and system for monitoring transmission data based on controller

Publications (2)

Publication Number Publication Date
CN112165411A CN112165411A (en) 2021-01-01
CN112165411B true CN112165411B (en) 2022-04-29

Family

ID=73859134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010985813.6A Active CN112165411B (en) 2020-09-18 2020-09-18 Method and system for monitoring transmission data based on controller

Country Status (1)

Country Link
CN (1) CN112165411B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282766A (en) * 2017-12-27 2018-07-13 武汉长江通信智联技术有限公司 It is a kind of industry serial ports turn bluetooth debugging acid method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130031419A1 (en) * 2011-07-28 2013-01-31 International Business Machines Corporation Collecting Debug Data in a Secure Chip Implementation
CN102497581B (en) * 2011-12-14 2014-06-25 广州杰赛科技股份有限公司 Digital-certificate-based video monitoring data transmission method and system
CN102970177B (en) * 2012-10-19 2015-08-26 深圳市计通智能技术有限公司 A kind of computer supervisory control system communication data bit error analyzing and filter method
CN210075259U (en) * 2019-06-18 2020-02-14 深圳职业技术学院 A data monitoring controller based on SDN network
CN110879564B (en) * 2019-10-31 2020-12-18 军创(厦门)自动化科技有限公司 Remote debugging and monitoring method and system for PLC (programmable logic controller)
CN110958224A (en) * 2019-11-05 2020-04-03 郑州信大捷安信息技术股份有限公司 Remote serial port debugging system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282766A (en) * 2017-12-27 2018-07-13 武汉长江通信智联技术有限公司 It is a kind of industry serial ports turn bluetooth debugging acid method

Also Published As

Publication number Publication date
CN112165411A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN112596972B (en) Test method, device and system of vehicle-mounted equipment and computer equipment
CN108180599B (en) Debugging method, debugging device and computer readable storage medium
WO2018072492A1 (en) Method, device, and server for unlocking air conditioning unit
EP3101547A1 (en) Control system, method, program and information processing device
CN111723646B (en) Method and device for remotely assisting in maintaining equipment
CN113533887B (en) Intelligent debugging method and system for power distribution terminal
CN113220518B (en) Chip verification system and chip verification method
CN104461765A (en) Interlocking system data accuracy detection method based on version verification
CN107844374A (en) The task executing method of terminal device, device, electronic equipment, storage medium
CN111203869B (en) Robot system maintenance method and device, robot and readable storage medium
CN113064618A (en) System and method for simulating new energy vehicle conformance detection
CN110174880A (en) debugging control method, device and system based on centralized control device
CN112165411B (en) Method and system for monitoring transmission data based on controller
CN113556210B (en) Upper computer and method for establishing communication connection
CN113037526A (en) Security detection method, terminal, system and storage medium
CN111917692A (en) Fuzzy test method, device, equipment and computer readable storage medium
CN111182031B (en) PLC (programmable logic controller) equipment remote downloading method and system
CN113704066A (en) Machine room equipment monitoring and management method, storage medium and system
CN112445195A (en) Function test method and device for vehicle controller
JP2008134684A (en) Information communication device verification apparatus and information communication device verification program
CN106789260B (en) System and method for high availability drilling of network devices
CN114384820B (en) Cloud platform based automatic driving algorithm simulation test system and method
KR20200036500A (en) Cyber Security Simulation System For Power Generation Control Device
CN109743282B (en) A high-risk security risk identification method and device based on industrial control protocol
US10013266B2 (en) System and method for executing operations specified in a procedure language

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
GR01 Patent grant
GR01 Patent grant