Interaction data processing method and system for terminal application and server, and interaction method

A technology for interactive data and terminal applications, applied in transmission systems, branch equipment, electrical components, etc., can solve problems such as low security and complex data interaction implementation, reduce control information, improve service quality, and data occupied space. less effect

Active Publication Date: 2019-03-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, in order to solve the problem that the data interaction between the terminal application and the server is complicated or the security is not high in the prior art, the purpose of the present invention is to provide an interactive data processing method for the terminal application to reduce the complexity of the data interaction between the terminal application and the server degree, while having better security

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
  • Interaction data processing method and system for terminal application and server, and interaction method
  • Interaction data processing method and system for terminal application and server, and interaction method
  • Interaction data processing method and system for terminal application and server, and interaction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0041] see figure 1 , which is a flow chart of an implementation manner of an interactive data processing method for a terminal application in the present invention.

[0042] The interactive data processing method of the terminal application includes the following steps:

[0043] S101, acquiring interaction data of a terminal application;

[0044] S102. Encode the interaction data into a binary data string according to a preset binary encoding protocol;

[0045] S103. Generate an HTTP message for a corresponding server, put the binary data string into a message body of the HTTP message, and send the HTTP message to the server.

[0046] In the interactive data processing method of the terminal application of the present invention, the interactive data of the te...

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 terminal application, a server-side interactive data processing method and its system, and a terminal application-server data interaction method, which encodes the terminal application's interactive data into a binary data string, and uses an HTTP message as a carrier , putting the binary data string into the message body of the HTTP message and sending it to the server. After receiving the HTTP message, the server only needs to extract the corresponding binary data string from the message body of the HTTP message and decode it to obtain the interaction data of the terminal application. It can disrupt the structure of interactive data expressed in computer language, reduce the control information in it, make the data occupy less space, make transmission more convenient, and improve the security of data interaction at the same time. Moreover, since the HTTP protocol is used for data transmission, the access logic of the terminal application is simplified.

Description

technical field [0001] The present invention relates to the technical field of communication between a terminal and a server, in particular to a terminal application interactive data processing method and its system, a server interactive data processing method and its system, and a terminal application and server data interaction method . Background technique [0002] There are many ways of data interaction between the existing terminal application and the server. Taking the interaction method between the mobile APP (Application, mobile terminal application) and the background server as an example, it mainly uses SOCKET (socket) long connection plus short connection. The combined method directly connects to the background server, especially in SNS (Social Networking Services, social network service) applications. Usually, before interacting with the background, it is necessary to pull the server list once to find the most suitable background server before starting communica...

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/06H04M1/725
Inventor 吴发强
Owner TENCENT TECH (SHENZHEN) 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
Try Eureka
PatSnap group products