CN101719904B - 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
CN101719904B
CN101719904B CN2009101994047A CN200910199404A CN101719904B CN 101719904 B CN101719904 B CN 101719904B CN 2009101994047 A CN2009101994047 A CN 2009101994047A CN 200910199404 A CN200910199404 A CN 200910199404A CN 101719904 B CN101719904 B CN 101719904B
Authority
CN
China
Prior art keywords
server
client
time
business datum
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.)
Active
Application number
CN2009101994047A
Other languages
Chinese (zh)
Other versions
CN101719904A (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.)
INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON
Original Assignee
INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON
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 INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON filed Critical INFORMATION TECHNOLOGY Co Ltd SHANGHAI AVCON
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 let the world become the global village, increasing application occurs on the internet, however that bandwidth remains is valuable; The Internet bandwidth of average family has only the selection of 1M or 2M to desktop, and 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 waiting for is oversize, 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 is sent;
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 checking is passed through, 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, do not have what 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 on server, preserve 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 that the present invention will solve 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 the business datum that server has newly-increased business datum, the business datum that is modified or deleted, the corresponding modification time attribute of these business datums 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 said whole business datum, as update time;
3) at client terminal local once more after the game server success; With being uploaded to update time of last login record server; Server is according to this update time; Read the modification time attribute business datum more late than said update time, these business datums are passed to client, client is carried out this locality to these business datums again and is revised, adds or deletion.
The business datum of not deleted on the server further, is kept in the business datum table.Described business datum table is kept in the database on the server.
As preferred version of the present invention, in the step 1), said business datum of being deleted 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 from said delete list, reading the modification time attribute business datum more late than said update time said update time; 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 through specific interface; If the professional master data on the server is not upgraded, client directly reads from this locality, need not download from server, thereby reduce 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 receive 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 on same PC, lands, if on certain PC, land first, 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 present invention provides preferred embodiment, but should not be considered to only limit in the embodiment of this elaboration.
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 will whole business datums of being correlated 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 through specific interface; If the professional master data on the server is not upgraded, client directly reads from this locality, need not download from server, thereby reduce 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; The business datum that if newly-increased business datum, the business datum that is modified is arranged in the business datum table or deleted, corresponding " modification time " attribute of these business datums promptly is modified to the current time of system; The business datum of being deleted 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 said 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, from delete list, read the business datum of " modification time " attribute than said " update time " late (newly), 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 said " 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 making judgement 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.
Can find out from above scheme; 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 repeat no more at this.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 the business datum that server has newly-increased business datum, the business datum that is modified or deleted, the corresponding modification time attribute of these business datums promptly is modified to the current time of system;
2) after client logon 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 said whole business datum, as update time;
3) at client terminal local once more after the game server success; With being uploaded to update time of last login record server; Server is according to this update time; Read the modification time attribute business datum more late than said update time, these business datums are passed to client, 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 said internet, applications of claim 1, it is characterized in that: the business datum of not deleted on the server is kept in the business datum table.
3. according to the method that reduces server and client side's newsletter amount in the said 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 said internet, applications of claim 1, it is characterized in that: the business datum of being 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 said internet, applications of claim 4; It is characterized in that: step 3) also comprises following operation: server is according to said update time; From said delete list, read the modification time attribute business datum more late than said 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 said 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 CN101719904A (en) 2010-06-02
CN101719904B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104348849B (en) * 2013-07-25 2019-06-14 腾讯科技(深圳)有限公司 Instant messaging key-value data distributing method, server, client and system
CN103905441B (en) * 2014-03-28 2017-08-25 广州华多网络科技有限公司 Data capture method and device
CN104796326B (en) * 2015-04-24 2018-12-28 广州多益网络股份有限公司 A kind of group creating method and device of enterprise IM
US20180286348A1 (en) * 2017-03-30 2018-10-04 Kyocera Document Solutions Inc. Information processor and information processing method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455550A (en) * 2002-04-30 2003-11-12 佳能株式会社 Network apparatus management system and its control method
CN101385017A (en) * 2005-08-15 2009-03-11 微软公司 Partial item change tracking and synchronization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455550A (en) * 2002-04-30 2003-11-12 佳能株式会社 Network apparatus management system and its control method
CN101385017A (en) * 2005-08-15 2009-03-11 微软公司 Partial item change tracking and synchronization

Also Published As

Publication number Publication date
CN101719904A (en) 2010-06-02

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
KR20200027413A (en) Method, device and system for storing data
US20180107725A1 (en) Data Storage Method and Apparatus, and Data Read Method and Apparatus
CN101945135A (en) Method and system for upgrading widget system
CN103731483A (en) Virtual file system based on cloud computing
CN102665177A (en) Method, system and device for pushing application program information based on machine type matching information
CN104468811B (en) Upgrade method and device
CN109726038B (en) Method and apparatus for managing virtual machines
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
CN105760232A (en) Offline cache method and system for IOS application
CN102486734A (en) Rich client application system
CN100392651C (en) Universal constraining realizing method for real-time internal memory database
CN103475721A (en) System for updating digital assets and method thereof
CN103714137A (en) Method and system for deleting data files
CN104657164A (en) Method and device for updating and processing software
CN103793475A (en) Distributed file system data migration method
CN105407044B (en) A kind of implementation method of the cloud storage gateway system based on NFS
CN102148839B (en) Method, device and system for managing FTP (file transfer protocol) server
CN112394932A (en) Automatic browser webpage skin changing method and device
CN111444278B (en) Data synchronization method and device and transfer server
CN109947718A (en) A kind of date storage method, storage platform and storage device
CN104750774A (en) Database upgrading method and device

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