CN101964824A - Method and device for selecting uploading server - Google Patents

Method and device for selecting uploading server Download PDF

Info

Publication number
CN101964824A
CN101964824A CN2010105344252A CN201010534425A CN101964824A CN 101964824 A CN101964824 A CN 101964824A CN 2010105344252 A CN2010105344252 A CN 2010105344252A CN 201010534425 A CN201010534425 A CN 201010534425A CN 101964824 A CN101964824 A CN 101964824A
Authority
CN
China
Prior art keywords
server
file
upload
uploading
uploading speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105344252A
Other languages
Chinese (zh)
Inventor
杨凡
刘宾
周福
蒋建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Century Broadband Internet Data Center Co., Ltd.
Original Assignee
BEIJING BANYANO DATA CENTER SOLUTIONS Ltd
BEIJING CLOUDEX SOFTWARE SERVICE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING BANYANO DATA CENTER SOLUTIONS Ltd, BEIJING CLOUDEX SOFTWARE SERVICE Co Ltd filed Critical BEIJING BANYANO DATA CENTER SOLUTIONS Ltd
Priority to CN2010105344252A priority Critical patent/CN101964824A/en
Publication of CN101964824A publication Critical patent/CN101964824A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for selecting an uploading server. The method comprises the following steps of: receiving an uploading request of a user and acquiring all server addresses capable of responding to the request; uploading files with designated size to the servers corresponding to the server addresses; measuring the file uploading speeds of the servers and sorting the uploading speeds; and selecting the server with the optimal uploading speed as the uploading server. In the method and the device for selecting the uploading server, after the uploading request of the user is received, the speeds of all servers capable of responding to the uploading request are measured and sorted, and the server with the optimal uploading speed is selected as the uploading server; the uploading speed of the server is optimal, which indicates that the server is in an idle state or in a state with relatively a few tasks at the stage; therefore, the phenomenon of slow file uploading due to a blocked transmission link in the file uploading process is avoided by selecting the server as a main server.

Description

A kind of upload server system of selection and device
Technical field
The application relates to field of computer technology, particularly relates to a kind of dynamic selection method and device of upload server.
Background technology
Traditional file distributing mode is, is the center with the individual equipment, with file distributing to a plurality of equipment.In traditional file distributing mode, the client uses the ftp client of standard to carry out uploading of file by File Transfer Protocol.In this process, often only distribute to the address of the some fixedly upload servers of user, the user uploads file according to the address of server, because server may be in busy condition in some period, cause user's transmission link in the process of upload file to stop up thus, make the file upload procedure slow.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of dynamic selection method and device of upload server, the user need not to know server address, directly server that can the corresponding document upload request is tested the speed, select velocity optimal server as upload server, the situation that transmission link is stopped up can not appear in the upload file process.
Technical scheme is as follows:
A kind of system of selection of upload server comprises:
Receive user's upload request and obtain all and can respond this requested service device address;
The pairing server of described server address is uploaded the file of specifying size;
Measuring described server sorts to the uploading speed of described file and to described uploading speed;
The server of selecting the uploading speed optimum is as upload server.
Above-mentioned method, preferred, the appointment size of described file is 1MB.
Above-mentioned method, preferred, if the user carries out file and uploads in to the measuring process of described server uploading speed, determine at random that then a server is a upload server; If upload and make mistakes, then reselect uploading speed and pass through the server of uploading speed optimum in the server of measuring as upload server.
Above-mentioned method, preferred, also comprise: the user according to user's upload request, determines the uploading position of file in process that file is uploaded onto the server, file is uploaded under the assigned catalogue.
A kind of device of upload server comprises:
Address acquisition unit, tachometric survey unit and selected cell;
Wherein: described address acquisition unit is used to receive user's upload request and obtains all and can respond this requested service device address;
The server address corresponding server that described tachometric survey unit is used for that described address acquisition unit is obtained is uploaded the file of specifying size, measures described server and sorts to the uploading speed of described file and to described uploading speed;
The uploading speed that described selected cell is used for measuring according to described tachometric survey unit selects the server of uploading speed optimum as upload server.
Above-mentioned device, preferred, the appointment size of the file that described tachometric survey unit is uploaded is 1MB.
Above-mentioned device, preferred, if carrying out file in described tachometric survey unit in to the measuring process of described server uploading speed, the user uploads, determine at random that then a server is as upload server; If upload and make mistakes, then select uploading speed to pass through the server of uploading speed optimum in the server of measuring the tachometric survey unit by selected cell again as upload server.
Above-mentioned device, preferred, also comprise the catalogue determining unit;
Described catalogue determining unit is used for according to user's upload request, determining the uploading position of file in the process of user's upload file to server, file is uploaded under the assigned catalogue.
The technical scheme that is provided by above the embodiment of the present application as seen, the system of selection of upload server provided by the invention and device, receiving user's upload request, to all can respond this upload request server test the speed, and the speed that records sorted, the server of selecting the uploading speed optimum is as upload server, the uploading speed optimum of this server, illustrate that this server is in idle condition or the fewer state of task in this stage, so select this server as master server, can not occur that transmission link stops up in the process of upload file, make file upload procedure phenomenon slowly.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, the accompanying drawing that describes below only is some embodiment that put down in writing among the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the upload server system of selection that Fig. 1 provides for the embodiment of the present application;
One detail flowchart of the upload server system of selection that Fig. 2 provides for the embodiment of the present application;
The another detail flowchart of the upload server system of selection that Fig. 3 provides for the embodiment of the present application;
The structural representation of the upload server choice device that Fig. 4 provides for the embodiment of the present application;
One detailed structure schematic diagram of the upload server system of selection that Fig. 5 provides for the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of upload server system of selection and device, measures comparison by the uploading speed to server, and the server of selecting the uploading speed optimum guarantees that as upload server transmission link is unimpeded, avoids the situation that occurs stopping up.
More than be the application's core concept, understand the application's scheme better in order to make those skilled in the art person.Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment only is the application's part embodiment, rather than whole embodiment.Based on the embodiment among the application, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all should belong to the scope of the application's protection.
The flow chart of the system of selection of the upload server that the embodiment of the present application provides comprises as shown in Figure 1:
Step S101: receive user's upload request and obtain all and can respond this requested service device address;
Step S102: the pairing server of described server address is uploaded the file of specifying size;
Step S103: measure described server and sort to the uploading speed of described file and to described uploading speed;
Step S104: the server of selecting the uploading speed optimum is as upload server.
Need to prove that the appointment size of the file of above-mentioned appointment size is 1MB.
One detailed structure flow chart of the system of selection of the upload server that the embodiment of the present application provides as shown in Figure 2, on the basis of step shown in Figure 1, in step S103 implementation, upload if be used to carry out file, execution in step S105 then: determine that at random a server is a upload server, utilizes this server to carry out file and uploads; In the process of execution in step S105, proceed step S103 simultaneously: finish measurement to the server uploading speed.
Step S106: whether the uploading speed of judging the upload server of determining at random is lower than pre-set velocity, this pre-set velocity can set up mean value to determine according to the velocity amplitude of uploading speed in the past, or determine according to the minimum of uploading speed in the past, or occur in this upload server upload procedure blocking waiting for, uploading speed is zero, waits multiple situation that pre-set velocity is defined; If be not lower than pre-set velocity, then continue file is uploaded by the upload server of determining at random, otherwise, execution in step S104: select server according to the uploading speed optimum of measuring among the step S103 as upload server.
The another detailed structure flow chart of the system of selection of the upload server that the embodiment of the present application provides as shown in Figure 3, on the basis of Fig. 2, if uploading speed is not lower than pre-set velocity, at execution in step S107, when selecting the process of upload server execution upload operation at random for use, execution in step S108: according to user's upload request, determine the uploading position of file, file is uploaded under the assigned catalogue.If uploading speed is lower than pre-set velocity, execution in step S104, selection according to the server of the uploading speed optimum of measuring among the step S103 as upload server, in the upload procedure, same execution in step S108: according to being used for upload request, determine the uploading position of file, file is uploaded under the assigned catalogue.
By with as can be known to the argumentation of the system of selection of the upload server that the embodiment of the present application was provided, among the application, in the process that the file upload server is selected, abandoned traditional ftp client pattern, the user need not to know the server address that certain is fixing, the user is behind logging on client, client obtain all can be mutually should user's requested service device address, client can be uploaded the file of 1MB size to each server, and obtain the uploading speed of each server, at last server is carried out descending sort by measured uploading speed.
In the process of beginning upload file, select the server of uploading speed optimum file to be transmitted as upload server.The above-described process that tests the speed is all finished in client, and the user does not need to know the situation of carrying out of the described process that tests the speed; If the user carries out file and uploads under the uncompleted situation that tests the speed, system can select a server to carry out uploading of file as upload server at random, when upload make mistakes or link and the difference situation under, can abandon the upload server that this is selected at random, select through after testing the speed, the server of uploading speed optimum continues file is uploaded as upload server.
Simultaneously, in traditional upload procedure, the user needs select File with respect to client, and select target catalogue, newly-built catalogue etc., and in the method that the application provides, client can be sought the target directory of file automatically, and implementation method is to load identifying code in the file of transmission, wherein the assigned catalogue of identification document, the user only need import target directory, and client can be uploaded to file under the designated directory automatically.
The structural representation of the upload service apparatus that the embodiment of the present application provides as shown in Figure 4, comprising:
Address acquisition unit 201, tachometric survey unit 202 and selected cell 203;
Wherein: described address acquisition unit 201 is used to receive user's upload request and obtains all and can respond this requested service device address;
Described tachometric survey unit 202 is used for the server address corresponding server that described address acquisition unit 201 is obtained is uploaded the file of specifying size, measures described server and sorts to the uploading speed of described file and to described uploading speed;
Described selected cell 203 is used for selecting the server of uploading speed optimum as upload server according to the uploading speed that described tachometric survey unit 202 is measured.
Need to prove that the appointment size of the file that described tachometric survey unit 202 is uploaded is 1MB.
Among the embodiment of the upload server choice device that the embodiment of the present application provides,, determine at random that then a server is as upload server if the user carries out file and uploads in the measuring process of the 202 pairs of described server uploading speeds in described tachometric survey unit; If upload and make mistakes, then select uploading speeds to pass through the server of uploading speed optimum in the server of measuring tachometric survey unit 202 by selected cell 203 again as upload server.
One detailed structure schematic diagram of the upload server choice device that the embodiment of the present application provides also comprises catalogue determining unit 204 as shown in Figure 5;
Described catalogue determining unit 204 is used for according to user's upload request, determining the uploading position of file in the process of user's upload file to server, file is uploaded under the assigned catalogue.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is difference with other embodiment.The above only is the application's a embodiment; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection range.

Claims (8)

1. the system of selection of a upload server is characterized in that, comprising:
Receive user's upload request and obtain all and can respond this requested service device address;
The pairing server of described server address is uploaded the file of specifying size;
Measuring described server sorts to the uploading speed of described file and to described uploading speed;
The server of selecting the uploading speed optimum is as upload server.
2. method according to claim 1 is characterized in that, the appointment size of described file is 1MB.
3. method according to claim 1 is characterized in that, if the user carries out file and uploads in to the measuring process of described server uploading speed, determines at random that then a server is a upload server; If upload and make mistakes, then reselect uploading speed and pass through the server of uploading speed optimum in the server of measuring as upload server.
4. method according to claim 1 is characterized in that, also comprises: the user according to user's upload request, determines the uploading position of file in process that file is uploaded onto the server, file is uploaded under the assigned catalogue.
5. the device of a upload server is characterized in that, comprising:
Address acquisition unit, tachometric survey unit and selected cell;
Wherein: described address acquisition unit is used to receive user's upload request and obtains all and can respond this requested service device address;
The server address corresponding server that described tachometric survey unit is used for that described address acquisition unit is obtained is uploaded the file of specifying size, measures described server and sorts to the uploading speed of described file and to described uploading speed;
The uploading speed that described selected cell is used for measuring according to described tachometric survey unit selects the server of uploading speed optimum as upload server.
6. device according to claim 5 is characterized in that, the appointment size of the file that described tachometric survey unit is uploaded is 1MB.
7. device according to claim 5 is characterized in that, uploads if the user carries out file in described tachometric survey unit in to the measuring process of described server uploading speed, determines at random that then a server is as upload server; If upload and make mistakes, then select uploading speed to pass through the server of uploading speed optimum in the server of measuring the tachometric survey unit by selected cell again as upload server.
8. device according to claim 5 is characterized in that, also comprises the catalogue determining unit;
Described catalogue determining unit is used for according to user's upload request, determining the uploading position of file in the process of user's upload file to server, file is uploaded under the assigned catalogue.
CN2010105344252A 2010-11-05 2010-11-05 Method and device for selecting uploading server Pending CN101964824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105344252A CN101964824A (en) 2010-11-05 2010-11-05 Method and device for selecting uploading server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105344252A CN101964824A (en) 2010-11-05 2010-11-05 Method and device for selecting uploading server

Publications (1)

Publication Number Publication Date
CN101964824A true CN101964824A (en) 2011-02-02

Family

ID=43517553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105344252A Pending CN101964824A (en) 2010-11-05 2010-11-05 Method and device for selecting uploading server

Country Status (1)

Country Link
CN (1) CN101964824A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023087A (en) * 2014-06-26 2014-09-03 北京金和软件股份有限公司 Polling method and device among multiple servers
CN106487768A (en) * 2015-08-31 2017-03-08 北京国双科技有限公司 A kind of file sharing method and device
CN111698130A (en) * 2020-06-10 2020-09-22 上海聪链信息科技有限公司 Block chain server operation information uploading method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1425990A (en) * 2001-12-13 2003-06-25 杨磊 File cocurrent downloading technology for Internet multiple servers
KR20030096167A (en) * 2003-11-26 2003-12-24 (주) 소프트길드 A system is possible to check reception result that send a big-capacity file to an addressee
CN101227460A (en) * 2007-01-19 2008-07-23 秦晨 Method for uploading and downloading distributed document and apparatus and system thereof
CN101488974A (en) * 2009-02-25 2009-07-22 深圳创维数字技术股份有限公司 P2P resource providing method, system and P2P directory server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1425990A (en) * 2001-12-13 2003-06-25 杨磊 File cocurrent downloading technology for Internet multiple servers
KR20030096167A (en) * 2003-11-26 2003-12-24 (주) 소프트길드 A system is possible to check reception result that send a big-capacity file to an addressee
CN101227460A (en) * 2007-01-19 2008-07-23 秦晨 Method for uploading and downloading distributed document and apparatus and system thereof
CN101488974A (en) * 2009-02-25 2009-07-22 深圳创维数字技术股份有限公司 P2P resource providing method, system and P2P directory server

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023087A (en) * 2014-06-26 2014-09-03 北京金和软件股份有限公司 Polling method and device among multiple servers
CN106487768A (en) * 2015-08-31 2017-03-08 北京国双科技有限公司 A kind of file sharing method and device
CN111698130A (en) * 2020-06-10 2020-09-22 上海聪链信息科技有限公司 Block chain server operation information uploading method and system
CN111698130B (en) * 2020-06-10 2023-05-05 上海聪链信息科技有限公司 Block chain server operation information uploading method and system thereof

Similar Documents

Publication Publication Date Title
CN105991459B (en) CDN node returns source route distribution method, device and system
CN109218133A (en) Network speed testing system, method, apparatus and computer readable storage medium
CN106027410B (en) A kind of method and device of controller load balancing
CN102598757B (en) System and method for automatically addressing devices on a communication network
CN104394441A (en) Video content distribution scheduling method, device and system
CN108399114A (en) A kind of system performance testing method, apparatus and storage medium
CN109542746B (en) Pressure testing method and system and server pressure testing system
CN107196781B (en) Security configuration checking task allocation method and device
CN104184617A (en) Method, device and system for configuring pre-emphasis for interconnection equipment and network device
US10142116B2 (en) Inspection device and method for powered devices in a power over Ethernet system
CN104660465A (en) Multi-DUT parallel test method and system
CN109921925B (en) Dial testing method and device
CN108108296A (en) A kind of cloud test method, server and client
CN101964824A (en) Method and device for selecting uploading server
CN108563562A (en) Test method, device, computer equipment and the storage medium of distributed system
CN104702664B (en) Method and system for controlling task server
CN109284229A (en) A kind of dynamic adjusting method and relevant device based on QPS
CN108063685A (en) Log analysis method and device
CN105872001A (en) Data transmission method and device based on P2P network
CN105243078B (en) A kind of distribution method of file resource, system and device
CN105607588A (en) Test control method, test control device and test system
CN106370955B (en) USB PD protocol-based adapter detection method and device
CN106713163A (en) Method and apparatus for deploying server load
CN105830509B (en) Mobile terminal locating method, base station and node
CN106254470A (en) Distributed job burst distribution 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
ASS Succession or assignment of patent right

Owner name: BEIJING CENTURY BROADBAND INTERNET DATA CENTER CO.

Free format text: FORMER OWNER: BEIJING CLOUDEX SOFTWARE SERVICES CO., LTD.

Effective date: 20120921

Free format text: FORMER OWNER: BEIJING BANYANO DATA CENTER SOLUTIONS LTD.

Effective date: 20120921

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120921

Address after: 100015, No. 5, building 1, 3 East Road, Jiuxianqiao Road, Beijing, Chaoyang District

Applicant after: Beijing Century Broadband Internet Data Center Co., Ltd.

Address before: 100015 No. 5, building 5, building 1, Jiuxianqiao East Road, Chaoyang District, Beijing

Applicant before: Beijing CloudEx Software Service Co., Ltd.

Applicant before: Beijing BANYANO Data Center Solutions Ltd.

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110202