CN104184766A - Method of transmitting data between server and mobile terminals - Google Patents

Method of transmitting data between server and mobile terminals Download PDF

Info

Publication number
CN104184766A
CN104184766A CN201310195876.1A CN201310195876A CN104184766A CN 104184766 A CN104184766 A CN 104184766A CN 201310195876 A CN201310195876 A CN 201310195876A CN 104184766 A CN104184766 A CN 104184766A
Authority
CN
China
Prior art keywords
mobile terminal
server
data
data transmission
transmission method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310195876.1A
Other languages
Chinese (zh)
Inventor
殷青平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI YOUYANG XINMEI INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI YOUYANG XINMEI INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI YOUYANG XINMEI INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI YOUYANG XINMEI INFORMATION TECHNOLOGY Co Ltd
Priority to CN201310195876.1A priority Critical patent/CN104184766A/en
Publication of CN104184766A publication Critical patent/CN104184766A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method of transmitting data between a server and mobile terminals. The method comprises a display data compression method and a data subpackaging transmitting method. The server compresses the display data via the display data compression method and transmitting the display data after compression, and each mobile terminal acquires display content through receiving the display data and acquires service items from the display content; the mobile terminal performs selection in the service items displayed in the display content and sends a data transmission request to the server; and after the server receives the data transmission request sent by the mobile terminal, data transmission between the server and the mobile terminal is carried out via a preset method. The method of the technical scheme has the beneficial effects of reducing data transmission amount used for the display function, quickening the connection speed between the server and the mobile terminals, and improving the quality of communication crossing operation network.

Description

Data transmission method between server and mobile terminal
Technical field
The present invention relates to a kind of data transfer control method, relate in particular to the data transmission method between a kind of server and mobile terminal.
Background technology
Mobile terminal is with Internet enabled mobile device, and it has very abundant communication mode, can pass through GSM, CDMA, and WCDMA, operation network communication that WIFI etc. are wireless, thus be more and more subject to liking of people.
Existing mobile terminal is mostly smart machine, can carry out Function Extension by different software is installed, and the software of mobile terminal generally provides by the form of software market, by a server that stores the software of corresponding various functions, by communication, connect for a plurality of mobile terminals and carry out software download.
The data volume that the existing mode that realizes software market is generally used for realizing Presentation Function is larger, and mobile terminal is connected the impact that is subject to Operation Network with server, in the situation that it is poor to connect effect across the communication of Operation Network.
Summary of the invention
The problems referred to above that exist for the communication between server and mobile terminal in the implementation method of existing software market, now provide a kind of and be intended to reduce the data volume for Presentation Function, and raising is across the server of the communication quality of Operation Network and the data transmission method between mobile terminal.
Concrete technical scheme is as follows:
A data transmission method between server and mobile terminal, is applied to comprise in the system of server and a plurality of mobile terminal composition, wherein, comprises and shows data compression method and data subpackage transfer approach;
Described server shows data by described demonstration data compression method compression, and the demonstration data after compression are sent, and described in each, mobile terminal passes through to receive described demonstration data acquisition displaying contents, and obtains service item in described displaying contents;
Described mobile terminal, by selecting in the service item showing in described displaying contents, sends data transfer request to described server;
Described server carries out transfer of data according to a pre-setting method and described mobile terminal after receiving the data transfer request that described mobile terminal sends.
Preferably, described demonstration data transmit by http protocol.
Preferably, described demonstration data compression method is GZIP compression.
While preferably, transmitting described demonstration data by http protocol, only arrange and transmit closely-related http header.
Preferably, the described and closely-related http header of transmission comprises connection type parameter and/or acceptable type of coding parameter and/or user side proxy information parameter.
Preferably, specifically comprise the steps:
The data that step a, described mobile terminal need to transmit to described server are divided into a plurality of packets and order sends a plurality of described packets;
Step b, described server send the feedback acknowledgment for the described packet receiving to the described mobile terminal that sends described packet after receiving described packet;
Step c, described mobile terminal wait for and receive described server and receive the feedback acknowledgment after described packet, and to not receiving in first scheduled time that the packet of feedback acknowledgment resends, until receive described feedback acknowledgment;
Steps d, described mobile terminal do not receive that described feedback acknowledgment stops resending and will not receive the data packet discarding of described feedback acknowledgment after resending described packet pre-determined number yet.
Preferably, described mobile terminal is sent in line justification at interval of second scheduled time to described server, and described server is received the link information of upgrading corresponding described mobile terminal after line justification.
Preferably, described server checks the described packet receiving at interval of the 3rd scheduled time, and to corresponding mobile terminal, sends the instruction resending in vain for the data that lack.
Preferably, described mobile terminal is sent in line justification to described server and adopts udp protocol.
Preferably, described server sends to corresponding mobile terminal the instruction resending and adopts udp protocol.
The beneficial effect of technique scheme is:
Reduce the volume of transmitted data for Presentation Function, accelerated the connection speed between server and mobile terminal, can improve the communication quality across Operation Network.
Accompanying drawing explanation
Fig. 1 is the system configuration schematic diagram of the data transmission method between server of the present invention and mobile terminal;
Fig. 2 is the steps flow chart block diagram of the data transmission method between server of the present invention and mobile terminal.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
As shown in Figure 1, the data transmission method between server of the present invention and mobile terminal, is applied to comprise in the system of server and a plurality of mobile terminal composition, wherein, comprises and shows data compression method and data subpackage transfer approach; Server shows data by showing data compression method compression, and the demonstration data after compression are sent, and each mobile terminal shows data acquisition displaying contents by reception, and in displaying contents, obtains service item; Mobile terminal, by selecting in the service item showing in displaying contents, sends data transfer request to server; Server carries out transfer of data according to a pre-setting method and mobile terminal after receiving the data transfer request that mobile terminal sends.
Technique scheme to showing the compression of data, can reduce the volume of transmitted data for Presentation Function by server end, thereby improves the connection speed between server and mobile terminal.A kind of preferably execution mode is that demonstration data can transmit by http protocol, show that data compression method can adopt GZIP compression.While further, transmitting demonstration data by http protocol, can only arrange and transmit closely-related http header further to reach the object of minimizing number of packages volume of transmitted data.Technical at this, can comprise connection type parameter and/or acceptable type of coding parameter and/or user side proxy information parameter with transmitting in closely-related http header, only need comprise and the closely-related protocol header of business.
On technique scheme basis, further, as shown in Figure 2, the transfer of data between mobile terminal and server can comprise the steps:
The data that step a, mobile terminal need to transmit to server are divided into a plurality of packets and order sends a plurality of packets;
Step b, server send the feedback acknowledgment for the packet receiving to the mobile terminal that sends packet after receiving packet;
Step c, mobile terminal wait for and reception server is received the feedback acknowledgment after packet, and to not receiving in first scheduled time that the packet of feedback acknowledgment resends, until receive feedback acknowledgment;
Steps d, mobile terminal do not receive that feedback acknowledgment stops resending and will not receive the data packet discarding of feedback acknowledgment after resending packet pre-determined number yet.
Subpackage delivery plan in technique scheme is generally used for mobile terminal and sends larger data occasion, and a kind of preferably execution mode is between mobile terminal and server, to transmit data to be greater than the scheme that 255 bytes can adopt subpackage to send.First scheduled time can arrange as required simultaneously, and a kind of preferably execution mode is first scheduled time can be set to 2 minutes, and pre-determined number can be set to 3 times.
On technique scheme basis, further, mobile terminal is sent in line justification at interval of second scheduled time to server, server is received the link information of upgrading corresponding mobile terminal after line justification, at line justification, can keep mobile terminal to be connected with the communication between server, when occurring also can receiving that the link information of upgrading mobile terminal after line justification is maintained connection by server across the situation of Operation Network, thereby improved the communication quality across Operation Network, a kind of preferably execution mode is second scheduled time can be set to 5 minutes.
On technique scheme basis, further, server can check the packet receiving at interval of the 3rd scheduled time, and to corresponding mobile terminal, sends the instruction resending in vain for the data that lack.A kind of preferably execution mode is the 3rd scheduled time can be set to 2 minutes, and server is by checking that voluntarily the reception condition of packet is with the integrality of assurance data.
On technique scheme basis, further, mobile terminal is sent in line justification to server can adopt udp protocol, and further, server sends to corresponding mobile terminal the instruction resending also can adopt udp protocol.Owing to not needing to maintain explicit connection by udp protocol communication, being therefore conducive to server connects more mobile terminal, improves maximum concurrent quantity.
The foregoing is only preferred embodiment of the present invention; not thereby limit embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.

Claims (10)

1. the data transmission method between server and mobile terminal, is applied to comprise in the system of server and a plurality of mobile terminal composition, it is characterized in that, comprises and shows data compression method and data subpackage transfer approach;
Described server shows data by described demonstration data compression method compression, and the demonstration data after compression are sent, and described in each, mobile terminal passes through to receive described demonstration data acquisition displaying contents, and obtains service item in described displaying contents;
Described mobile terminal, by selecting in the service item showing in described displaying contents, sends data transfer request to described server;
Described server carries out transfer of data according to a pre-setting method and described mobile terminal after receiving the data transfer request that described mobile terminal sends.
2. the data transmission method between server and mobile terminal as claimed in claim 1, is characterized in that, described demonstration data transmit by http protocol.
3. the data transmission method between server and mobile terminal as claimed in claim 1, is characterized in that, described demonstration data compression method is GZIP compression.
4. the data transmission method between server and mobile terminal as claimed in claim 2, is characterized in that, only arranges and transmit closely-related http header while transmitting described demonstration data by http protocol.
5. the data transmission method between server and mobile terminal as claimed in claim 4, it is characterized in that, the described and closely-related http header of transmission comprises connection type parameter and/or acceptable type of coding parameter and/or user side proxy information parameter.
6. the data transmission method between server and mobile terminal as claimed in claim 1, is characterized in that, specifically comprises the steps:
The data that step a, described mobile terminal need to transmit to described server are divided into a plurality of packets and order sends a plurality of described packets;
Step b, described server send the feedback acknowledgment for the described packet receiving to the described mobile terminal that sends described packet after receiving described packet;
Step c, described mobile terminal wait for and receive described server and receive the feedback acknowledgment after described packet, and to not receiving in first scheduled time that the packet of feedback acknowledgment resends, until receive described feedback acknowledgment;
Steps d, described mobile terminal do not receive that described feedback acknowledgment stops resending and will not receive the data packet discarding of described feedback acknowledgment after resending described packet pre-determined number yet.
7. the data transmission method between server and mobile terminal as claimed in claim 6, it is characterized in that, described mobile terminal is sent in line justification at interval of second scheduled time to described server, and described server is received the link information of upgrading corresponding described mobile terminal after line justification.
8. the data transmission method between server and mobile terminal as claimed in claim 6, it is characterized in that, described server checks the described packet receiving at interval of the 3rd scheduled time, and to corresponding mobile terminal, sends the instruction resending in vain for the data that lack.
9. the data transmission method between server and mobile terminal as claimed in claim 7, is characterized in that, described mobile terminal is sent in line justification to described server and adopts udp protocol.
10. the data transmission method between server and mobile terminal as claimed in claim 8, is characterized in that, described server sends to corresponding mobile terminal the instruction resending and adopts udp protocol.
CN201310195876.1A 2013-05-23 2013-05-23 Method of transmitting data between server and mobile terminals Pending CN104184766A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310195876.1A CN104184766A (en) 2013-05-23 2013-05-23 Method of transmitting data between server and mobile terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310195876.1A CN104184766A (en) 2013-05-23 2013-05-23 Method of transmitting data between server and mobile terminals

Publications (1)

Publication Number Publication Date
CN104184766A true CN104184766A (en) 2014-12-03

Family

ID=51965503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310195876.1A Pending CN104184766A (en) 2013-05-23 2013-05-23 Method of transmitting data between server and mobile terminals

Country Status (1)

Country Link
CN (1) CN104184766A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822237A (en) * 2020-12-28 2021-05-18 北京奇艺世纪科技有限公司 Network request transmission method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822237A (en) * 2020-12-28 2021-05-18 北京奇艺世纪科技有限公司 Network request transmission method and device

Similar Documents

Publication Publication Date Title
CN103716136B (en) A kind of data transferring method and system
CN105659544B (en) For controlling system, the method and apparatus of the transmission of the message of rateless codes
CN108023758B (en) Method and network equipment for processing message in hybrid access network
CN102256314B (en) Method for adjusting service coding rate and communication node
US11219091B2 (en) Data receiving status reporting method and apparatus
CN105137964A (en) Automobile fault remote diagnosis system based on cellphone APP
CN108770065B (en) Method, equipment and system for controlling air interface resources
CN107404734A (en) Data transmission method for uplink, apparatus and system
WO2013005965A3 (en) Method and system for dynamically changing upper bound on data packet size in wireless communication networks
CN110072254B (en) Data transmission method and related equipment thereof
CN102780633B (en) Device and method for transmitting data based on CAPWAP (control and provisioning of wireless access points) protocol
CN104618260A (en) UDP (User Datagram Protocol) based matchable strategy data transmission method
CN106856589A (en) User terminal time resource distribution method and device
CN104539707A (en) Screen mapping method and system for in-vehicle infotainment device, mobile phone and PC terminal
CN101364991A (en) System realizing WAP website fast browsing and method thereof
CN107925505A (en) A kind of user and network side equipment, the method for the definite tupe to data packet
CN104184766A (en) Method of transmitting data between server and mobile terminals
EP2819375B1 (en) Method and device for data access
CN104426638A (en) Data submission method and device
CN103731933A (en) Wireless connection construction method and system and mobile terminal
CN109495158A (en) A kind of system and method improving satellite communication rate
CN102480463B (en) Network interaction method and network interaction system
CN104980509A (en) Data transmission method under the condition without fixed public network IP based on wireless data transmission terminals
CN104980259A (en) Method and device for multilink data transmission
CN105406946A (en) Frame confirmation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141203