Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Message conversion method and device

A technology of messages and mapping files, which is applied in the computer field, can solve problems such as lack of versatility and inapplicability to the conversion of messages in different formats, and achieve the effect of good versatility and scalability, and flexible entity creation process

Pending Publication Date: 2021-08-17
BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This message conversion method is not universal and cannot be applied to the conversion of messages in different formats

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] 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.

[0056] According to an aspect of the embodiments of the present invention, a packet conversion method is provided.

[0057] figure 1 It is a schematic diagram of the main flow of the method for message conversion in the embodiment of the present invention, such as figure 1 As shown, the method for message conversion includes: step S101, step S102 and step S103.

[0058] S...

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 conversion method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a mapping file of a pre-configured target entity structure; constructing an object tree of the target entity structure according to the mapping file; and analyzing node data of each node in the object tree from the source message to create a target entity object corresponding to the source message. According to the embodiment, unified conversion of different messages can be realized through relatively flexible mapping configuration, the universality and expansibility are good, different extensions can be performed, and the entity creation process is more flexible.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a message conversion method and device. Background technique [0002] The production system of the warehouse will receive many types of documents from the upstream, as well as documents from different sources, that is, there are certain differences in the packets of the data sent by the upstream. If they are different types of documents, the differences in the messages are even greater, and even the attributes are inconsistent. . [0003] The existing technical solution is that each interface performs customized analysis according to the data message sent by the upstream, that is, different messages, such as xml (eXtensible Markup Language, extensible markup language) or Json (JavaScript ObjectNotation, a lightweight Data exchange format) to perform customized field identification, etc., and convert it into an entity object of the target entity structure. This message...

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 Applications(China)
IPC IPC(8): G06F40/154G06F40/205G06F40/295
CPCG06F40/154G06F40/205G06F40/295
Inventor 韩松
Owner BEIJING JINGDONG ZHENSHI INFORMATION 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
Eureka Blog
Learn More
PatSnap group products