Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for transmitting data on half-duplex bus and interface device

An interface device, half-duplex technology, applied in the field of data communication, can solve problems such as lost data, slow interrupt response, unstable system function, etc., to achieve the effect of ensuring stability and improving reliability and stability

Inactive Publication Date: 2012-03-21
INNOFIDEI TECHNOLOGIES INC
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the interrupt response is too slow or the system software fails to query the completion of data transmission in time, if the peer end enters the sending state immediately after receiving data and sends data to the bus, the interface device is required to start from the sending state immediately. The mode is switched to receive mode to receive the data sent on the bus, and the system software cannot immediately enable the receive function of the interface device because it fails to know the completion of the data transmission of the interface device in time, and the interface device will fail because it cannot enter the receive mode in time. The data sent on the bus is lost, resulting in the instability of the system function

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
  • Method for transmitting data on half-duplex bus and interface device
  • Method for transmitting data on half-duplex bus and interface device
  • Method for transmitting data on half-duplex bus and interface device

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0019] A method of data transmission on a half-duplex bus, see figure 1 , when the interface device is in the sending state, the specific steps of the method include:

[0020] 101. The interface device detects that the data in the write buffer has been sent;

[0021] 102. When the interface device detects that the data in the write buffer is sent, the interface device automatically switches from the sending state to the receiving state.

[0022] It can be seen from the above that the technical solution of the embodiment of the present invention solves the problems of the prior art by automatically switching from the sending state to the receiving state when the interface device detects that the data in the write buffer is sent when the interface device is in the sending state. In order to improve the reliability and stability of data transmission and ensure the stability of system functions, it can improve the reliability and stability of data transmission due to the slow res...

example 2

[0024] figure 2 It is a schematic diagram of half-duplex communication provided by Embodiment 2 of the present invention, such as figure 2 As shown, a method for data transmission on a half-duplex bus provided in an embodiment of the present invention specifically includes:

[0025] Assume that interface device A in system 1 and interface device B in system 2 are connected to the half-duplex bus. Because the interface device A and interface device B on the bus belong to the peer relationship, the same method can be used. Now, the interface device A in system 1 is discussed in detail:

[0026] When the system 1 needs to send data, the software enables the sending function of the interface device A, and at the same time writes the data to be sent into the write buffer of the interface device A. The interface device A puts the data on the bus according to the bus protocol for the interface device B in the system 2 to receive.

[0027] According to the method of the embodimen...

example 3

[0038] image 3 It is a schematic structural diagram of an interface device for data transmission on a half-duplex bus provided by Embodiment 3 of the present invention, as shown in image 3 shown.

[0039] The interface equipment includes:

[0040] The write buffer monitoring unit 301 is configured to detect that the data in the write buffer is sent when the interface device is in the sending state, and send a switching trigger signal to the state switching unit;

[0041] The state switching unit 302 is configured to automatically switch the interface device from the sending state to the receiving state when receiving the switching trigger signal from the write buffer monitoring unit 301 .

[0042] Wherein, the write buffer monitoring unit 301 detects that the data transmission of the write buffer is completed, and sends a switching trigger signal to the state switching unit. The state switches to receiving state. The write buffer monitoring unit can adopt one of the foll...

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 invention discloses a method for transmitting data on a half-duplex bus and an interface device, which relate to the field of data communication, and by using the method and device disclosed by the invention, the reliability and stability of data transmission can be improved, and the stability of system functions can be guaranteed. The method for transmitting data on a half-duplex bus disclosed by the embodiment of the invention comprises the following step that: when the interface device in a sending state monitors that data of a write buffer are sent completely, the interface device is automatically switched into a receiving state from the sending state.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and an interface device for data transmission on a half-duplex bus. Background technique [0002] Half-duplex (Half Duplex) data transmission means that data can be transmitted in both directions of a signal carrier, but cannot be transmitted at the same time. For example, when using half-duplex transmission technology on a local area network, a workstation can send data on the bus and then immediately receive data on the bus, but cannot both receive and send data at the same time. [0003] As a part of the hardware system, the interface device on the half-duplex bus is controlled by the system software when to send and receive data. When the system needs to send data, the system software enables the sending function of the interface device, and at the same time writes the data to be sent into the write buffer of the interface device. According to the bus protocol, th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L5/16G06F13/38
Inventor 张辉王西强安之平赵宏冉
Owner INNOFIDEI TECHNOLOGIES INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products