System and method for estimated best path prediction
US-2017054852-A1 · Feb 23, 2017 · US
US10326819B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10326819-B2 |
| Application number | US-201715547545-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jul 3, 2017 |
| Priority date | Aug 9, 2016 |
| Publication date | Jun 18, 2019 |
| Grant date | Jun 18, 2019 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The present disclosure discloses a method and an apparatus for detecting an access path. A specific implementation of the method includes: in response to receiving an access request for a source website, selecting a plurality of preset paths as candidate paths according to an address of the source website; transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected; and in response to detecting the successful transmission, recording a successfully transmitting path as a default path for accessing the source website next time. This implementation implements dynamic adjustment of a website access path and maximizes a website access success ratio.
Opening claim text (preview).
What is claimed is: 1. A method for detecting an access path, comprising: in response to receiving an access request for a source website, selecting a plurality of preset paths as candidate paths according to an address of the source website; wherein the plurality of preset paths comprise at least one of: a directly transmitting path, a path transmitting via an inter-network node, or a path transmitting via a same-network node; transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected; and in response to detecting the successful transmission, recording a successfully transmitting path as a default path for accessing the source website next time; wherein in response to transmitting the access request along an indirectly transmitting path, adding a counter into an HTTP request header of the access request, wherein an initial value of the counter is a number of nodes comprised in the indirectly transmitting path, and one is subtracted from the counter every time one node is passed. 2. The method for detecting an access path according to claim 1 , further comprising: setting cache time of the default path, and clearing the default path when the cache time is exceeded. 3. The method for detecting an access path according to claim 1 , wherein the transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected further comprises: detecting whether a default path exists; and in response to detecting that the default path exists, transmitting the access request to the source website along each of the candidate paths in sequence starting from the default path until a successful transmission is detected. 4. The method for detecting an access path according to claim 1 , wherein the plurality of preset paths further comprise a path transmitting via a inter-network node and a same-network node. 5. A device, comprising: a processor; and a memory, the memory storing computer-readable instructions, which when executed by the processor, cause the processor to perform operations, the operations comprising: in response to receiving an access request for a source website, selecting a plurality of preset paths as candidate paths according to an address of the source website; wherein the plurality of preset paths comprise at least one of: a directly transmitting path, a path transmitting via an inter-network node, or a path transmitting via a same-network node; transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected; and in response to detecting the successful transmission, recording a successfully transmitting path as a default path for accessing the source website next time; wherein in response to transmitting the access request along an indirectly transmitting path, adding a counter into an HTTP request header of the access request, wherein an initial value of the counter is a number of nodes comprised in the indirectly transmitting path, and one is subtracted from the counter every time one node is passed. 6. The device according to claim 5 , wherein the operations further comprises: setting cache time of the default path, and clearing the default path when the cache time is exceeded. 7. The device according to claim 5 , wherein the transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected further comprises: detecting whether a default path exists; and in response to detecting that the default path exists, transmitting the access request to the source website along each of the candidate paths in sequence starting from the default path until a successful transmission is detected. 8. The device according to claim 5 , wherein the plurality of preset paths further comprise a path transmitting via a inter-network node and a same-network node. 9. A non-transitory computer storage medium, storing computer-readable instructions, which when executed by a processor, cause the processor to perform operations, the operations comprising: in response to receiving an access request for a source website, selecting a plurality of preset paths as candidate paths according to an address of the source website; wherein the plurality of preset paths comprise at least one of: a directly transmitting path, a path transmitting via an inter-network node, or a path transmitting via a same-network node; transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected; and in response to detecting the successful transmission, recording a successfully transmitting path as a default path for accessing the source website next time; wherein in response to transmitting the access request along an indirectly transmitting path, adding a counter into an HTTP request header of the access request, wherein an initial value of the counter is a number of nodes comprised in the indirectly transmitting path, and one is subtracted from the counter every time one node is passed. 10. The non-transitory computer storage medium according to claim 9 , wherein the operations further comprises: setting cache time of the default path, and clearing the default path when the cache time is exceeded. 11. The non-transitory computer storage medium according to claim 9 , wherein the transmitting the access request to the source website along each of the candidate paths in sequence until a successful transmission is detected further comprises: detecting whether a default path exists; and in response to detecting that the default path exists, transmitting the access request to the source website along each of the candidate paths in sequence starting from the default path until a successful transmission is detected. 12. The non-transitory computer storage medium according to claim 9 , wherein the plurality of preset paths further comprise a path transmitting via a inter-network node and a same-network node.
Routing based on the source address · CPC title
Details of cache memory · CPC title
Electricity · mapped topic
Details of cache specific to multiprocessor cache arrangements · CPC title
Miscellaneous aspects · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.