CN101888404A - Data updating method and device for mobile equipment - Google Patents

Data updating method and device for mobile equipment Download PDF

Info

Publication number
CN101888404A
CN101888404A CN 201010184753 CN201010184753A CN101888404A CN 101888404 A CN101888404 A CN 101888404A CN 201010184753 CN201010184753 CN 201010184753 CN 201010184753 A CN201010184753 A CN 201010184753A CN 101888404 A CN101888404 A CN 101888404A
Authority
CN
China
Prior art keywords
request
user
server
merge
server end
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
CN 201010184753
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.)
BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING KAIXINREN 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 BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING KAIXINREN INFORMATION TECHNOLOGY Co Ltd
Priority to CN 201010184753 priority Critical patent/CN101888404A/en
Publication of CN101888404A publication Critical patent/CN101888404A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data updating method and a data updating device for mobile equipment. The method is characterized by comprising that: a user request and other requests needing data updating are combined into a request packet which is initiated to a server; the server unpacks the request packet after receiving the request packet in which the requests are combined; and the server combines and compresses result data obtained by the unpacking processing into a response packet, and transmits the response packet to a mobile client. Through the method, more additional data updating can be finished only by finishing the current request of a user; more combined requests are transmitted by subsequent analysis on the current operation of the user, so that subsequent operation is faster and smoother; and as the user does not need to wait for the server to return data in the data updating operation, the quantity of transmitted data is reduced, the transmission efficiency is improved and the network cost of the user is reduced.

Description

A kind of method of mobile device Data Update and device
Technical field
The present invention relates to a kind of method and device of Data Update, particularly a kind of method and device of the mobile device Data Update under mobile network environment belong to technical field of the computer network.
Background technology
Current 2.5G mobile network environment, with respect to the Internet, network speed is slower and unstable, and the characteristics of mobile network's application at present are:
One, the stage that connects between mobile device and the mobile gateway slow, connect even need several seconds consuming time even longer one of network rush hour, when connect set up successfully after, transfer of data is to count faster.So data request is to connect to receiving the topmost efficiency bottle neck of process that data finish.Existing mobile device data refresh mode be to each request of data all carry out one complete from establishing a connection to the process that receives data, the performance bottleneck at access phase is not optimized processing;
Two, use the user who moves application relatively more responsive to the network rate, mobile device is big more with the volume of transmitted data of service end, and user's use cost is just high more.Existing mobile device still adopts the data refresh mode of internet, applications, data is not compressed processing.
And need in the network service of frequent updating in data, if the renewal of each data, all will all initiate the request at this renewal to service end from mobile client, the experience that just can not bring data in real time to upgrade fast also needs simultaneously a large amount of Data Update operations that repeat.
Summary of the invention
The objective of the invention is to, a kind of method and device of mobile device Data Update is provided.It only need finish user's current request, just can finish more additional data upgrades, and by subsequent analysis to the current operation of user, send more merging request, make subsequent operation, more quick and smooth, and the user does not need waiting for server end return data when carrying out the operation of Data Update, can reduce volume of transmitted data, improve efficiency of transmission, also reduce user network rate cost.
Technical scheme of the present invention: a kind of method of mobile device Data Update is characterized in that described method comprises:
The user is in the mobile client trigger request, and mobile client is judged request type, needs the more request of new data to merge into a request package other, and the request after server end initiates to merge;
After server end receives the request package that merges request, the processing of unpacking;
The result data that server end is handled unpacking merges and is compressed into a respond packet;
Server end is sent to mobile client with respond packet, and client splits into the corresponding separate responses bag of each request with the respond packet decompress(ion), and is shown to the user in mobile client after handling each separate responses bag.
In the method for aforesaid mobile device Data Update, the method for described merging request is:
With calling request more than twice at server end in the same operation, be merged into a request;
Prejudge the operation that might occur after the current operation of user, merge occurring request of operating and current request after the user;
For the conventional solicit operation that server end itself has frequent data item to upgrade, be integrated into and go unified request in each operation.
In the method for aforesaid mobile device Data Update, the described method of handling of unpacking is:
After the merging request that server is received, the form of request package is analyzed, and resolved into a plurality of independently requests, and handle each individual requests respectively.
Realize the device of a kind of mobile device Data Update of preceding method, it is characterized in that it comprises mobile device and the server that is provided with mobile client; Comprise and being arranged on the mobile client
Request module is used to propose user's request;
Merge sending module, be used for the analysis user request type, and merge into a request package with other requests that need upgrade, and be sent to server according to type;
Respond the module of unpacking, the respond packet decompress(ion) that is used for that server is returned splits into the corresponding separate responses bag of each request;
Analyze display module, be used for being shown to the user in mobile client behind each separate responses bag of analyzing and processing;
Also comprise and being located on the server
The processing module of unpacking is used for after receiving the request package that merges request the form of request package being analyzed, and resolves into a plurality of independently requests, and handles each individual requests respectively;
Merge compression module, be used for result data to the processing module of unpacking and merge and be compressed into a respond packet.(the gzip algorithm is adopted in data compression).
In the device of aforesaid mobile device Data Update, described merging sending module comprises that also one merges module, is used for
With calling request more than twice at server end in the same operation, be merged into a request;
Prejudge the operation that might occur after the current operation of user, merge occurring request of operating and current request after the user;
For the conventional solicit operation that server end itself has frequent data item to upgrade, be integrated into and go unified request in each operation.
Compared with prior art, the present invention is by merging processing to a plurality of requests, improved the utilization rate of each transfer of data greatly, though each data quantity transmitted increases to some extent, but because reduced the connection number of times, thereby the cost that connects is dropped to minimum, so improved efficiency of transmission on the whole.And, send more merging request by to the subsequent analysis of the current operation of user, and make subsequent operation, more quick and smooth.Simultaneously the needed service end data of a plurality of requests are all merged respond packet of boil down to and return,, thereby also improved user experience greatly so user's interface switching does not need the frequent updating data an operation.Undertaken by the operation of original minute multistep, if the active user sees is the diary page or leaf because the WAP spacial flex is little, so one page can only show sub-fraction, according to traditional technology, may each page turning all to the server end request.And use technology of the present invention, and open diary at every turn, all the elements and branch page information all to have been stored, the each page turning in the back is exactly at local operation, and the user need not to wait for the page turning process again.Have 5 pages such as one piece of diary, each page turning needs two seconds.That originally in the process of reading the user wait for and just need 10S.The user need be to wait for 2 seconds at first page only now.And the response data that service end is returned compressed reduced data volume to a great extent, common text data, data volume is 1/4 before the compression after overcompression, thereby (data volume becomes original 1/4 also to have improved efficiency of transmission to a great extent, bandwidth can be transmitted four times data under similar circumstances).Simultaneously because the minimizing of transmitted data amount, the corresponding network rate of user cost also is reduced to 1/4 before the compression.
Description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is the workflow diagram of the embodiment of the invention.
Mark in the accompanying drawing: the 1-mobile client, the 2-server, the 3-request module, 4-merges sending module, the 5-response module of unpacking, 6-analyzes display module, the 7-processing module of unpacking, 8-merges compression module.
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples, but not as the foundation to the present invention's restriction.
Embodiment
A kind of method of mobile device Data Update is characterized in that, described method comprises:
The user is in the mobile client trigger request, and mobile client is judged request type, needs the more request of new data to merge into a request package other, and the request after server end initiates to merge;
After server end receives the request package that merges request, the processing of unpacking;
The result data that server end is handled unpacking merges and is compressed into a respond packet;
Server end is sent to mobile client with respond packet, and client splits into the corresponding separate responses bag of each request with the respond packet decompress(ion), and is shown to the user in mobile client after handling each separate responses bag.
The method of described merging request is:
With calling request more than twice at server end in the same operation, be merged into a request;
Prejudge the operation that might occur after the current operation of user, merge occurring request of operating and current request after the user;
For the conventional solicit operation that server end itself has frequent data item to upgrade, be integrated into and go unified request in each operation.
The described method of handling of unpacking is:
After the merging request that server is received, the form of request package is analyzed, and resolved into a plurality of independently requests, and handle each individual requests respectively.
Realize the device of a kind of mobile device Data Update of preceding method, it is characterized in that it comprises mobile device and the server 2 that is provided with mobile client 1; Comprise and being arranged on the mobile client 1
Request module 3 is used to propose user's request;
Merge sending module 4, be used for the analysis user request type, and merge into a request package with other requests that need upgrade, and be sent to server 2 according to type;
Respond the module 5 of unpacking, the respond packet decompress(ion) that is used for that server 2 is returned splits into the corresponding separate responses bag of each request;
Analyze display module 6, be used for being shown to the user in mobile client behind each separate responses bag of analyzing and processing.
Also comprise and being located on the server 2
The processing module 7 of unpacking is used for after receiving the request package that merges request the form of request package being analyzed, and resolves into a plurality of independently requests, and handles each individual requests respectively.
Merge compression module 8, be used for result data to the processing module of unpacking and merge and be compressed into a respond packet.
Described merging sending module 4 comprises that also one merges module, is used for
With calling request more than twice at server end in the same operation, be merged into a request;
Prejudge the operation that might occur after the current operation of user, merge occurring request of operating and current request after the user;
For the conventional solicit operation that server end itself has frequent data item to upgrade, be integrated into and go unified request in each operation.
Workflow of the present invention (as Fig. 2):
Step S101 proposes user's request;
Step S102, the analysis user request type, and merge into a request package with other requests that need upgrade according to type, and be sent to server;
Step S103 analyzes the form of request package, and resolves into a plurality of independently requests, and handles each individual requests respectively;
Step S104 merges the result data of each individual requests and to be compressed into a respond packet;
Step S105, the respond packet decompress(ion) that server 2 is returned splits into the corresponding separate responses bag of each request;
Step S106 is shown to the user in mobile client behind each separate responses bag of analyzing and processing.
The example explanation:
Login after the success such as the user, need obtain the personal information and the dynamic dispatching data of homepage, also need to obtain simultaneously the relevant more new situation in the personal messages system, according to traditional way be login successfully after, successfully locate to jump to homepage by logining again.And the personal messages page or leaf when also waiting user to view the personal messages page or leaf, slowly reads again.Here produced three independently requests at least,, so in the present invention, the operation in these sequence has been incorporated in just directly returns when logining successfully because establishment of connection returns that to wait all be more time-consuming operation among the mobile network.Such three independently requests have become for once, and when the user checks the personal messages page or leaf, also need not wait for, can promptly switch.And in social networking service, a large amount of interactive operations is arranged, also caused the renewal of a large amount of message, state etc., such as, in traditional technology, wonder the renewal of these message, corresponding message page must be switched to and just up-to-date result can be obtained.In allowing the user go initiatively often to check, just can obtain notice when this is just suitable.After the technology that the request of having used merges, the request of a routine is used as in the operation that information updating is detected, and merges in the general operation request and goes, and returning of each operation can obtain the result of latest news notice.Greatly improved the real-time of information updating prompting.
The another one example is exactly that such as in the list page of a hot topic, the user has clicked first of tabulation.According to historical data analysis, the user has very high possibility can click following three.So, just when the user clicks first of tabulation, with second and third, four request also merges, and mails to server end, the user just need not build connection more in addition and download when browsing several of back, has improved user experience.

Claims (5)

1. the method for a mobile device Data Update is characterized in that, described method comprises:
The user is in the mobile client trigger request, and mobile client is judged request type, needs the more request of new data to merge into a request package other, and the request after server end initiates to merge;
After server end receives the request package that merges request, the processing of unpacking;
The result data that server end is handled unpacking merges and is compressed into a respond packet;
Server end is sent to mobile client with respond packet, and client splits into the corresponding separate responses bag of each request with the respond packet decompress(ion), and is shown to the user in mobile client after handling each separate responses bag.
2. the method for mobile device Data Update according to claim 1 is characterized in that, the method for described merging request is:
With calling request more than twice at server end in the same operation, be merged into a request;
Prejudge the operation that might occur after the current operation of user, merge occurring request of operating and current request after the user;
For the conventional solicit operation that server end itself has frequent data item to upgrade, be integrated into and go unified request in each operation.
3. the method for a kind of mobile device Data Update according to claim 1 is characterized in that, the described method of handling of unpacking is:
After the merging request that server is received, the form of request package is analyzed, and resolved into a plurality of independently requests, and handle each individual requests respectively.
4. realize the device of a kind of mobile device Data Update of claim 1,2 or 3 described methods, it is characterized in that it comprises mobile device and the server (2) that is provided with mobile client (1); Comprise and being arranged on the mobile client (1)
Request module (3) is used to propose user's request;
Merge sending module (4), be used for the analysis user request type, and merge into a request package with other requests that need upgrade, and be sent to server (2) according to type;
Respond the module (5) of unpacking, be used for the respond packet decompress(ion) that server (2) returns is split into the corresponding separate responses bag of each request;
Analyze display module (6), be used for being shown to the user in mobile client behind each separate responses bag of analyzing and processing;
Also comprise and being located on the server (2)
The processing module of unpacking (7) is used for after receiving the request package that merges request the form of request package being analyzed, and resolves into a plurality of independently requests, and handles each individual requests respectively;
Merge compression module (8), be used for result data to the processing module of unpacking and merge and be compressed into a respond packet.
5. the device of mobile device Data Update according to claim 4 is characterized in that: described merging sending module (4) comprises that also one merges module, is used for
With calling request more than twice at server end in the same operation, be merged into a request;
Prejudge the operation that might occur after the current operation of user, merge occurring request of operating and current request after the user;
For the conventional solicit operation that server end itself has frequent data item to upgrade, be integrated into and go unified request in each operation.
CN 201010184753 2010-05-27 2010-05-27 Data updating method and device for mobile equipment Pending CN101888404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010184753 CN101888404A (en) 2010-05-27 2010-05-27 Data updating method and device for mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010184753 CN101888404A (en) 2010-05-27 2010-05-27 Data updating method and device for mobile equipment

Publications (1)

Publication Number Publication Date
CN101888404A true CN101888404A (en) 2010-11-17

Family

ID=43074120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010184753 Pending CN101888404A (en) 2010-05-27 2010-05-27 Data updating method and device for mobile equipment

Country Status (1)

Country Link
CN (1) CN101888404A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325174A (en) * 2011-08-31 2012-01-18 酷视资讯股份有限公司 Community website message logging method and system thereof
CN104580495A (en) * 2015-01-21 2015-04-29 百度在线网络技术(北京)有限公司 Network request processing method and device
CN106294374A (en) * 2015-05-15 2017-01-04 北京国双科技有限公司 The method of small documents merging and data query system
CN107733879A (en) * 2017-09-29 2018-02-23 努比亚技术有限公司 Client terminal start-up method, mobile terminal and computer storage media
CN107766088A (en) * 2017-09-27 2018-03-06 努比亚技术有限公司 Interface optimization method, system and computer-readable recording medium
CN107809448A (en) * 2016-09-09 2018-03-16 腾讯科技(北京)有限公司 A kind of data processing method and terminal
WO2018177286A1 (en) * 2017-03-27 2018-10-04 武汉斗鱼网络科技有限公司 Static resource request processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101426181A (en) * 2008-11-12 2009-05-06 中国移动通信集团广东有限公司 Intelligent multimedia information mobile phone viewing system having instant interaction and implementation method
CN101609474A (en) * 2009-07-24 2009-12-23 国网电力科学研究院 A kind of based on the data encapsulation of FLEX and the method for distribution
CN101656752A (en) * 2008-08-20 2010-02-24 北京闻言科技有限公司 Method for providing quick content service for mobile phone user
US20100121922A1 (en) * 2008-11-10 2010-05-13 Microsoft Corporation Auto-resolve recipients cache

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656752A (en) * 2008-08-20 2010-02-24 北京闻言科技有限公司 Method for providing quick content service for mobile phone user
US20100121922A1 (en) * 2008-11-10 2010-05-13 Microsoft Corporation Auto-resolve recipients cache
CN101426181A (en) * 2008-11-12 2009-05-06 中国移动通信集团广东有限公司 Intelligent multimedia information mobile phone viewing system having instant interaction and implementation method
CN101609474A (en) * 2009-07-24 2009-12-23 国网电力科学研究院 A kind of based on the data encapsulation of FLEX and the method for distribution

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102325174A (en) * 2011-08-31 2012-01-18 酷视资讯股份有限公司 Community website message logging method and system thereof
CN104580495A (en) * 2015-01-21 2015-04-29 百度在线网络技术(北京)有限公司 Network request processing method and device
CN104580495B (en) * 2015-01-21 2018-07-17 百度在线网络技术(北京)有限公司 Network request treating method and apparatus
CN106294374A (en) * 2015-05-15 2017-01-04 北京国双科技有限公司 The method of small documents merging and data query system
CN106294374B (en) * 2015-05-15 2019-06-04 北京国双科技有限公司 The method and data query system that small documents merge
CN107809448A (en) * 2016-09-09 2018-03-16 腾讯科技(北京)有限公司 A kind of data processing method and terminal
CN107809448B (en) * 2016-09-09 2021-05-11 腾讯科技(北京)有限公司 Data processing method and terminal
WO2018177286A1 (en) * 2017-03-27 2018-10-04 武汉斗鱼网络科技有限公司 Static resource request processing method and device
CN107766088A (en) * 2017-09-27 2018-03-06 努比亚技术有限公司 Interface optimization method, system and computer-readable recording medium
CN107733879A (en) * 2017-09-29 2018-02-23 努比亚技术有限公司 Client terminal start-up method, mobile terminal and computer storage media

Similar Documents

Publication Publication Date Title
US10110429B2 (en) Enabling planned upgrade/downgrade of network devices without impacting network sessions
CN101888404A (en) Data updating method and device for mobile equipment
CN102664909B (en) Re-establishing push notification channels via user identifiers
CN101945013A (en) System and method for implementing server configuration management
US20150100631A1 (en) Proactive transmission of network content
CN101115225B (en) System and method for implementing RSS subscription using multimedia message of mobile terminal
US20100057690A1 (en) Automated information-provision system
CN105900391A (en) Real-time communications using RESTLIKE API
KR20000010691A (en) Providing communications links in a computer network
US10931479B2 (en) Inband data gathering with dynamic intermediary route selections
WO2002080014A1 (en) Assembling concurrently-generated personalized web pages
CN102055771B (en) Device and method for controlling cloud service-oriented multiple concurrent service flow
CN101997854A (en) Processing system and method for providing data service
RU2316131C2 (en) Method for storing pages in memory of mobile device (variants) and mobile device for realization of the method
CN104702627B (en) A kind of synchronous concurrent communication method and system based on message classification
CN101808051A (en) Application integration gateway and control method thereof
JP2014505299A (en) Method and apparatus for processing microweb log messages
EP1247188B1 (en) Converting messages between point-to-point and subject-based addressing
CN106850770B (en) Efficient transmission method based on cloud computing service
CN101895531A (en) Client equipment, multimedia data unloading system and unloading method
CN101895550B (en) Cache accelerating method for compatibility of dynamic and static contents of internet website
CN105471953A (en) Client-side page dynamic display method, device and system
CN201674665U (en) Mobile device data updating device
CN106488269A (en) System and method to television equipment control is realized based on third-party application platform
CN101072172A (en) Method and device for realizing network data high-efficiency transfer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101117