Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message parsing method and device

A technology of message parsing and parsing methods, applied in the field of mobile terminal manufacturing, to achieve the effect of avoiding version inconsistency

Active Publication Date: 2019-01-11
BYD CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The existing parsing method is to parse according to the message ID, and can only parse out a fixed number of parameters;

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0021] In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present invention, "plurality" means two or more, unless otherwise specifically defined.

[0022] Any process or method descriptions in flowcharts or otherwis...

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 parsing method and device. The method comprises the steps that message data and a message ID are acquired, and a Key list to be parsed in the message ID is acquired; parsing configuration information of the message ID is read, and parsing parameters corresponding to the Key list to be parsed are acquired according to the Key list to be parsed; and the message data are parsed according to the parsing parameters. According to the message parsing method, parsing of a message data domain is enabled to be configurable, and only certain values of the data domain in a protocol are calculated without calculating data which are not used in the message data; in addition, the universal data parsing method and the message data parsing parameter list are adopted so that a problem of different versions of the protocol can be avoided; furthermore, all the situations of the data domain can be expressed by information in the parsing parameter list of the message data, including operation of adding, subtracting, multiplying and dividing; besides, when adding, modification and deleting are performed on the message data, only the information in the parsing parameter list requires to be modified.

Description

technical field [0001] The present invention relates to the technical field of mobile terminal manufacturing, in particular to a message parsing method and device. Background technique [0002] like figure 1 As shown, after receiving a message data, it usually first judges what the current ID of the message data is, and then finds the analysis method corresponding to the current ID according to the current ID, and calculates the protocol information corresponding to the current ID through the analysis method. Included parameters and parsed results. [0003] However, the inventors found in the process of implementing the present invention that, during the product development process, messages are often added, modified or deleted, resulting in different versions of the protocol. Therefore, the existing parsing methods have the following deficiencies: [0004] 1. The existing parsing method is to parse according to the message ID, and can only parse out a fixed number of par...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L12/26
Inventor 王亚丽蒋峰马风云王淏
Owner BYD CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products