Client message conversion method

A conversion method and client-side technology, applied in the field of communication, can solve problems such as API inconsistency, unguaranteed runtime efficiency, complex operation, etc., and achieve the effects of reducing computing pressure, improving user experience, and increasing transmission speed

Active Publication Date: 2011-09-14
北京思特奇信息技术股份有限公司
View PDF1 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

And when the server-side XML data is transmitted to the client, different types of browsers operate on the client object converted from XML, the API exposed by the XML object is inconsistent, and the operation

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
  • Client message conversion method
  • Client message conversion method
  • Client message conversion method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0033] Generally, when the operator handles business through the client, the client receives the operator's request, and the processing process is completed by the background server, which requires high computing power of the server. In order to reduce the computing pressure of the server, the server can partly The tasks of data storage and calculation are transferred to the client to complete, but if the client performs business processing directly through the XML format, it will increase the application difficulty of the operator, and the content and process of business processing cannot be intuitively displayed to the operator. Therefore, the present invention provides a message conversion method of the client, su...

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 client message conversion method, which comprises that: firstly, a client receives an extensible markup language (XML) message template from a server; secondly, the client converts the XML message template into at least one JavaScript object notation (Json) message template; thirdly, the client instantiates the Json message template into a Json message template object, and stores the Json message template object and a key value corresponding to the Json message template object into a Hash table; fourthly, the client embeds externally input service information into theJson message template object; and finally, the client converts each Json message template object into a Json character string, and transmits the Json character string to the server. Therefore, network traffic occupied by an XML format in network transmission is reduced, transmission speed is increased, and flexible conversion between the XML format and the Json format is realized. In addition, a part of data storage and operations tasks are transferred to the client, so the operation pressure of the server is reduced.

Description

technical field [0001] The invention relates to the communication field, in particular to a client message conversion method. Background technique [0002] Generally, when an operator handles business through the client terminal, the client terminal receives the operator's request, and the processing process is completed by the background server, which requires high computing power of the server. If you want to reduce the computing pressure on the server, you need the client to complete part of the data processing tasks. [0003] In the current B / S architecture, on the premise that the client (under the browser host environment) does not install other plug-ins, the natively supported public programming language is Javascript (hereinafter referred to as JS), and the objects in JS are represented by JSON (JavaScript Object Notation ) in the form of instantiation and manipulation. In the server-side Java language environment, objects generally exist in the form of POJO (Plain...

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/08
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