CN102647460A - Transaction data downloading method and mobile terminal - Google Patents

Transaction data downloading method and mobile terminal Download PDF

Info

Publication number
CN102647460A
CN102647460A CN2012100897056A CN201210089705A CN102647460A CN 102647460 A CN102647460 A CN 102647460A CN 2012100897056 A CN2012100897056 A CN 2012100897056A CN 201210089705 A CN201210089705 A CN 201210089705A CN 102647460 A CN102647460 A CN 102647460A
Authority
CN
China
Prior art keywords
data source
current
current optimal
link
optimal 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.)
Pending
Application number
CN2012100897056A
Other languages
Chinese (zh)
Inventor
蔡云飞
汪洋
周洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2012100897056A priority Critical patent/CN102647460A/en
Publication of CN102647460A publication Critical patent/CN102647460A/en
Priority to PCT/CN2013/071359 priority patent/WO2013143360A1/en
Pending legal-status Critical Current

Links

Images

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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a transaction data downloading method and a mobile terminal. The transaction data downloading method comprises the steps of: if the mobile terminal finds the switching of a proxy area when downloading the transaction data from the current linked data source, obtaining the information of the current optimal data source; and if the current optimal data source is different from the current linked data source, sending link request message to the current optimal data source through the mobile terminal, and continuing to download the transaction data from the current optimal data source. Due to the adoption of the method and the mobile terminal, the condition that the mobile terminal still can download the needed transaction data from the optimal data source corresponding to the place for initiating the transaction request even if the mobile terminal is far away from the proxy area for initiating the transaction request under the router optimizing mode of a mobile IP (Internet Protocol) can be avoided, the reduction of the whole network flow is facilitated, and meanwhile, the communication quality is improved.

Description

A kind of business datum method for down loading and portable terminal
Technical field
The present invention relates to mobile communication technology, relate in particular to a kind of business datum method for down loading and portable terminal.
Background technology
Along with the development of 3G network and intelligent mobile terminal technology, access internet becomes people's one of indispensable demand of living whenever and wherever possible under mobile status, and people can be engaged in diverse networks such as video-see, file download by portable terminal and experience.How the nearest data source of guiding mobile terminal user capture distance users so that reduce the whole network delivery flow rate, improves user's download speed, promotes user experience, is the hot issue of present network research.
Accesses network need be by means of mobile IP technology under mobile status for the user.Mobile IP technology is meant that mobile subscriber terminal is in across a network moves and roams; Use is during based on the network of ICP/IP protocol; Need not revise the original IP address of portable terminal, and continue to enjoy all authorities in the former network (being similar to mobile phone roaming and need not changing number, is to change the IP address) here.In simple terms, mobile IP provides a kind of IP routing mechanism, and mobile node can be connected on any link with a permanent IP address.Mobile IP exists tunnel mode and two kinds of implementation methods of routing optimality pattern.When mobile subscriber terminal is in the local network link; The data flow of two kinds of patterns is the same; (Home Agent HA) is forwarded to server, and the data of server response are transmitted to the user through home agent through home agent in the request of user capture server.When the user was in the far-end network zone, the user was in roaming state.At this moment; The user comprises through the step of tunnel approach accesses network: (Foreign Agent FA) is forwarded to server, and the data of server response are not directly to issue Foreign Agent through Foreign Agent in the request of user capture server; But be sent to user's home agent; A forwarding tunnel is arranged between home agent and the Foreign Agent, and data are forwarded to Foreign Agent through the tunnel from home agent, and Foreign Agent is given the roamer with data forwarding again.Step through routing optimality mode access network when the user is in the far-end network zone comprises: the request of user capture server is forwarded to server through foreign agent FA, and the data of server response directly are transmitted to the user through Foreign Agent.
Content supplier can be by means of such as application layer traffic optimization (English: Application Layer Traffic Optimization; Be called for short: ALTO) technology, dynamic territory analyzing (English: Domain Name System, abbreviation: DNS) wait the optimized choice of carrying out server resource.For example; The ALTO service can provide the information (as: relative position information of Resource consumers and a plurality of data sources, which data source is nearer apart from Resource consumers) as the parameter of Internet resources is selected to reach through changing the purpose that the Internet resources consumption mode keeps and improve application performance.
As the user in current location to content supplier's (English: Content Provider; Be called for short: CP) server begins to initiate operation flow (video-see, file download etc.), and the location that the CP server is current according to the user selects a content server to the user business datum to be provided nearby; The essence of selecting is nearby carried out application layer traffic optimization exactly; Make and user data visit marginalisation reduce the whole network flow, improve user's visit quality simultaneously.
For tunnel mode; Because the data that data source provides always are transmitted to user's portable terminal through home agent; Therefore no matter user's current being in which agent territory of portable terminal all is to obtain resource data from the data source nearest apart from home agent.
But for the routing optimality pattern; Because that communicate by letter with data source is the current on-site agency of portable terminal; And be not necessarily home agent, so user's portable terminal is that near the data source the location agency (home agent or Foreign Agent) is obtained resource data when initiating service request, the terminal use when an agent territory crosses the another one agent territory; Though switched the agency; But the data source of its visit does not change, and before the user did not have the new business of active request, the data that the user receives and the data of receiving before the agency is switched were from identical data source.As shown in Figure 1; User User-A is from regional Area-A; The agency of Area-A is P-A: (1) user transmits the requested service packet through acting on behalf of P-A; To CP server requests video data, the CP server is with according to acting on behalf of the IP address of P-A, the request of User-A is redirected to distance acts on behalf of the nearest content server S-A of P-A; (2) content server S-A is sent to video data and acts on behalf of P-A, and P-A gives User-A with data forwarding; (3) user User-A moves to regional Area-B in seeing the process of video; According to the routing optimality implementation method that moves IP; The agency of User-A switches to P-B by P-A, and the data of content of announcement server S-A are sent to and act on behalf of P-B simultaneously, are transmitted to User-A by P-B.
For the routing optimality implementation method that moves IP; The terminal use obtains in the process of data in mobile status, switches with the agency though accomplish network link, and keeps professional not interrupting; But; The terminal use is through the data source before switching that remains of the proxy access after switching, and original data source possibly not be for the optimum data source of current agency under present case; Owing to needing very long transmission path the current agency, possibly not reach the desired result of flow optimization from the data source of current link.Along with going far gradually of user, user's application layer traffic is optimized effect and possibly can't be reduced the whole network flow again, even can reduce communication quality worse and worse.
Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of business datum method for down loading and portable terminal are provided.Can when the user is in the mobile status accesses network, reduce the whole network flow, improve communication quality.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of business datum method for down loading, comprising:
Switch if find the agent territory during from the data source downloading service data of current link, then obtain the information of current optimal data source;
If the current optimal data source is different with the data source of current link, then sends link request message, and continue to download said business datum from said current optimal data source to the current optimal data source.
Correspondingly, the embodiment of the invention also provides a kind of portable terminal, comprising:
Zone switching judging module is used to judge whether to find the agent territory switching;
Current optimal data source acquisition module is used for from the data source downloading service data of current link the time, switches if regional switching judging module is found the agent territory, then obtains the information of current optimal data source;
The data source comparison module is used for the data source of comparison current optimal data source and current link;
Download module is used for sending link request message to the current optimal data source in the data source of current optimal data source and current link not simultaneously, and continues to download said business datum from said current optimal data source.
Embodiment of the present invention embodiment; Has following beneficial effect: the data source that dynamically is linked to current optimal when switching in the agent territory; Can avoid moving under the routing optimality pattern of IP, even the agent territory of portable terminal when initiating service request, the still corresponding best source downloading service data conditions in location when initiating service request; Help reducing the whole network flow, improved communication quality simultaneously.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the existing schematic flow sheet of accesses network under mobile status based on the routing optimality pattern;
Fig. 2 is the first embodiment flow chart of business datum method for down loading provided by the invention;
Fig. 3 is the second embodiment flow chart of business datum method for down loading provided by the invention;
Fig. 4 is the 3rd an embodiment flow chart of business datum method for down loading provided by the invention;
Fig. 5 is the flow chart of the business datum method for down loading based on ISP network or CDN network provided by the invention;
Fig. 6 is the flow chart of the business datum method for down loading based on the P2P network that has Tracker provided by the invention;
Fig. 7 is the flow chart of the business datum method for down loading of the P2P network based on operation DHT agreement provided by the invention;
Fig. 8 is the first example structure sketch map of portable terminal provided by the invention;
Fig. 9 is the second example structure sketch map of portable terminal provided by the invention;
Figure 10 is the 3rd an example structure sketch map of portable terminal provided by the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Seeing also Fig. 2, is the first embodiment flow chart of business datum method for down loading provided by the invention, and this method comprises:
At step S200, switch if find the agent territory during from the data source downloading service data of current link, then obtain the information of current optimal data source.In communication network, in order to guarantee communication quality, to have disposed and much acted on behalf of Agent, the network area that each agency covers can be called an agent territory, when portable terminal gets into certain agent territory, need be via the proxy access network network of this agent territory.The current optimal data source is meant that all comprise the nearest data source of current agency of the data source middle distance portable terminal of the required business datum resource of user.When the user needs accesses network to initiate service request (for example Network such as video-see, file download); Utilize application layer traffic optimisation technique or other similar techniques; Portable terminal can obtain the information of current optimal data source, and through the current A that acts on behalf of to current optimal data source requested service data.Link if successfully set up, so this current optimal data source data source that is exactly the portable terminal current link with the current optimal data source.Portable terminal is downloaded required business datum through the current A of agency from the data source of current link; In the downloading service data procedures; If owing to move, portable terminal switches to another agent territory, at this moment; The agency of portable terminal also switches, said another agent territory act on behalf of the current agency that B becomes portable terminal.Owing to be used to transmit the current agency of data change has taken place, the data source of current link possibly no longer be the optimum data source of current effect, and portable terminal obtains the information of current optimal data source again.
At step S201, if the current optimal data source is different with the data source of current link, then send link request message, and continue to download said business datum from said current optimal data source to the current optimal data source.Particularly; Can compare the current optimal data source obtained and the data source of current link; If the current optimal data source is identical with the data source of current link, then via the current B that acts on behalf of still from the data source downloading service data of current link, different as if the current optimal data source with the data source of current link; Then link, and continue to download required business datum from the current optimal data source via the current B that acts on behalf of with the foundation of current optimal data source.
The business datum method for down loading that the embodiment of the invention provides; Dynamically be linked to the data source of current optimal when switching in the agent territory; Can avoid moving under the routing optimality pattern of IP, even the agent territory of portable terminal when initiating service request, the still corresponding best source downloading service data conditions in location when initiating service request; Help reducing the whole network flow, improved communication quality simultaneously.
Among the embodiment shown in Figure 2; If in the process of downloading service data, need the switch data source; Owing to downloaded a part of business datum, can be that starting point is downloaded remaining business datum from the current optimal data source again with the point of interruption, the preferred embodiment is as shown in Figure 3.Seeing also Fig. 3, is the second embodiment flow chart of business datum method for down loading provided by the invention, and this method comprises:
At step S300, from the data source reception business datum of current link.The business datum of being asked from the data source reception of current link particularly, via current agency.
At step S301, judge whether the agent territory switches.Particularly, find new agency in the time of can utilizing the agent discovery mechanism that moves IP to switch, thereby judge according to acting on behalf of whether to switch whether the agent territory switches in the agent territory.
If the judged result of step S301 representes that for not the agent territory does not have to switch, portable terminal still is in original agent territory, continues execution in step S300.
If the judged result of step S301 is for being represent that portable terminal moves to another agent territory, and the current agency of portable terminal to automatically switch to the agency of said another agent territory, execution in step S302.
At step S302, obtain the information of current optimal data source.The current optimal data source is meant that all comprise the nearest data source of current agency of the data source middle distance portable terminal of said business datum.
At step S303, judge whether the current optimal data source is identical with the data source of current link.If the judged result of step S303 is for being then to continue execution in step S300.If the judged result of step S303 is not, then execution in step S304.
At step S304, extract the download message of the current data of download business.Particularly, download message can comprise the data amount information, duration information of downloading service data, download location information, download content information etc.
At step S305, send link request message to the current optimal data source, said link request message comprises said download message.After the current optimal data source receives link request message; Can confirm the portable terminal data volume of download business data according to the download message that wherein comprises; Then via the current agency of the portable terminal business datum after portable terminal is transmitted downloading service data, promptly portable terminal is asked does not also have the download business data.
At step S306, continue to download said business datum from said current optimal data source according to the said download message in the said link request message.Particularly, portable terminal can continue the downloading service data from the current optimal data source via current agency, and continuation download business data do not comprise download business data.
Through send the download message of downloading service data to the current optimal data source; Can realize data sync; Make that business datum can be transferred automatically when data source was switched; The switching of data source is invisible to the user, thereby has guaranteed the fluency that customer service is experienced, and has ensured preferable user experience.
Among the embodiment shown in Figure 3; After the step S305, possibly cause owing to the reason of communication environment can't successfully setting up and link, in order to ensure the fluency of downloading service data with the current optimal data source; Need judge whether successfully to set up link, the preferred embodiment is as shown in Figure 4.Seeing also Fig. 4, is the 3rd embodiment flow chart of business datum method for down loading provided by the invention, and this method comprises:
At step S400, from the data source reception business datum of current link.The business datum of being asked from the data source reception of current link particularly, via current agency.
At step S401, judge whether the agent territory switches.Particularly, find new agency in the time of can utilizing the agent discovery mechanism that moves IP to switch, thereby judge according to acting on behalf of whether to switch whether the agent territory switches in the agent territory.
If the judged result of step S401 representes that for not the agent territory does not have to switch, portable terminal still is in original agent territory, continues execution in step S400.
If the judged result of step S401 is for being represent that portable terminal moves to another agent territory, and the current agency of portable terminal to automatically switch to the agency of said another agent territory, execution in step S402.
At step S402, obtain the information of current optimal data source.The current optimal data source is meant that all comprise the nearest data source of current agency of the data source middle distance portable terminal of the required business datum resource of user.
At step S403, judge whether the current optimal data source is identical with the data source of current link.If the judged result of step S403 is for being then to continue execution in step S400.If the judged result of step S403 is not, then execution in step S404.
At step S404, extract the download message of the current data of download business.Particularly, download message can comprise the data amount information, duration information of downloading service data, download location information, download content information etc.
At step S405, send link request message to the current optimal data source, said link request message comprises said download message.After the current optimal data source receives link request message; Can confirm the portable terminal data volume of download business data according to the download message that wherein comprises; Then via the current agency of the portable terminal business datum after portable terminal is transmitted downloading service data, promptly portable terminal is asked does not also have the download business data.
At step S406, judge with said current optimal data source between link whether set up success.If the judged result of step S406 then continues execution in step S400 for not.If the judged result of step S406 is for being, execution in step S407 then.
At step S407, with the data source break link of said current link, the data source of the current link here still refers to the data source of service data transmission among the step S400, rather than the new current optimal data source of setting up link.
At step S408, continue to download said business datum from said current optimal data source according to the said download message in the said link request message.Particularly, can continue to download said business datum from the current optimal data source, and continuation download business data do not comprise download business data via current agency.
Through confirm with the current optimal data source successfully set up link after; Break off again with former data source between link; And from current optimal data source continuation reception business datum; Can avoid linking the user experience that causes when failing and interrupt, improve the reliability of access to netwoks and the quality of business experience with the current optimal data source.
Preferably; For step S302 or step S402; If portable terminal need obtain the information of current optimal data source from the management server (the for example secondary server Tracker of P2P network) that content supplier disposes, step S201 or step S402 comprise so: send current optimal data source request message to management server; The information of the current optimal data source that data source optimization techniques such as receiving management server by utilizing application layer traffic optimisation technique return.Wherein, current optimal data source request message can comprise the current agency's of portable terminal positional information.
Common communication network comprises Internet service provider's (English: Internet Service Provider; Be called for short: ISP) network, content distributing network (English: Content Delivery Network; Be called for short: CDN) network and point to point network (English: Point to Point, abbreviation: P2P) etc.Below with reference to Fig. 5-7 application of business datum method for down loading in different communication network shown in Fig. 2-4 described.
Seeing also Fig. 5, is the flow chart of the business datum method for down loading based on ISP network or CDN network provided by the invention.
For the ISP network; The service provider disposes the content server of oneself in the ISP network; And the business datum of distribution oneself on the content server of being disposed; Business datum on the different content server can be identical, part is identical or diverse, employed here content server is exactly a data source mentioned above.The current optimal data source is exactly the nearest content server of distance users (current in other words agency) that content supplier disposes in the ISP network.This method comprises:
At step S500, from the data source S-A reception business datum of current link.Particularly, the business datum that Area-A is asked from the data source S-A reception of current link via the current P-A of agency in the present located agent territory, data source S-A is optimum data source for acting on behalf of P-A.Before step S500, can comprise: the management server to the service provider sends service request, under the guiding of management server, is linked to the own nearest data source of distance.
At step S501, judge whether the agent territory switches.
If the judged result of step S501 representes that for not the agent territory does not have to switch, portable terminal still is in original agent territory Area-A, continues execution in step S500.
If the judged result of step S501 is for being represent that portable terminal moves to another agent territory Area-B, and the current agency of portable terminal to automatically switch to the P-B that acts on behalf of of agent territory Area-B, execution in step S502.
At step S502, the management server transmission current optimal data source request message to content supplier.Wherein, current optimal data source request message can comprise the address of the current P-B of agency.
At step S503, the information of the current optimal data source that the management server of received content provider returns based on the application layer traffic optimisation technique.
At step S504, judge whether the current optimal data source is identical with the data source S-A of current link.
If the judged result of step S504 is for being then to continue execution in step S500.Need to prove that this moment, portable terminal was from data source S-A downloading service data via the current P-B of agency during execution in step S500.
If the judged result of step S504 is not, then execution in step S505.At step S505, extract the download message of the current data of download business.Particularly, download message can comprise the data amount information, duration information of downloading service data, download location information, download content information etc.
At step S506, send link request message to current optimal data source S-B, said link request message comprises said download message.After current optimal data source S-B receives link request message; Can confirm the portable terminal data volume of download business data according to the download message that wherein comprises; Then via the current P-B of agency of the portable terminal business datum after portable terminal is transmitted downloading service data, promptly portable terminal is asked does not also have the download business data.
At step S507, whether judgement successfully sets up with current optimal data source S-B links.
If the judged result of step S507 then continues execution in step S500 for not.Need to prove that this moment, portable terminal was from data source S-A downloading service data via the current P-B of agency during execution in step S500.
If the judged result of step S507 is for being, execution in step S508 then.At step S508, with the data source S-A break link of current link.
In step 509, continue the downloading service data from current optimal data source S-B according to the said download message in the said linking request.Particularly, can be via the current P-B that acts on behalf of from current optimal data source S-B downloading service data, and continue the download business data and do not comprise download business data.
For the CDN network; The service provider distributes the business datum of oneself on the server resource of the CDN operator of renting; Business datum on the different server resource can be identical, part is identical or diverse, employed here server resource is exactly a data source mentioned above.The current optimal data source is exactly the nearest server resource of distance users (current in other words agency) that CDN operator is rented by content supplier.Its method flow is referring to Fig. 5.
Seeing also Fig. 6, is the flow chart of the business datum method for down loading based on the P2P network that has secondary server Tracker provided by the invention.Because the P2P network using is that node is uploaded this mode of same business datum when downloading, therefore in the P2P network, above-mentioned data source is exactly other node of uploading the identical services data, is also referred to as peer.The current optimal data source has required business datum and the nearest present count destination node of distance users (current in other words agency) exactly.Secondary server Tracker is meant a kind of program that runs on the server, and this program can track the end has downloading same file simultaneously for how many nodes.Portable terminal connects the Tracker server, will obtain a node listing, according to node listing, can connect other node automatically and download.This method comprises:
At step S600, from N node reception business datum of current link.Particularly, Area-A downloads the business datum of being asked via the current P-A of agency from N node of current link in the present located agent territory, and this N node is optimum data source for acting on behalf of P-A.Before step S600, can comprise: send service request to the Tracker server, have said business datum and the nearest top n address of node information of distance P-A, be linked to this N node then from the reception of Tracker server.
At step S601, judge whether the agent territory switches.
If the judged result of step S601 representes that for not the agent territory does not have to switch, portable terminal still is in original agent territory Area-A, continues execution in step S600.If the judged result of step S601 is for being represent that portable terminal moves to another agent territory Area-B, and the current agency of portable terminal to automatically switch to the P-B that acts on behalf of of agent territory Area-B, execution in step S602.
At step S602, send current optimal data source request message to the Tracker server.Wherein, current optimal data source request message can comprise the address of the current P-B of agency.
At step S603, receive the information of the current optimal data source that the Tracker server returns based on the application layer traffic optimisation technique.
At step S604; N node of N node in the current optimal data source and current link relatively; With in the current optimal data source with the data source of current link in the node that all comprises confirm as the I category node; With comprise in the current optimal data source and the data source of current link in the node that do not comprise confirm as the II category node, comprise in the data source with current link and the current optimal data source in the node that do not comprise confirm as the III category node.
At step S605, extract the download message of the current data of download business.Particularly, download message can comprise the data amount information, duration information of downloading service data, download location information, download content information etc.
At step S606, send link request message to the II category node, comprise said download message in the said link request message.After the II category node receives link request message; Can confirm the portable terminal data volume of download business data according to the download message that wherein comprises; Then via the current P-B of agency of the portable terminal business datum after portable terminal is transmitted downloading service data, promptly portable terminal is asked does not also have the download business data.
At step S607, judge successively with each II category node between link and whether successfully set up, every successfully set up one with the II category node between link, from the III category node, select a break link according to the chain algorithm of presetting of tearing open.For example, tear the chain algorithm open and can comprise and select an III category node break link at random, can also comprise the current P-B of agency of chosen distance III category node break link farthest, or select the slowest III category node break link of uploading speed etc.
At step S608, continue the downloading service data from the II category node of I category node, successfully foundation link and the III category node that still keeps linking according to the said download message in the said linking request.Particularly, continue the downloading service data via the current P-B that acts on behalf of from the II category node of I category node, successfully foundation link and the III category node that still keeps linking, and continuation download business data do not comprise download business data.
Seeing also Fig. 7, is provided by the invention based on operation distributed hashtable (English: Distributed Hash Table, abbreviation: the DHT) flow chart of the business datum method for down loading of the P2P network of agreement.Because the P2P network using is that node is uploaded this mode of same business datum when downloading, therefore in the P2P network, above-mentioned data source is exactly other node of uploading the identical services data, is also referred to as peer.The current optimal data source has required business datum and the nearest present count destination node of distance users (current in other words agency) exactly.DHT is a kind of distributed storage method, and under the situation that does not need server, each client is responsible for a route among a small circle, and is responsible for storage sub-fraction business datum, thereby realizes the addressing and the storage of whole DHT network.Do not connecting fully under the situation of Tracker server, also can well the downloading service data through the DHT agreement, because it can seek other users that download identical file in network, realize and be connected Tracker server identical functions.This method comprises:
At step S700, from N node reception business datum of current link.Particularly, Area-A downloads the business datum of being asked via the current P-A of agency from N node of current link in the present located agent territory, and this N node is optimum data source for acting on behalf of P-A.Before step S700, can comprise: search node through the DHT agreement, and node is sorted, search optimum (for example distance P-A is nearest) top n address of node information, be linked to this N node then with said business datum.
At step S701, judge whether the agent territory switches.
If the judged result of step S701 representes that for not the agent territory does not have to switch, portable terminal still is in original agent territory Area-A, continues execution in step S700.If the judged result of step S701 is for being represent that portable terminal moves to another agent territory Area-B, and the current agency of portable terminal to automatically switch to the P-B that acts on behalf of of agent territory Area-B, execution in step S702.
At step S702, obtain the information of current optimal data source through the DHT agreement.
At step S703; N node of N node in the current optimal data source and current link relatively; With in the current optimal data source with the data source of current link in the node that all comprises confirm as the I category node; With comprise in the current optimal data source and the data source of current link in the node that do not comprise confirm as the II category node, comprise in the data source with current link and the current optimal data source in the node that do not comprise confirm as the III category node.
At step S704, extract the download message of the current data of download business.Particularly, download message can comprise the data amount information, duration information of downloading service data, download location information, download content information etc.
At step S705, send link request message to the II category node, comprise said download message in the said link request message.After the II category node receives link request message; Can confirm the portable terminal data volume of download business data according to the download message that wherein comprises; Then via the current P-B of agency of the portable terminal business datum after portable terminal is transmitted downloading service data, promptly portable terminal is asked does not also have the download business data.
At step S706, judge successively with each II category node between link and whether successfully set up, every successfully set up one with the II category node between link, from the III category node, select a break link according to the chain algorithm of presetting of tearing open.For example, tear the chain algorithm open and can comprise and select an III category node break link at random, can also comprise the current P-B of agency of chosen distance III category node break link farthest, or select the slowest III category node break link of uploading speed etc.
At step S707, continue the downloading service data from the II category node of I category node, successfully foundation link and the III category node that still keeps linking according to the said download message in the said linking request.Particularly, continue the downloading service data via the current P-B that acts on behalf of from the II category node of I category node, successfully foundation link and the III category node that still keeps linking, and continuation download business data do not comprise download business data.
Seeing also Fig. 8, is the first example structure sketch map of portable terminal provided by the invention, and this portable terminal comprises:
Zone switching judging module 810 is used to judge whether to find the agent territory switching.In communication network, in order to guarantee communication quality, to have disposed and much acted on behalf of Agent, the network area that each agency covers can be called an agent territory, when portable terminal gets into certain agent territory, need be via the proxy access network network of this agent territory.Particularly, find new agency when regional switching judging module 810 can utilize the agent discovery mechanism that moves IP to switch in the agent territory, thereby judge according to acting on behalf of whether to switch whether the agent territory switches.
Current optimal data source acquisition module 820 is used for during from the data source downloading service data of current link, if switch regional switching judging module 810 discovery agent territories, then obtaining the information of current optimal data source at download module 830.The current optimal data source is meant that all comprise the nearest data source of current agency of the data source middle distance portable terminal of the required business datum resource of user.When the user needs accesses network to initiate service request (for example Network such as video-see, file download); Utilize application layer traffic optimisation technique or other similar techniques; Portable terminal can obtain the information of current optimal data source, and through the current A that acts on behalf of to current optimal data source requested service data.Link if successfully set up, so this current optimal data source data source that is exactly the portable terminal current link with the current optimal data source.Portable terminal is downloaded required business datum through the current A of agency from the data source of current link; In the downloading service data procedures; If owing to move, portable terminal switches to another agent territory, at this moment; The agency of portable terminal also switches, said another agent territory act on behalf of the current agency that B becomes portable terminal.Owing to be used to transmit the current agency of data change has taken place, the data source of current link possibly no longer be the optimum data source of current effect, and portable terminal obtains the information of current optimal data source again.
Data source comparison module 830 is used for the data source of comparison current optimal data source and current link.
Download module 840 is used for sending link request message to the current optimal data source in the data source of current optimal data source and current link not simultaneously, and continues to download said business datum from said current optimal data source.Particularly; After the data source of current optimal data source that data source comparison module 820 is relatively obtained and current link; If the current optimal data source is identical with the data source of current link; Then download module 830 via the current B that acts on behalf of still from the data source downloading service data of current link; If the current optimal data source is different with the data source of current link, then download module 830 is set up with the current optimal data source and is linked, and continues to download required business datum via the current B that acts on behalf of from the current optimal data source.
The portable terminal that the embodiment of the invention provides; Dynamically be linked to the data source of current optimal when switching in the agent territory; Can avoid moving under the routing optimality pattern of IP, even the agent territory of portable terminal when initiating service request, the still corresponding best source downloading service data conditions in location when initiating service request; Help reducing the whole network flow, improved communication quality simultaneously.
Among the embodiment shown in Figure 8; If in the process of downloading service data, need the switch data source; Owing to downloaded a part of business datum, can be that starting point is downloaded remaining business datum from the current optimal data source again with the point of interruption, the preferred embodiment is as shown in Figure 9.See also Fig. 9; It is the second example structure sketch map of portable terminal provided by the invention; This portable terminal comprises regional switching judging module 810, current optimal data source acquisition module 820, data source comparison module 830 and download module 840, and download module 840 specifically comprises download message extraction module 841, linking request sending module 842 and data reception module 843.
The download message extraction module 841, are used in the judged result of data source comparison module 830 extracting the download message of the current data of download business for not the time.Particularly, download message can comprise the data amount information, duration information of downloading service data, download location information, download content information etc.
Linking request sending module 842 is used for sending link request message to the current optimal data source, and said link request message comprises said download message.After the current optimal data source receives link request message; Can confirm the portable terminal data volume of download business data according to the download message that wherein comprises; Then via the current agency of the portable terminal business datum after portable terminal is transmitted downloading service data, promptly portable terminal is asked does not also have the download business data.
Data reception module 843 is used for said download message according to said link request message from current optimal data source downloading service data.Particularly, data reception module 843 can be via current agency from current optimal data source downloading service data.When the data source that is linked switched, data reception module 843 did not comprise from the data source of original link download business data from the data source download business data of new url.
Through send the download message of downloading service data to the current optimal data source; Can realize data sync; Make that business datum can be transferred automatically when data source was switched; The switching of data source is invisible to the user, thereby has guaranteed the fluency that customer service is experienced, and has ensured preferable user experience.
Among the embodiment shown in Figure 9, possibly cause owing to the reason of communication environment can't successfully setting up with the current optimal data source and link, in order to ensure the fluency of downloading service data, need judge whether successfully to set up link, the preferred embodiment is shown in figure 10.See also Figure 10; It is the 3rd example structure sketch map of portable terminal provided by the invention; This portable terminal comprises regional switching judging module 810, current optimal data source acquisition module 820, data source comparison module 830, download module 840 and link judge module 850, and download module 840 specifically comprises download message extraction module 841, linking request sending module 842 and data reception module 843.
Link judge module 850 is used to judge whether linking between the current optimal data source of obtaining with current optimal data source acquisition module 820 sets up success.Link judge module 850 continues the data source downloading service data from current link at judged result notification data receiver module 843 for not the time via current agency; The data source of current link here refers to the original just data source of link, rather than the new current optimal data source of setting up link.Link judge module 850 is that notification data receiver module 843 breaks off and the data source break link that originally link when being in judged result, and from the current optimal data source continuation reception business datum of new url.
Through confirm with the current optimal data source successfully set up link after; Break off again with former data source between link; And from current optimal data source continuation reception business datum; Can avoid linking the user experience that causes when failing and interrupt, improve the reliability of access to netwoks and the quality of business experience with the current optimal data source.
Common communication network comprises ISP network, CDN network with the P2P network etc., in concrete communication network, and the method for any portable terminal shown in the drawings shown in can execution graph 5-7 among Fig. 8-10.
In ISP network or CDN network, current optimal data source acquisition module 810 specifically comprises: current optimal data source request message sending module is used for sending current optimal data source request message to management server; Current optimal data source information receiver module is used for the information of the current optimal data source that data source optimization techniques such as receiving management server by utilizing application layer traffic optimisation technique return.Wherein, current optimal data source request message can comprise the current agency's of portable terminal positional information.
In comprising the P2P network of secondary server Tracker, current optimal data source acquisition module 810 comprises: current optimal data source request message sending module is used for sending current optimal data source request message to secondary server Tracker; Current optimal data source information receiver module is used to receive the information of the current optimal data source that secondary server Tracker returns.Wherein, current optimal data source request message can comprise the current agency's of portable terminal positional information.
In the P2P network of operation DHT, current optimal data source acquisition module 810 comprises: agreement is moved module, is used for obtaining through the distributed hashtable agreement information of current optimal data source.
In the P2P network; Data source comparison module 830 comprises: the node comparison module; Be used for the node of comparison current link and the node that the current optimal data source comprises, the notice download module keep with identical node between link and in the current optimal data source, comprise but the node transmission link request message that do not comprise in the node of current link.Download module 840 comprises the url management module; Be used for a success and a said current optimal data source comprise and the node of current link in the node that do not comprise set up link after; The chain algorithm of tearing open according to preset is selected a node that is not included in the current optimal data source from the node of current link, disconnection links with selected node.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosedly be merely a kind of preferred embodiment of the present invention; Certainly can not limit the present invention's interest field with this; One of ordinary skill in the art will appreciate that all or part of flow process that realizes the foregoing description; And, still belong to the scope that invention is contained according to the equivalent variations that claim of the present invention is done.

Claims (21)

1. a business datum method for down loading is characterized in that, comprising:
Switch if find the agent territory during from the data source downloading service data of current link, then obtain the information of current optimal data source;
If the current optimal data source is different with the data source of current link, then sends link request message, and continue to download said business datum from said current optimal data source to the current optimal data source.
2. business datum method for down loading according to claim 1 is characterized in that, and is said to current optimal data source transmission link request message, and the step of downloading said business datum from said current optimal data source continuation specifically comprises:
Extract the download message of the current data of download business;
Send link request message to the current optimal data source, said link request message comprises said download message;
Continue to download said business datum according to the said download message in the said link request message from said current optimal data source.
3. business datum method for down loading according to claim 1 and 2 is characterized in that, saidly after the current optimal data source is sent link request message, also comprises:
Judge with said current optimal data source between link whether set up success, as if being judged as be, then with the data source break link of said current link; If be judged as not, then continue to download said business datum from the data source of said current link.
4. business datum method for down loading according to claim 3 is characterized in that, in Internet service provider's network, said current optimal data source is the nearest content server of distance users that content supplier disposes.
5. business datum method for down loading according to claim 3 is characterized in that, in content delivery network, said current optimal data source is the nearest server resource of distance users of rented content delivery network operator of content supplier.
6. according to claim 4 or 5 described business datum method for down loading, it is characterized in that the said step of obtaining the information of current optimal data source specifically comprises:
Send current optimal data source request message to management server;
The information of the current optimal data source that the receiving management server returns.
7. business datum method for down loading according to claim 3 is characterized in that, in point to point network, said current optimal data source comprises the node with the nearest predetermined number of said business datum and distance users.
8. business datum method for down loading according to claim 7 is characterized in that, comprises secondary server Tracker at point to point network, and the said step of obtaining the information of current optimal data source specifically comprises:
Send current optimal data source request message to secondary server Tracker;
The information of the current optimal data source that reception secondary server Tracker returns.
9. according to claim 6 or 8 described business datum method for down loading, it is characterized in that said current optimal data source request message comprises current agency's address.
10. business datum method for down loading according to claim 7 is characterized in that, in the point to point network of operation distributed hashtable agreement, the said step of obtaining the information of current optimal data source specifically comprises:
Obtain the information of current optimal data source through the distributed hashtable agreement.
11. according to Claim 8 or 10 described business datum method for down loading, it is characterized in that said step of sending link request message to the current optimal data source specifically comprises:
The node that relatively comprises in the node of current link and the current optimal data source, keep with identical node between link, in the current optimal data source, comprise but the node transmission link request message that do not comprise in the node of current link.
12. business datum method for down loading according to claim 11 is characterized in that, the step of the data source break link of said and current link specifically comprises:
In success and a said current optimal data source, comprise and the node of current link in the node that do not comprise set up link after; The chain algorithm of tearing open according to preset is selected a node that is not included in the current optimal data source from the node of current link, disconnection links with selected node.
13. a portable terminal is characterized in that, comprising:
Zone switching judging module is used to judge whether to find the agent territory switching;
Current optimal data source acquisition module is used for from the data source downloading service data of current link the time, switches if regional switching judging module is found the agent territory, then obtains the information of current optimal data source;
The data source comparison module is used for the data source of comparison current optimal data source and current link;
Download module is used for sending link request message to the current optimal data source in the data source of current optimal data source and current link not simultaneously, and continues to download said business datum from said current optimal data source.
14. portable terminal according to claim 13 is characterized in that, said download module specifically comprises:
Download message extraction module is used to extract the download message of the current data of download business;
The linking request sending module is used for sending link request message to the current optimal data source, and said link request message comprises said download message;
Data reception module is used for continuing to download said business datum according to the said download message of said link request message from said current optimal data source.
15., it is characterized in that said portable terminal also comprises according to claim 13 or 14 described portable terminals:
The link judge module, be used to judge with said current optimal data source between link whether set up success, be then to notify the data source break link of said download module and current link if be judged as; If be judged as not, then notify said download module to continue to download said business datum from the data source of current link.
16. portable terminal according to claim 15 is characterized in that, in Internet service provider's network or content delivery network, said current optimal data source acquisition module comprises:
Current optimal data source request message sending module is used for sending current optimal data source request message to management server;
Current optimal data source information receiver module is used for the information of the current optimal data source that the receiving management server returns.
17. portable terminal according to claim 15 is characterized in that, in the point to point network that comprises secondary server Tracker, said current optimal data source acquisition module comprises:
Current optimal data source request message sending module is used for sending current optimal data source request message to secondary server Tracker;
Current optimal data source information receiver module is used to receive the information of the current optimal data source that secondary server Tracker returns.
18., it is characterized in that said current optimal data source request message comprises current agency's address according to claim 16 or 17 described portable terminals.
19. portable terminal according to claim 15 is characterized in that, in the point to point network of operation distributed hashtable agreement, said current optimal data source acquisition module comprises:
Agreement is moved module, is used for obtaining through the distributed hashtable agreement information of current optimal data source.
20. portable terminal according to claim 15 is characterized in that, in point to point network, said data source comparison module comprises:
The node comparison module; Be used for the node of comparison current link and the node that the current optimal data source comprises, the notice download module keep with identical node between link and in the current optimal data source, comprise but the node transmission link request message that do not comprise in the node of current link.
21. portable terminal according to claim 20; It is characterized in that; Said download module comprises: the url management module; Be used for a success and a said current optimal data source comprise and the node of current link in the node that do not comprise set up link after, from the node of current link, select a node that is not included in the current optimal data source according to the preset chain algorithm of tearing open, disconnection links with selected node.
CN2012100897056A 2012-03-30 2012-03-30 Transaction data downloading method and mobile terminal Pending CN102647460A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2012100897056A CN102647460A (en) 2012-03-30 2012-03-30 Transaction data downloading method and mobile terminal
PCT/CN2013/071359 WO2013143360A1 (en) 2012-03-30 2013-02-05 Method for downloading service data and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100897056A CN102647460A (en) 2012-03-30 2012-03-30 Transaction data downloading method and mobile terminal

Publications (1)

Publication Number Publication Date
CN102647460A true CN102647460A (en) 2012-08-22

Family

ID=46660033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100897056A Pending CN102647460A (en) 2012-03-30 2012-03-30 Transaction data downloading method and mobile terminal

Country Status (2)

Country Link
CN (1) CN102647460A (en)
WO (1) WO2013143360A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013143360A1 (en) * 2012-03-30 2013-10-03 华为技术有限公司 Method for downloading service data and mobile terminal
CN104144223A (en) * 2014-08-21 2014-11-12 北京奇艺世纪科技有限公司 Data obtaining method and device
WO2014194489A1 (en) * 2013-06-05 2014-12-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing
US9706255B2 (en) 2013-06-05 2017-07-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing wherein video program and information related to the video program are transmitted to a second device but not to a first device when the distance between the two devices is greater than a predetermined threshold
US9930386B2 (en) 2013-06-05 2018-03-27 Thomson Licensing Method and apparatus for content distribution multiscreen viewing
CN111327697A (en) * 2020-02-18 2020-06-23 腾讯科技(深圳)有限公司 Data downloading method, device, equipment and storage medium
CN112532731A (en) * 2020-12-02 2021-03-19 上海英方软件股份有限公司 Automatic optimization method and device for multiple market data sources
CN116226213A (en) * 2023-02-22 2023-06-06 广州集联信息技术有限公司 Information recommendation system and method based on big data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964480A (en) * 2005-11-10 2007-05-16 华为技术有限公司 A method for switching stream media server
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN102026314A (en) * 2009-09-17 2011-04-20 特拉博斯股份有限公司 Method and system for transferring a communication session between data sources

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647460A (en) * 2012-03-30 2012-08-22 华为技术有限公司 Transaction data downloading method and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964480A (en) * 2005-11-10 2007-05-16 华为技术有限公司 A method for switching stream media server
CN101287011A (en) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 Method, system and device for responding service request from user in content distributing network
CN102026314A (en) * 2009-09-17 2011-04-20 特拉博斯股份有限公司 Method and system for transferring a communication session between data sources

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013143360A1 (en) * 2012-03-30 2013-10-03 华为技术有限公司 Method for downloading service data and mobile terminal
US9930386B2 (en) 2013-06-05 2018-03-27 Thomson Licensing Method and apparatus for content distribution multiscreen viewing
WO2014194489A1 (en) * 2013-06-05 2014-12-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing
CN105378695A (en) * 2013-06-05 2016-03-02 汤姆逊许可公司 Method and apparatus for content distribution for multiscreen viewing
US9706255B2 (en) 2013-06-05 2017-07-11 Thomson Licensing Method and apparatus for content distribution for multiscreen viewing wherein video program and information related to the video program are transmitted to a second device but not to a first device when the distance between the two devices is greater than a predetermined threshold
US10212474B2 (en) 2013-06-05 2019-02-19 Interdigital Ce Patent Holdings Method and apparatus for content distribution for multi-screen viewing
CN105378695B (en) * 2013-06-05 2020-05-19 交互数字Ce专利控股公司 Method and apparatus for content distribution for multi-screen viewing
CN104144223B (en) * 2014-08-21 2018-02-09 北京奇艺世纪科技有限公司 A kind of data capture method and device
CN104144223A (en) * 2014-08-21 2014-11-12 北京奇艺世纪科技有限公司 Data obtaining method and device
CN111327697A (en) * 2020-02-18 2020-06-23 腾讯科技(深圳)有限公司 Data downloading method, device, equipment and storage medium
CN111327697B (en) * 2020-02-18 2022-01-11 腾讯科技(深圳)有限公司 Data downloading method, device, equipment and storage medium
CN112532731A (en) * 2020-12-02 2021-03-19 上海英方软件股份有限公司 Automatic optimization method and device for multiple market data sources
CN116226213A (en) * 2023-02-22 2023-06-06 广州集联信息技术有限公司 Information recommendation system and method based on big data
CN116226213B (en) * 2023-02-22 2023-11-10 广州集联信息技术有限公司 Information recommendation system and method based on big data

Also Published As

Publication number Publication date
WO2013143360A1 (en) 2013-10-03

Similar Documents

Publication Publication Date Title
CN102647460A (en) Transaction data downloading method and mobile terminal
CN1902877B (en) Apparatus and method of controlling unsolicited traffic destined to wireless communication device
EP2701363B1 (en) Content processing method, device and system
CN101662804B (en) Mobile terminal device and communication method thereof
JP4980468B2 (en) Tunneling-based mobility support apparatus and method
CN101835201B (en) Method and system for ensuring uninterrupted data in multiple-network connection environment
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN101406008A (en) Method, apparatus and system for supporting transparent proxy by wireless access gateway
JP5744328B2 (en) Apparatus for enabling data transmission / reception selectively using a plurality of heterogeneous networks based on a fixed host address, and method therefor
CN102546820B (en) The storage means of transmission optimization method, map information, Apparatus and system
CN103238147A (en) Communication service providing system, method of providing communication service and data center management system
CN112187495A (en) Communication method and communication system of terminal and server
CN102986192B (en) Ambulant system and method is provided with separating home agent architecture
KR100804348B1 (en) Communication system, computer comprising a peer-to-peer message filter and method for processing a peer-to-peer message
CN101325542A (en) Method for acquiring PCE capability information between fields, PCE and capability-acquiring apparatus
KR102147669B1 (en) Method fof transmitting of contents, appratus and system for the same
CN104995897A (en) Method, system and devices for content caching and delivering in IP networks
CN101626543B (en) Method for providing P2P service and P2P value added service platform
JP5726302B2 (en) Secret or protected access to a network of nodes distributed across a communication architecture using a topology server
CN101651941B (en) Home agent clustering system and deployment method thereof
CN104780591A (en) Service interoperation implementation method between terminal equipment, device, system and related equipment
JP5147676B2 (en) Short message control device, short message control system, and short message control method
Vassilakis et al. Toward information-centric software-defined cellular networks
CN103327482A (en) Terminal and network switching control method
CN102811256A (en) Method and system for realizing optimization of transmission of application layer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120822