CN104994157A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN104994157A
CN104994157A CN201510379929.4A CN201510379929A CN104994157A CN 104994157 A CN104994157 A CN 104994157A CN 201510379929 A CN201510379929 A CN 201510379929A CN 104994157 A CN104994157 A CN 104994157A
Authority
CN
China
Prior art keywords
transmission path
client
band
information
data
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.)
Granted
Application number
CN201510379929.4A
Other languages
Chinese (zh)
Other versions
CN104994157B (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 CN201510379929.4A priority Critical patent/CN104994157B/en
Publication of CN104994157A publication Critical patent/CN104994157A/en
Application granted granted Critical
Publication of CN104994157B publication Critical patent/CN104994157B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data transmission method and device, relates to the technical field of information, and aims to increase the data transmission efficiency. The method comprises the following steps: firstly, receiving a data transmission request sent by a client, wherein the data transmission request carries the position identification information of the client; secondly, acquiring a position region corresponding to the position identification information from the position regions of a preset map according to the position identification information of the client, wherein the preset map includes different position regions which are partitioned according to a preset rule, and different position regions correspond to different transmission paths respectively; and lastly, configuring a transmission path corresponding to the position region for the client in order that the client performs data transmission through the transmission path. The data transmission method and device are suitable for data transmission based on a cloud disk.

Description

Data transmission method and device
Technical field
The present invention relates to a kind of areas of information technology, particularly relate to a kind of data transmission method and device.
Background technology
In the last few years, along with the development of information technology, Internet technology is more and more ripe, wherein, cloud dish is the online storage service released by Internet firm, the file management facilities such as provide the storage of file, access, backup to user, share, user can be undertaken uploading or downloading data by cloud dish, is very easy to the study and work life of user.
At present, user by client to cloud dish perform upload or down operation time, normally according to IP (the Internet Protocol of client, the agreement interconnected between network) address is at random for client configuration transmission path, but owing to being subject to the restriction of Virtual network operator and region, the transmission path of random arrangement can affect the transmission speed of cloud dish, thus causes the efficiency of transmission data lower.
Summary of the invention
In view of this, the invention provides a kind of data transmission method and device, main purpose is the efficiency that can improve transmission data.
According to one aspect of the invention, provide a kind of data transmission method, comprising:
Receive the data transfer request that client sends, in described data transfer request, carry the station location marker information of described client;
According to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map;
For the transmission path that described client configuration is corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.
According to the present invention on the other hand, provide a kind of data transmission device, comprising:
Receiving element, for receiving the data transfer request that client sends, carries the station location marker information of described client in described data transfer request;
Acquiring unit, for the station location marker information according to described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map;
Dispensing unit, for being the described client configuration transmission path corresponding with the described band of position, carries out transfer of data to make described client by described transmission path.
By technique scheme, the technical scheme that the embodiment of the present invention provides at least has following advantages:
A kind of data transmission method provided by the invention and device, first receive the data transfer request that client sends, carry the station location marker information of described client in described data transfer request; Then according to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map; Be finally the described client configuration transmission path corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.With when carrying out transfer of data by cloud dish at present, compare according to the mode that the IP address of client is client random arrangement transmission path, the present invention is by preset transmission path corresponding for region, client position, configuration is to described client, to make described client carry out the transfer of data of cloud dish by described preset transmission path, the efficiency of transmission data can be improved.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of data transmission method schematic flow sheet that the embodiment of the present invention provides;
Fig. 2 shows the another kind of data transmission method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 shows a kind of data transmission device structural representation that the embodiment of the present invention provides;
Fig. 4 shows the another kind of data transmission device structural representation that the embodiment of the present invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Embodiments provide a kind of data transmission method, as shown in Figure 1, shown method comprises:
101, the data transfer request that client sends is received.
Wherein, the station location marker information of described client is carried in described data transfer request.The station location marker information of described client can be the location name information of described client, is specifically as follows the geographic position name information of described client, such as, and Chaoyang District, Beijing City, Baoding, Hebei province etc.Described data transfer request specifically can send at user Xiang Yun dish uploading data or from during cloud dish downloading data.Described cloud dish can be the Internet storage tool, can by the Internet for user provides the storage of information, and read, the services such as download, have the feature of safety and stability, mass memory.
102, according to the station location marker information of described client, from the band of position of preset map, the band of position corresponding with described station location marker information is obtained.
Wherein, in described preset map, include the diverse location region divided according to presetting rule, the transmission path that described diverse location region is corresponding different respectively.Described preset map can be configured by user's request, and also can be configured by system default, the embodiment of the present invention does not limit.Described preset map can be the map in country, province, city, district, county etc., and such as, preset map can be the map of Haidian District, Beijing City, also can be U.S.'s map, can also be the map in Hebei province.Described presetting rule can be arranged by user's request, and also can be configured by system default, the embodiment of the present invention does not limit.Such as, when preset map is Liaoning Province's map, presetting rule can for divide by city; When preset map is map of China, presetting rule for divide by province, also can divide by line of demarcation, the Changjiang river.Described transmission path can for client under different transmission path, carry out transfer of data time, the transmission path that data transmission bauds is the fastest.Such as, client can carry out transfer of data by three kinds of transmission paths, three kinds of transmission paths are respectively path 1, path 2, path 3, record the speed that client carries out transfer of data under described three kinds of transmission paths and be respectively 30KB/s, 100KB/s, 1MB/s, when can determine that client carries out transfer of data by path 3, transfer of data fastest, can be configured to transmission path by path 3.
Such as, preset map is map of China, the band of position can be divided by province, when the station location marker information of client a is Handan in Hebei province, from the band of position of map of China, then acquire the band of position corresponding to client a is Hebei province, when the station location marker information of client b is Shenyang City, Liaoning Province, then from the band of position of map of China, acquire the band of position corresponding to client b is Liaoning Province.
103, be transmission path that described client configuration is corresponding with the described band of position.
Further, to make described client carry out transfer of data by described transmission path.
Such as, preset map is Beijing, can by the Division band of position, and each band of position is corresponding optimal transmission paths respectively, being specifically as follows optimal transmission paths corresponding to Haidian District is telecommunications, optimal transmission paths corresponding to Chaoyang District is Netcom, optimal transmission paths corresponding to Changping District is Tie Tong, when the station location marker information of client 1 is long-range road, Haidian District, the band of position of described client 1 correspondence is Haidian District, for client 1 configures the transmission path of telecommunications, when the positional information of client 2 is the crossroad place intersected between south, Changping District loop with Yong'an Lu, the band of position of described client 2 correspondence is Changping District, for client 2 configures the transmission path of Tie Tong.
A kind of data transmission method provided by the invention, first receives the data transfer request that client sends, carries the station location marker information of described client in described data transfer request; Then according to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map; Be finally the described client configuration transmission path corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.With when carrying out transfer of data by cloud dish at present, compare according to the mode that the IP address of client is client random arrangement transmission path, the present invention is by preset transmission path corresponding for region, client position, configuration is to described client, to make described client carry out the transfer of data of cloud dish by described preset transmission path, the efficiency of transmission data can be improved.
Embodiments provide another kind of data transmission method, as shown in Figure 2, described method comprises:
201, history log visit information is obtained.
Wherein, in described history log visit information, include the station location marker information of different clients, and the transmission speed that the station location marker information of described different clients is corresponding respectively.The station location marker information of described client is the IP address information of described client.
For the embodiment of the present invention, the history log visit information of different clients can be obtained from the database of cloud server, the IP address information of different clients is included in described history log visit information, and the transmission speed that the IP address information of described different clients is corresponding respectively.
202, according to the station location marker information of described different clients, be diverse location region by preset map partitioning.
Wherein, described preset map can be configured by user's request, and also can be configured by system default, the embodiment of the present invention does not limit.Described preset map can be the map in country, province, city, district, county etc., and such as, preset map can be the map of Chaoyang District, Beijing City, also can be German map, can also be the map in Guangdong Province.
Such as, preset map is the map in Guangdong Province, customer end A, B, the IP address of C is 112.90.183.162, customer end A can be got, B, the location of C is Zhongshan city of Chinese Guangdong province, client D, E, the IP address of F is 112.90.160.111, client D can be got, E, the location of F is Zhuhai City of Chinese Guangdong province, client G, H, the IP address of I is 112.90.130.168, client G can be got, H, the location of I is Shantou City of Chinese Guangdong province, further, client can be divided into Zhongshan city of Chinese Guangdong province in the position that Chinese Guangdong is economized, Zhuhai City of Chinese Guangdong province, Shantou City of Chinese Guangdong province.
203, corresponding respectively according to the station location marker information of described different clients transmission speed, for described diverse location region configures corresponding transmission path respectively.
Wherein, described transmission path can be configured by user's request, and also can be configured by system default, the embodiment of the present invention does not limit.Described transmission path can for client under different transmission path, carry out transfer of data time, the transmission path that data transmission bauds is the fastest.
For the embodiment of the present invention, when each client can added up in same position regional extent carries out data respectively by different transmission path, the optimal transmission paths of transmission data efficiency, such as, 3 clients are had in the band of position one, be respectively client 1, client 2, client 3, and 3 clients can carry out transfer of data by 3 transmission paths, 3 transmission paths are path a, path b, path c, record the speed that client 1 carries out transfer of data under three kinds of transmission paths and be respectively 50KB/s, 300KB/, 10MB/s, when can determine that client 1 carries out transfer of data by path 3, transfer of data fastest and three velocity amplitudes have larger difference, record the speed that client 2 carries out transfer of data under three kinds of transmission paths and be respectively 48KB/s, 400KB/, 20MB/s, can determine that client 2 is also when carrying out transfer of data by path 3, transfer of data fastest and three velocity amplitudes have larger difference, record the speed that client 3 carries out transfer of data under three kinds of transmission paths and be respectively 200KB/s, 300KB/, 200KB/s, can determine that client 3 is when carrying out transfer of data by path 2, transfer of data fastest, but three velocity amplitude difference are less, can count in three clients and there are two clients when carrying out transfer of data by path 3, transfer of data fastest, thus, can be defined as the transmission path that the band of position one configures further is path 3.
204, the transmission path that described diverse location region is corresponding is respectively preserved.
For the embodiment of the present invention, can be kept in the database of cloud server by the transmission path that described diverse location region is corresponding respectively, also can be kept in the preset storage file of cloud server, the embodiment of the present invention does not limit.
205, the data transfer request that client sends is received.
Wherein, the station location marker information of described client is carried in described data transfer request.Described data transfer request specifically can send at user Xiang Yun dish uploading data or from during cloud dish downloading data.
206, according to the station location marker information of described client, from the band of position of preset map, the band of position corresponding with described station location marker information is obtained.
Wherein, in described preset map, include the diverse location region divided according to presetting rule, the transmission path that described diverse location region is corresponding different respectively.Described presetting rule can be arranged by user's request, and also can be configured by system default, the embodiment of the present invention does not limit.Such as, when preset map is Jilin Province's map, presetting rule can for divide by city; When preset map is map of China, presetting rule for divide by province, also can divide by line of demarcation, the Yellow River.
Such as, preset map is Liaoning Province, can by the division band of position, city, when the IP address information of client is 119.118.233.191, can get client location is Dadong District, Shenyang City, Liaoning Province, and from the band of position in Liaoning Province, acquire the band of position corresponding with client is Shenyang City.
207, be transmission path that described client configuration is corresponding with the described band of position.
Further, to make described client carry out transfer of data by described transmission path.
Such as, preset map is Guangdong Province, can by the division band of position, city, and each city respectively corresponding optimal transmission paths, being specifically as follows optimal transmission paths corresponding to Zhongshan city is Netcom, and optimal transmission paths corresponding to Shantou City is telecommunications, optimal transmission paths corresponding to Guangzhou is Tie Tong, the IP address acquiring client is 112.90.160.109, and the location that can acquire client is Zhongshan city, is the transmission path of client configuration Netcom.
For the embodiment of the present invention, also comprise before described step 207: obtain the transmitting state information that described transmission path is corresponding; Judge whether described transmitting state information meets prerequisite; Described step 207 specifically comprises: if described transmitting state information meets prerequisite, be then transmission path described in described client configuration.Wherein, prerequisite can be configured by user's request, also can be configured by system default, not limit in the invention process.For the embodiment of the present invention, before for transmission path described in described client configuration, obtain the transmitting state information that described transmission path is corresponding, judge whether described transmitting state information meets prerequisite, if meet, be then the transmission path that client region described in client configuration is corresponding, the efficiency of transfer of data can be improved, avoid the situation occurring carrying out transfer of data.
Such as, the transmitting state information judged is needed to be the load state information of Internet Transmission, the load condition that prerequisite can be configured to Internet Transmission is less than 98%, when the load condition getting Internet Transmission corresponding to transmission path is less than 98%, judge that described transmitting state information meets prerequisite; When the load condition getting Internet Transmission corresponding to transmission path is more than or equal to 98%, judge that described transmitting state information does not meet prerequisite.
Again such as, the transmitting state information judged is needed to be the response time of Internet Transmission, the response time that prerequisite can be configured to Internet Transmission is less than 1s, when the response time getting Internet Transmission corresponding to transmission path is less than 1s, determines that described transmitting state information meets prerequisite; When the response time getting Internet Transmission corresponding to transmission path is more than or equal to 1s, determine that described transmitting state information does not meet prerequisite.
Again such as, prerequisite can also be opening state, when to get transmitting state information corresponding to transmission path be opening state, judges that described transmitting state information meets prerequisite; When to get transmitting state information corresponding to transmission path be closed condition, judge that described transmitting state information does not meet prerequisite, further, when judging that described transmitting state information meets prerequisite, be the transmission path that client region described in client configuration is corresponding.
Further, newly-increased history log visit information can also be obtained according to preset time interval; According to described newly-increased history log visit information, detect in described preset map whether there is the unallocated band of position; If exist, then obtain the transmission path that the described band of position is corresponding; In described preset map, increase the described band of position and preserve transmission path corresponding to the described band of position.Wherein, described preset time interval can be arranged according to the demand of user, and also can arrange according to default mode, the embodiment of the present invention does not limit.Such as, the time interval can be set to 1 minute, 10 minutes, 1 hour etc.
For the embodiment of the present invention, obtain newly-increased history log visit information according to preset time interval; According to described newly-increased history log visit information, detect in described preset map whether there is the unallocated band of position; If exist, then obtain the transmission path that the described band of position is corresponding; In described preset map, increase the described band of position and preserve transmission path corresponding to the described band of position, transmission path corresponding to the band of position and the band of position preserved can be improved further, the accuracy of configuration transmission path can be improved.
Again further, after the described log access information newly-increased according to preset time interval acquisition, can also according to described newly-increased history log visit information, whether the transmission path detecting described diverse location region corresponding respectively exists renewal; If exist, then described transmission path is upgraded.For the embodiment of the present invention, obtain newly-increased log access information according to preset time interval, according to described newly-increased history log visit information, whether the preset transmission path detecting described diverse location region corresponding respectively exists renewal; If exist, then described preset transmission path is upgraded, the accuracy of configuration transmission path can be improved.
Embody rule scene for the embodiment of the present invention can be as follows, but be not limited thereto, comprise: preset map is the map in Guangdong Province, first history log visit information is obtained, include the IP address information of three clients in described history log visit information, be respectively 112.90.183.100,112.90.160.155,112.90.130.140.Geographical position corresponding to three IP address informations is Zhongshan City, Guangdong Province, Zhuhai City, Guangdong Province, Shantou City, Guangdong Province, Guangdong Province is divided into Zhongshan city, Zhuhai City, Shantou City, 3 clients can carry out transfer of data by 3 transmission paths, 3 transmission paths are path a, path b, path c, obtaining optimal transmission paths corresponding to Zhongshan city by statistics is path a, optimal transmission paths corresponding to Zhuhai City is path b, optimal transmission paths corresponding to Shantou City is path c, when needs transmit data by client a, the IP address information obtaining described client a is 112.90.160.100, the region that can get described client is Zhongshan City, Guangdong Province, can be client a configuration path a, client a is made to carry out transfer of data by path b.
Another kind of data transmission method provided by the invention, first receives the data transfer request that client sends, carries the station location marker information of described client in described data transfer request; Then according to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map; Be finally the described client configuration transmission path corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.With when carrying out transfer of data by cloud dish at present, compare according to the mode that the IP address of client is client random arrangement transmission path, the present invention is by preset transmission path corresponding for region, client position, configuration is to described client, to make described client carry out the transfer of data of cloud dish by described preset transmission path, the efficiency of transmission data can be improved.
Further, as the specific implementation of method shown in Fig. 1, embodiments provide a kind of data transmission device, as shown in Figure 3, described device comprises: receiving element 31, acquiring unit 32, dispensing unit 33.
Described receiving element 31, may be used for the data transfer request receiving client transmission, carries the station location marker information of described client in described data transfer request.
Described acquiring unit 32, may be used for the station location marker information according to described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map.
Described dispensing unit 33, may be used for for the described client configuration transmission path corresponding with the described band of position.
Further, to make described client carry out transfer of data by described transmission path.
It should be noted that, other of each functional unit involved by a kind of data transmission device that the embodiment of the present invention provides are corresponding to be described, can corresponding description in reference diagram 1, does not repeat them here.
A kind of data transmission device provided by the invention, first receives the data transfer request that client sends, carries the station location marker information of described client in described data transfer request; Then according to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map; Be finally the described client configuration transmission path corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.With when carrying out transfer of data by cloud dish at present, compare according to the mode that the IP address of client is client random arrangement transmission path, the present invention is by preset transmission path corresponding for region, client position, configuration is to described client, to make described client carry out the transfer of data of cloud dish by described preset transmission path, the efficiency of transmission data can be improved.
Again further, as the specific implementation of method shown in Fig. 2, embodiments provide another kind of data transmission device, as shown in Figure 4, described device comprises: receiving element 41, acquiring unit 42, dispensing unit 43.
Described receiving element 41, may be used for the data transfer request receiving client transmission, carries the station location marker information of described client in described data transfer request.
Described acquiring unit 42, may be used for the station location marker information according to described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map.
Described dispensing unit 43, may be used for for the described client configuration transmission path corresponding with the described band of position.
Further, to make described client carry out transfer of data by described transmission path.
Further, described device also comprises: division unit 44, storage unit 45.
Described acquiring unit 42, can also be used for obtaining history log visit information, includes the station location marker information of different clients in described history log visit information, and the transmission speed that the station location marker information of described different clients is corresponding respectively.
Described division unit 44, may be used for the station location marker information according to described different clients, is diverse location region by described preset map partitioning.
Described dispensing unit 43, can also be used for the transmission speed corresponding respectively according to the station location marker information of described different clients, for described diverse location region configures corresponding transmission path respectively.
Described storage unit 45, may be used for preserving described diverse location region transmission path corresponding respectively.
Further, described device also comprises: judging unit 46.
Described acquiring unit 42, may be used for obtaining transmitting state information corresponding to described transmission path.
Described judging unit 46, may be used for judging whether described transmitting state information meets prerequisite.
Described dispensing unit 43 if specifically may be used for described judging unit 46 to judge that described transmitting state information meets prerequisite, is then transmission path described in described client configuration.
Further, described device also comprises: detecting unit 47, increase unit 48.
Described acquiring unit 42, can also be used for obtaining newly-increased history log visit information according to preset time interval.
Described detecting unit 47, may be used for, according to described newly-increased history log visit information, detecting in described preset map whether there is the unallocated band of position.
Described acquiring unit 42, if can also be used for described detecting unit 47 to detect in described preset map to there is the unallocated band of position, then obtains the transmission path that the described band of position is corresponding.
Described increase unit 48, may be used for increasing the described band of position in described preset map.
Described storage unit 45, can also be used for preserving transmission path corresponding to the described band of position.
Further, described device also comprises: updating block 49.
Described detecting unit 47, can also be used for the newly-increased history log visit information obtained according to described acquiring unit 42, whether the transmission path detecting described diverse location region corresponding respectively exists renewal.
Described updating block 49, if may be used for described detecting unit 46 to detect that the transmission path of described diverse location region difference correspondence exists renewal, then upgrades described transmission path.
Alternatively, the station location marker information of described client is the IP address information of described client.
It should be noted that, other of each functional unit involved by the another kind of data transmission device that the embodiment of the present invention provides are corresponding to be described, can corresponding description in reference diagram 2, does not repeat them here.
Another kind of data transmission device provided by the invention, first receives the data transfer request that client sends, carries the station location marker information of described client in described data transfer request; Then according to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map; Be finally the described client configuration transmission path corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.With when carrying out transfer of data by cloud dish at present, compare according to the mode that the IP address of client is client random arrangement transmission path, the present invention is by preset transmission path corresponding for region, client position, configuration is to described client, to make described client carry out the transfer of data of cloud dish by described preset transmission path, the efficiency of transmission data can be improved.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the data transmission method of the embodiment of the present invention and device.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
A1, a kind of data transmission method, comprising:
Receive the data transfer request that client sends, in described data transfer request, carry the station location marker information of described client;
According to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map;
For the transmission path that described client configuration is corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.
A 2, data transmission method as described in A 1, before the data transfer request that described reception client sends, also comprise:
Obtain history log visit information, in described history log visit information, include the station location marker information of different clients, and the transmission speed that the station location marker information of described different clients is corresponding respectively;
According to the station location marker information of described different clients, be diverse location region by described preset map partitioning;
The transmission speed corresponding respectively according to the station location marker information of described different clients, for described diverse location region configures corresponding transmission path respectively;
Preserve the transmission path that described diverse location region is corresponding respectively.
A 3, data transmission method as described in A 1, described for before transmission path described in described client configuration, also comprise:
Obtain the transmitting state information that described transmission path is corresponding;
Judge whether described transmitting state information meets prerequisite;
Describedly to comprise for transmission path described in described client configuration:
If meet, then it is transmission path described in described client configuration.
A 4, data transmission method as described in A 2, described method also comprises:
Newly-increased history log visit information is obtained according to preset time interval;
According to described newly-increased history log visit information, detect in described preset map whether there is the unallocated band of position;
If exist, then obtain the transmission path that the described band of position is corresponding;
In described preset map, increase the described band of position and preserve transmission path corresponding to the described band of position.
A 5, data transmission method as described in A 4, described obtain newly-increased history log visit information according to preset time interval after, also comprise:
According to described newly-increased history log visit information, whether the transmission path detecting described diverse location region corresponding respectively exists renewal;
If exist, then described transmission path is upgraded.
A 6, data transmission method as described in any one of A 1-A 5, the station location marker information of described client is the IP address information of described client.
B7, a kind of data transmission device, comprising:
Receiving element, for receiving the data transfer request that client sends, carries the station location marker information of described client in described data transfer request;
Acquiring unit, for the station location marker information according to described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map;
Dispensing unit, for being the described client configuration transmission path corresponding with the described band of position, carries out transfer of data to make described client by described transmission path.
B 8, device as described in B 7, described device also comprises: division unit and storage unit;
Described acquiring unit, also for obtaining history log visit information, includes the station location marker information of different clients in described history log visit information, and the transmission speed that the station location marker information of described different clients is corresponding respectively;
Described preset map partitioning, for the station location marker information of different clients obtained according to described acquiring unit, is diverse location region by described division unit;
Described dispensing unit, also for the transmission speed that the station location marker information of the different clients obtained according to described acquiring unit is corresponding respectively, for described diverse location region configures corresponding preset transmission path respectively;
Described storage unit, the transmission path that the diverse location region for preserving the configuration of described dispensing unit is corresponding respectively.
B 9, device as described in B 7, described device also comprises: judging unit;
Described acquiring unit, also for obtaining transmitting state information corresponding to described transmission path;
Described judging unit, for judging whether the transmitting state information that described acquiring unit obtains meets prerequisite;
Described dispensing unit if judge that described transmitting state information meets prerequisite specifically for described judging unit, is then transmission path described in described client configuration.
B 10, device as described in B 8, described device also comprises: detecting unit and increase unit;
Described acquiring unit, also for obtaining newly-increased history log visit information according to preset time interval;
Described detecting unit, for according to described newly-increased history log visit information, detects in described preset map whether there is the unallocated band of position;
Described acquiring unit, if also detect in described preset map to there is the unallocated band of position for described detecting unit, then obtains the transmission path that the described band of position is corresponding;
Described increase unit, for increasing the described band of position in described preset map;
Described storage unit, also for preserving transmission path corresponding to the described band of position.
B 11, device as described in B 10, described device also comprises: updating block;
Described detecting unit, also for according to described newly-increased history log visit information, whether the transmission path detecting described diverse location region corresponding respectively exists renewal;
Described updating block, then upgrades the transmission path existence renewal that described diverse location region is corresponding respectively if detect for described detecting unit to described transmission path.
B 12, device as described in B 7-B 11, the station location marker information of described client is the IP address information of described client.

Claims (10)

1. a data transmission method, is characterized in that, comprising:
Receive the data transfer request that client sends, in described data transfer request, carry the station location marker information of described client;
According to the station location marker information of described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map;
For the transmission path that described client configuration is corresponding with the described band of position, carry out transfer of data to make described client by described transmission path.
2. data transmission method according to claim 1, is characterized in that, before the data transfer request that described reception client sends, also comprises:
Obtain history log visit information, in described history log visit information, include the station location marker information of different clients, and the transmission speed that the station location marker information of described different clients is corresponding respectively;
According to the station location marker information of described different clients, be diverse location region by described preset map partitioning;
The transmission speed corresponding respectively according to the station location marker information of described different clients, for described diverse location region configures corresponding transmission path respectively;
Preserve the transmission path that described diverse location region is corresponding respectively.
3. data transmission method according to claim 1, is characterized in that, described for before transmission path described in described client configuration, also comprises:
Obtain the transmitting state information that described transmission path is corresponding;
Judge whether described transmitting state information meets prerequisite;
Describedly to comprise for transmission path described in described client configuration:
If meet, then it is transmission path described in described client configuration.
4. data transmission method according to claim 2, is characterized in that, described method also comprises:
Newly-increased history log visit information is obtained according to preset time interval;
According to described newly-increased history log visit information, detect in described preset map whether there is the unallocated band of position;
If exist, then obtain the transmission path that the described band of position is corresponding;
In described preset map, increase the described band of position and preserve transmission path corresponding to the described band of position.
5. data transmission method according to claim 4, is characterized in that, after the described history log visit information newly-increased according to preset time interval acquisition, also comprises:
According to described newly-increased history log visit information, whether the transmission path detecting described diverse location region corresponding respectively exists renewal;
If exist, then described transmission path is upgraded.
6. a data transmission device, is characterized in that, comprising:
Receiving element, for receiving the data transfer request that client sends, carries the station location marker information of described client in described data transfer request;
Acquiring unit, for the station location marker information according to described client, the band of position corresponding with described station location marker information is obtained from the band of position of preset map, the diverse location region divided according to presetting rule is included, the transmission path that described diverse location region is corresponding different respectively in described preset map;
Dispensing unit, for being the described client configuration transmission path corresponding with the described band of position, carries out transfer of data to make described client by described transmission path.
7. device according to claim 6, is characterized in that, described device also comprises: division unit and storage unit;
Described acquiring unit, also for obtaining history log visit information, includes the station location marker information of different clients in described history log visit information, and the transmission speed that the station location marker information of described different clients is corresponding respectively;
Described preset map partitioning, for the station location marker information of different clients obtained according to described acquiring unit, is diverse location region by described division unit;
Described dispensing unit, also for the transmission speed that the station location marker information of the different clients obtained according to described acquiring unit is corresponding respectively, for described diverse location region configures corresponding preset transmission path respectively;
Described storage unit, the transmission path that the diverse location region for preserving the configuration of described dispensing unit is corresponding respectively.
8. device according to claim 6, is characterized in that, described device also comprises: judging unit;
Described acquiring unit, also for obtaining transmitting state information corresponding to described transmission path;
Described judging unit, for judging whether the transmitting state information that described acquiring unit obtains meets prerequisite;
Described dispensing unit if judge that described transmitting state information meets prerequisite specifically for described judging unit, is then transmission path described in described client configuration.
9. device according to claim 7, is characterized in that, described device also comprises: detecting unit and increase unit;
Described acquiring unit, also for obtaining newly-increased history log visit information according to preset time interval;
Described detecting unit, for according to described newly-increased history log visit information, detects in described preset map whether there is the unallocated band of position;
Described acquiring unit, if also detect in described preset map to there is the unallocated band of position for described detecting unit, then obtains the transmission path that the described band of position is corresponding;
Described increase unit, for increasing the described band of position in described preset map;
Described storage unit, also for preserving transmission path corresponding to the described band of position.
10. device according to claim 9, is characterized in that, described device also comprises: updating block;
Described detecting unit, also for according to described newly-increased history log visit information, whether the transmission path detecting described diverse location region corresponding respectively exists renewal;
Described updating block, then upgrades the transmission path existence renewal that described diverse location region is corresponding respectively if detect for described detecting unit to described transmission path.
CN201510379929.4A 2015-07-01 2015-07-01 Data transmission method and device Active CN104994157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510379929.4A CN104994157B (en) 2015-07-01 2015-07-01 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510379929.4A CN104994157B (en) 2015-07-01 2015-07-01 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN104994157A true CN104994157A (en) 2015-10-21
CN104994157B CN104994157B (en) 2019-07-09

Family

ID=54305908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510379929.4A Active CN104994157B (en) 2015-07-01 2015-07-01 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN104994157B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708061A (en) * 2016-08-08 2018-02-16 富士施乐株式会社 Information processor and information processing method
CN107819811A (en) * 2016-09-14 2018-03-20 阿里巴巴集团控股有限公司 Data communications method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
US20120036238A1 (en) * 2002-10-15 2012-02-09 Akamai Technologies, Inc. Method and system for providing on-demand content delivery for an origin server
CN103023903A (en) * 2012-12-11 2013-04-03 北京奇虎科技有限公司 Data transmission method and server
CN104486818A (en) * 2014-12-11 2015-04-01 深圳市宜联畅游技术有限公司 Method for selective access to cellular mobile network system and cloud server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120036238A1 (en) * 2002-10-15 2012-02-09 Akamai Technologies, Inc. Method and system for providing on-demand content delivery for an origin server
CN101764747A (en) * 2009-12-24 2010-06-30 北京世纪互联宽带数据中心有限公司 Intelligent dispatching method, device and system of content delivery network flow
CN103023903A (en) * 2012-12-11 2013-04-03 北京奇虎科技有限公司 Data transmission method and server
CN104486818A (en) * 2014-12-11 2015-04-01 深圳市宜联畅游技术有限公司 Method for selective access to cellular mobile network system and cloud server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘永贤; 王洪波; 程时端; 林宇: "一种P2P网络中基于位置感知的节点选择策略", 《信息通信技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708061A (en) * 2016-08-08 2018-02-16 富士施乐株式会社 Information processor and information processing method
CN107819811A (en) * 2016-09-14 2018-03-20 阿里巴巴集团控股有限公司 Data communications method, device and equipment
CN107819811B (en) * 2016-09-14 2021-05-18 阿里巴巴集团控股有限公司 Data communication method, device and equipment

Also Published As

Publication number Publication date
CN104994157B (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109067930B (en) Domain name access method, domain name resolution method, server, terminal and storage medium
CN102546656B (en) Method, system and device for finding user in social network
US11681757B2 (en) Similar email spam detection
CN103841204A (en) Traffic-free downloading method, device and system based on mobile terminal
CN103475682B (en) File transfer method and file transfer equipment
CN106850710A (en) A kind of safe data cloud storage system, client terminal, storage server and application process
CN102761856B (en) Terminal room shares the methods, devices and systems of software
CN103685583A (en) Method and system for resolving domain names
CN109274584A (en) Cut-in method, device, client device and the storage medium of access server
CN103825923B (en) Resource download method, business server, mobile phone client-terminal and resource download system
CN109756533B (en) Mirror image acceleration method and device and server
CN113342854A (en) Method and system for generating unique ID of mobile equipment
CN108173952A (en) A kind of data access method and device of content distributing network CDN
CN111935267B (en) Industrial 5G rapid networking method and system
CN106302384A (en) DNS message processing method and device
CN103370695A (en) Database update notification method
WO2021101446A1 (en) System, method and apparatus downloading update package, and device and readable storage medium thereof
CN104468207A (en) Terminal management method, device and system
CN104994157A (en) Data transmission method and device
CN104936221A (en) Method and device for monitoring data flow in mobile terminal
CN103581041A (en) Method for setting MTU value and electronic device
CN108234632A (en) A kind of data distributing method and device of content distributing network CDN
CN110535919A (en) Network access method and device of concentrator and power peak regulation system
CN104333614A (en) Terminal recognition method, device and system
CN104239538B (en) A kind of snapshot-type log compression method, system 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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220801

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.

TR01 Transfer of patent right