Message processing method and device

A message processing and message technology, which is applied in multi-programming devices, electrical digital data processing, inter-program communication, etc., can solve the problems of large storage space, inability to complete quickly, and cumbersome message processing process, achieve a good environment and reduce memory Pressure, simple process and quick effect

Pending Publication Date: 2022-01-28
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the increasing amount of messages processed by messages and the increasing number of index files used to correlate each message, the storage space occupied by index files has become a problem that cannot be ignored. Too much storage space occupied by index files seriously affects The operating speed of the computing device is determined, and since the corresponding index file needs to be established for each message writing, and the index file needs to be called for each message reading, the operation process of the computing device becomes cumbersome, making the message processing process cumbersome , cannot be done quickly

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
  • Message processing method and device
  • Message processing method and device
  • Message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0076] The terminology used in one or more embodiments of the present application is for the purpose of describing a particular embodiment only, and is not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and / or" as used in one...

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 provides a message processing method and device, and the message processing method comprises the steps: obtaining a first write-in request of a producer, and building a file identifier at a starting position of a target queue file based on the first write-in request; determining a corresponding message byte according to a to-be-executed message carried in the first write-in request, and generating a corresponding length byte according to the length of the message byte; and after the identification byte corresponding to the file identifier, splicing the length byte and the message byte in sequence to serve as the response of the first write-in request, so that an index file is omitted in the process of storing a message to be stored, and the memory pressure of a system is relieved. In the process of reading the message, the process of quoting an index file can also be omitted, so that the message reading process is simpler and quicker, and a good environment is provided for reading and querying the message.

Description

technical field [0001] The present application relates to the technical field of data storage, and in particular, to a message processing method and a message reading method. The present application also relates to a message processing apparatus, a message reading apparatus, a computing device, and a computer-readable storage medium. Background technique [0002] With the development of Internet technology, information interaction has become more frequent and important, the speed of message processing is getting faster and faster, the message volume of message processing is getting bigger and bigger, and the importance is getting higher and higher. In the prior art, messages are stored in a message queue, and an index file is used to determine the location of the message during the writing process of the message. However, due to the increasing number of messages processed by the message, more and more index files are used to associate each message, the storage space occupie...

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): G06F9/54
CPCG06F9/546
Inventor 辛五一黄飚吴双杜玉麟张子晴
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
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