Method, device, and scheduling server for network resource acquisition
AssigneeWangsu Science & Technology Co., Ltd.
InventorBin Wang
Life of this patent
Estimating the term…
Abstract
Method, device and scheduling server for network resource acquisition are provided. The method includes acquiring an initial delivery strategy, the initial delivery strategy including an IP address of at least one CDN node and a quantity of links established with each of the CDN node; according to the initial delivery strategy, determining a size of fragment content corresponding to each of the links that are established with each of the CDN node and an order of use of each of the links; acquiring the fragment content of a corresponding size by sequentially using each of the links according to the order of use; and when a link has completed acquiring the fragment content, sending a fragment request for acquiring the next fragment content to-be-acquired by using the link.
Claims13
A method for network resource acquisition, applied to a mobile terminal, the method comprising:
- acquiring an initial delivery strategy, the initial delivery strategy including an IP address of at least one CDN node, a quantity of links established between each of the at least one CDN node and the mobile terminal, and a reference fragment size;
- determining a size of each of fragment contents of a target resource to be obtained over each of the links according to the reference fragment size, and determining an order of use of each of the links according to the IP address of at least one CDN node and the number of links;
- acquiring each of the fragment contents of a corresponding size by sequentially using each of the links according to the order of use;
- wherein, acquiring each of the fragment contents with a corresponding size by sequentially using each of the links according to the order of use comprises:
- when a link has completed acquiring a current piece of the fragment content, determining a size of a next piece of the fragment content to-be-acquired using the link based on an acquisition rate of the link, sending a fragment request for acquiring the next piece of the fragment content to-be-acquired with the determined size by using the link, acquiring the next piece of the fragment content by using the link, and repeating the determining, sending and acquiring processes until completing the acquisition of a last piece of the fragment content,
- wherein during a process of acquiring the target resource, the method further includes:
- at a preset time and in every two subsequent detection time intervals from the preset time, determining a target link to-be-added, wherein the target link is a deactivated link, or a new link between the mobile terminal and a first CDN node,
- determining next fragment content to-be-acquired according to an acquisition rate corresponding to a CDN node connected to the target link within a previous detection time interval, and
- acquiring the fragment content using the target link;
- and
- after acquiring a complete target resource, sending a final delivery strategy to the scheduling server, the final delivery strategy including information of the target resource, a network status of the mobile terminal, a geographic position of the mobile terminal, and an acquisition rate of each of the at least one CDN node during acquisition of the complete target resource.
A device for network resource acquisition, applied to a mobile terminal, the device comprising:
- a first acquisition unit, configured for acquiring an initial delivery strategy, the initial delivery strategy including an IP address of at least one CDN node, a quantity of links established between each of the at least one CDN node and the mobile terminal, and a reference fragment size;
- a determination unit, configured for, determining a size of each of fragment contents of a target resource to be obtained over each of the links according to the reference fragment size, and determining an order of use of each of the links according to the IP address of at least one CDN node and the number of links;
- and
- a second acquisition unit, configured for acquiring each of the fragment contents of a corresponding size by sequentially using each of the links according to the order of use,
- the device being configured to, when the acquisition of a current piece of the fragment content has been completed by using a link, determine a size of a next piece of the fragment content to-be-acquired using the link based on an acquisition rate of the link, send a fragment request for acquiring the next piece of the fragment content to-be-acquired with the determined size by using the link, acquire the next piece of the fragment content by using the link, repeat the determining, sending and acquiring processes until completing the acquisition of a last piece of the fragment content,
- the second acquisition unit is further configured for:
- at a preset time and in every two subsequent detection time intervals from the preset time, determining a target link to-be-added, wherein the target link is a deactivated link, or a new link between the mobile terminal and a first CDN node;
- determining next fragment content to-be-acquired according to an acquisition rate corresponding to a CDN node connected to the target link within a previous detection time interval;
- and acquiring the fragment content using the target link, and
- after acquiring a complete target resource, sending a final delivery strategy to the scheduling server, the final delivery strategy including information of the target resource, a network status of the mobile terminal, a geographic position of the mobile terminal, and an acquisition rate of each of the at least one CDN node during acquisition of the complete target resource.
A scheduling server, comprising:
- a receiving unit, configured for receiving an HTTP request sent by a mobile terminal;
- a determination unit, configured for determining an initial delivery strategy based on the HTTP request and a history delivery strategy,
- the history delivery strategy including a final delivery strategy sent by a history mobile terminal after a resource acquisition;
- the final delivery strategy including information of the resource, a network status of the history mobile terminal, a geographic position of the history mobile terminal, and an acquisition rate of each of the at least one CDN node during acquisition of a complete resource;
- and
- the initial delivery strategy including an IP address of at least one CDN node, a quantity of links established between each of the at least one CDN node and the mobile terminal, and a reference fragment size;
- and
- a sending unit, configured for sending the initial delivery strategy to the mobile terminal wherein the mobile terminal is further configured for:
- at a preset time and in every two subsequent detection time intervals from the preset time, determining a target link to-be-added, wherein the target link is a deactivated link, or a new link between the mobile terminal and a first CDN node;
- determining next fragment content to-be-acquired according to an acquisition rate corresponding to a CDN node connected to the target link within a previous detection time interval;
- and acquiring the fragment content using the target link.
Dependencies are inferred from the claim text.