Abstract:
Data is usually serialized to key-value pairs to transmission in the mobile internet. When the server returns data sets to mobile client, keys in the key-value pairs are named by the specific code standard, which causes the string too long; And when the mobile terminal sends out complex query requests, all the query conditions are merged into one query string, then sent to the server. Therefore, the structured query keywords are transmitted repeatedly. In order to solve the two problems of network latency increase and user traffic consumption mentioned above, an optimization method of serialized data transmission for mobile internet is proposed to code the attribute of entity class to reduce the amount of data of response result sets. When complex query is performed, query data are saved by key-values pairs for mobile client, the server just need to parse the corresponding value after the data received, the query content can be obtained through the specific function in the general processing procedure. The experimental results show that the optimized transmission method can effectively reduce the size of interaction data and the time of network response.