Message format conversion method and system

A technology of message format and conversion method, applied in the field of Internet communication, can solve the problems of large workload and low efficiency, and achieve the effects of fast conversion speed, simple code writing and high conversion efficiency

Inactive Publication Date: 2017-09-15
北京思特奇信息技术股份有限公司
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there are http requests using the key=value format, but the parameter format of the server-side API is json, so every time data exchange is performed, the key=value format needs to be converted to the json format, which is a heavy workload and low efficiency.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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 particularly relates to a message format conversion method and system. The method comprises the following steps of obtaining http request data; obtaining a json configuration template corresponding to the http request data; analyzing the http request data and extracting all parameter names and corresponding parameter values in the http request data; and filling the parameter values into corresponding positions of the json configuration template and generating request data of a json format. According to the message format conversion method and system provided by the invention, through utilization of the pre-established json configuration template, the http request data is automatically converted into the request data of the json format, artificial participation is avoided, the conversion speed is fast, the conversion efficiency is high, and the number of parameters and parameter names of the json configuration template are dynamically configured according to user demands.

Description

A message format conversion method and system technical field The invention relates to the field of Internet communication, in particular to a message format conversion method and system. Background technique Json is a lightweight data exchange format that is easy for humans to read and write and easy for machines to parse and generate. It is completely independent of language. In recent years, it has become more and more popular among developers. With the popularity of rest style, more and more More and more API interfaces are beginning to use json as their parameter format. Currently, HTTP requests use the key=value format, but the parameter format of the server-side API is json, so every time data exchange is performed, the key=value format needs to be converted to the json format, which is heavy workload and low efficiency. Contents of the invention The present invention provides a message format conversion method and system, which solve the above-mentioned technic...

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): H04L29/06H04L29/08
CPCH04L67/02H04L69/08H04L69/22
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