CN101719904A - Method for reducing business communication volumes of server and client during Internet application - Google Patents

Method for reducing business communication volumes of server and client during Internet application Download PDF

Info

Publication number
CN101719904A
CN101719904A CN200910199404A CN200910199404A CN101719904A CN 101719904 A CN101719904 A CN 101719904A CN 200910199404 A CN200910199404 A CN 200910199404A CN 200910199404 A CN200910199404 A CN 200910199404A CN 101719904 A CN101719904 A CN 101719904A
Authority
CN
China
Prior art keywords
server
client
business datum
time
business
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.)
Granted
Application number
CN200910199404A
Other languages
Chinese (zh)
Other versions
CN101719904B (en
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 AVCON INFORMATION TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI AVCON 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 AVCON INFORMATION TECHNOLOGY Co Ltd filed Critical SHANGHAI AVCON INFORMATION TECHNOLOGY Co Ltd
Priority to CN2009101994047A priority Critical patent/CN101719904B/en
Publication of CN101719904A publication Critical patent/CN101719904A/en
Application granted granted Critical
Publication of CN101719904B publication Critical patent/CN101719904B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for reducing the business communication volumes of a server and a client during the Internet application, comprising the following steps of: (1) adding or modifying time attributes for all data saved in the server, wherein the time attributes of the data are modified to the current time of a system when the data is added, modified or deleted; (2) downloading all data corresponding to the client when logging in the server in the client for the first time, saving the data in the local computer and recording the current time of the system when acquiring all data from the server as the updated time; and (3) uploading the updated time recorded last time to the server after logging in the server at the client on the local computer again, wherein the server reads the data with newer modified time attributes than that of the update time and sends the data to the client which locally modifies, adds or deletes the data. The method can save bandwidth and enhance the operating efficiency and the executing speed of software.

Description

Reduce the method for server and client side's newsletter amount in the internet, applications
Technical field
The present invention relates to a kind of internet data transmission method, refer in particular to the method that can reduce server and client side's newsletter amount.
Background technology
The Internet era arrival allow the world become the global village, the increasing application occurs on the internet, it is valuable that yet bandwidth remains, the Internet bandwidth of average family has only the selection of 1M or 2M to desktop, such bandwidth still is a car water tumbler firewood for the bigger business of data volume, particularly at the application start initial phase, data such as a large amount of fundamental sum history need download to applications client this locality from service, because the restriction of network speed, the application start initial phase often reaches a few minutes, for user's use experience, the time of wait is oversize, and is very uncomfortable.
Such as, in the Internet IM used, the user inputs number of the account and password is clicked definite following process that needs usually afterwards:
1) client sends to server with number of the account and password;
2) server receives number of the account and the password that client sends;
3) number of the account and the password of the transmission of server reading database checking client;
4) if checking is not passed through, server sends error reporting to client;
5) if the verification passes, server sends correct report to client; Simultaneously, server sends number of the account related service information to client, comprises buddy list, good friend's essential information and relevant information etc.
Step 1)-4 wherein) amount of information is less, there is not any bottleneck problem for existing the Internet bandwidth, but the amount of information of step 5) is along with the increase of good friend's quantity, may become very huge, for synchronously, this part information is certain to preserve on server a, makes IM land the identical information that all obtains Anywhere in the Internet, will download this piece of data again so land at every turn, make the user to wait for the long period.
Given this, be necessary to propose a kind of new data transmission method to solve the problems of the technologies described above in fact.
Summary of the invention
The technical problem to be solved in the present invention is to provide the method that reduces server and client side's newsletter amount in a kind of internet, applications.
In order to solve the problems of the technologies described above, the present invention adopts following technical scheme:
Reduce the method for server and client side's newsletter amount in a kind of internet, applications, may further comprise the steps:
1) adds the modification time attribute for all business datums that are kept on the server, if server has newly-increased business datum, the business datum that is modified or deleted business datum, the modification time attribute of these business datum correspondences promptly is modified to the current time of system;
2) after client game server success for the first time, in the Download Server with the corresponding whole business datums of client, these business datums are kept in the client terminal local, and record current time of system when server obtains described whole business datum, as update time;
3) at client terminal local once more after the game server success, server will be uploaded to update time of last login record, server is according to this update time, read the modification time attribute business datum more late than described update time, these business datums are passed to client, and client is carried out this locality to these business datums again and is revised, adds or deletion.
Further, not deleted business datum is kept in the business datum table on the server.Described business datum table is kept in the database on the server.
As preferred version of the present invention, in the step 1), described deleted business datum is moved to an other table together with its modification time attribute, as delete list.
Further, step 3) also comprises following operation: server is according to read the modification time attribute business datum more late than described update time described update time from described delete list, these business datums are passed to client, and client is carried out this locality deletion to these business datums.
Wherein, step 2) described whole business datum can comprise: corresponding to client user's master data and historical data.
Because the bandwidth of the Internet is limited, reduce client and land the time that initialization is waited for, need to reduce client from server data downloaded amount, but can not influence the data integrity of business itself.Basic thought of the present invention is: preserve identical a professional master data on the server and client side both sides, arrange and the synchronous service master data by specific interface; If the professional master data on the server is not upgraded, client directly reads from this locality, does not need to download from server, thereby reduces Internet service data communication amount.
Therefore compared to prior art, beneficial effect of the present invention is: can reduce server and client side's newsletter amount, save bandwidth, improve software operation efficiency and execution speed, thereby make the user when internet usage, no longer be subjected to the limitation of the network bandwidth, realize the quick and convenient of network application.
This method is suitable for the client second time or repeatedly lands on same PC, if land first on certain PC, that just can only download all business datums.
Description of drawings
Fig. 1 is the schematic flow sheet that reduces the method for server and client side's newsletter amount during use Internet of the present invention.
Embodiment
Below in conjunction with the more complete description the present invention of diagram, the invention provides preferred embodiment, but should not be considered to only limit among the embodiment set forth herein.
Usually in internet, applications, when the server and client side carries out the business datum communication, server can all transfer to client with corresponding business datum in its business datum table, owing to whole business datums of being correlated with will be transmitted, data volume is big, client is consuming time longer when downloading these data, makes the user need wait for the long time.
Basic thought of the present invention is: preserve identical a professional master data on the server and client side both sides, arrange and the synchronous service master data by specific interface; If the professional master data on the server is not upgraded, client directly reads from this locality, does not need to download from server, thereby reduces Internet service data communication amount.
Reduce the method for server and client side's newsletter amount in the internet, applications of the present invention, may further comprise the steps:
1) adds " modification time " attribute for all business datums that are kept in the business datum table on the server, if newly-increased business datum, the business datum that is modified or deleted business datum are arranged in the business datum table, " modification time " attribute of these business datum correspondences promptly is modified to the current time of system; Deleted business datum is moved to an other table together with its " modification time " attribute, as delete list;
2) in the downloading service tables of data of client game server success for the first time back, (read the business datum table with the corresponding whole business datums of client, data in the described delete list can regardless of), be kept in the client terminal local, and record current time of system when server obtains corresponding whole business datum, as update time; Wherein, described corresponding whole business datums can comprise: corresponding to client user's master data and historical data etc.;
3) at client terminal local once more after the game server success, update time of last registration is uploaded to server, server is according to doing following operation this update time:
A, read the business datum of " modification time " attribute than described " update time " late (newly) from delete list, these business datums are passed to client, client is carried out this locality deletion to these business datums again;
B, from professional tables of data, read " modification time " attribute than the business datum of described " update time " late (newly) (comprise and being modified or newly-increased business datum), these business datums are passed to client, client is carried out local modification to these business datums again or is added (according to the major key of data, exist then and revise, do not exist then and add).
Wherein, described business datum table is kept in the database on the server.
Fig. 1 is the flow chart of the inventive method, wherein, after the success of client terminal local game server, the service data updating time is uploaded to server, server is to judging this update time, if be sky update time, illustrate that then client is a game server first, so in the downloading service tables of data with the corresponding whole business datums of client; If be not empty update time, then read " modification time " attribute than being somebody's turn to do " update time " late business datum, these business datums are passed to client, client is carried out this locality modification to these business datums again or is added.
From above scheme as can be seen, client is when landing first, just can download whole business datums, and be kept at client terminal local, when landing once more, only need to download and the vicissitudinous business datum of client terminal local, reference be last login the time business datum is kept at update time of client terminal local.In fact the variable quantity of business datum and few is so when client is landed once more, because the business datum amount of downloading from server has significantly reduced, start initialization speed and will accelerate a lot.In internet, applications, can adopt similar method to reduce server and client side's newsletter amount, save bandwidth, improve software operation efficiency and execution speed.
The other technologies that relate among the present invention belong to the category that those skilled in the art are familiar with, and do not repeat them here.The foregoing description is the unrestricted technical scheme of the present invention in order to explanation only.Any technical scheme that does not break away from spirit and scope of the invention all should be encompassed in the middle of the patent claim of the present invention.

Claims (6)

1. reduce the method for server and client side's newsletter amount in the internet, applications, it is characterized in that this method may further comprise the steps:
1) adds the modification time attribute for all business datums that are kept on the server, if server has newly-increased business datum, the business datum that is modified or deleted business datum, the modification time attribute of these business datum correspondences promptly is modified to the current time of system;
2) after client game server success for the first time, in the Download Server with the corresponding whole business datums of client, these business datums are kept in the client terminal local, and record current time of system when server obtains described whole business datum, as update time;
3) at client terminal local once more after the game server success, server will be uploaded to update time of last login record, server is according to this update time, read the modification time attribute business datum more late than described update time, these business datums are passed to client, and client is carried out this locality to these business datums again and is revised, adds or deletion.
2. according to the method that reduces server and client side's newsletter amount in the described internet, applications of claim 1, it is characterized in that: not deleted business datum is kept in the business datum table on the server.
3. according to the method that reduces server and client side's newsletter amount in the described internet, applications of claim 2, it is characterized in that: described business datum table is kept in the database on the server.
4. according to the method that reduces server and client side's newsletter amount in the described internet, applications of claim 1, it is characterized in that: business datum deleted described in the step 1) is moved to an other table together with its modification time attribute, as delete list.
5. according to the method that reduces server and client side's newsletter amount in the described internet, applications of claim 4, it is characterized in that: step 3) also comprises following operation: server is according to described update time, from described delete list, read the modification time attribute business datum more late than described update time, these business datums are passed to client, and client is carried out this locality deletion to these business datums.
6. according to the method that reduces server and client side's newsletter amount in the described internet, applications of claim 1, it is characterized in that: step 2) described whole business datums comprise: corresponding to client user's master data and historical data.
CN2009101994047A 2009-11-26 2009-11-26 Method for reducing business communication volumes of server and client during Internet application Active CN101719904B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101994047A CN101719904B (en) 2009-11-26 2009-11-26 Method for reducing business communication volumes of server and client during Internet application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101994047A CN101719904B (en) 2009-11-26 2009-11-26 Method for reducing business communication volumes of server and client during Internet application

Publications (2)

Publication Number Publication Date
CN101719904A true CN101719904A (en) 2010-06-02
CN101719904B CN101719904B (en) 2012-07-04

Family

ID=42434419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101994047A Active CN101719904B (en) 2009-11-26 2009-11-26 Method for reducing business communication volumes of server and client during Internet application

Country Status (1)

Country Link
CN (1) CN101719904B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917482A (en) * 2010-08-23 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Information pushing method and information pushing server
CN102236707A (en) * 2011-06-28 2011-11-09 贵阳朗玛信息技术股份有限公司 Method, device and system for obtaining update data of database
CN103905441A (en) * 2014-03-28 2014-07-02 广州华多网络科技有限公司 Data acquisition method and device
WO2015010598A1 (en) * 2013-07-25 2015-01-29 Tencent Technology (Shenzhen) Company Limited Method, server, client, and system for releasing instant messaging key-value data
CN104796326A (en) * 2015-04-24 2015-07-22 广州多益网络科技有限公司 Group creating method, data loading method and device for enterprise IM
CN108536782A (en) * 2017-03-30 2018-09-14 京瓷办公信息系统株式会社 Information processing unit and information processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546365B2 (en) * 2002-04-30 2009-06-09 Canon Kabushiki Kaisha Network device management system and method of controlling same
US7962585B2 (en) * 2005-08-15 2011-06-14 Microsoft Corporation Partial item change tracking and synchronization

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917482A (en) * 2010-08-23 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Information pushing method and information pushing server
CN101917482B (en) * 2010-08-23 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of information-pushing method and Information Push Server
CN102236707A (en) * 2011-06-28 2011-11-09 贵阳朗玛信息技术股份有限公司 Method, device and system for obtaining update data of database
WO2015010598A1 (en) * 2013-07-25 2015-01-29 Tencent Technology (Shenzhen) Company Limited Method, server, client, and system for releasing instant messaging key-value data
CN104348849A (en) * 2013-07-25 2015-02-11 腾讯科技(深圳)有限公司 Instant communication key-value data issuing method, server, client and system
US9641468B2 (en) 2013-07-25 2017-05-02 Tencent Technology (Shenzhen) Company Limited Method, server, client, and system for releasing instant messaging key-value data
CN104348849B (en) * 2013-07-25 2019-06-14 腾讯科技(深圳)有限公司 Instant messaging key-value data distributing method, server, client and system
CN103905441A (en) * 2014-03-28 2014-07-02 广州华多网络科技有限公司 Data acquisition method and device
CN103905441B (en) * 2014-03-28 2017-08-25 广州华多网络科技有限公司 Data capture method and device
CN104796326A (en) * 2015-04-24 2015-07-22 广州多益网络科技有限公司 Group creating method, data loading method and device for enterprise IM
CN104796326B (en) * 2015-04-24 2018-12-28 广州多益网络股份有限公司 A kind of group creating method and device of enterprise IM
CN108536782A (en) * 2017-03-30 2018-09-14 京瓷办公信息系统株式会社 Information processing unit and information processing method

Also Published As

Publication number Publication date
CN101719904B (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN101719904B (en) Method for reducing business communication volumes of server and client during Internet application
CN105812351B (en) Realize the shared method and system of session
CN101770515B (en) Data block comparison based data updating method
CN103731483B (en) Virtual file system based on cloud computing
CN101551801B (en) Data synchronization method and data synchronization system
CN101945135A (en) Method and system for upgrading widget system
CN102665177A (en) Method, system and device for pushing application program information based on machine type matching information
CN104468811B (en) Upgrade method and device
CN104331772A (en) Process management method and system of cloud data center for achieving resource examination and approval
US20130198333A1 (en) Method and device for recording and reproducing web operation
US20130097595A1 (en) Update scanning
CN103475721A (en) System for updating digital assets and method thereof
CN100392651C (en) Universal constraining realizing method for real-time internal memory database
CN101400167A (en) Dynamic menu implementing method, apparatus and system for mobile terminal
CN103793475A (en) Distributed file system data migration method
CN105407044B (en) A kind of implementation method of the cloud storage gateway system based on NFS
CN109726038B (en) Method and apparatus for managing virtual machines
CN112394932A (en) Automatic browser webpage skin changing method and device
CN104750774A (en) Database upgrading method and device
CN104657164A (en) Method and device for updating and processing software
CN102609494B (en) Method for processing data of machine account and device
JP2013218505A (en) Communication device and system for relaying communication between client and server
CN105677579A (en) Data access method and system in cache system
CN116226905A (en) Distributed database current limiting method, current limiting device, system and electronic equipment
US20090037493A1 (en) Method and device for updating an object with copyright attribute

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant