Diagnosis method and device, and computer-readable storage medium

A diagnostic method and technology of a diagnostic device, which are applied to error prevention/detection using return channels, digital transmission systems, electrical components, etc., can solve problems such as communication failures and garbled communication data, and achieve the effect of taking into account real-time performance.

Active Publication Date: 2017-12-29
北京和利时系统集成有限公司
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the master station is redundant, at the same time, only one master station can initiate a request, and the other master station must be silent, otherwise, the received communication data will be garbled due to serial bus conflicts, resulting in communication failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Diagnosis method and device, and computer-readable storage medium
  • Diagnosis method and device, and computer-readable storage medium
  • Diagnosis method and device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.

[0039] The steps shown in the flowcharts of the figures may be performed in a computer system, such as a set of computer-executable instructions. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0040] Conventional diagnostic methods broadly include:

[0041] The standby host switches to a temporary communication host every fixed time (for example, 30 seconds, called the diagnosis period (WatchTime)) (while at the same time, the original communication host FEP-A switches to a temporary backup and remains silent) through the serial The bus sends a r...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a diagnosis method and device, and a computer-readable storage medium. The diagnosis method comprises the following steps: a standby host receives first data through a serial bus, and identifies the received first data as a request message sent by a communication host; the standby host receives second data through the serial bus, and identifies the received second data as a response message sent by a slave station; and the standby host carries out diagnosis on the status of communication between a master station and the slave station according to the request message and the response message. The diagnosis method and device and the computer-readable storage medium adopting the technical scheme have the advantages that the standby host identifies the request message sent by the communication host and the response message sent by the slave station in sequence, and then carries out the diagnosis according to the request message and the response message (instead of the standby host sending the request message to achieve the diagnosis), so that both real-time diagnosis on the status of the communication between the master station and the slave station and smooth master station communication can be achieved.

Description

technical field [0001] The invention relates to serial bus communication technology, in particular to a diagnostic method and device and a computer-readable storage medium. Background technique [0002] In the serial bus communication, the communication uses the master (Master, also called the master station)-slave (Slave, also called the slave station, device) technology, that is, at the same time, only one master station can initiate the transmission, and the slave station according to the master device Query the data provided and react accordingly. When the master station is redundant, at the same time, only one master station can initiate a request, and the other master station must be silent, otherwise, the received communication data will be garbled due to serial bus conflicts, resulting in communication failure. For ease of description, the redundant master station is referred to as the communication host (also called the host) and the backup host (also called the st...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/26H04L1/22H04L1/16
CPCH04L1/1607H04L1/1671H04L1/22H04L43/0811
Inventor 贺学文贺本彪张保航刘小树
Owner 北京和利时系统集成有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products