Method and apparatus for detecting access path

US10326819B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10326819-B2
Application numberUS-201715547545-A
CountryUS
Kind codeB2
Filing dateJul 3, 2017
Priority dateAug 9, 2016
Publication dateJun 18, 2019
Grant dateJun 18, 2019

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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.

Assignees

Inventors

Classifications

  • 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

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10326819B2 cover?
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 i…
Who is the assignee on this patent?
Baidu online network technology beijing co ltd
What technology area does this patent fall under?
Primary CPC classification H04L67/02. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jun 18 2019 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).