CN103023903B - Data transmission method and server - Google Patents

Data transmission method and server Download PDF

Info

Publication number
CN103023903B
CN103023903B CN201210533663.0A CN201210533663A CN103023903B CN 103023903 B CN103023903 B CN 103023903B CN 201210533663 A CN201210533663 A CN 201210533663A CN 103023903 B CN103023903 B CN 103023903B
Authority
CN
China
Prior art keywords
client
address
data
region
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.)
Expired - Fee Related
Application number
CN201210533663.0A
Other languages
Chinese (zh)
Other versions
CN103023903A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210533663.0A priority Critical patent/CN103023903B/en
Publication of CN103023903A publication Critical patent/CN103023903A/en
Application granted granted Critical
Publication of CN103023903B publication Critical patent/CN103023903B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data transmission method and a server and relates to the technical field of network communication. The data transmission method includes: receiving a data transmission request of a client side; obtaining the network attribute information corresponding to the internet protocol (IP) address of the client side according to the IP address of the client side; selecting a data service computer room with the fastest data transmission speed relative to the client side from a plurality of data service computer rooms deployed at all positions according to the obtained network attribute information; and returning the access address of the selected data service computer room to the client side to lead the client side to transmit data to a data server arranged in the data service computer room. By adopting the data transmission method and the server, the address of the data service computer room with the fastest data transmission speed can be supplied to the client side, data transmission speed and success rate are improved, and further user experience is improved.

Description

A kind of data transmission method and server
Technical field
The present invention relates to network communication technology field, and in particular to a kind of data transmission method and server.
Background technology
Data transfer in the Internet includes that client is published papers under network side to transmitting file on network side and client Part.
It is existing it is a kind of provide Internet data transmission service scheme be:Single machine room provides upload service.Fig. 1 is existing The single machine room for having technology provides the schematic diagram of the scheme of upload service.As shown in figure 1, only one of which machine room is carried in this scheme For file upload services, the client upload request of all users is all sent to the server in this machine room.This scheme Under, when unique machine room is out of order, will be unable to provide any service, and the number of users that single machine room can be serviced is limited.
It is existing it is another kind of Internet data transmission service is provided scheme be:Multiple spot machine room fixed allocation.Fig. 2 is existing Multiple spot machine room in technology provides the schematic diagram of the scheme of upload service.As shown in Fig. 2 there is multiple machine rooms to provide in this scheme Upload service, each client are regularly assigned to corresponding upload service machine room, when a client needs upper transmitting file, File is fixed the server uploaded in correspondence upload service machine room.Under this scheme, a client upload file it is upper It is fixed to pass service machine room, it is possible that not providing the user with the service of optimum, for example, belongs to the machine room and category of operator A File upload services are provided in the machine room of operator B, a certain user of operator A has been assigned to the machine room of operator B, then The client of the user can only be by the server in the machine room of files passe to operator B, it is clear that do not arrive files passe The machine room efficiency high of operator A.Also, in this scheme, when the amount of storage over loading of certain machine room, can only be by moving Divert from one use to another family and carry out solve problem, and migrated userses cost is big, risk is high.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on State a kind of data transmission method and server of problem.
According to one aspect of the present invention, there is provided a kind of data transmission method, wherein, the method includes:Receive client The data transfer request at end, according to the corresponding network attribute information of IP address that the IP address of the client obtains the client; Then according to acquired network attribute information, select for the visitor from the multiple data, services machine rooms for being deployed in each position The most quick data server room of data transfer for the end of family;The reference address of selected data, services machine room is returned Give the client so that the client transfers data to the data server in the data, services machine room.
Alternatively, the corresponding network attribute information of the IP address of the client includes:Regional information and operator's informaiton.Should The multiple data, services machine rooms for being deployed in each position belong to different operators and are distributed in different regions.
Alternatively, the corresponding network attribute information bag of IP address for the client being obtained according to the IP address of the client Include:The IP address section belonging to the IP address of the client is searched from IP information banks, and is obtained correspondingly with the IP address section Domain information and operator's informaiton.Wherein, the record per bar in IP information banks includes that IP address section and the IP address section are corresponding Regional information and operator's informaiton, IP address section include the start ip address of the IP address section and cut-off IP address.
Alternatively, according to acquired network attribute information, from being deployed in multiple data, services machine rooms of each position The most quick data server room of data transfer for the client is selected to include:According to the IP address of the client Corresponding operator's informaiton, finds out the data, services machine room for belonging to the operator;It is corresponding according to the IP address of the client Regional information, selects in being subordinated to the data, services machine room of the operator geographically from the data, services machine that the client is nearest Room.
Alternatively, the corresponding regional information of IP address according to the client, is subordinated to the data, services machine of the operator Select geographically to include from the nearest data, services machine room of the client in room:According to the corresponding region of IP address of the client Information, from region apart from the region corresponding to the minimum weights of the distance between weight table lookup expression and the region, and selects To should region data, services machine room.Wherein region includes apart from every a line of weight table:The corresponding region of the row and table Show the weights of distance between the corresponding region of the row and other each regions.
According to another aspect of the present invention, there is provided a kind of data transfer server, wherein, the server is included at request Reason unit, IP analytic units and election unit;Requesting processing, is suitable to receive the data transfer request of client, to IP point Analysis unit sends the inquiry request of the IP address for including the client, receives the IP address of the client that IP analytic units are returned Corresponding network attribute information, sends the inquiry request for including the network attribute information to election unit, receives election unit and returns The reference address of the data, services machine room is returned to the client so that the visitor by the reference address of the data, services machine room for returning Family end transfers data to the data server in the data, services machine room;IP analytic units, are suitable to obtain the IP of the client The corresponding network attribute information in address;Election unit, is suitable to according to the network attribute information, from being deployed in the multiple of each position The most quick data server room of the data transfer for the client is selected in data, services machine room.
Alternatively, requesting processing is suitable to the corresponding region of IP address for receiving the client that IP analytic units are returned Information and operator's informaiton, and the inquiry request for including the regional information and operator's informaiton is sent to election unit.IP point Analysis unit is suitable to the corresponding regional information of IP address and operator's informaiton for obtaining the client.Election unit is suitable to according to the visitor The corresponding regional information of IP address at family end and operator's informaiton, select from the multiple data, services machine rooms for be deployed in each position Select the most quick data server room of the data transfer for the client.Wherein, this is deployed in many of each position Individual data server room belongs to different operators and is distributed in different regions.
Alternatively, the server also includes the first memory element.First memory element is suitable to preserve IP information banks;Its In, the record per bar in IP information banks includes IP address section and the corresponding regional information of the IP address section and operator's informaiton, IP address section includes the start ip address of the IP address section and cut-off IP address.IP analytic units are suitable to from the first memory element IP information banks in search IP address section belonging to the IP address of the client, and obtain region corresponding with the IP address section and believe Breath and operator's informaiton.
Alternatively, elect unit to be suitable to the corresponding operator's informaiton of IP address according to the client, find out and belong to this The data, services machine room of operator, then the corresponding regional information of IP address according to the client, is subordinated to the operator Select in data, services machine room geographically from the data, services machine room that the client is nearest.
Alternatively, the server also includes the second memory element.Second memory element is suitable to preserve region apart from weights Table;Wherein region includes apart from every a line of weight table:The corresponding region of the row and represent the corresponding region of the row and other The weights of distance between each region.Election unit is suitable to the corresponding regional information of IP address according to the client, deposits from second The region corresponding to the minimum weights of the distance between expression and the region is searched in region in storage unit apart from weight table, and selects Select to should region data, services machine room.
Data transmission scheme of the invention, receives the data transfer request of client, first according to the client IP address obtains the corresponding network attribute information of IP address of the client, according to acquired network attribute information, from deployment The most quick data clothes of the data transfer for the client are selected in multiple data, services machine rooms of each position The reference address of selected data, services machine room is returned to the client by business machine room so that the client is by data transfer To the data server in the data, services machine room, thus solve multiple spot machine room and each use in data transport service scheme is provided On the corresponding server regularly distributed by family client caused by efficiency of transmission not high problem, achieve as client There is provided data transmission bauds most fast data, services machine room address, improve data transmission bauds and success rate, and then improve The beneficial effect of Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 is the schematic diagram of the scheme that the single machine room of prior art provides upload service;
Fig. 2 is the schematic diagram of the scheme that multiple spot machine room of the prior art provides upload service;
Fig. 3 shows the composition structure and and client of data transfer server according to an embodiment of the invention Interactive relation schematic diagram;
Fig. 4 is shown the composition of data transmission system in accordance with another embodiment of the present invention and is interacted with client Relation illustrates schematic diagram;
Fig. 5 shows that data transmission system in accordance with another embodiment of the present invention realizes the stream of a data transmission procedure Cheng Tu;
The flow chart that Fig. 6 shows the data transmission method according to another embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Network attribute information by being analyzed client by server side according to the IP address of client of the invention, Ran Hougen According to the network attribute of client, the number for the client is selected from the multiple data, services machine rooms for being deployed in each position According to a data server room of fastest transmission speed, it is the clients providing data transmission service.The present invention is by right selecting The process of most fast data, services machine room for client is split as analysis process and selection course, so as to be more convenient as client Search most suitable data transfer server in end.
Can be completed by a server and the interacting of client, the analysis of client ip address and data, services machine The election in room, shown in this embodiment as described below with reference to Figure 3.Can also be distinguished by three independent servers Into with the interacting of client, the analysis of client ip address and the election of data, services machine room, this is such as below with reference to Fig. 4 Shown in described embodiment.
Fig. 3 show the composition structure of data transfer server according to an embodiment of the invention and with client Interactive relation schematic diagram.As shown in figure 3, the data transfer server 300 includes:Requesting processing 301, IP analytic units 302nd, unit 303, the first memory element 304 and the second memory element 305 are elected.Also illustrate in Fig. 3 and process single with request The multiple client 333 that unit 301 interacts.
Requesting processing 301 is suitable to the data transfer request for receiving certain client 333, to IP analytic units 302 Send the inquiry request of the IP address including the client 333, and receive the client 333 that the IP analytic units 302 are returned The corresponding network attribute information of IP address, then send the inquiry request including the network attribute information to election unit 303, and The reference address of the data, services machine room that election unit 303 is returned is received, finally the reference address of the data, services machine room is returned Back to the client 333 so that the client 333 transfers data to the data server in the data, services machine room.
IP analytic units 302 are suitable to the corresponding network attribute information of IP address for obtaining the client 333.
Election unit 303 is suitable to according to the network attribute information, from the multiple data, services machine rooms for being deployed in each position Middle selection most quick data server room of data transfer for the client 333.
So, what requesting processing 301 was returned to client 333 is exactly the data transfer for 333 end of client Fastest data, services machine room, the client 333 can obtain most quick data transport service.Here data transfer Service includes:Data are uploaded and from data, services machine room downloading data to data, services machine room.
In one embodiment of the invention, network attribute information can be specifically included:Regional information and operator's informaiton. Operator's informaiton i.e. belonging to the regional information and client at the place of client 333.Regional information and visitor that client 333 is located Operator's informaiton belonging to the end of family is all relevant with the IP address of client 333, can be analyzed according to the IP address of client 333 Go out.
In this case, IP analytic units 302 obtain the corresponding regional information of IP address and the operation of the client 333 Business's information.Specifically, IP information banks are preserved in the first memory element 304;Wherein, recording per bar in the IP information banks includes IP address section and the corresponding regional information of the IP address section and operator's informaiton, IP address section include the starting of the IP address section IP address and cut-off IP address.For example, the form of a record in IP information banks is:【IP, ends IP, and correspondence is runed Business's information, correspondence regional information】.Then the client is searched in IP information banks of the IP analytic units 302 from the first memory element 304 IP address section belonging to the IP address at end 333, and obtain regional information corresponding with the IP address section and operator's informaiton.
Requesting processing 301 is suitable to the IP address of the client 333 for receiving 302 return of IP analytic units correspondingly Domain information and operator's informaiton, then send the inquiry request for including the regional information and operator's informaiton to election unit 303.
Election unit 303 is suitable to the corresponding regional information of IP address and operator's informaiton according to the client 333, from portion Administration selects the most quick number of data transfer for the client 333 in multiple data, services machine rooms of each position According to service machine room;Wherein, these multiple data, services machine rooms for being deployed in each position belong to different operators and are distributed in Different regions.
Specifically, elect unit 303 to be suitable to the corresponding operator's informaiton of IP address according to the client 333, search Go out to belong to the data, services machine room of the operator, then the corresponding regional information of IP address according to the client 333, from Select in the data, services machine room for belonging to the operator geographically from the data, services machine room that the client 333 is nearest.Election Unit 303 is selected according to the description information of each data, services machine room, and the description information of data, services machine room includes:Machine room Number, the operator's informaiton of machine room, the regional information of machine room.
More particularly, region is preserved in the second memory element 305 apart from weight table;Wherein the region is apart from weight table Include per a line:The corresponding region of the row and represent the weights of distance between the corresponding region of the row and other each regions.Then Election unit 303 according to the corresponding regional information of IP address of the client 333, the region from the second memory element 305 away from Search the region corresponding to the weights for representing minimum with the distance between the region from weight table, and select to should region number According to service machine room.
As an example it is assumed that user network is telecommunications and is located at Jilin.That is the operator of user network is telecommunications.Institute subordinate Data, services machine room include:Beijing Telecom's machine room, Jinan UNICOM machine room, Tianjin telecommunications room and Shanghai Mobile's machine room.First, According to same operator rule, the data, services machine room for belonging to an operator with user network together is elected, Jinan is specifically eliminated UNICOM's machine room and Shanghai Mobile's machine room, other telecommunications room enter the election of next step as candidate.Then, according to former nearby Then, select geographically from the machine room that Jilin is nearest from candidate's machine room.For example, the region power in the one embodiment in the present invention Value table is as shown in table 1:
Beijing Tianjin Jilin
Beijing 0 1 6
Tianjin 1 0 5
Jilin 6 5 0
Table 1
Referring to table 1, candidate's machine room is Beijing Telecom's machine room and Tianjin telecommunications room, and Beijing is 6 apart from weights with Jilin, Tianjin and Jilin are 5 apart from weights, and weights are less to represent that distance is nearer, therefore selects Tianjin telecommunications room to carry as the user For the machine room of data transport service.So can select from the machine room of institute subordinate and can provide the user the machine for preferably servicing Room, substantially increases data transmission efficiency, improves the satisfaction of user.
In other embodiments of the invention, can be according to the regional information of the data transfer machine room of actual deployment and each Actual range between region is formulated similar to the region weight table shown in table 1.I.e. table 1 can not be used as to the embodiment of the present invention In region weight table content restriction.
By technical scheme, the number of users that cross operator carries out data transmission is greatly reduced, is improve The speed that user carries out data transmission.Found by counting, if transmitting file on user's cross operator, average speed is in 10k/s Left and right, and when uploading to the machine room of same operator, average speed can reach more than 100k/s.
Fig. 4 shows the composition of the data transmission system of another embodiment of the present invention and the interactive relation with client Illustrate schematic diagram.As shown in figure 4, data transmission system 400 includes:Client server 410, IP Analysis servers 420 and election Server 430.Client server 410, IP Analysis servers 420 and voting server 430 are each independent servers.Fig. 4 In also illustrate the multiple client 444 interacted with client server 410.
Client server 430 is suitable to the data transfer request for receiving certain client 444, to IP Analysis servers 420 Send the inquiry request of the IP address including the client 444, this for receiving that IP Analysis servers 420 return states client 444 The corresponding network attribute information of IP address, then sends the inquiry request for including the network attribute information to voting server 430, The reference address of the data, services machine room that voting server 430 is returned is received, the reference address of the data, services machine room is returned Give the client 444 so that the client 444 is by the data server in the data transfer data, services machine room.
IP Analysis servers 420 are suitable to the corresponding network attribute information of IP address for obtaining the client 444.
Voting server 430 is suitable to according to the network attribute information, from the multiple data, services machines for being deployed in each position The most quick data server room of the data transfer for the client 444 is selected in room.
In one embodiment of the invention, network attribute information can be specifically included:Regional information and operator's informaiton. Operator's informaiton i.e. belonging to the regional information and client at client place.Regional information and client institute that client is located The operator's informaiton of category is all relevant with the IP address of client, can be analyzed according to the IP address of client.
In this case, IP Analysis servers 420 are suitable to the corresponding regional information of IP address for obtaining the client 444 And operator's informaiton.Specifically, IP Analysis servers 420 are suitable to from IP information banks to search belonging to the IP address of the client IP address section, and obtain corresponding with IP address section regional information and operator's informaiton;Wherein, in IP information banks per bar Record includes IP address section and the corresponding regional information of the IP address section and operator's informaiton, and IP address section includes the IP address The start ip address and cut-off IP address of section.For example, the form of a record in IP information banks is:【IP, ends IP, Correspondence operator's informaiton, correspondence regional information】.
Client server 410 is suitable to the IP address of the client 444 for receiving 420 return of IP Analysis servers correspondingly Domain information and operator's informaiton, and the inquiry for including the regional information and operator's informaiton is sent to the voting server 430 Request.
Voting server 430 is suitable to the corresponding regional information of IP address and operator's informaiton according to the client 444, from Select the data transfer for the client 444 most quick one in being deployed in multiple data, services machine rooms of each position Data, services machine room;Wherein, these multiple data, services machine rooms for being deployed in each position belong to different operators and are distributed In different regions.
Specifically, voting server 430 is suitable to the corresponding operator's informaiton of IP address according to the client 444, looks into The data, services machine room for belonging to the operator is found out, then the corresponding regional information of IP address according to the client 444, from Select in the data, services machine room for belonging to the operator geographically from the data, services machine room that the client is nearest.Election service Device 430 is selected according to the description information of each data, services machine room, and the description information of data, services machine room includes:Machine room number, The operator's informaiton of machine room, the regional information of machine room.
More particularly, IP address corresponding regional information of the voting server 430 according to the client 444, from region Search the region corresponding to the weights for representing minimum with the distance between the region apart from weight table, and select to should region Data, services machine room;Wherein region includes apart from every a line of weight table:The corresponding region of the row and represent that the row is corresponding The weights of distance between region and other each regions.The a kind of of weight table illustrates as shown in table 1, no longer repeats here.
Fig. 5 shows that data transmission system according to an embodiment of the invention realizes the flow process of a data transmission procedure Figure.
As shown in figure 5, data transmission procedure starts from step S501, client number should be sent to client server in step According to transmission request, including the IP address of client.
Subsequently in step S502, client server is to the corresponding net of IP address that IP Analysis servers inquire about the client Network attribute information.
In step S503, IP Analysis servers are to the corresponding network category of IP address that client server returns the client Property information, specially corresponding regional information and operator's informaiton.Then execution step S504.
In step S504, client server asks the optimum data, services machine room of election, the request to voting server Include the corresponding regional information of IP address and operator's informaiton of the client.
In step S505, voting server returns the data, services machine room of elected optimum to client server.
In this step, the first-selected corresponding operator's informaiton of IP address according to client of election finds out and belongs to the operation The data, services machine room of business, then the corresponding regional information of IP address according to the client, is subordinated to the data of the operator Select geographically from the data, services machine room that the client is nearest in service machine room.
Then, in step S506, client server returns the data, services machine room returned by voting server to client Reference address.
So in step s 507, the reference address that client is returned according to client server, it is corresponding with the reference address Data server machine room in server carry out data transmission, can be specifically to upload data, or downloading data.
In the above-described embodiments, client server, IP Analysis servers and voting server are three clothes independently Business device.In other embodiments of the invention, client server and IP Analysis servers can be same servers, election clothes Business device is an independent server;Or client server is an independent server, and IP Analysis servers and election Server is same server;Again or, client server and voting server can be same servers, IP analysis clothes Business device is an independent server.
The flow chart that Fig. 6 shows data transmission method according to an embodiment of the invention.
As shown in fig. 6, data transmission method starts from step S610, in this step, the data transfer for receiving client please Ask.
Then in step S620, according to the corresponding network category of IP address that the IP address of the client obtains the client Property information.
In one embodiment of the invention, the corresponding network attribute information of the IP address of the client includes:Believe region Breath and operator's informaiton.
The IP address section belonging to the IP address of the client specifically can be searched from IP information banks, and is obtained and the IP ground The corresponding regional information of location section and operator's informaiton;Wherein, the record per bar in the IP information banks includes IP address section and is somebody's turn to do The corresponding regional information of IP address section and operator's informaiton, IP address section include the start ip address of the IP address section and cut-off IP Address.In one embodiment of the invention, IP information banks are stored in text.
In subsequent step S630, according to acquired network attribute information, from many numbers for being deployed in each position The most quick data server room of the data transfer for the client is selected according to servicing in machine room.
These multiple data, services machine rooms for being deployed in each position belong to different operators and are distributed in different ground Domain.
Specifically, the corresponding operator's informaiton of IP address first according to the client, finds out and belongs to the operator Data, services machine room.Then the corresponding regional information of IP address according to the client, is subordinated to the data, services of the operator Select in machine room geographically from the data, services machine room that the client is nearest;More particularly, the IP ground according to the client The corresponding regional information in location, searches corresponding to the minimum weights of the distance between expression and the region from region apart from weight table Region, and select to should region data, services machine room;Wherein this is stated region and includes apart from every a line of weight table:The row pair The region answered and the weights for representing distance between the corresponding region of the row and other each regions.
Finally in step S640, the reference address of selected data, services machine room is returned to into the client so that The client transfers data to the data server in the data, services machine room.
In sum, this data transfer request for receiving client of the invention, according to the IP ground of the client Location obtains the corresponding network attribute information of IP address of the client, according to acquired network attribute information, each from being deployed in The most quick data server of the data transfer for the client is selected in multiple data, services machine rooms of individual position The reference address of selected data, services machine room is returned to the client so that the client transfers data to this by room Data server in data, services machine room, thus solves multiple spot machine room and provides each user visitor in data transport service scheme On the corresponding server regularly distributed by family end caused by efficiency of transmission not high problem, achieve and provide for client The most fast data, services machine room address of data transmission bauds, improves data transmission bauds and success rate, and then improves user The beneficial effect of experience.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can be by providing identical, equivalent or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor(DSP)To realize some in data transfer server according to embodiments of the present invention Or some or all functions of whole parts.The present invention is also implemented as performing the one of method as described herein Partly or completely equipment or program of device(For example, computer program and computer program).It is such to realize this The program of invention can be stored on a computer-readable medium, or can have the form of one or more signal.So Signal can download from internet website and obtain, or provide on carrier signal, or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.

Claims (9)

1. a kind of data transmission method, wherein, the method includes:
Receive the data transfer request of client;
The corresponding network attribute information of IP address of the client is obtained according to the IP address of the client;Wherein, it is described The corresponding network attribute information of IP address of client includes:Regional information and operator's informaiton;
According to acquired network attribute information, according to region weights from the multiple data, services machine rooms for be deployed in each position Table selects the most quick data server room of data transfer for the client, including:According to acquired fortune Battalion's business's information, finds out the data, services machine room for belonging to the operator;According to acquired regional information, from region, distance is weighed Value table search represents the region corresponding to the weights minimum with the distance between the region, selects corresponding to the region and belongs to institute State the data, services machine room of operator;
The reference address of selected data, services machine room is returned to into the client so that the client is by data transfer To the data server in the data, services machine room.
2. the method for claim 1, wherein
The multiple data, services machine rooms for being deployed in each position belong to different operators and are distributed in different regions.
3. method as claimed in claim 2, wherein, the IP that the client is obtained according to the IP address of the client The corresponding network attribute information in address includes:
The IP address section belonging to the IP address of the client is searched from IP information banks, and is obtained corresponding with the IP address section Regional information and operator's informaiton;Wherein, the record per bar in the IP information banks includes IP address section and the IP address section Corresponding regional information and operator's informaiton, IP address section include the start ip address of the IP address section and cut-off IP address.
4. method as claimed in claim 3, wherein, the IP information banks are stored in text.
5. the method for claim 1, wherein
The region includes apart from every a line of weight table:The corresponding region of the row and represent the corresponding region of the row and other The weights of distance between each region.
6. a kind of data transfer server, wherein, the server includes:Requesting processing, IP analytic units and election unit;
The requesting processing, is suitable to receive the data transfer request of client, and sending to the IP analytic units includes institute The inquiry request of the IP address of client is stated, the corresponding net of IP address of the client that the IP analytic units are returned is received Network attribute information, sends the inquiry request for including the network attribute information, receives the election unit to the election unit The reference address of the data, services machine room is returned to the client by the reference address of the data, services machine room of return so that The client transfers data to the data server in the data, services machine room;Wherein, the IP address pair of the client The network attribute information answered includes:Regional information and operator's informaiton;
The IP analytic units, are suitable to obtain the corresponding network attribute information of IP address of the client;
The election unit, is suitable to according to acquired network attribute information, from the multiple data, services for being deployed in each position The most quick data server room of data transfer for the client is selected according to region weight table in machine room;Tool Body is suitable to according to acquired operator's informaiton, finds out the data, services machine room for belonging to the operator, according to acquired Regional information, from region apart from the region corresponding to the minimum weights of the distance between weight table lookup expression and the region, choosing Select corresponding to the region and belong to the data, services machine room of the operator.
7. server as claimed in claim 6, wherein,
The multiple data, services machine rooms for being deployed in each position belong to different operators and are distributed in different regions.
8. server as claimed in claim 7, wherein, the server also includes the first memory element;
First memory element, is suitable to preserve IP information banks;Wherein, the record per bar in the IP information banks includes IP address Section and the corresponding regional information of the IP address section and operator's informaiton, IP address section include the start ip address of the IP address section With cut-off IP address;
The IP analytic units, are suitable in the IP information banks from first memory element search the IP address of the client Affiliated IP address section, and obtain regional information corresponding with the IP address section and operator's informaiton.
9. server as claimed in claim 6, wherein, the server also includes the second memory element;
Second memory element, is suitable to preserve region apart from weight table;Every a line bag of the wherein described region apart from weight table Include:The corresponding region of the row and represent the weights of distance between the corresponding region of the row and other each regions.
CN201210533663.0A 2012-12-11 2012-12-11 Data transmission method and server Expired - Fee Related CN103023903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210533663.0A CN103023903B (en) 2012-12-11 2012-12-11 Data transmission method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210533663.0A CN103023903B (en) 2012-12-11 2012-12-11 Data transmission method and server

Publications (2)

Publication Number Publication Date
CN103023903A CN103023903A (en) 2013-04-03
CN103023903B true CN103023903B (en) 2017-05-10

Family

ID=47972034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210533663.0A Expired - Fee Related CN103023903B (en) 2012-12-11 2012-12-11 Data transmission method and server

Country Status (1)

Country Link
CN (1) CN103023903B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462464A (en) * 2014-12-17 2015-03-25 百度在线网络技术(北京)有限公司 File downloading method and file downloading device
CN104994157B (en) * 2015-07-01 2019-07-09 北京奇虎科技有限公司 Data transmission method and device
CN106572069A (en) * 2015-10-12 2017-04-19 阿里巴巴集团控股有限公司 Network access control method and server server
CN105871989A (en) * 2015-12-14 2016-08-17 乐视云计算有限公司 Live broadcast video obtaining method and device
CN107094175B (en) * 2017-04-21 2020-12-29 深圳创维数字技术有限公司 Server deployment system for realizing internetwork intercommunication and intercommunication method
CN110266747B (en) * 2019-04-12 2022-04-08 创新先进技术有限公司 Method and device for switching machine room of service request
CN112947843A (en) * 2019-12-10 2021-06-11 北京金山云网络技术有限公司 Configuration and scheduling method and device of storage system and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN102546774A (en) * 2011-12-27 2012-07-04 厦门市美亚柏科信息股份有限公司 CDN (content distribution network) routing method for secondary redirection and system
CN102571788A (en) * 2011-12-30 2012-07-11 北京奇虎科技有限公司 Sample collection method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101640684A (en) * 2009-08-21 2010-02-03 中国电信股份有限公司 Content delivering method, network system, GSLB device and domain name server
CN102546774A (en) * 2011-12-27 2012-07-04 厦门市美亚柏科信息股份有限公司 CDN (content distribution network) routing method for secondary redirection and system
CN102571788A (en) * 2011-12-30 2012-07-11 北京奇虎科技有限公司 Sample collection method and system

Also Published As

Publication number Publication date
CN103023903A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103023903B (en) Data transmission method and server
CN103023902B (en) Data transmission method and system
CN101764747B (en) Intelligent dispatching method, device and system of content delivery network flow
KR101154799B1 (en) Dns wildcard beaconing to determine client location and resolver load for global traffic load balancing
CN104468502B (en) Server for content distribution selects
CN106067890B (en) A kind of domain name analytic method, apparatus and system
CN106031130B (en) Content distribution network framework with edge proxies
US20150271031A1 (en) Systems and methods for improving domain name system traffic routing
CN113037869B (en) Method and apparatus for back-sourcing of content distribution network system
CN109327542B (en) Game service access response method, request forwarding method, connection method and device
JP6225249B2 (en) Routing and forwarding method, apparatus and system
CN107395683A (en) The system of selection of a kind of time source path and server
CN108491450A (en) Data cache method, device, server and storage medium
CN108234639A (en) A kind of data access method and device based on content distributing network CDN
CN102523314A (en) Identifying an efficient destination server
CN108076142A (en) A kind of method and system for accelerating user's request based on CDN technologies
CN104219782A (en) Network access method and system
CN103825923A (en) Resource download method, business server and mobile phone client-terminal
US20230022183A1 (en) Systems and methods for processing requests for content of a content distribution network
CN103973834A (en) Domain name resolution (DNS) acceleration method and device based on home gateway
CN103338252A (en) Distributed database concurrence storage virtual request mechanism
CN102625287A (en) Method for downloading mobile phone application software
CN107735778B (en) Protect the communication link between content delivery network and content original server
WO2020123537A1 (en) Systems and methods for processing requests for content of a content distribution network
CN106101055A (en) The data access method of a kind of multiple database and system thereof and proxy server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220718

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170510