CN104836842B - A kind of method and device of synchronous ftp server file - Google Patents

A kind of method and device of synchronous ftp server file Download PDF

Info

Publication number
CN104836842B
CN104836842B CN201510149009.3A CN201510149009A CN104836842B CN 104836842 B CN104836842 B CN 104836842B CN 201510149009 A CN201510149009 A CN 201510149009A CN 104836842 B CN104836842 B CN 104836842B
Authority
CN
China
Prior art keywords
base station
files
group
base stations
newest
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
CN201510149009.3A
Other languages
Chinese (zh)
Other versions
CN104836842A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201510149009.3A priority Critical patent/CN104836842B/en
Publication of CN104836842A publication Critical patent/CN104836842A/en
Application granted granted Critical
Publication of CN104836842B publication Critical patent/CN104836842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The present invention relates to the communications field, and more particularly to a kind of method and device of synchronous ftp server file, to solve in the prior art the problem of substantial amounts of polling operation does not retrieve the file that need to be downloaded, and causes file synchronization efficiency relatively low, this method is:The time delay average value that each base station in each group of base stations uploads MR files is counted respectively;When reaching default renewal time point, the time delay average value of MR files is uploaded according to each base station in each group of base stations respectively, determines the newest base station downloading order of corresponding base station group;Respectively according to the newest base station downloading order of each group of base stations, the file directory that each base station is corresponded in ftp server is polled, when it is determined that preserving newest MR files in file directory corresponding to one of base station, newest MR files corresponding to the base station are downloaded.Therefore invalid base station file directory poll can be effectively prevent, reduces meaningless resource overhead, improve the efficiency of file synchronization.

Description

A kind of method and device of synchronous ftp server file
Technical field
The present invention relates to the communications field, more particularly to a kind of method and device of synchronous ftp server file.
Background technology
Measurement report (Measurement Report, MR) file is one of Main Basiss for assessing wireless environment quality. According to code requirement, base station needs the MR files being collected into from each terminal uploading to FTP (File Transfer Protocol, FTP) filed on server.Specifically, base station according to every 15 minutes after the whole moment simultaneously on MR files are passed, but due to network load problem, base station equipment typically all can upload MR files using different time delays, to keep away Exempt to upload the impact to network and server simultaneously, and reach the effect for upload of staggering the time.For example, to base station IDs except 60 remainder is made For the time delay of the upload MR files of the base station.
MR file analysis softwares refer to download the software that MR files carry out business diagnosis in real time from ftp server.It is conventional MR file analysis softwares realization scheme be is downloaded according to base station catalogue from ftp server corresponding to newest MR files use In business diagnosis, i.e., do continual poll for base station catalogue.Specifically, MR analysis softwares according to base station catalogue incessantly Latest document name under each base station catalogue and the recent file name downloaded are compared, determine whether new file needs Perform down operation.
Therefore, currently existing scheme does not consider that the MR files of each base station equipment upload time delay, base station catalogue is carried out simple The way of poll, cause there is substantial amounts of polling operation not retrieve the file that need to be downloaded, and cause file synchronization efficiency relatively low.
In addition, in actual application, a ftp server administers nearly ten thousand base station equipments, therefore ftp server is protected There is substantial amounts of file, and existing MR file analyses software uses the way being polled to base station catalogue, it will cause text Part synchronous efficiency is relatively low, and directly contributes the influence to MR file analysis software processing performances.
The content of the invention
The embodiment of the present invention provides a kind of method and device of synchronous ftp server file, to solve in the prior art Substantial amounts of polling operation does not retrieve the file that need to be downloaded, and the problem of cause file synchronization efficiency relatively low.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
A kind of method of synchronous ftp server file, including:
The time delay average value that each base station in each group of base stations uploads MR files is counted respectively;
When reaching default renewal time point, MR texts are uploaded according to each base station in each described group of base stations respectively The time delay average value of part, determine the newest base station downloading order of corresponding base station group;
Respectively according to the newest base station downloading order of each group of base stations, to corresponding to each base station in ftp server File directory is polled, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, described in download Newest MR files corresponding to one base station.
Therefore invalid base station file directory poll can be effectively prevent, reduces meaningless resource overhead, improve file Synchronous efficiency.
Preferably, further comprise:
In the pre-configured stage, all base stations that the ftp server is administered are divided into the group of base stations of preset number, and set At least one renewal time point is put, wherein, each group of base stations includes the base station of default some numbers.
Preferably, before all base stations upload the time delay average value of MR files in counting a group of base stations, including:
Institute is uploaded to before the arrival of default renewal time point according to each base station in one group of base stations respectively State the file generated time of each MR files of ftp server, and each MR files are upper on the ftp server The end time is passed, obtains the upload time delay set that each described base station uploads MR files;
According to each upload time delay set of acquisition, the time delay average value that corresponding base station uploads MR files is calculated respectively.
Preferably, when reaching default renewal time point, MR is uploaded according to each base station in a group of base stations respectively The time delay average value of file, the newest base station downloading order of corresponding base station group is determined, including:
When reaching default renewal time point, according in one group of base stations each base station upload MR files when Yangjing average, the time delay average value that all base stations in one group of base stations are uploaded to MR files are arranged by order from small to large Row, and the newest base station downloading order using ranking results as one group of base stations.
Preferably, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, described one is downloaded Newest MR files corresponding to base station, including:
When it is determined that the MR files wherein preserved in file directory corresponding to a base station the file generated time be more than nearest one The file generated time of the secondary MR files downloaded for a base station, determine to preserve in file directory corresponding to a base station There are newest MR files, and download newest MR files corresponding to a base station.
A kind of device of synchronous ftp server file, including:
Statistic unit, the time delay average value of MR files is uploaded for counting each base station in each group of base stations respectively;
Updating block, for when reaching default renewal time point, respectively according to each in each described group of base stations Individual base station uploads the time delay average value of MR files, determines the newest base station downloading order of corresponding base station group;
Download unit, for respectively according to the newest base station downloading order of each group of base stations, to corresponding in ftp server The file directory of each base station is polled, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station When, download newest MR files corresponding to a base station.
Therefore invalid base station file directory poll can be effectively prevent, reduces meaningless resource overhead, improve file Synchronous efficiency.
Preferably, further comprise:
Pre-configured unit, for being divided into present count in pre-configured stage, all base stations that the ftp server is administered Purpose group of base stations, and at least one renewal time point is set, wherein, each group of base stations includes the base of default some numbers Stand.
Preferably, before all base stations upload the time delay average value of MR files in counting a group of base stations, the statistics Unit, it is further used for:
Institute is uploaded to before the arrival of default renewal time point according to each base station in one group of base stations respectively State the file generated time of each MR files of ftp server, and each MR files are upper on the ftp server The end time is passed, obtains the upload time delay set that each described base station uploads MR files;
And each upload time delay set according to acquisition, the time delay for calculating corresponding base station upload MR files respectively are averaged Value.
Preferably, when reaching default renewal time point, MR is uploaded according to each base station in a group of base stations respectively The time delay average value of file, when determining the newest base station downloading order of corresponding base station group, the updating block is specifically used for:
When reaching default renewal time point, according in one group of base stations each base station upload MR files when Yangjing average, the time delay average value that all base stations in one group of base stations are uploaded to MR files are arranged by order from small to large Row, and the newest base station downloading order using ranking results as one group of base stations.
Preferably, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, described one is downloaded Corresponding to base station during newest MR files, the download unit is specifically used for:
When it is determined that the MR files wherein preserved in file directory corresponding to a base station the file generated time be more than nearest one The file generated time of the secondary MR files downloaded for a base station, determine to preserve in file directory corresponding to a base station There are newest MR files, and download newest MR files corresponding to a base station.
Brief description of the drawings
Fig. 1 is the general introduction flow chart of synchronous ftp server file in the embodiment of the present invention;
Fig. 2 is the particular flow sheet A of synchronous ftp server file in the embodiment of the present invention;
Fig. 3 is the particular flow sheet B of synchronous ftp server file in the embodiment of the present invention;
Fig. 4 is the structural representation of synchronous ftp server file device in the embodiment of the present invention.
Embodiment
Substantial amounts of polling operation does not retrieve the file that need to be downloaded in order to solve in the prior art, causes file synchronization to be imitated The problem of rate is relatively low, the present invention provides a kind of synchronous ftp server document method and device, this method are:Count respectively each Each base station uploads the time delay average value of MR files in individual group of base stations;When reaching default renewal time point, basis respectively Each base station uploads the time delay average value of MR files in each group of base stations, determines that the newest base station download of corresponding base station group is suitable Sequence;Respectively according to the newest base station downloading order of each group of base stations, the file mesh to corresponding to each base station in ftp server Record is polled, and when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, it is corresponding to download the base station Newest MR files.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Base station uploaded MR files simultaneously according to every 15 minutes after the whole moment, but due to network load problem, base station equipment Typically all MR files can be uploaded using different time delays, to avoid uploading the impact to network and server simultaneously, and reached Stagger the time the effect of upload.
Therefore, the present invention considers that each base station uploads the different of MR files and uploads time delay, improves poll base stations catalogue Method.
Transmitting file is tactful constant in base station equipment, and when network transmission condition does not have significant change, base station uploads The time delay of MR files is that comparison is fixed, therefore, when MR file analyses software can be uploaded effectively using each base station MR files Prolong this feature that is relatively fixed, distribute base station catalogue polling priority, improve base station catalogue polling schemas, it is big so as to effectively reduce The polling operation of amount does not retrieve the file that need to be downloaded, and causes the relatively low situation of meaningless loss expense and file synchronization efficiency.
As shown in fig.1, the present invention realizes that the idiographic flow of synchronous ftp server file is:
In the pre-configured stage, all base stations that ftp server is administered are divided into the group of base stations of preset number, and set extremely A few renewal time point, wherein, each group of base stations includes the base station of default some numbers.
For example, all base stations of ftp server administration are altogether 10000, according to equipment scale, it is divided into presetting The group of base stations of number, i.e. several download threads, for example, it is divided into 10 groups, every group of 1000 base stations.Renewal time point is set for early 8 points and 8 points of evening, so setting mainly may variant, the specific time in view of the network occupancy situation in daytime and evening Point can be depending on the specific occupancy situation of network, and the renewal time point of setting can be one or more.
Step 100:The time delay average value that each base station in each group of base stations uploads MR files is counted respectively.
Specifically, before the time delay average value that each base station in counting each group of base stations uploads MR files, respectively The each of the ftp server is uploaded to before the arrival of default renewal time point according to each base station in a group of base stations The file generated time of MR files, and upload end time of each MR files on the ftp server, obtain every One base station uploads the upload time delay set of MR files.According to each upload time delay set of acquisition, distinguish on corresponding base station Pass the time delay average value of MR files.
Here the file generated time of MR files is determined according to the filename of MR files.The text of existing MR files Part name naming rule is " TD-LTE_MRO_<Vendor name>_<Device coding>_<The file generated time>.xml”.Therefore, according to File generated time in the filename of one MR file, and this document are uploaded to the upload end time on ftp server, can To obtain the upload time delay of this document.
For example, base station A to it under the base station catalogue corresponding to ftp server, upload TD-LTE_MRO_<Vendor name 1 >_<Device coding 1>_<11:45:00>.xml MR files, upload end time of this document on ftp server are 11: 45:56, therefore the upload time delay that can obtain this document is 56 seconds.
The upload time delay set of each MR files of ftp server, and of MR files are uploaded to according to a base station Number, obtain the time delay average value that the base station uploads MR files.
For example, the upload time delay of MR files is uploaded every time according to above method accounting base-station A, when uploading the upload of MR files The collection prolonged is combined into { 56s, 56s, 56s }, it is seen that the upload time delay of the base station is substantially stationary, and calculation delay average value.
Step 110:When reaching default renewal time point, uploaded respectively according to each base station in each group of base stations The time delay average value of MR files, determine the newest base station downloading order of corresponding base station group.
When reaching default renewal time point, when Yangjing of MR files is uploaded according to each base station in a group of base stations Average, the time delay average value that all base stations in a group of base stations are uploaded to MR files are arranged by order from small to large, and will row Newest base station downloading order of the sequence result as a group of base stations, the instant smaller sequence of Yangjing average is more forward, is got in poll Preferentially.
For example, with by base station A, base station B, base station C, exemplified by the group of base stations 1 of base station D compositions, their time delay average value point It is not:56s, 33s, 100s, 61s.The time delay average value is ranked up to base station from small to large, and it is suitable can to obtain newest base station download Sequence is:Base station B, base station D, base station A, base station C.
Step 120:It is each to being corresponded in ftp server respectively according to the newest base station downloading order of each group of base stations The file directory of individual base station is polled, when it is determined that preserving newest MR files in file directory corresponding to one of base station When, download newest MR files corresponding to a base station.
It needs to be noted that for the newest base station downloading order of each group of base stations, base station catalogue is carried out simultaneously respectively Poll, i.e., multiple MR file downloads threads are searched and download newest MR files simultaneously, improve the efficiency of poll.
For example, corresponding to the newest base station downloading order of group of base stations 1, base station B, base station D, base station A, base station C, FTP is taken The corresponding base station B, base station D, base station A being engaged in device, base station C file directory are polled, and determine whether newest MR files.
When it is determined that the file generated time of the MR files preserved in file directory corresponding to one of base station be more than it is nearest The file generated time for the MR files once downloaded for a base station, determine to preserve in file directory corresponding to a base station Newest MR files, and download newest MR files corresponding to a base station.
Here the file generated time of MR files is also to be obtained by the filename of MR files.
For example, the entitled TD-LTE_MRO_ of file for the MR files that base station A is uploaded recently<Vendor name 1>_<Device coding 1 >_<11:45:25>.xml, when being polled to base station A, find and a filename is saved under file directory corresponding to the A of base station For TD-LTE_MRO_<Vendor name 1>_<Device coding 1>_<12:00:43>.xml MR files, it is thus determined that this document is Newest MR files simultaneously download this document.
Refering to shown in Fig. 2 and Fig. 3, for the particular flow sheet of synchronous ftp file in the present invention.
Fig. 2 show the idiographic flow of renewal base station downloading order.
Step 201:Judge whether to reach default renewal time point, if performing step 202, otherwise perform step 203.
Exemplified by this sentences renewal time point as and 8 points of evening at early 8 points., it is necessary to each when it is determined that reaching renewal time point The newest base station downloading order of group of base stations is updated.
Step 202:The time delay average value of MR files is uploaded according to each base station in each group of base stations, updates corresponding base The base station downloading order for group of standing.
When it is determined that reaching renewal time point, when Yangjing that each base station in each group of base stations uploads MR files is counted Average.
The time delay average value of MR files is uploaded according to each base station for counting to obtain in two group of base stations 1 and 2, to two Base station downloading order in group of base stations is updated, and is obtained:
Group of base stations A newest base station downloading order, base station 3, base station 2, base station 1, base station 4.
Group of base stations B newest base station downloading order, base station 2, base station 4, base station 1, base station 3.
Step 203:Wait and reach default renewal time point.
When not reaching renewal time point, continue waiting for reaching renewal time point.
Step 204:After the base station downloading order of each group of base stations has been updated, next process cycle is waited.
Therefore, return to step 201, judge whether to reach next renewal time point.
As shown in fig.3, after renewal time point, to download the idiographic flow of newest MR files.
Step 301:Obtain the responsible base station downloading order of current thread, component initial download list.
So that currently responsible download thread is group of base stations A as an example, group of base stations A newest base station downloading order, base station 3, base Stand 2, base station 1, base station 4.
Step 302:According to file directory corresponding to each base station of download list successively poll, newest MR files are obtained.
Group of base stations A newest base station downloading order, is polled to base station 3, base station 2, base station 1, base station 4 successively
Step 303:Judge whether the file generated time with MR files is more than under base station catalogue corresponding to a base station The file of the file generated time for the MR files downloaded recently, if so, step 304 is performed, otherwise return to step 302, according to Base station downloading order inquires about file directory corresponding to next base station.
Here the method for using the file generated time included in comparison document name, it is determined whether newest to need to download MR files.When being polled to base station 2, the entitled TD-LTE_MRO_ of file for the MR files that base station 2 uploads recently<Vendor name 1>_ <Device coding 1>_<8:15:25>.xml, when being polled to base station A, find and preserve one under file directory corresponding to the A of base station The individual entitled TD-LTE_MRO_ of file<Vendor name 1>_<Device coding 1>_<8:30:43>.xml MR files, therefore judge base Standing 2 has new MR files, then downloads the MR files.
Step 304:Newest MR files are downloaded, and the MR files of this download are downloaded as respective base station is the last File.
Step 305:Calculate the upload time delay of this document.
At the end of file generated time in the filename of this document and the upload being finally uploaded on ftp server Between, calculate the upload time delay of this document.For file TD-LTE_MRO_<Vendor name 1>_<Device coding 1>_<8:30:43> .xml, it is uploaded to the upload end time point 8 of ftp server:31:14, therefore the upload time delay of this document is 31s.
As shown in fig.4, a kind of device of synchronous ftp server file, including:
Statistic unit 40, the time delay that MR files are uploaded for counting each base station in each group of base stations respectively are averaged Value;
Updating block 41, for when reaching default renewal time point, respectively according to each in each group of base stations Base station uploads the time delay average value of MR files, determines the newest base station downloading order of corresponding base station group;
Download unit 42, for respectively according to the newest base station downloading order of each group of base stations, to right in ftp server The file directory of each base station is answered to be polled, when it is determined that wherein preserving newest MR texts in file directory corresponding to a base station During part, newest MR files corresponding to the base station are downloaded.
Preferably, further comprise:
Pre-configured unit 43, in the pre-configured stage, all base stations that ftp server is administered to be divided into preset number Group of base stations, and at least one renewal time point is set, wherein, each group of base stations includes the base station of default some numbers.
Preferably, before all base stations upload the time delay average value of MR files in counting a group of base stations, statistic unit 40, it is further used for:
FTP service is uploaded to before the arrival of default renewal time point according to each base station in a group of base stations respectively The file generated time of each MR files of device, and upload end time of each MR files on ftp server, obtain every One base station uploads the upload time delay set of MR files;
And each upload time delay set according to acquisition, the time delay for calculating corresponding base station upload MR files respectively are averaged Value.
Preferably, when reaching default renewal time point, MR is uploaded according to each base station in a group of base stations respectively The time delay average value of file, when determining the newest base station downloading order of corresponding base station group, updating block 41 is specifically used for:
When reaching default renewal time point, when Yangjing of MR files is uploaded according to each base station in a group of base stations Average, the time delay average value that all base stations in a group of base stations are uploaded to MR files are arranged by order from small to large, and will row Newest base station downloading order of the sequence result as a group of base stations.
Preferably, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, the base station is downloaded During corresponding newest MR files, download unit 42 is specifically used for:
When it is determined that the MR files wherein preserved in file directory corresponding to a base station the file generated time be more than nearest one The file generated time of the secondary MR files downloaded for the base station, determine to preserve newest MR in file directory corresponding to the base station File, and download newest MR files corresponding to the base station.
In summary, the present invention improves the polling procedure to MR files, divided by counting transmitting file time delay on MR files The time delay average value of MR files is not uploaded according to each base station in each group of base stations, determines the newest base station of corresponding base station group Downloading order, and respectively according to the newest base station downloading order of each group of base stations, to corresponding to each base station in ftp server File directory be polled, so as to effectively prevent invalid base station file directory poll, reduce meaningless resource overhead, Improve the efficiency of file synchronization.
The present invention have recorded a upload delay parameter more, do not increase system in original file download flow Resource overhead, and by adding Global treatment thread, that is, different renewal time points is set, make the newest base station after renewal every time Downloading order can reflect actual network condition, fully take into account the possibility difference of Each point in time network condition.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and modification to these embodiments.So appended claims be intended to be construed to include it is excellent Select embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without departing from this hair to the embodiment of the present invention The spirit and scope of bright embodiment.So, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these changes and modification.

Claims (8)

  1. A kind of 1. method of synchronous ftp server file, it is characterised in that including:
    The time delay average value that each base station in each group of base stations uploads measurement report MR files is counted respectively;
    When reaching default renewal time point, MR files are uploaded according to each base station in each described group of base stations respectively Time delay average value, determine the newest base station downloading order of corresponding base station group;
    It is each to being corresponded in FTP ftp server respectively according to the newest base station downloading order of each group of base stations The file directory of individual base station is polled, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, Download newest MR files corresponding to a base station;
    When reaching default renewal time point, when Yangjing of MR files is uploaded according to each base station in a group of base stations respectively Average, the newest base station downloading order of corresponding base station group is determined, including:
    When reaching default renewal time point, when Yangjing of MR files is uploaded according to each base station in one group of base stations Average, the time delay average value that all base stations in one group of base stations are uploaded to MR files are arranged by order from small to large, and Newest base station downloading order using ranking results as one group of base stations.
  2. 2. the method as described in claim 1, it is characterised in that further comprise:
    In the pre-configured stage, all base stations that the ftp server is administered are divided into the group of base stations of preset number, and set extremely A few renewal time point, wherein, each group of base stations includes the base station of default some numbers.
  3. 3. the method as described in claim 1, it is characterised in that all base stations upload MR files in a group of base stations is counted Before time delay average value, including:
    The FTP is uploaded to before the arrival of default renewal time point according to each base station in one group of base stations respectively The file generated time of each MR files of server, and upload knot of each MR files on the ftp server The beam time, obtain the upload time delay set that each described base station uploads MR files;
    According to each upload time delay set of acquisition, the time delay average value that corresponding base station uploads MR files is calculated respectively.
  4. 4. the method as described in claim any one of 1-3, it is characterised in that when it is determined that file directory wherein corresponding to a base station In when preserving newest MR files, download newest MR files corresponding to a base station, including:
    When it is determined that the file generated time of the MR files wherein preserved in file directory corresponding to a base station be more than the last pin The file generated time for the MR files for downloading a base station, determine to preserve most in file directory corresponding to a base station New MR files, and download newest MR files corresponding to a base station.
  5. A kind of 5. device of synchronous ftp server file, it is characterised in that including:
    Statistic unit, the time delay average value of MR files is uploaded for counting each base station in each group of base stations respectively;
    Updating block, for when reaching default renewal time point, respectively according to each base in each described group of base stations Stand and upload the time delay average value of MR files, determine the newest base station downloading order of corresponding base station group;
    Download unit, it is each to being corresponded in ftp server for respectively according to the newest base station downloading order of each group of base stations The file directory of individual base station is polled, when it is determined that wherein preserving newest MR files in file directory corresponding to a base station, Download newest MR files corresponding to a base station;
    When reaching default renewal time point, when Yangjing of MR files is uploaded according to each base station in a group of base stations respectively Average, when determining the newest base station downloading order of corresponding base station group, the updating block is specifically used for:
    When reaching default renewal time point, when Yangjing of MR files is uploaded according to each base station in one group of base stations Average, the time delay average value that all base stations in one group of base stations are uploaded to MR files are arranged by order from small to large, and Newest base station downloading order using ranking results as one group of base stations.
  6. 6. device as claimed in claim 5, it is characterised in that further comprise:
    Pre-configured unit, for being divided into preset number in pre-configured stage, all base stations that the ftp server is administered Group of base stations, and at least one renewal time point is set, wherein, each group of base stations includes the base station of default some numbers.
  7. 7. device as claimed in claim 5, it is characterised in that all base stations upload MR files in a group of base stations is counted Before time delay average value, the statistic unit, it is further used for:
    The FTP is uploaded to before the arrival of default renewal time point according to each base station in one group of base stations respectively The file generated time of each MR files of server, and upload knot of each MR files on the ftp server The beam time, obtain the upload time delay set that each described base station uploads MR files;
    And each upload time delay set according to acquisition, the time delay average value that corresponding base station uploads MR files is calculated respectively.
  8. 8. the device as described in claim any one of 5-7, it is characterised in that when it is determined that file directory wherein corresponding to a base station In when preserving newest MR files, when downloading newest MR files corresponding to a base station, the download unit is specifically used for:
    When it is determined that the file generated time of the MR files wherein preserved in file directory corresponding to a base station be more than the last pin The file generated time for the MR files for downloading a base station, determine to preserve most in file directory corresponding to a base station New MR files, and download newest MR files corresponding to a base station.
CN201510149009.3A 2015-03-31 2015-03-31 A kind of method and device of synchronous ftp server file Active CN104836842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510149009.3A CN104836842B (en) 2015-03-31 2015-03-31 A kind of method and device of synchronous ftp server file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510149009.3A CN104836842B (en) 2015-03-31 2015-03-31 A kind of method and device of synchronous ftp server file

Publications (2)

Publication Number Publication Date
CN104836842A CN104836842A (en) 2015-08-12
CN104836842B true CN104836842B (en) 2017-12-08

Family

ID=53814471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510149009.3A Active CN104836842B (en) 2015-03-31 2015-03-31 A kind of method and device of synchronous ftp server file

Country Status (1)

Country Link
CN (1) CN104836842B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107094183B (en) * 2017-06-02 2020-11-06 中国石油大学(华东) FTP file reliable transmission method based on port hopping
CN112615918B (en) * 2020-12-16 2023-04-21 杭州迪普科技股份有限公司 Network management system and information synchronization method thereof
CN112597228A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 File processing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155395A (en) * 2006-09-26 2008-04-02 华为技术有限公司 Band width distribution method, system and device based on wireless system
CN102571451A (en) * 2012-02-16 2012-07-11 大唐移动通信设备有限公司 Network element and method for uploading MR (Measure Report) messages by network element
CN102609532A (en) * 2012-02-15 2012-07-25 大唐移动通信设备有限公司 Method and device for monitoring file directory
CN103327123A (en) * 2013-07-12 2013-09-25 北京金山云网络技术有限公司 File synchronization method, client, server side and equipment
CN104008116A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 File synchronization method and electronic device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731452A (en) * 2012-10-15 2014-04-16 鸿富锦精密工业(深圳)有限公司 File synchronization system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155395A (en) * 2006-09-26 2008-04-02 华为技术有限公司 Band width distribution method, system and device based on wireless system
CN102609532A (en) * 2012-02-15 2012-07-25 大唐移动通信设备有限公司 Method and device for monitoring file directory
CN102571451A (en) * 2012-02-16 2012-07-11 大唐移动通信设备有限公司 Network element and method for uploading MR (Measure Report) messages by network element
CN104008116A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 File synchronization method and electronic device
CN103327123A (en) * 2013-07-12 2013-09-25 北京金山云网络技术有限公司 File synchronization method, client, server side and equipment

Also Published As

Publication number Publication date
CN104836842A (en) 2015-08-12

Similar Documents

Publication Publication Date Title
EP3120569B1 (en) Manifest re-assembler for a streaming video channel
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
CN104052803A (en) Decentralized distributed rendering method and system
US20160189064A1 (en) Method and apparatus for providing seat information
CN103873507A (en) Data block uploading and storing system and method
CN104836842B (en) A kind of method and device of synchronous ftp server file
CN102223416B (en) Method and system for transmitting media file
CN108462755B (en) Method and system for downloading data resources
CN105049514B (en) A kind of document down loading method and device
CN106657383A (en) Data downloading method and relevant equipment
CN103188305B (en) A kind of multithread breakpoint continued transmission method and system
CN106131616A (en) A kind of method and device throwing in advertisement
CN112311874B (en) Media data processing method and device, storage medium and electronic equipment
CN110321383A (en) Big data platform method of data synchronization, device, computer equipment and storage medium
CN110266514A (en) Journal obtaining method, device, terminal and storage medium
CN104866339A (en) Distributed persistent management method, system and device of FOTA data
GB2526924A (en) Intelligent tool to support manual scheduling of ads
CN109086307A (en) The method and device of file process
CN105327508A (en) Network game running system and method
CN109614515B (en) Video search evaluation method and system
CN113422808B (en) Internet of things platform HTTP information pushing method, system, device and medium
CN113986276A (en) Software upgrading method, related device and storage medium
CN111031117B (en) Multimedia file downloading method and related device
CN112395337B (en) Data export method and device
CN103685295A (en) Method, terminal and system for downloading multimedia files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant