Periodic and non-periodic mixed communication method and system used for low-speed serial bus

A technology of serial bus and communication method, which is applied in the field of message sending and receiving, and can solve problems such as resource waste and data conflict.

Active Publication Date: 2015-09-16
北京云迹科技股份有限公司
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a periodic and non-periodic mixed communication method and system for lo...

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
  • Periodic and non-periodic mixed communication method and system used for low-speed serial bus
  • Periodic and non-periodic mixed communication method and system used for low-speed serial bus
  • Periodic and non-periodic mixed communication method and system used for low-speed serial bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention. The following descriptions in the specification are preferred implementation modes for implementing the present invention, but the descriptions are for the purpose of illustrating the general principles of the present invention, and are not intended to limit the scope of the present invention. The scope of protection of the present invention should be defined by the appended claims.

[0041] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0042] Such as figure 1 and figure 2 As shown, it is a preferred embodiment of the present invention, which discloses the periodic and aperiodic mixed communication method of the low-speed serial bus, wherein, figure 1 A method for sending periodic messages is disclosed...

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 relates to the field of message transmitting and receiving technologies, and discloses a periodic and non-periodic mixed communication method and a periodic and non-periodic mixed communication system used for a low-speed serial bus. The periodic and non-periodic mixed communication method comprises the steps of: sending a data message to a server in a serial mode by a client, wherein a periodic message is sent in each period, and a non-periodic message is sent when encountering an unexpected situation; analyzing whether a conflict occurs when the data message is sent at the moment; if so, storing the data message in a buffer Buffer temporarily; setting a flag bit Flag to be 0 when the server receives a sending command, and setting the flag bit Flag to be 1 when receiving the data message; and judging types of a sub-message according to a Resp value, updating the data if the sub-message is a periodic message, and writing the data into RespBuffer if the sub-message is a non-periodic message. Through the arrangement of the Buffer and the Flag, the periodic message and the non-periodic message are transmitted and received in a serial mode, thereby preventing conflicts between the periodic message and the non-periodic message, and carrying out corresponding treatment on the periodic message and the non-periodic message quickly.

Description

technical field [0001] The invention relates to the technical field of message sending and receiving, in particular to a periodic and aperiodic mixed communication method and system for a low-speed serial bus. Background technique [0002] Client data needs to be uploaded to the server for updating. Data upload can be done in serial and parallel ways. In general, in order to avoid waste of resources, when frequent data upload is not required, most of the data is completed in serial mode. upload. Serial data transmission is more convenient for periodically sent data packets due to the single sending port, but it is easy to cause data conflicts and errors for bursty data packets. [0003] At present, periodic and non-periodic mixed communications transmit data. In order to solve the problem of serial transmission data conflicts, a clock is generally set at the serial port to specify and time the transmission time of each data message. However, the specified time Generally, i...

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/861H04L29/08
CPCH04L47/50H04L67/568
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