Method and device for transmitting and receiving data through mobile terminal

A mobile terminal and data sending technology, applied in the computer field, can solve the problems of high bandwidth, high data encapsulation complexity, occupation, etc., and achieve the effect of reducing bandwidth

Inactive Publication Date: 2014-10-29
SHANGHAI MAX INFORMATION TECH
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for sending and receiving data by a mobile terminal, which is use

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
  • Method and device for transmitting and receiving data through mobile terminal
  • Method and device for transmitting and receiving data through mobile terminal
  • Method and device for transmitting and receiving data through mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The embodiment of the present invention provides a method and device for sending and receiving data by a mobile terminal. The data to be sent is encoded. When the data type is integer, the encoded data content is the binary corresponding to the value represented by the data. The code stream, when sending the encoded data, can reduce the bandwidth occupied by the data.

[0046] The embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings of the specification.

[0047] Such as figure 1 As shown, an embodiment of the present invention provides a flow chart of a method for sending data by a mobile terminal, and the method includes:

[0048] Step 101: Determine the data type of the data to be sent;

[0049] Step 102: Encode the data according to the data type of the data, the encoded data includes a data packet header and data content; if the data type of the data is integer data, then the data represented by the integer da...

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 relates to the technical field of computers and provides a method and device for transmitting and receiving data through a mobile terminal. The method comprises the steps of determining the data type of data to be transmitted; encoding the data according to the data type of the data, wherein the encoded data include a data packet header and data contents; taking binary code streams of numerical values representing the integer data as the encoded data contents of the integer data if the data are integer data, and taking data type identifiers of the integer data and memory space sizes of the data contents as a data packet header of the integer data; packaging the encoded data in order of the data packet header and the data contents and transmitting the packaged data.

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for sending and receiving data by a mobile terminal. Background technique [0002] With the vigorous development of mobile applications, more and more mobile applications need to exchange data with servers. Since the mobile network generates higher tariffs than Ethernet when sending the same data, mobile applications hope to reduce the bandwidth occupied by the data and lower the tariffs when sending data. [0003] At present, when data is sent on the mobile terminal, a simple encapsulation format is generally used for the data to reduce redundancy in the data. For example, Extensible Markup Language (XML) is used to encapsulate data, or JSON (JavaScript Object Notation) is used to encapsulate data. JSON is a more concise object encapsulation format than XML, which can parse data objects using object-oriented syntax. [0004] However, whether it is XML or ...

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): G06F17/30
CPCG06F16/80
Inventor 王海滨
Owner SHANGHAI MAX INFORMATION TECH
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