CN101714941B - Data updating method and data cache server - Google Patents
Data updating method and data cache server Download PDFInfo
- Publication number
- CN101714941B CN101714941B CN2008102235222A CN200810223522A CN101714941B CN 101714941 B CN101714941 B CN 101714941B CN 2008102235222 A CN2008102235222 A CN 2008102235222A CN 200810223522 A CN200810223522 A CN 200810223522A CN 101714941 B CN101714941 B CN 101714941B
- Authority
- CN
- China
- Prior art keywords
- data
- mobile device
- information
- destination
- server
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000009191 jumping Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a data updating method and a data cache server. The data updating method comprises the following steps: receiving a first data updating command from mobile equipment and transmitting first updated data to the mobile equipment; acquiring the destination information and arrival time of the mobile equipment; generating a second data updating command according to the destination information and arrival time; and sending the second data updating command to the destination data cache server at the destination of the mobile equipment to allow the destination data cache server to complete updating second updated data within a certain time error range before the arrival time, wherein the second updated data refers to the updated data which are from a data source server and required to be acquired by the mobile equipment at the destination. By fully using the characteristic that the mobility of the mobile equipment is expectable, the updating efficiency is improved greatly.
Description
Technical field
The present invention relates to the communications field, relate in particular to a kind of data-updating method and metadata cache server.
Background technology
Sketch map with reference to " move upgrades synchronously " in the application scenarios shown in Figure 1.In order to accelerate the content that mobile device M obtains the renewal of data source fast, used one " metadata cache server " device in this system.The periodic update content of downloading remote data source under the default situation of metadata cache server, thus make that the content of local cache is up-to-date as much as possible.In the process that this move upgrades synchronously, the metadata cache server periodically upgrades.
Periodic update method advantage is to realize that simply its shortcoming is the most effectively to download to up-to-date content for mobile device M: oversize if the update cycle is provided with, then possibly cause the problem that data are outmoded; And, then can cause certain network resources waste, inefficiency if the update cycle is shorter.
Under some certain applications scenes (content synchronization between the caching server of for example train-installed caching server and platform), the translational speed of mobile device M, moving direction and when can arrive where caching server can accurately be expected.Under this application scenarios, embodiments of the invention have proposed a kind of specific metadata cache server update strategy, to improve the operational efficiency of system.
Summary of the invention
One or more problems in view of the above; A kind of data-updating method and metadata cache server have been proposed; Purpose is: have under the situation of the ability of confirming the time that the next stop is required with arriving the next stop when setting out in advance to make arrangements at mobile device, can improve the update efficiency of mobile device.
According to an aspect of the present invention, a kind of data-updating method is provided, has been applied to the system that mobile device and metadata cache server are formed, may further comprise the steps:
Reception is sent first to said mobile device and is Updated Information from first Data Update instruction of said mobile device;
Obtain the destination information and the due in of said mobile device;
Generate the instruction of second Data Update according to said destination information and said due in; And
Destination data caching server to the destination that is positioned at said mobile device sends said second Data Update instruction; So that said destination data caching server; Before said due in the certain hour error range; Completion is to second download that Update Information, and said second Updates Information to from data source server, and said mobile device Updates Information what said destination need obtain.
Preferably, the said step that generates the instruction of second Data Update according to said destination information and said due in is specially:
Confirm said destination data caching server according to said destination information;
Generate said second Data Update instruction according to said mobile device sign and said due in.
Preferably, said method also comprises:
The mobile device sign that obtains said mobile device and the said mobile device current data after completion is to said first reception that Update Information is new situation information more;
Carry more new situation information of said mobile device sign and said current data in said second update instruction.
Preferably, said data comprise one or more in the following information: webpage, video, and music.
According to another aspect of the present invention, a kind of metadata cache server is provided also, has comprised:
Data update module is used to receive first Data Update instruction from mobile device, sends first to said mobile device and Updates Information;
Mobile device information acquisition module is used to obtain the destination information and the due in of said mobile device;
The Data Update command generation module is used for generating the instruction of second Data Update according to said destination information and said due in; And
The Data Update instruction sending module; Be used for sending said second Data Update instruction to the destination data caching server of the destination that is positioned at said mobile device; So that said destination data caching server in the certain hour error range, is accomplished the download that Updates Information to second before said due in; Said second Updates Information to from data source server, and said mobile device Updates Information what said destination need obtain.
Preferably, said mobile device information acquisition module, the mobile device sign that also is used to obtain said mobile device and the said mobile device current data after completion is to said first reception that Update Information is new situation information more;
Said Data Update command generation module also is used for when generating said second update instruction, in said second update instruction, carrying more new situation information of said mobile device sign and said current data.
Preferably, said data comprise one or more in the following information: webpage, video, and music.
According to embodiments of the invention; At least can realize following beneficial effect: the time that arrives the destination when next stop metadata cache server through notice destination data caching server mobile device; The destination data caching server was started from data source server data downloaded updating task in the suitable moment; So that in the regular hour error range; When mobile device arrives the destination, be latest data from Updating Information of destination data caching server download, improved the update efficiency of mobile device.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the sketch map that carries out Data Update according to the data update system of prior art;
Fig. 2 is the structure chart according to the metadata cache server of the embodiment of the invention; And
Fig. 3 is the sketch map that carries out Data Update according to the data update system of the embodiment of the invention.
Embodiment
With reference to accompanying drawing, specify embodiment of the present invention below.
Embodiments of the invention provide a kind of data-updating method, are applied to the system that mobile device and metadata cache server are formed, and may further comprise the steps:
S100 receives first Data Update instruction from said mobile device, sends first to said mobile device and Updates Information;
S200 obtains the destination information and the due in of said mobile device;
S300 generates the instruction of second Data Update according to said destination information and said due in; And
S400 sends said second Data Update instruction to the destination data caching server of the destination that is positioned at said mobile device; So that said destination data caching server; Before said due in the certain hour error range; Completion is to second download that Update Information, and said second Updates Information to from data source server, and said mobile device Updates Information what said destination need obtain.
Wherein, step 300 is specially:
S310 confirms said destination data caching server according to said destination information;
S320 generates said second Data Update instruction according to said mobile device sign and said due in.
Preferably, said method also comprises:
The mobile device sign that S500 obtains said mobile device and the said mobile device current data after completion is to said first reception that Update Information is new situation information more;
Carry more new situation information of said mobile device sign and said current data in said second update instruction.
Wherein, said data comprise one or more in the following information: webpage, video, and music.
As shown in Figure 2, embodiments of the invention also provide a kind of metadata cache server, comprising:
Data update module 10 is used to receive first Data Update instruction from mobile device, sends first to said mobile device and Updates Information;
Mobile device information acquisition module 20 is used to obtain the destination information and the due in of said mobile device;
Data Update command generation module 30 is used for generating the instruction of second Data Update according to said destination information and said due in; And
Data Update instruction sending module 40; Be used for sending said second Data Update instruction to the destination data caching server of the destination that is positioned at said mobile device; So that said destination data caching server in the certain hour error range, is accomplished the download that Updates Information to second before said due in; Said second Updates Information to from data source server, and said mobile device Updates Information what said destination need obtain.
Wherein, said mobile device information acquisition module 20, the mobile device sign that also is used to obtain said mobile device and the said mobile device current data after completion is to said first reception that Update Information is new situation information more;
Said Data Update command generation module 30 also is used for when generating said second update instruction, in said second update instruction, carrying more new situation information of said mobile device sign and said current data.
Preferably, said data comprise one or more in the following information: webpage, video, and music.
Fig. 3 is the sketch map that carries out Data Update according to the data update system of the embodiment of the invention.As shown in Figure 3, data update system comprises: data source S is used to store mobile device and carries out the required data of Data Update; Mobile device M; It has in the ability of confirming the time that the next stop is required with arriving the next stop when setting out in advance to make arrangements; And be used to receive from working as next stop metadata cache data in server to carry out Data Update corresponding to what ought set out in advance to make arrangements; And be used for after Data Update finishes, through notifying next stop metadata cache server mobile device sign when next stop metadata cache server, arriving the required time of the next stop and as the current data of the mobile device of optional information new situation more corresponding to the next stop; When next stop metadata cache server A, be used for downloading mobile device and carry out the required data of Data Update from data source; And next stop metadata cache server B, when mobile device arrived the next stop, next stop metadata cache server was used for carrying out the required data of Data Update as the new next stop metadata cache server of working as from data source download mobile device.
Wherein, metadata cache server in the next stop is as carrying out the required data of Data Update when the next stop metadata cache server times prior required in the arrival next stop from data source download mobile device.Wherein, data comprise one or more in the following information: webpage, video, and music.
Refer again to Fig. 3 and describe the data-updating method according to the embodiment of the invention, this method may further comprise the steps:
Mobile device M has upgraded up-to-date content synchronously on the metadata cache server A;
Mobile device M sends " moving an indication " message and gives the metadata cache server A then, and this message comprises the destination B of next jumping of mobile device M and the time t of arrival;
The metadata cache server A is received after " moving indication " message; Know that the metadata cache server corresponding to next jumping of mobile device M is B; So send " upgrading indication " message to the metadata cache server B, comprise the sign of mobile device M and the t time of advent of mobile device M in this message;
The metadata cache server B is according to the update time of content server (data source) and the t time of advent of mobile device M selecting a best time to carry out the more newly downloaded of content;
Mobile device M is moving, and will arrive the metadata cache server B in moment t;
Mobile device M arrives after the metadata cache server B, and mobile device M downloads up-to-date update content from the metadata cache server B, accomplishes the synchronous renewal of content;
Mobile device M sends " moving an indication " message and gives the metadata cache server B then, this message comprise next jumping of mobile device M destination C and the time of advent tt.Follow-up operating procedure repeats above process.
Describe below according to another embodiment of the present invention.
New applied environment such as bullet train to on-vehicle information service have higher requirement, except entertainment forms such as traditional in-car TV, broadcasting, the passenger has more produced demand to the information service of personalization.Along with further popularizing of the terminal equipment of configuration such as notebook WiFi, in train, making up broadband wireless environment such as WiFi has become a trend for the user provides personalized information and entertainment service, and has also partly carried out experiment.
Adopt unstable, the drawbacks such as speed is low, expensive of wide area wireless network link in bullet train is used in order to overcome; Also there is the part experimental system to propose to be the mode of the vehicle-mounted caching server of train configuration; Through the part web page contents is buffered on the vehicle-mounted caching server; The user is the content of the vehicle-mounted caching server of high speed access the inside (webpage, video, and music etc.) directly, thereby improves the user experience that the passenger visits these information contents.
Shift to an earlier date the cache web pages content through setting up server on the platform AT STATION; And utilize the train intermittence to carry out content synchronization fast through the time at big station, train-installed content caching server and platform content caching server; This method possesses the characteristics that cost is low, efficient is high, and very strong manageability is arranged.This embodiment is that a kind of being applicable to upgraded the data-updating method of platform cache contents under this application scenarios efficiently.
Content on the metadata cache server on the platform is from the data source of outside, and this data source can be the website of website, certain news or content supplier on the Internet etc.Metadata cache server on the platform is downloaded the up-to-date content of these external data sources as much as possible, offers vehicle-mounted caching server then.
Carry out update content between the metadata cache server on train-installed caching server (mobile device M) and the platform relatively; Then with the content delivery of " renewal " on the metadata cache server on the platform to vehicle-mounted caching server, thereby make that the cache contents on vehicle-mounted is new as much as possible.Train is intermittent through the station, and its time through specific station is basic fixed.In this embodiment; Utilize this characteristics; Through a series of flow processs; Let the platform metadata cache server at corresponding station before train arrives, from external data source, download up-to-date data content as far as possible accurately, thereby make when train arrives this platform, can download up-to-date content from this platform metadata cache server.
Committed step in the above process comprises: upgrade current up-to-date service content on the metadata cache server of train from the current platform synchronously, comprise webpage, video, audio frequency etc.; Train is notified the server of the metadata cache on the current platform with where oneself when arriving the information at station, and the metadata cache server is with the sign of this train platform metadata cache server with the station of notifying its time of advent this train to be about to arrive, following station certainly; The platform metadata cache server of the next stop goes data source to download up-to-date data content according to train the time of advent, guarantees that as far as possible this content is up-to-date before train arrives; When train arrives " next stop "; The renewal of the content of the metadata cache server on the platform of " next stop " is accomplished; Thereby train-installed caching server just can be accomplished the renewal of vehicle-mounted caching server content directly from the up-to-date content-data of metadata cache server acquisition of platform.Train passenger just can have been visited on the vehicle-mounted caching server what be new.
In the present invention; Through (for example in some certain applications scenes; Content synchronization between train-installed caching server and the platform metadata cache server) in; Use following steps: when mobile device M and current metadata cache server content upgrade synchronously finish after, it will oneself next jumping will be synchronous information such as server, the time of advent clearly circulate a notice of to current data in synchronization caching server; The content that current metadata cache server has upgraded this mobile device and when can connect Next Hop Server and carry out the server that synchronous information notifies next jumping to connect with the mode of " upgrading indication "; Next Hop Server receives that current server " upgrades indication " afterwards, will before mobile device M arrives, accomplish up-to-date Data Update.That is, be the characteristics that can expect through the mobility that makes full use of mobile device, can improve updating efficiency greatly.
More than be merely the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. a data-updating method is applied to the system that mobile device and metadata cache server are formed, and it is characterized in that, may further comprise the steps:
Reception is sent first to said mobile device and is Updated Information from first Data Update instruction of said mobile device;
Obtain the destination information and the due in of said mobile device;
Generate the instruction of second Data Update according to said destination information and said due in, wherein, said second Data Update instruction comprises said due in; And
Destination data caching server to the destination that is positioned at said mobile device sends said second Data Update instruction; So that said destination data caching server; Before said due in the certain hour error range; Completion is to second download that Update Information, and said second Updates Information to from data source server, and said mobile device Updates Information what said destination need obtain.
2. method according to claim 1 is characterized in that, the said step that generates the instruction of second Data Update according to said destination information and said due in is specially:
Confirm said destination data caching server according to said destination information;
Generate said second Data Update instruction according to mobile device sign and said due in.
3. method according to claim 1 and 2 is characterized in that, said method also comprises:
The mobile device sign that obtains said mobile device and the said mobile device current data after completion is to said first reception that Update Information is new situation information more;
Carry more new situation information of said mobile device sign and said current data in said second update instruction.
4. method according to claim 1 is characterized in that, said data comprise one or more in the following information: webpage, video, and music.
5. a metadata cache server is characterized in that, comprising:
Data update module is used to receive first Data Update instruction from mobile device, sends first to said mobile device and Updates Information;
Mobile device information acquisition module is used to obtain the destination information and the due in of said mobile device;
The Data Update command generation module is used for generating the instruction of second Data Update according to said destination information and said due in, and wherein, said second Data Update instruction comprises said due in; And
The Data Update instruction sending module; Be used for sending said second Data Update instruction to the destination data caching server of the destination that is positioned at said mobile device; So that said destination data caching server in the certain hour error range, is accomplished the download that Updates Information to second before said due in; Said second Updates Information to from data source server, and said mobile device Updates Information what said destination need obtain.
6. metadata cache server according to claim 5; It is characterized in that; Said mobile device information acquisition module, the mobile device sign that also is used to obtain said mobile device and the said mobile device current data after completion is to said first reception that Update Information is new situation information more;
Said Data Update command generation module also is used for when generating said second update instruction, in said second update instruction, carrying more new situation information of said mobile device sign and said current data.
7. according to claim 5 or 6 described metadata cache servers, it is characterized in that said data comprise one or more in the following information: webpage, video, and music.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008102235222A CN101714941B (en) | 2008-10-06 | 2008-10-06 | Data updating method and data cache server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2008102235222A CN101714941B (en) | 2008-10-06 | 2008-10-06 | Data updating method and data cache server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101714941A CN101714941A (en) | 2010-05-26 |
| CN101714941B true CN101714941B (en) | 2012-06-06 |
Family
ID=42418231
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2008102235222A Active CN101714941B (en) | 2008-10-06 | 2008-10-06 | Data updating method and data cache server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101714941B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101751798B1 (en) * | 2011-10-04 | 2017-07-11 | 현대모비스 주식회사 | Method correcting time error when Cluster for Hybrid vehicle and AVN System Display Data |
| CN103139279B (en) * | 2011-12-05 | 2016-02-24 | 阿里巴巴集团控股有限公司 | file access method and system |
| CN103401755A (en) * | 2013-08-15 | 2013-11-20 | 山东神思电子技术股份有限公司 | Method for data transmission in virtual communication link |
| CN106170967B (en) * | 2014-12-30 | 2019-10-18 | 华为技术有限公司 | A media resource transmission device and method |
| CN106101229B (en) * | 2016-06-15 | 2019-12-13 | 北京众享比特科技有限公司 | Data synchronization network and method |
| CN115150411A (en) * | 2021-03-31 | 2022-10-04 | 华为技术有限公司 | Method and apparatus for data synchronization |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1397900A (en) * | 2001-07-19 | 2003-02-19 | 英业达股份有限公司 | Data updating method and system |
| CN1481512A (en) * | 2000-12-15 | 2004-03-10 | Ŭ���Ƽ�����˾ | Location-based weather nowcast system and method |
| CN1499414A (en) * | 2002-11-07 | 2004-05-26 | 国际商业机器公司 | Method and system for providing enhanced mobile system diagnosis |
| CN1794721A (en) * | 2005-07-27 | 2006-06-28 | 华为技术有限公司 | Method and device of unloading medium object at appointed time |
-
2008
- 2008-10-06 CN CN2008102235222A patent/CN101714941B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1481512A (en) * | 2000-12-15 | 2004-03-10 | Ŭ���Ƽ�����˾ | Location-based weather nowcast system and method |
| CN1397900A (en) * | 2001-07-19 | 2003-02-19 | 英业达股份有限公司 | Data updating method and system |
| CN1499414A (en) * | 2002-11-07 | 2004-05-26 | 国际商业机器公司 | Method and system for providing enhanced mobile system diagnosis |
| CN1794721A (en) * | 2005-07-27 | 2006-06-28 | 华为技术有限公司 | Method and device of unloading medium object at appointed time |
Non-Patent Citations (2)
| Title |
|---|
| JP特开2008-3829A 2008.01.10 |
| JP特开平10-254749A 1998.09.25 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101714941A (en) | 2010-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101714941B (en) | Data updating method and data cache server | |
| US9703545B2 (en) | Method and system for updating in-vehicle navigation map, in-vehicle navigation device and mobile terminal | |
| CN101571809B (en) | Implementation method of plug-in registration and device thereof | |
| CN103399967B (en) | Software recommendation method, system and server | |
| CN102109989A (en) | Method, device and system for controlling browser cache | |
| US8170540B2 (en) | System and methods for remotely upgrading software applications | |
| CN104539668A (en) | Method and system for remotely updating software programs in a vehicle | |
| CN103516772B (en) | A kind of advertisement sending method based on vehicle-mounted radio application and system | |
| CN103716390A (en) | Method and terminal for data sharing | |
| CN103678319A (en) | Resource file updating method, device and system and server | |
| CN102833350A (en) | Processing method and processing device of WebApp updating | |
| CN103476002A (en) | Method and device for data interaction | |
| CN104144466A (en) | Access method for sensor in Internet of Things, Internet of Things system and server | |
| KR20150087390A (en) | Advertisement processing method and device | |
| CN101656739B (en) | Method, system and equipment for updating assembly | |
| CN101472050A (en) | Method and system for updating software, digital television receive terminal and server | |
| CN102025708A (en) | Upgrade method, device and system | |
| CN101902439A (en) | Method, system and device for updating business server information on client | |
| CN103595782A (en) | Distributed storage system and method for downloading files thereof | |
| CN105491132A (en) | File server, terminal and file subpackage transmission method | |
| CN101272204B (en) | A method for updating electronic business guide and its terminal | |
| CN101980503A (en) | Method, device and system for managing widget application | |
| CN101594369A (en) | In dynamic content distribution service, realize synchronous method and the terminal of channel content | |
| CN101164324A (en) | Location-based telephone directory | |
| CN106990988A (en) | The method and device that a kind of program updates |
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 |