Unlock instant, AI-driven research and patent intelligence for your innovation.

Message processing method and device

A message processing and message technology, which is applied in the computer field, can solve the problems of incomplete instructions, inability to obtain instructions completely, and send them at the same time, and achieve the effect of avoiding instruction loss.

Active Publication Date: 2020-03-20
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the process of implementing the present invention, the inventor found that there are at least the following problems in the prior art: since the warehouse equipment control system is a multi-threaded system, multiple instructions may appear simultaneously In the case of sending, in this case, the message sent by the warehouse equipment control system will contain multiple instructions, and there may be incomplete instructions
In this case, the existing message processing method cannot completely obtain all the instructions in the message, and there is a problem of instruction loss

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

[0052] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0053] An embodiment of the present invention provides a message processing method, which is used to intercept a command string from a message, and the command string is configured with a beginning and a tail identifier. The method includes: repeatedly executing the intercepting step on the message until there is no characters. Such as figure 1 As shown, the intercepting...

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 message processing method and device, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps of: repeatedly executing the following interception steps on a message until no character exists in the message: determining whether an instruction character string, an instruction front-section character string or an instruction rear-section character string exists in the message or not; when the instruction character string exists, intercepting the instruction character string; when the instruction front-section character string exists, storing the instruction front-section character string; when the instruction rear-section character string exists, splicing the instruction rear-section character string to theinstruction front-section character string, and intercepting the formed instruction character string; and if the conditions are not met, searching the instruction head identifier, deleting the characters in front of the instruction head identifier, and if the instruction head identifier is not found, deleting all the characters. According to the embodiment, all instructions in the message can becompletely acquired.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a message processing method and device. Background technique [0002] At present, in the intelligent warehouse, the shuttle car is usually equipped with a PLC control system. The PLC control system of the shuttle car obtains instructions from the warehouse equipment control system through the communication of TCP / IP messages with the warehouse equipment control system. [0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: since the warehouse equipment control system is a multi-threaded system, multiple instructions may be sent at the same time. In this case, the warehouse equipment control system sent The message will contain multiple instructions, and there may be incomplete instructions. In this case, the existing packet processing method cannot completely obtain all the instruc...

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/06
CPCH04L69/22
Inventor 陈晓涛
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD