A communication method between upper device and lower device

A technology of a lower computer and a position computer, applied in the field of communication, can solve problems such as low efficiency, and achieve the effects of improving operating efficiency, efficient control, and simplifying the complexity of command processing

Inactive Publication Date: 2008-06-04
ZTE CORP
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the current communication method between the upper computer and the lower computer using byte strea

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
  • A communication method between upper device and lower device
  • A communication method between upper device and lower device
  • A communication method between upper device and lower device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0023] The technical solution of the present invention will be described in detail below with reference to the drawings and specific implementations.

[0024] In the present invention, the upper computer communicates with the lower computer by sending down frames and receiving up frames. In order to make the processing of the communication protocol by the lower computer simple, the design principles of the present invention follow: use the register address addressing mode and use the fixed-length frame structure.

[0025] The embodiment of the present invention defines the frame structure of the downlink frame and the uplink frame. Since the register of the lower computer is 16 bits, the operands related to the register in the downlink frame and the uplink frame are both two bytes.

[0026] Downlink frame is a command frame sent by the upper computer to the lower computer, and its format is shown in Table 1 below

[0027]

[0028] Table 1 Downlink frame format

[0029] The descr...

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 communication method between a host computer and a lower computer. The host computer communicates with the lower computer by sending a downlink frame and receiving an uplink frame;wherein, the downlink frame comprises a write register command frame and a read register command frame and the host computer realizes the control over the lower computer by sending the write register command frame or the read register command frame; the register addressing mode is used for the downlink frame or the uplink frame and a frame structure with a fixed frame length is used for the downlink frame or the uplink frame. The adoption of the method of the invention converts any control functions initiated by the host computer into a read command or a write command on the host computer and the lower computer only needs to accomplish two simple operations of writing and reading the register and returning the result, thus simplifying the command processing complexity of the lower computer, greatly enhancing the operation efficiency of the processor of the lower computer and ensuring that the host computer can efficiently control the lower computer and real-timely acquire the operation state information of the lower computer.

Description

technical field [0001] The invention relates to the communication field, in particular to a communication method between an upper computer and a lower computer. Background technique [0002] In the development of embedded systems, it is a very common method for the upper computer to realize the control of the lower computer through asynchronous serial communication. The upper computer is the initiator of the command, and the lower computer is the executor of the command. However, under normal circumstances, the upper computer does not consider the difficulty of implementing a certain control command for the lower computer, and it is inappropriate if some commands have too much computation for the lower computer. The processor of the lower computer should complete its application functions as much as possible, and the implementation of command analysis and communication protocol processing should be as simple and unified as possible. [0003] However, the current communicat...

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): H04L29/06H04L12/12
Inventor 吴安军
Owner ZTE CORP
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