Double-cache message processing method with control information separated from data

A technology for separating control information and data, which is applied in the field of communication, can solve problems such as deadlock and complex cache of message forwarding mechanism, and achieve the effect of avoiding deadlock and simplifying design and operation

Inactive Publication Date: 2016-02-17
北京浩瀚深度信息技术股份有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the aforementioned problems, that is, in order to solve the problem that the existing message forwarding mechanism is too complicated and easily causes cache deadlock, the present invention provides a double-buffer message processing method that separates control information and data

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
  • Double-cache message processing method with control information separated from data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] Preferred embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principle of the present invention, and are not intended to limit the protection scope of the present invention.

[0014] Combine below figure 1 To describe the technical solution of the present invention. figure 1 It is a flow chart of the double-buffer message processing method for separating control information and data according to the present invention. Such as figure 1 As shown, the method of the present invention includes starting from step S10. In step S10, the method of the present invention provides independent data cache and control information cache. Next, in step S20, the method of the present invention writes the data of the message into the data cache. Then, in step S30, the method of the present invention calculates the length and start...

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 communications, and particularly provides a double-cache message processing method with control information separated from data. The method aims to solve the problems that an existing message forwarding mechanism is too complex and the phenomenon of cache deadlock is likely to happen. For the purpose, the method includes the steps that an independent data cache and an independent control information cache are provided; data of a message are written into the data cache; the length of the message and the starting write-in address are calculated, and stored in the control information cache; control information of the message is written into the control information cache; the message is read out from the data cache according to the length of the message in the control information cache and the starting write-in address. Compared with a traditional forwarding mode that the control information and data are stored in the same cache, the design operation is greatly simplified through the method, and the phenomenon of read-write control deadlock is avoided.

Description

technical field [0001] The invention relates to the communication field, and specifically provides a double-buffering message processing method for separating control information and data. Background technique [0002] A message is a data unit exchanged and transmitted in the network, that is, a data block to be sent by a station at one time. The message contains the complete data information to be sent, its length is very inconsistent, and the length is unlimited and variable. As the unit of network transmission, the message will be continuously encapsulated into groups, packets, and frames during the transmission process. The way of encapsulation is to add some information segments, which are the data organized by the message header in a certain format. There are message types, Message version, message length, message entity and other information. [0003] The existing message forwarding mechanism is to use a single cache to store control information and data together, a...

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/861H04L12/883H04L49/9015
CPCH04L49/9021H04L49/9042
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