CN114513488A - Resource access method, device, computer equipment and storage medium - Google Patents

Resource access method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114513488A
CN114513488A CN202011185065.XA CN202011185065A CN114513488A CN 114513488 A CN114513488 A CN 114513488A CN 202011185065 A CN202011185065 A CN 202011185065A CN 114513488 A CN114513488 A CN 114513488A
Authority
CN
China
Prior art keywords
access
domain name
resource
candidate
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011185065.XA
Other languages
Chinese (zh)
Other versions
CN114513488B (en
Inventor
张宇超
吴双
韩云博
张卓筠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Beijing University of Posts and Telecommunications
Original Assignee
Tencent Technology Shenzhen Co Ltd
Beijing University of Posts and Telecommunications
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 Tencent Technology Shenzhen Co Ltd, Beijing University of Posts and Telecommunications filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011185065.XA priority Critical patent/CN114513488B/en
Publication of CN114513488A publication Critical patent/CN114513488A/en
Application granted granted Critical
Publication of CN114513488B publication Critical patent/CN114513488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1466Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks

Abstract

The application relates to a resource access method, a device, a computer device and a storage medium, comprising: intercepting a current resource access request, and generating a domain name resolution request corresponding to the current resource access request; sending a domain name resolution request carrying an access domain name to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to the access domain name according to the domain name resolution request; the candidate access address set comprises at least one candidate access address; acquiring the candidate access address set returned by the domain name resolution server, determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority; and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request, so that the access efficiency of resource access can be improved.

Description

Resource access method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a resource access method, apparatus, computer device, and storage medium.
Background
With the development of computer technology, people can acquire various network resources through the internet. For example, the user can access a news website through the access terminal to read current news. Specifically, the access terminal can find an access entry of a required resource through a domain name resolution service provided by the domain name resolution server, and then access the resource.
In the conventional technology, if a plurality of access entries of required resources exist, the resources are accessed randomly according to one access entry, so that the blindness is high, the access speed cannot be guaranteed, and the low access efficiency of resource access is easily caused.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a resource access method, an apparatus, a computer device, and a storage medium capable of improving access efficiency of resource access.
A method of resource access, the method comprising:
intercepting a current resource access request, and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name;
sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request; the candidate access address set comprises at least one candidate access address;
acquiring a candidate access address set returned by a domain name resolution server, determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority;
and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
A resource access apparatus, the apparatus comprising:
the request intercepting module is used for intercepting the current resource access request and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name;
the domain name resolution module is used for sending the domain name resolution request to the domain name resolution server so that the domain name resolution server can acquire a candidate access address set corresponding to the access domain name according to the domain name resolution request; the candidate access address set comprises at least one candidate access address;
the target access address determining module is used for acquiring a candidate access address set returned by the domain name resolution server, determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority;
and the resource acquisition module is used for acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
A computer device comprising a memory storing a computer program and a processor implementing the following steps when the computer program is executed:
intercepting a current resource access request, and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name;
sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request; the candidate access address set comprises at least one candidate access address;
acquiring a candidate access address set returned by a domain name resolution server, determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority;
and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
intercepting a current resource access request, and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name;
sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request; the candidate access address set comprises at least one candidate access address;
acquiring a candidate access address set returned by a domain name resolution server, determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority;
and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
According to the resource access method, the resource access device, the computer equipment and the storage medium, the domain name resolution request corresponding to the current resource access request is generated by intercepting the current resource access request; the domain name resolution request carries an access domain name; sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request; acquiring a candidate access address set returned by a domain name resolution server, wherein the candidate access address set comprises at least one candidate access address; determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority; and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request. Therefore, the most suitable access address can be screened out from the multiple access addresses based on the current network state and the access correlation information, namely, the most suitable resource server is screened out, and the resource can be quickly obtained from the optimal resource server, so that the access efficiency of resource access is improved.
Drawings
FIG. 1 is a diagram of an application environment of a resource access method in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for resource access in one embodiment;
FIG. 3 is a flow diagram illustrating domain name resolution in one embodiment;
FIG. 4 is a schematic diagram of domain name resolution in another embodiment;
FIG. 5 is a flow diagram illustrating the determination of a target access address in one embodiment;
FIG. 6 is a flow diagram illustrating the determination of a target access impact factor in one embodiment;
FIG. 7 is a flow diagram illustrating the determination of a reference push priority in one embodiment;
FIG. 8 is a flowchart illustrating a resource access method in accordance with another embodiment;
FIG. 9 is a diagram of an application environment of a resource access method in another embodiment;
FIG. 10 is a flowchart illustrating a resource access method in accordance with yet another embodiment;
FIG. 11 is a comparison of access results for resource accesses in one embodiment;
FIG. 12 is a block diagram showing the construction of a resource access device according to one embodiment;
FIG. 13 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
A distributed cloud storage system (hereinafter, referred to as a storage system) refers to a storage system that integrates a large number of storage devices (storage devices are also referred to as storage nodes) of different types in a network through application software or application interfaces to cooperatively work by using functions such as cluster application, grid technology, and a distributed storage file system, and provides a data storage function and a service access function to the outside.
At present, a storage method of a storage system is as follows: logical volumes are created, and when created, each logical volume is allocated physical storage space, which may be the disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as data identification (ID, ID entry), the file system writes each object into a physical storage space of the logical volume, and the file system records storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.
The process of allocating physical storage space for the logical volume by the storage system specifically includes: physical storage space is divided in advance into stripes according to a group of capacity measures of objects stored in a logical volume (the measures often have a large margin with respect to the capacity of the actual objects to be stored) and Redundant Array of Independent Disks (RAID), and one logical volume can be understood as one stripe, thereby allocating physical storage space to the logical volume.
The resource access method provided by the application can be applied to the application environment shown in fig. 1. The access terminal 102 communicates with the domain name resolution server 104 via a network, and the access terminal 102 communicates with the target resource server 106 via the network. The access terminal 102 may intercept the current resource access request, and generate a domain name resolution request corresponding to the current resource access request, where the domain name resolution request carries an access domain name. The access terminal 102 may send the domain name resolution request to the domain name resolution server 104, and the domain name resolution server 104 may obtain a candidate access address set corresponding to the access domain name according to the domain name resolution request and send the candidate access address set to the access terminal 102. The access terminal 102 may determine, based on the current network state and the candidate access association information corresponding to the at least one candidate access address, a push priority corresponding to each candidate access address, and determine, according to the push priority, a target access address from the candidate access address set. The access terminal 102 may obtain the corresponding resource to be accessed from the target resource server 106 corresponding to the target access address based on the current resource access request.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
In one embodiment, as shown in fig. 2, a resource access method is provided, which is described by taking the access terminal 102 in fig. 1 as an example, and includes the following steps:
step S202, intercepting a current resource access request, and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name.
The resource access request is a request triggered by a user through a client on an access terminal and is used for requesting to access a resource. For example, a user inputs a specific website on a browser of the access terminal and clicks an execution control, so that the access terminal generates a resource access request for requesting access to a website corresponding to the website. The current resource access request refers to a current resource access request of the access terminal, and is a real-time resource access request.
The resource access request carries an access domain name. The access domain name is a positioning identifier for the resource server at the time of data transmission, and may be the name of the resource server composed of a string of names separated by dots. The access domain name may specifically be a URL (Uniform Resource Locator) of an access page corresponding to the Resource to be accessed, for example, www.example.com. The resource to be accessed refers to a resource needing to be accessed, the resource refers to information which can be acquired from a network, and the information which is acquired from a resource server comprises at least one of character information, picture information, video information and audio information.
For example, the current resource access request is an http request, which may be represented as "http:// www.example.com/a.jpg", the access domain name is "www.example.com", and the resource to be accessed is a.jpg, that is, the current resource access request is used to request to access picture a on the example website.
The current resource access request is an http request which can be expressed as http:// www.example.com, the access domain name is www.example.com, and the resource to be accessed is a default page, namely the current resource access request is used for requesting to access the default page of the example website.
The domain name resolution request is a request sent by the access terminal to the domain name resolution server, and is used for requesting resolution of the access domain name and acquiring an access address corresponding to the access domain name. The access address refers to a network address corresponding to a resource server storing the access resource, and may specifically be an IP address (Internet Protocol, Protocol for interconnecting networks) of the resource server. It can be understood that, compared with the access address, the access domain name is more convenient for the user to memorize, so when the user accesses the resource, the user does not need to memorize the complex access address, only needs to memorize the simple access domain name, and obtains the access address corresponding to the access domain name from the domain name resolution server, and then can obtain the resource from the resource server corresponding to the access address.
Specifically, the access terminal may obtain a current resource access request generated by a trigger operation on the client, intercept the current resource access request, modify the current resource access request, and generate a domain name resolution request corresponding to the current resource access request. Wherein, the domain name resolution request carries the access domain name.
Step S204, sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to the access domain name according to the domain name resolution request; the set of candidate access addresses includes at least one candidate access address.
The domain name resolution server stores a large number of mapping relations between domain names and access addresses, and the access terminal can find an access entry of a required resource through the domain name resolution service provided by the domain name resolution server so as to access the required resource. The candidate access address set may include all access addresses corresponding to the access domain name, and may also include a part of access addresses corresponding to the access domain name. The resource server corresponding to the candidate access address may be an edge computing server or an ordinary server.
Specifically, after generating the domain name resolution request, the access terminal may send the domain name resolution request to the domain name resolution server. After receiving the domain name resolution request, the domain name resolution server may locally search for at least one candidate access address corresponding to the access domain name in the domain name resolution request, and each candidate access address is combined to obtain a candidate access address set. The domain name resolution server may return a set of candidate access addresses to the access terminal.
In one embodiment, the domain name resolution server may be an httpDNS server, and the domain name resolution server may also be a localDNS server. The httpDNS Server is an autonomously built DNS Server (Domain Name Server) based on the http Protocol (HyperText Transfer Protocol). The localDNS server refers to a local DNS server, and is mainly a DNS server independently built by each operator. The access terminal may send a domain name resolution request to at least one of an httpDNS server and a localDNS server. The access terminal can also send a domain name resolution request to the httpDNS server, and then send a domain name resolution request to the localDNS server if the httpDNS server does not return the candidate access address set. It can be understood that, compared to the localDNS server, the httpDNS server has higher security and stability, on one hand, because the localDNS server has higher popularity, it is easier for hackers to attack the localDNS server, and on the other hand, once the httpDNS server is built, the enterprises basically do not modify the httpDNS server, but the operators frequently modify the localDNS server, which affects the access of the access terminal to the localDNS server. The httpDNS server and the localDNS server both need to synchronize the latest mapping relationship between the domain name and the IP address to the authoritative domain name resolution server at regular time.
Step S206, a candidate access address set returned by the domain name resolution server is obtained, the pushing priority corresponding to each candidate access address is determined based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and the target access address is determined from the candidate access address set according to the pushing priority.
The current network state refers to the current network state of the access terminal. The network state refers to the network connection condition of the access terminal, and the network state includes an operator and a network type. For example, the network state is telecom 4G, the operator is china telecom, and the network standard is 4G; the network state is Unicom 5G, the operator is Unicom China, and the network standard is 5G. The network formats can include wifi, 3G, 4G, 5G, and the like. The access associated information is information related to access acquired in the process of accessing the resource server corresponding to the access address. The candidate access relevant information refers to access relevant information corresponding to the candidate access address.
Specifically, the access terminal may call an operating system interface to obtain a current network state, and obtain candidate access association information corresponding to each candidate access address from a local or other computer device. The access terminal may determine, based on the current network state and candidate access association information respectively corresponding to each candidate access address, a push priority corresponding to each candidate access address, and may take, as the target access address, a candidate network address with a highest push priority from the candidate access address set according to the push priorities corresponding to each candidate access address. When determining the push priority, the push priority may be determined specifically by acquiring weighting factors corresponding to various candidate access association information in a current network state, calculating push scores of corresponding candidate access addresses according to the candidate access association information and the corresponding weighting factors, and determining the push priority corresponding to each candidate access address according to the rank of the push scores of each candidate network address. It is understood that the higher the push score, the higher the push priority. The weighting factor may be preset, or may be obtained through training of a machine learning model. And under different network states, the weighting factors corresponding to the candidate access correlation information are different.
It will be appreciated that the access quality of the same resource server is different for different network states. For example, in a telecommunications network, the speed at which an access terminal accesses a connected server may be slow. Taking a game server as an example, the current game server is mainly a telecommunication server, and when the access terminal accesses the telecommunication server through a communication network, the speed of playing games on the access terminal by a user is slower and the cards are compared. For example, the access terminal has different access speeds to the same resource server due to the difference between the positions of the 4G and 5G base stations.
In one embodiment, the candidate access association information includes at least one of historical access information and current access information, and the historical access information or the current access information includes at least one of access success information, access failure information, last access success time, throughput, a stuck rate, an access speed, and a preset push priority.
The historical access information refers to access information generated due to access at a historical time, and the current access information refers to access information generated due to access at a current time. The access success information refers to an access statistic value of successful access, and may be access success times, access success rate, and the like. The access failure information is an access statistic value of access failure, and may be the number of access failures, an access failure rate, or the like. The last access success time refers to a time statistic value of the access time corresponding to the last access success and the current time. Throughput refers to a statistical value of traffic consumed due to access, and may be total traffic, average traffic, or the like. The katton rate is a statistical value of a katton condition generated in an access process, and may be a packet loss rate or the like. The access speed refers to a time statistic value of successful connection with the resource server, and may be a total time, an average time, and the like. The preset push priority refers to a preset push priority, that is, a default push priority. The preset push priority may be set based on a distance between the resource server and the access terminal, and if the distance between the resource server and the access terminal is shorter, the preset push priority of the access address corresponding to the resource server is higher.
The historical access information or the current access information includes at least one of access success information, access failure information, last access success time, throughput, stuck rate, access speed, and preset push priority. That is, the historical access information includes at least one of historical access success information, historical access failure information, last access success time, historical throughput, historical stuck rate, historical access speed, and preset push priority. The current access information comprises at least one of current access success information, current access failure information, last access success time, current throughput, current blocking rate, current access speed and preset push priority.
In one embodiment, when the visited domain name is a domain name visited for the first time, the access terminal may determine the push priority corresponding to the candidate network address based on the current network state and the current access information, and the historical access information corresponding to the candidate network address is none. The current access information may be obtained by the access terminal sending a test request to the resource server corresponding to each candidate access address and according to a test response returned by each resource server. For example, the access terminal sends a ping request (Packet Internet Groper, connectivity test program) to a resource server corresponding to the candidate access address, determines current access success information and current access failure information according to a response message corresponding to the ping request, and determines a current access speed according to the sending time of the ping request and the receiving time of the response message corresponding to the ping request. And storing the access association information generated in the access process and the candidate access address in association manner every time the access terminal accesses the resource server corresponding to one candidate access address once. When the access domain name is a domain name which is not accessed for the first time, the access terminal can determine the push priority corresponding to the candidate network address based on the current network state, the current access information and the historical access information.
And step S208, acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
The target resource server refers to a resource server corresponding to the target access address.
Specifically, after determining the target access address from the candidate access address set, the access terminal may request to acquire the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request. And after receiving the resource to be accessed returned by the target resource server, the access terminal can display the resource to be accessed on the client.
In one embodiment, acquiring a corresponding resource to be accessed from a target resource server corresponding to a target access address based on a current resource access request includes: replacing the access domain name in the current resource access request with a target access address to obtain an updated resource access request; sending the updated resource access request to a target resource server so that the target resource server acquires the resource to be accessed according to the updated resource access request; and acquiring the resource to be accessed returned by the target resource server.
Specifically, after the target access address is determined, the access terminal may replace the access domain name in the current resource access request with the target access address, generate a corresponding updated resource access request, and send the updated resource access request to the target resource server corresponding to the target access address. And after receiving the resource updating access request, the target resource server acquires the corresponding resource to be accessed and returns the resource to the access terminal. And after receiving the resource to be accessed, the access terminal can display the resource to be accessed. Therefore, the current resource access request is simply modified based on the target access address, so that the corresponding target resource server can be quickly accessed, and the resource to be accessed can be quickly obtained.
For example, the current resource access request is an http request, denoted as "http:// www.example.com/a.jpg", the destination access address is "11.22.33.44", and the updated resource access request is also an http request, denoted as "http:// 11.22.33.44/a.jpg". And the target resource server corresponding to the target access address returns the picture a to the access terminal.
In one embodiment, the application code of the client on the access terminal may be modified, and a preset client SDK (Software Development Kit) is called at the network layer, so that the client can access the relevant interface in the client SDK. Then, after the client generates the current resource access request, the access terminal may call the client SDK through a related interface to intercept the current resource access request in a network layer, generate a domain name resolution request corresponding to the current resource access request, send the domain name resolution request to a domain name resolution server, obtain a candidate access address set returned by the domain name resolution server, determine a push priority corresponding to each candidate access address based on the current network state and candidate access association information respectively corresponding to each candidate access address, determine a target access address from the candidate access address set according to the push priority, and obtain a corresponding resource to be accessed from a target resource server corresponding to the target access address based on the current resource access request.
In the resource access method, a domain name resolution request corresponding to the current resource access request is generated by intercepting the current resource access request; the domain name resolution request carries an access domain name; sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request; the candidate access address set comprises at least one candidate access address; acquiring a candidate access address set returned by a domain name resolution server, determining the push priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to at least one candidate access address, and determining a target access address from the candidate access address set according to the push priority; and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request. Therefore, the most suitable access address can be screened out from the multiple access addresses based on the current network state and the access correlation information, namely, the most suitable resource server is screened out, and the resource can be quickly obtained from the optimal resource server, so that the access efficiency of resource access is improved.
In one embodiment, intercepting a current resource access request and generating a domain name resolution request corresponding to the current resource access request includes: acquiring an access domain name from a current resource access request; acquiring a network address corresponding to a domain name resolution server; and modifying the current resource access request based on the position of the access domain name in the current resource access request and the network address to obtain a domain name resolution request.
The network address corresponding to the domain name resolution server refers to a network protocol address of the domain name resolution server, and may specifically be an IP address of the domain name resolution server.
Specifically, the access terminal may extract an access domain name from the current resource access request, determine a position of the access domain name in the current resource access request, obtain a network address corresponding to the domain name resolution server, and modify the current resource access request according to the network address and the position of the access domain name in the current resource access request, so as to obtain the domain name resolution request.
In one embodiment, when modifying the current resource access request, the access terminal may add the network address to the front of the access domain name, resulting in a domain name resolution request. Further, in order to clarify the access domain name to be resolved in the domain name resolution request, a domain name mark may be added in front of or behind the access domain name, and the domain name mark is used for marking the position of the access domain name to be resolved. Further, custom information may be added, where the custom information may be a specific constraint condition, and the constraint condition is used to constrain the candidate access addresses returned by the domain name resolution server, for example, to constrain the domain name resolution server to return three candidate access addresses.
For example, the current resource access request is an http request, which may be denoted as "http:// www.example.com," with the access domain name of "www.example.com". The corresponding domain name resolution request is also an http request, which may be denoted as "http:// 1.2.3.4/dhost ═ www.example.com & info ═ x". Wherein, 1.2.3.4 represents the IP address corresponding to the domain name resolution server, dhost ═ represents that the following information is the access domain name to be resolved, & is used for isolating the access domain name and the custom information, and info ═ x represents the custom information.
In the embodiment, the access domain name is obtained from the current resource access request; acquiring a network address corresponding to a domain name resolution server; and modifying the current resource access request based on the position of the access domain name in the current resource access request and the network address to obtain a domain name resolution request. Therefore, on the basis of the current resource access request, the current resource access request can be quickly modified based on the position of the access domain name in the current resource access request and the network address corresponding to the domain name resolution server, the corresponding domain name resolution request is quickly generated, and the access efficiency of resource access is improved.
In one embodiment, the domain name resolution server includes an httpDNS server and a localDNS server, and sends the domain name resolution request to the domain name resolution server, so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request, including: sending the domain name resolution request to an httpdNS server so that the httpdNS server obtains a candidate access address set according to the domain name resolution request; and when the candidate access address set returned by the httpdNS server is not received, sending the domain name resolution request to the localDNS server so that the localDNS server acquires the candidate access address set according to the domain name resolution request.
Specifically, the access terminal stores the network addresses corresponding to the httpDNS server and the localDNS server at the same time, and sets the resolution priorities of the httpDNS server and the localDNS server in advance. The httpDNS server has a higher resolution priority than the localDNS server, i.e. the localDNS server is used as a disaster recovery policy. Therefore, after the domain name resolution request is generated, the access terminal preferentially sends the domain name resolution request to the httpdNS server, and if the httpdNS server does not return the candidate access address set corresponding to the access domain name for a long time, the access terminal sends the domain name resolution request to the localDNS server to acquire the candidate access address set returned by the localDNS server.
Com, referring to fig. 3 (a), the access terminal preferentially sends a domain name resolution request carrying the access domain name to the httpDNS server, and the httpDNS server returns an IP address "4.4.4.4" corresponding to the access domain name, so that the access terminal can obtain a resource from a resource server corresponding to the IP address. Referring to fig. 3 (b), if the httpDNS server does not return the IP address corresponding to the access domain name for a long time, the access terminal may send a domain name resolution request to the localDNS server, and the localDNS server returns the IP address "4.4.4.4" corresponding to the access domain name, so that the access terminal may obtain the resource from the resource server corresponding to the IP address.
In one embodiment, the httpDNS server may be multiple and distributed in different regions. The access terminal stores an IP address list of the httpDNS server, and the IP address list comprises the positions of the httpDNS servers corresponding to all the IP addresses. The access terminal can obtain the local position, select the httpdNS server closest to the local position from the IP address list as the optimal httpdNS server according to the local position, and send a domain name resolution request to the optimal httpdNS server.
In the embodiment, the httpDNS server obtains a candidate access address set according to the domain name resolution request by sending the domain name resolution request to the httpDNS server; and when the candidate access address set returned by the httpdNS server is not received, sending the domain name resolution request to the localDNS server so that the localDNS server acquires the candidate access address set according to the domain name resolution request. Thus, the localDNS server is used as a disaster recovery strategy, and the access terminal is still ensured to acquire the candidate access address set under the condition that the httpDNS server fails to return.
In one embodiment, as shown in fig. 4, sending the domain name resolution request to the domain name resolution server, so that the domain name resolution server obtains a candidate access address set corresponding to the access domain name according to the domain name resolution request, includes:
step S402, the domain name resolution server obtains a plurality of initial access addresses corresponding to the access domain name according to the domain name resolution request.
Step S404, determining the access positions of the resource servers corresponding to the plurality of initial access addresses respectively.
Step S406, taking an initial access address, the distance between the access position and the position of the requester corresponding to the domain name resolution request of which is less than a preset threshold value, as a candidate access address, and combining all the candidate access addresses to obtain a candidate access address set; and the resource server corresponding to the candidate access address is an edge computing server.
Step S408, returning the candidate access address set to the requestor corresponding to the domain name resolution request.
Wherein the edge computing server is a server carrying an edge computing function. Edge computing is a technique for optimizing an application or cloud computing system that transfers portions of the application's data or services from one or more central nodes ("clouds") to another logical endpoint ("edge"). Under a 5G network, a large number of edge computing servers are deployed. Compared with a common server, the edge computing server is closer to the user, can unload the task to the edge, and bears cloud computing capability of sinking of the cloud end. The initial access address comprises an access address corresponding to the edge computing server and an access address corresponding to the common server. The access location refers to geographical location information of the resource server. The requestor location refers to geographical location information of a requestor corresponding to the domain name resolution request. The preset threshold value can be set according to actual needs.
Specifically, the target resolution server not only stores the mapping relationship between the domain name and the access address, but also stores the access position of the resource server corresponding to the access address. After receiving the domain name resolution request, the domain name resolution server may obtain all access addresses corresponding to the access domain name, that is, a plurality of initial access addresses corresponding to the access domain name, according to the domain name resolution request. Based on the characteristics of the edge computing server, the domain name resolution server can screen out the edge computing server according to the distance between the resource server and the access terminal. The domain name resolution server may specifically obtain access positions of resource servers corresponding to the initial access addresses, and use, as a candidate access address, an initial access address whose distance between the access position and a requester position corresponding to the domain name resolution request is smaller than a preset threshold, where a resource server corresponding to the candidate access address is closer to the access terminal and closer to the user, and may consider the resource server corresponding to the candidate access address as an edge computing server. And combining the candidate access addresses to obtain a candidate access address set. After determining the candidate access address set, the target resolution server may return the candidate access address set to the requestor corresponding to the domain name resolution request, that is, return the candidate access address set to the access terminal.
In this embodiment, the domain name resolution server obtains a plurality of initial access addresses corresponding to an access domain name according to a domain name resolution request, determines access positions of resource servers corresponding to the plurality of initial access addresses respectively, and takes the initial access addresses, of which the distance between the access positions and a requester position corresponding to the domain name resolution request is smaller than a preset threshold value, as candidate access addresses, where each candidate access address is combined to obtain a candidate access address set, and the resource servers corresponding to the candidate access addresses are edge computing servers and return the candidate access address set to the requester corresponding to the domain name resolution request. Therefore, the network address corresponding to the edge computing server can be screened out from the multiple access addresses based on the distance between the requester position corresponding to the domain name resolution request and the access position of the resource server, and the access terminal can quickly access the edge computing server to obtain the resource to be accessed because the edge computing server is closer to the access terminal, so that the access efficiency of resource access is improved.
In one embodiment, as shown in fig. 5, determining, based on the current network state and candidate access association information respectively corresponding to at least one candidate access address, a push priority corresponding to each candidate access address, and determining, according to the push priority, a target access address from a candidate access address set includes:
step S502, obtaining a target access influence factor corresponding to the candidate access correlation information based on the current network state.
Step S504, push scores corresponding to the candidate access addresses are determined according to the candidate access correlation information and the corresponding target access influence factors.
Step S506, the pushing scores corresponding to the candidate access addresses are sorted from large to small, and the pushing priorities corresponding to the candidate access addresses are determined according to the sorting result.
Step S508, the candidate access address with the highest push priority is used as the target access address.
Specifically, the access terminal may obtain target access influence factors corresponding to various candidate access associated information based on the current network state, that is, obtain weighting factors corresponding to various candidate access associated information in the current network state, perform weighted summation according to the candidate access associated information and the corresponding weighting factors, and calculate to obtain the push score corresponding to each candidate access address. The access terminal may sort the push scores corresponding to the candidate access addresses from large to small, and determine the push priorities corresponding to the candidate access addresses according to the sorting result, that is, determine the push priorities according to the sorting order. It can be understood that the higher the push score corresponding to a candidate access address is, the higher the access quality of the resource server corresponding to the candidate access address is, and the higher the push priority corresponding to the candidate access address is. The access terminal can take the candidate access address with the highest push priority as a target access address, and acquire the data to be accessed from a target resource server corresponding to the target access address.
For example, the access association information includes a current access speed, a preset push priority, a historical access success number, a historical access failure number, a last access success time, a historical average throughput, and a historical average stuck rate. The method comprises the steps of pushing fraction, namely current access speed a + preset pushing priority b + historical access success times c + historical access failure times d + last access success time e + historical average throughput f + historical average stuck rate g, wherein a, b, c, d, e, f and g are weighting factors. And calculating the pushing score of each IP address according to the formula, and selecting the IP address with the highest pushing score as the target IP address.
In one embodiment, obtaining a target access influence factor corresponding to the candidate access correlation information based on the current network state includes: acquiring a requester position corresponding to a current resource access request; and acquiring a corresponding target access influence factor based on the position of the requester and the current network state.
Specifically, besides different weighting factors corresponding to different network states, further, different geographic locations may also correspond to different weighting factors. For example, when the access terminal is located in Beijing, one set of weighting factors is corresponded, and when the access terminal is located in Shenzhen, another set of weighting factors is corresponded. When the access terminal is located in the Shenzhen nan shan region, one set of weighting factors is corresponded, and when the access terminal is located in the Shenzhen Longshan region, the other set of weighting factors is corresponded. The access terminal can call a relevant interface of the operating system to obtain the current position and the current network state of the access terminal, and further obtain target access influence factors corresponding to various candidate access associated information, namely weighting factors corresponding to various candidate access associated information according to the current position and the current network state. Therefore, the current network state and the current geographic position of the access terminal are comprehensively considered, the more matched weighting factor is selected, the accuracy of the calculated pushing score is higher, and the access efficiency of resource access can be improved.
In this embodiment, a target access influence factor corresponding to the candidate access correlation information is obtained based on the current network state, the push scores corresponding to the candidate access addresses are determined according to the candidate access correlation information and the corresponding target access influence factor, the push scores corresponding to the candidate access addresses are sorted from large to small, the push priority corresponding to the candidate access addresses is determined according to the sorting result, and the candidate access address with the highest push priority is used as the target access address. Therefore, the access terminal can screen out the optimal access address from the multiple candidate access addresses, and obtain the data to be accessed from the resource server corresponding to the optimal access address, so that the access efficiency of resource access is improved.
In an embodiment, as shown in fig. 6, acquiring a target access influence factor corresponding to the candidate access association information based on the current network state includes:
step S602, acquiring a reference access address set; the reference access address set comprises reference access addresses corresponding to the reference access resources.
Step S604, obtaining current access impact factors corresponding to each network state.
Step S606, according to the current access influence factor and the reference access correlation information corresponding to the reference access address, determining the initial push priority corresponding to each reference access address in each network state.
The reference access associated information refers to access associated information corresponding to the reference access resource. The reference access resource may be a resource that has been accessed historically or may be a resource that has not been accessed. When the reference access resource is a resource which is accessed historically, the historical access information can be acquired as corresponding reference access associated information, or at least one access can be immediately performed on a resource server corresponding to the reference access resource to obtain current access information, and the historical access information and the current access information are taken as corresponding reference access associated information. When the reference access resource is a resource which is not accessed, the resource server corresponding to the reference access resource can be immediately accessed at least once to obtain the current access information, and the current access information is used as the corresponding reference access associated information. The reference access associated information corresponding to the same reference access address in different network states may be the same or different. For example, all access association information corresponding to the same reference access address may be used as the reference access association information corresponding to the reference access address in any network state. Or the access associated information obtained by accessing under the telecommunication 5G network can be used as the reference access associated information corresponding to the reference access address under the telecommunication 5G network, and the access associated information obtained by accessing under the Unicom 5G network can be used as the reference access associated information corresponding to the reference access address under the Unicom 5G network.
Specifically, initial weighting factors corresponding to various access association information in different network states are preset. The access terminal can randomly select resources as reference access resources, carry out weighted summation according to reference access correlation information corresponding to the reference access resources and corresponding weighting factors, and calculate initial push priorities corresponding to the reference access addresses in each network state.
Step S608, obtaining reference push priorities corresponding to the reference access addresses in each network state.
Step S610, based on the push priority difference between the reference push priority and the initial push priority corresponding to the same reference access address in the same network state, adjusting the corresponding current access impact factor until the push priority difference satisfies the convergence condition, and taking the current access impact factor corresponding to the push priority difference satisfying the convergence condition as the corresponding target access impact factor, thereby obtaining the target access impact factor corresponding to each network state.
The reference push priority may be determined according to an access delay time of the resource server corresponding to the reference access address. It is understood that the shorter the access delay time, the faster the access speed, and the higher the reference push priority. If the closer the resource server is to the terminal, the less the load of the resource server, and the more the current network states of the operator and the terminal corresponding to the resource server are matched, the shorter the corresponding access delay time.
Specifically, the access terminal may obtain reference push priorities corresponding to the reference access addresses in the network states, and adjust the corresponding current access impact factor based on a push priority difference between the reference push priority and the initial push priority corresponding to the same reference access address in the network state. When the difference between the reference push priority corresponding to each reference access address and the push priority of the initial push priority in the same network state meets the convergence condition, the current access influence factor corresponding to the push priority difference meeting the convergence condition is used as the corresponding target access influence factor, and therefore the target access influence factor corresponding to each network state can be obtained. The convergence condition may be set according to actual requirements, and the objective is to make the difference between the push priorities as small as possible, that is, the initial push priority and the reference push priority are as close as possible.
For example, the network state is a telecom 5G network, and the reference IP address set includes IP1, IP2, IP3, and IP 4. The initial push priorities corresponding to the IP 1-IP 4 under the telecommunication 5G network are {1, 3, 2, 4}, the reference push priorities corresponding to the IP 1-IP 4 under the telecommunication 5G network are {1, 2, 3, 4}, the weighting factors corresponding to the access associated information under the telecommunication 5G network are adjusted according to the push priority differences of {1, 3, 2, 4} and {1, 2, 3, 4}, until the push priorities calculated based on the adjusted weighting factors are {1, 2, 3, 4}, and the adjusted weighting factors are used as target weighting factors.
In one embodiment, the set of reference access addresses includes a plurality of sets of reference access addresses, one set of reference access addresses corresponding to one reference access resource.
In one embodiment, the target visit impact factor may be derived through machine learning model training. The training data of the machine learning model comprises reference access associated information and reference pushing priority corresponding to each reference access address corresponding to each reference access resource in different network states. When the machine learning model is trained, input data of the model are reference access associated information and a network state corresponding to each reference access address corresponding to the same reference access resource in the same network state, and expected output data of the model are reference push priorities corresponding to each reference access address in the network state. After input data are calculated in the model, outputting initial pushing priorities corresponding to all reference access addresses corresponding to the same reference access resource in the same network state, calculating the similarity between the initial pushing priorities and the corresponding reference pushing priorities, performing back propagation through the similarity, adjusting model parameters of the machine learning model and continuing training until the updated similarity meets the convergence condition, and finishing training to obtain the trained machine learning model. The trained machine learning model comprises target access influence factors corresponding to each network state. The convergence condition may be that the similarity is greater than a first preset threshold, or that the change rate of the similarity is smaller than a second preset threshold. When the method is applied, the access association information corresponding to each candidate access address and the current network state are input into the trained machine learning model, and the machine learning model outputs the pushing priority corresponding to each candidate access address. The computation and ranking process of the push scores is done inside the machine learning model.
In an embodiment, at least one test terminal may also be respectively set in different regions, the test terminal acquires reference access association information corresponding to the reference access address, and the test terminal determines a reference push priority corresponding to the reference access address, so as to adjust the initial weight factor and obtain a target weight factor corresponding to each region in each network state. It will be appreciated that in training a machine learning model, the training data for the model may further include geographic location information. Therefore, the access terminal does not need to calculate by itself, and only needs to obtain the target weighting factors corresponding to each region in each network state from the test terminal and store the target weighting factors in the local, so that the calculation amount and the calculation pressure of the access terminal are reduced.
In the embodiment, by obtaining a reference access address set, the reference access address set comprises reference access addresses corresponding to reference access resources, obtaining current access influence factors corresponding to each network state, determining initial push priorities corresponding to each reference access address in each network state according to the current access influence factors and reference access association information corresponding to the reference access addresses, obtaining reference push priorities corresponding to each reference access address in each network state, adjusting corresponding current access influence factors based on the push priority difference between the reference push priorities and the initial push priorities corresponding to the same reference access address in the same network state until the push priority difference satisfies a convergence condition, and taking the current access influence factors corresponding to the push priority difference satisfying the convergence condition as corresponding target access influence factors, therefore, the target access influence factors corresponding to the network states are obtained. Thus, the target access influence factor can be quickly calculated based on the push priority difference.
In an embodiment, as shown in fig. 7, the obtaining the reference push priorities corresponding to the respective reference access addresses in the respective network states includes:
step S702, in different network states, sending resource access test requests to the resource servers corresponding to the reference access addresses, and receiving test resources returned by the resource servers according to the resource access test requests.
Step S704, determining access delay time based on the sending time corresponding to the resource access test request and the receiving time corresponding to the test resource, and obtaining access delay time corresponding to each reference access address in each network state.
Step S706, determining a reference push priority corresponding to each reference access address in the same network state based on the time sequence of the access delay time corresponding to each reference access address in the same network state, and obtaining a reference push priority corresponding to each reference access address in each network state.
The resource access test request is a resource access request with a test function, and is used for requesting the resource server to return the test resource. The resource access test request carries a test resource.
Specifically, in different network states, the access terminal may send a resource access test request to the resource server corresponding to each reference access address, and record the sending time of the resource access test request. After receiving the resource access test request, each resource server searches the test resource in the locally stored data and returns the test resource to the access terminal. The access terminal can receive the same test resource returned by each resource server and record the receiving time of the test resource. Then, the access terminal determines the access delay time according to the sending time of the resource access test request sent by the same resource server in the same network state and the receiving time of the test resource returned by the resource server, that is, the time difference between the sending time and the receiving time is taken as the access delay time. Therefore, the access terminal can obtain the corresponding access delay time of each reference access address in each network state. Then, the access terminal may determine the reference push priority corresponding to each reference access address in the same network state based on the time sequence of the access delay time corresponding to each reference access address in the same network state, and obtain the reference push priority corresponding to each reference access address in each network state. It will be appreciated that the shorter the access delay time, the higher the corresponding reference push priority.
In an embodiment, at least one test terminal may also be respectively set in different regions, the test terminal sends a resource access test request, receives a test resource, and calculates an access delay time according to a sending time corresponding to the resource access test request and a receiving time corresponding to the test resource, so as to obtain an access delay time corresponding to each reference access address in each network state and in each region.
In this embodiment, a resource access test request is sent to a resource server corresponding to each reference access address in different network states, a test resource returned by each resource server according to the resource access test request is received, an access delay time is determined based on a sending time corresponding to the resource access test request and a receiving time corresponding to the test resource, an access delay time corresponding to each reference access address in each network state is obtained, a reference push priority corresponding to each reference access address in the same network state is determined based on a time sequence of the access delay time corresponding to each reference access address in the same network state, and a reference push priority corresponding to each reference access address in each network state is obtained. Therefore, by sending simple and uniform resource access test requests to the resource server, the corresponding access delay time can be quickly calculated, and the corresponding reference push priority can be quickly determined.
In an embodiment, as shown in fig. 8, after acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request, the method further includes:
step S802, updating the candidate access associated information corresponding to the target access address according to the current access result of the current resource access request, and updating the candidate access associated information corresponding to other candidate access addresses based on the test access result of the resource server corresponding to other candidate access addresses to obtain the target access associated information corresponding to each candidate access address.
The current access result is an access result generated by the access terminal accessing the target server corresponding to the target access address, and may specifically include various data generated in the whole process of accessing the target resource server by the access terminal. The test access result is an access result generated by the access terminal accessing the resource server corresponding to the other candidate access address, and may specifically include various data generated in the whole process of accessing the other resource server by the access terminal.
Specifically, the access terminal may update the candidate access association information corresponding to the target access address according to the current access result of the current resource access request, so as to obtain the target access association information corresponding to the target access address. For example, if the target resource server successfully returns the resource to be accessed, the access terminal may update the access success information corresponding to the target access address, update the throughput according to the flow consumed in the access process, and update the morton rate according to the fluency in the access process. The access terminal can perform test access to the resource servers corresponding to other candidate access addresses, and update the candidate access associated information corresponding to other candidate access addresses according to the test access result to obtain the target access associated information corresponding to other candidate access addresses. For example, for all candidate access addresses, the access terminal may send ping requests to the resource servers corresponding to the candidate access addresses, respectively, and update the access speed according to the sending time of the ping request and the receiving time of the response message corresponding to the ping request. After the resource to be accessed returned by the target resource server is obtained, the access terminal can also send a resource access request to the resource servers corresponding to the other candidate access addresses to obtain the resource to be accessed, and update the access association information according to the access result. It can be understood that compared with a specific resource access request, the data volume of the ping request is smaller, the data processing volume of the resource server is smaller, and the traffic consumption volume of the access terminal is also smaller.
Step S804, the access domain name, each candidate access address, and the target access association information corresponding to each candidate access address are stored in association with each other.
Step 806, when a target resource access request carrying an access domain name is intercepted, determining an update access address from each candidate access address based on a current network state and target access correlation information corresponding to the locally stored candidate access address, and acquiring a resource to be accessed from an update resource server corresponding to the update access address based on the target resource access request.
The resource server is updated according to the access address. The updated access address is an access address corresponding to a resource server which is most suitable for resource access in the current network state of the access terminal, and is determined based on the latest access association information of each access address corresponding to the current network state and the access domain name. It is understood that when the network status of the access terminal changes, the resource server that is currently most suitable for resource access may also change. Furthermore, the access terminal accesses the resource server corresponding to the same access domain name for multiple times, each access will result in updating the access association information of at least one local access address corresponding to the access domain name, and therefore when the access terminal needs to access the resource server corresponding to the access domain name next time, the resource server most suitable for resource access this time and the resource server most suitable for resource access last time may not be the same resource server, that is, the updated access address and the target access address may not be the same access address.
Specifically, after receiving each candidate access address returned by the domain name resolution server, the access terminal may locally store each access address set and the corresponding access domain name in an associated manner. After the target access association information corresponding to each candidate access address is obtained, the access terminal may locally perform association storage on each candidate access address, the access domain name corresponding to each candidate access address, and the target access association information corresponding to each candidate access address. When the access terminal needs to access the resource server corresponding to the same access domain again, that is, the access terminal intercepts a target resource access request carrying the access domain, the access terminal does not need to send a domain name resolution request to the domain name resolution server again, the access terminal can directly obtain each candidate access address corresponding to the access domain locally, calculate a new push score corresponding to each candidate access address based on the latest network state and target access associated information corresponding to the candidate access address, determine a new push priority corresponding to each candidate access address according to the latest push score, take the candidate access address with the highest push priority as an updated access address, and further update the resource server corresponding to the updated access address. It can be understood that when the network status of the previous access is different from that of the current access, the optimal access address may change, and when the access association information corresponding to the access address changes, the optimal access address may also change.
In one embodiment, when detecting that the current network state or the geographic location information changes, even if the current access terminal does not intercept the resource access request, the access terminal may calculate the push priority corresponding to each access address in advance based on the current network state, the current geographic location, and the access association information corresponding to each access address cached locally. Then, when the access terminal intercepts a resource access request carrying an access domain name corresponding to the access address of the local cache, the target access address can be quickly determined without calculation, and then resource access is performed to acquire resources.
In this embodiment, the candidate access association information corresponding to the target access address is updated according to the current access result of the current resource access request, and the candidate access association information corresponding to other candidate access addresses is updated based on the test access result of the resource server corresponding to other candidate access addresses, so as to obtain the target access association information corresponding to each candidate access address. Therefore, the access result of each resource access is fully utilized, and the access associated information can be enriched quickly. And performing associated storage on the access domain name, each candidate access address and target access associated information corresponding to each candidate access address, when a target resource access request carrying the access domain name is intercepted, determining an update access address from each candidate access address based on the current network state and the target access associated information corresponding to the locally stored candidate access address, and acquiring a resource to be accessed from an update resource server corresponding to the update access address based on the target resource access request. Therefore, each time the terminal acquires the access address corresponding to the new access domain name, the acquired access address and the corresponding access domain name are stored in an associated manner. Therefore, when the terminal repeatedly accesses the same access domain name, the corresponding access address can be directly obtained from the local without requesting the access address corresponding to the same access domain name from the domain name resolution server for multiple times, which is beneficial to improving the access efficiency of resource access.
In one embodiment, the candidate access address carries an access validity period, and the method further comprises: when the access validity period of at least one candidate access address in the candidate access address set is longer than the current time, sending an access address updating request carrying an access domain name to a domain name resolution server so that the domain name resolution server can acquire an updated access address set corresponding to the access domain name according to the access address updating request; and acquiring an updated access address set returned by the domain name resolution server, and updating the locally stored candidate access address set based on the updated access address set.
Specifically, the access address of the resource server may be changeable, that is, the access address of the resource server has an access validity period. When the access validity period of an access address expires, the access terminal cannot successfully access the resource server corresponding to the access address even if knowing the access address. Therefore, the access terminal needs to delete the expired access address in time, obtain a new effective access address in time, and ensure that the locally stored access address is always effective. When returning the candidate access address set to the access terminal, the domain name resolution server returns the access validity periods corresponding to the respective candidate access addresses together. Therefore, when the access validity period of at least one candidate access address in the candidate access address set is greater than the current time, it is stated that an expired candidate access address exists in the candidate access address set, the access terminal needs to send an access address update request to the domain name resolution server, where the access address update request carries an access domain name corresponding to the expired candidate access address, and the domain name resolution server can locally obtain a latest access address corresponding to the access domain name, that is, update the access address set, according to the access address update request, and return the updated access address set to the access terminal. After receiving the updated access address set, the access terminal may update the locally stored candidate access address set based on the updated access address set, and replace the candidate access address set with the updated access address set.
The application also provides an application scenario applying the resource access method. Specifically, the application of the resource access method in the application scenario is as follows:
the resource access method can be applied in a 5G scenario, which includes an httpDNS server, an access terminal, and an edge computing server cluster, with reference to fig. 9. The access terminal can intercept the current resource access request, generate a domain name resolution request corresponding to the current resource access request, and send the domain name resolution request to the httpdNS server, wherein the domain name resolution request carries an access domain name and is used for requesting the httpdNS server to access an access address corresponding to the domain name. The access terminal can receive an access address set corresponding to the access domain name returned by the httpDNS server, wherein the access address set comprises access addresses of at least one edge computing server corresponding to the access domain name. The access terminal can determine the push priority corresponding to each access address in the current network state based on the current network state and the access association information corresponding to each access address, select the access address with the highest push priority as a target access address, and acquire the resource to be accessed from the edge application server corresponding to the target access address.
Therefore, during domain name resolution, a localDNS server of an operator can be bypassed, a domain name resolution request of an edge computing server can be directly sent to a self-built httpDNS server through an Http protocol, the domain name resolution request cannot suffer from the trouble of domain name resolution abnormity, domain name hijacking is effectively prevented, and domain name resolution efficiency is improved.
Referring to fig. 10, the specific process of the access terminal performing resource access is as follows:
1. intercepting a current resource access request, the current resource access request including an access domain name.
Specifically, when a user requests a resource to be accessed on the edge computing server through a client on the access terminal, the access terminal may obtain a current resource access request, where the current resource access request includes an access domain name, and the current resource access request is intercepted, and specifically, the current resource access request may be intercepted by a URL of the current resource access request.
2. And generating a domain name resolution request corresponding to the current resource access request, and sending the domain name resolution request to the httpDNS server.
Specifically, the access terminal may recombine the intercepted URL, add an IP address and a domain name tag corresponding to the httpDNS server to the URL, and generate a domain name resolution request corresponding to the current resource access request. The access terminal may send a domain name resolution request to the httpDNS server.
In one embodiment, the access terminal intercepts the current resource access request, and can locally inquire whether the IP address corresponding to the access domain name is stored, when the IP address corresponding to the access domain name is inquired, the domain name resolution request does not need to be sent to the httpDNS server, and the domain name evaluation can be immediately performed to determine the push priority corresponding to each IP address. When the IP address corresponding to the access domain name is not inquired, a domain name resolution request needs to be sent to the httpDNNS server.
Further, the localNDS server can be used as a disaster tolerance strategy.
3. And receiving an IP address set returned by the httpDNNS server, wherein the IP address set comprises the IP addresses of all the edge computing servers corresponding to the access domain name.
Specifically, the access terminal may accept an IP address set returned by the httpDNS server, where the IP address set includes IP addresses of the respective edge computing servers corresponding to the access domain name.
4. And testing each IP address to obtain access associated information corresponding to each IP address.
Specifically, when the access terminal does not locally store the IP address corresponding to the access domain name, the access terminal may test each IP address to obtain access association information corresponding to each IP address. When the access terminal locally stores the IP address corresponding to the access domain name, the access terminal can also test each IP address, and access associated information corresponding to each IP address is obtained based on historical access information and a current test result.
5. And evaluating each IP address according to the current network state and the access associated information corresponding to each IP address, and determining the pushing priority corresponding to each IP address.
Specifically, the access terminal may determine a current network state, obtain weighting factors corresponding to various access association information in the current network state, and perform weighted summation calculation according to the access association information and the corresponding weighting factors to obtain push scores corresponding to various IP addresses. The access terminal can sort the pushing scores corresponding to the IP addresses from large to small, and determine the pushing priority corresponding to the IP addresses according to the sorting order. The higher the ranking, the higher the push priority.
6. And taking the IP address with the highest push priority as a target IP address, and acquiring the resource to be accessed from the edge computing server corresponding to the target IP address.
Specifically, the access terminal may use the IP address with the highest push priority as the optimal IP address, and use the optimal IP address as the target IP address, and obtain the resource to be accessed from the edge computing server corresponding to the target IP address.
7. And receiving the resources to be accessed returned by the edge computing server, and displaying the resources to be accessed to the user.
Specifically, the access terminal may receive the resource to be accessed returned by the edge computing server, and present the resource to be accessed to the user.
8. The set of IP addresses is cached.
Specifically, after the access terminal receives the IP address set returned by the httpDNS server, the access terminal may store the IP address set and the corresponding access domain name in an associated manner, and cache the IP address set and the corresponding access domain name locally. Furthermore, the access terminal can also store the access association information corresponding to each IP address in association and cache the access association information locally.
9. The set of IP addresses is updated.
Specifically, each IP address carries an access validity period, and when the IP address is found to be out of date, the access terminal sends an access address update request to the httpDNS server in time to obtain a latest and valid IP address set, and updates the IP address cached locally.
10. And updating the evaluation result of the IP address based on the network state, and caching the evaluation result in the local.
Specifically, when detecting that the network state changes, even if there is no resource access request currently, the access terminal may update the evaluation result of the locally cached IP address based on the latest network state and the latest access association information, determine the push priority corresponding to each IP address in the latest network state, and cache the push priority locally. Then, when the access terminal intercepts a resource access request carrying an access domain name corresponding to the locally cached IP address, the optimal IP address can be quickly determined, and resource access is performed to acquire resources.
Furthermore, each IP address can be evaluated according to the current network state of the access terminal, the current geographic position and the access associated information corresponding to each IP address, and the pushing priority corresponding to each IP address can be determined.
Therefore, by the resource access method, the optimal IP address can be dynamically selected based on the current network state, and the access terminal is guided to the edge computing server with the optimal access. Under the 5G architecture, the steps can be realized only by modifying the client on the access terminal and calling the preset client SDK at the network layer without changing other network structures, and the access efficiency and accuracy of the access terminal resource access can be improved. More importantly, when the position of the access terminal changes or the network state changes, the IP address can be re-evaluated in time, and the IP address which is most matched with the current environment is determined.
Referring to fig. 11, fig. 11 is a comparison graph of resource access time using the method of the present application and the conventional method. The domain name resolution server adopted by the method is an httpdNS server, and the domain name resolution server adopted by the traditional method is a localDNS server. As shown in fig. 11, compared with the conventional method, the resource access method of the present application can significantly improve the speed of resource access, mainly because the IP address most matched with the current environment can be quickly found for resource access.
It should be understood that although the various steps in the flowcharts of fig. 2, 4-8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 4-8 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 12, there is provided a resource access apparatus, which may be a part of a computer device using a software module or a hardware module, or a combination of the two, and specifically includes: a request interception module 1202, a domain name resolution module 1204, a target access address determination module 1206, and a resource acquisition module 1208, wherein:
a request intercepting module 1202, configured to intercept a current resource access request and generate a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name.
The domain name resolution module 1204 is configured to send a domain name resolution request to a domain name resolution server, so that the domain name resolution server obtains a candidate access address set corresponding to an access domain name according to the domain name resolution request; the set of candidate access addresses includes at least one candidate access address.
The target access address determining module 1206 is configured to obtain a candidate access address set returned by the domain name resolution server, determine, based on a current network state and candidate access association information respectively corresponding to at least one candidate access address, a push priority corresponding to each candidate access address, and determine a target access address from the candidate access address set according to the push priority.
A resource obtaining module 1208, configured to obtain, based on the current resource access request, a corresponding resource to be accessed from the target resource server corresponding to the target access address.
In one embodiment, the request interception module is further configured to obtain an access domain name from the current resource access request; acquiring a network address corresponding to a domain name resolution server; and modifying the current resource access request based on the position of the access domain name in the current resource access request and the network address to obtain a domain name resolution request.
In one embodiment, the domain name resolution server comprises an httpDNS server and a localDNS server, and the domain name resolution module is further configured to send a domain name resolution request to the httpDNS server, so that the httpDNS server obtains a candidate access address set according to the domain name resolution request; and when the candidate access address set returned by the httpdNS server is not received, sending the domain name resolution request to the localDNS server so that the localDNS server acquires the candidate access address set according to the domain name resolution request.
In one embodiment, a domain name resolution server acquires a plurality of initial access addresses corresponding to an access domain name according to a domain name resolution request; determining the access positions of the resource servers corresponding to the plurality of initial access addresses respectively; taking an initial access address with the distance between the access position and a requester position corresponding to the domain name resolution request smaller than a preset threshold value as a candidate access address, and combining all the candidate access addresses to obtain a candidate access address set; the resource server corresponding to the candidate access address is an edge computing server; and returning a candidate access address set to a requester corresponding to the domain name resolution request.
In one embodiment, the target access address determining module is further configured to obtain a target access impact factor corresponding to the candidate access association information based on the current network state; determining the pushing scores corresponding to the candidate access addresses according to the candidate access correlation information and the corresponding target access influence factors; sorting the push scores corresponding to the candidate access addresses from large to small, and determining the push priority corresponding to the candidate access addresses according to the sorting result; and taking the candidate access address with the highest push priority as a target access address.
In one embodiment, the target access address determination module is further configured to obtain a set of reference access addresses; the reference access address set comprises reference access addresses corresponding to the reference access resources; acquiring current access influence factors corresponding to each network state; determining initial push priorities corresponding to the reference access addresses under each network state according to the current access influence factors and the reference access associated information corresponding to the reference access addresses; acquiring reference pushing priorities corresponding to the reference access addresses in each network state; and adjusting the corresponding current access influence factor based on the push priority difference between the corresponding reference push priority and the initial push priority of the same reference access address in the same network state until the push priority difference meets the convergence condition, and taking the current access influence factor corresponding to the push priority difference meeting the convergence condition as the corresponding target access influence factor, thereby obtaining the target access influence factor corresponding to each network state.
In one embodiment, the target access address determining module is further configured to send a resource access test request to the resource server corresponding to each reference access address in different network states, and receive a test resource returned by each resource server according to the resource access test request; determining access delay time based on the sending time corresponding to the resource access test request and the receiving time corresponding to the test resource, and obtaining the access delay time corresponding to each reference access address in each network state; and determining the corresponding reference push priority of each reference access address in the same network state based on the time sequence of the access delay time corresponding to each reference access address in the same network state, and obtaining the corresponding reference push priority of each reference access address in each network state.
In one embodiment, the target access address determining module is further configured to obtain a requester location corresponding to the current resource access request; and acquiring a corresponding target access influence factor based on the position of the requester and the current network state.
In one embodiment, the resource obtaining module is further configured to replace an access domain name in the current resource access request with a target access address, so as to obtain an updated resource access request; sending the updated resource access request to a target resource server so that the target resource server acquires the resource to be accessed according to the updated resource access request; and acquiring the resource to be accessed returned by the target resource server.
In one embodiment, the resource access device further comprises:
the information updating module is used for updating the candidate access associated information corresponding to the target access address according to the current access result of the current resource access request, and updating the candidate access associated information corresponding to other candidate access addresses based on the test access result of the resource server corresponding to other candidate access addresses to obtain the target access associated information corresponding to each candidate access address; performing associated storage on the access domain name, each candidate access address and target access associated information corresponding to each candidate access address; when a target resource access request carrying an access domain name is intercepted, an update access address is determined from each candidate access address based on the current network state and target access associated information corresponding to the locally stored candidate access address, and a resource to be accessed is acquired from an update resource server corresponding to the update access address based on the target resource access request.
In one embodiment, the candidate access addresses carry access validity periods, and the information updating module is further configured to send an access address updating request carrying an access domain name to the domain name resolution server when the access validity period of at least one candidate access address in the candidate access address set is greater than the current time, so that the domain name resolution server obtains an updated access address set corresponding to the access domain name according to the access address updating request; and acquiring an updated access address set returned by the domain name resolution server, and updating the locally stored candidate access address set based on the updated access address set.
In one embodiment, the candidate access association information includes at least one of historical access information and current access information, and the historical access information or the current access information includes at least one of access success information, access failure information, last access success time, throughput, a stuck rate, an access speed, and a preset push priority.
For specific limitations of the resource access device, reference may be made to the above limitations of the resource access method, which is not described herein again. The modules in the resource access device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 13. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external access terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a resource access method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 13 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A method for resource access, the method comprising:
intercepting a current resource access request, and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name;
sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to the access domain name according to the domain name resolution request; the set of candidate access addresses comprises at least one candidate access address;
acquiring the candidate access address set returned by the domain name resolution server, determining the pushing priority corresponding to each candidate access address based on the current network state and the candidate access associated information respectively corresponding to the at least one candidate access address, and determining a target access address from the candidate access address set according to the pushing priority;
and acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
2. The method according to claim 1, wherein the intercepting a current resource access request and generating a domain name resolution request corresponding to the current resource access request comprises:
acquiring the access domain name from the current resource access request;
acquiring a network address corresponding to the domain name resolution server;
and modifying the current resource access request based on the position of the access domain name in the current resource access request and the network address to obtain the domain name resolution request.
3. The method of claim 1, wherein the domain name resolution server comprises an httpDNS server and a localDNS server, and the sending the domain name resolution request to the domain name resolution server to enable the domain name resolution server to obtain the candidate access address set corresponding to the access domain name according to the domain name resolution request comprises:
sending the domain name resolution request to the httpdNS server so that the httpdNS server obtains the candidate access address set according to the domain name resolution request;
and when the candidate access address set returned by the httpDNS server is not received, sending the domain name resolution request to the localDNS server so that the localDNS server acquires the candidate access address set according to the domain name resolution request.
4. The method according to claim 1, wherein the sending the domain name resolution request to a domain name resolution server so that the domain name resolution server obtains a candidate access address set corresponding to the access domain name according to the domain name resolution request includes:
the domain name resolution server acquires a plurality of initial access addresses corresponding to the access domain name according to the domain name resolution request;
determining the access positions of the resource servers corresponding to the initial access addresses respectively;
taking the initial access address with the distance between the access position and the requester position corresponding to the domain name resolution request smaller than a preset threshold value as a candidate access address, and combining the candidate access addresses to obtain a candidate access address set; the resource server corresponding to the candidate access address is an edge computing server;
and returning the candidate access address set to a requester corresponding to the domain name resolution request.
5. The method of claim 1, wherein the determining a push priority corresponding to each candidate access address based on the current network state and candidate access association information corresponding to the at least one candidate access address respectively, and determining a target access address from the candidate access address set according to the push priority comprises:
acquiring a target access influence factor corresponding to the candidate access correlation information based on the current network state;
determining the pushing scores corresponding to the candidate access addresses according to the candidate access correlation information and the corresponding target access influence factors;
sorting the push scores corresponding to the candidate access addresses from large to small, and determining the push priority corresponding to the candidate access addresses according to the sorting result;
and taking the candidate access address with the highest push priority as the target access address.
6. The method according to claim 5, wherein the obtaining of the target access impact factor corresponding to the candidate access correlation information based on the current network state comprises:
acquiring a reference access address set; the reference access address set comprises reference access addresses corresponding to reference access resources;
acquiring current access influence factors corresponding to each network state;
determining initial push priorities corresponding to the reference access addresses respectively in each network state according to the current access influence factors and the reference access associated information corresponding to the reference access addresses;
acquiring reference pushing priorities corresponding to the reference access addresses in each network state;
and adjusting the corresponding current access influence factor based on the push priority difference between the corresponding reference push priority and the initial push priority of the same reference access address in the same network state until the push priority difference meets the convergence condition, and taking the current access influence factor corresponding to the push priority difference meeting the convergence condition as the corresponding target access influence factor, thereby obtaining the target access influence factor corresponding to each network state.
7. The method according to claim 6, wherein the obtaining of the reference push priorities corresponding to the respective reference access addresses in the respective network states comprises:
under different network states, sending resource access test requests to resource servers corresponding to the reference access addresses, and receiving test resources returned by the resource servers according to the resource access test requests;
determining access delay time based on the sending time corresponding to the resource access test request and the receiving time corresponding to the test resource, and obtaining the access delay time corresponding to each reference access address in each network state;
and determining the corresponding reference push priority of each reference access address in the same network state based on the time sequence of the access delay time corresponding to each reference access address in the same network state, and obtaining the corresponding reference push priority of each reference access address in each network state.
8. The method according to claim 5, wherein the obtaining of the target access impact factor corresponding to the candidate access correlation information based on the current network state comprises:
acquiring a requester position corresponding to the current resource access request;
and acquiring a corresponding target access influence factor based on the position of the requester and the current network state.
9. The method according to claim 1, wherein the obtaining a corresponding resource to be accessed from a target resource server corresponding to the target access address based on the current resource access request includes:
replacing the access domain name in the current resource access request with the target access address to obtain an updated resource access request;
sending the updated resource access request to the target resource server so that the target resource server obtains the resource to be accessed according to the updated resource access request;
and acquiring the resource to be accessed returned by the target resource server.
10. The method according to claim 1, wherein after the corresponding resource to be accessed is obtained from the target resource server corresponding to the target access address based on the current resource access request, the method comprises:
updating candidate access associated information corresponding to the target access address according to a current access result of the current resource access request, and updating candidate access associated information corresponding to other candidate access addresses based on a test access result of a resource server corresponding to the other candidate access addresses to obtain target access associated information corresponding to each candidate access address;
performing associated storage on the access domain name, the candidate access addresses and the target access associated information corresponding to the candidate access addresses;
when a target resource access request carrying the access domain name is intercepted, an update access address is determined from each candidate access address based on the current network state and target access associated information corresponding to the locally stored candidate access address, and the resource to be accessed is obtained from an update resource server corresponding to the update access address based on the target resource access request.
11. The method of claim 10, wherein the candidate access address carries an access validity period, and wherein the method further comprises:
when the access validity period of at least one candidate access address in the candidate access address set is longer than the current time, sending an access address updating request carrying the access domain name to the domain name resolution server, so that the domain name resolution server obtains an updated access address set corresponding to the access domain name according to the access address updating request;
and acquiring the updated access address set returned by the domain name resolution server, and updating the locally stored candidate access address set based on the updated access address set.
12. The method according to any of claims 1 to 11, wherein the candidate access correlation information comprises at least one of historical access information and current access information, and the historical access information or the current access information comprises at least one of access success information, access failure information, last access success time, throughput, stuck rate, access speed and preset push priority.
13. An apparatus for accessing a resource, the apparatus comprising:
the request intercepting module is used for intercepting a current resource access request and generating a domain name resolution request corresponding to the current resource access request; the domain name resolution request carries an access domain name;
the domain name resolution module is used for sending the domain name resolution request to a domain name resolution server so that the domain name resolution server can acquire a candidate access address set corresponding to the access domain name according to the domain name resolution request; the set of candidate access addresses comprises at least one candidate access address;
a target access address determining module, configured to obtain the candidate access address set returned by the domain name resolution server, determine, based on a current network state and candidate access association information respectively corresponding to the at least one candidate access address, a push priority corresponding to each candidate access address, and determine, according to the push priority, a target access address from the candidate access address set;
and the resource acquisition module is used for acquiring the corresponding resource to be accessed from the target resource server corresponding to the target access address based on the current resource access request.
14. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 12.
15. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 12.
CN202011185065.XA 2020-10-29 2020-10-29 Resource access method, device, computer equipment and storage medium Active CN114513488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011185065.XA CN114513488B (en) 2020-10-29 2020-10-29 Resource access method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011185065.XA CN114513488B (en) 2020-10-29 2020-10-29 Resource access method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114513488A true CN114513488A (en) 2022-05-17
CN114513488B CN114513488B (en) 2023-11-07

Family

ID=81546805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011185065.XA Active CN114513488B (en) 2020-10-29 2020-10-29 Resource access method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114513488B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915504A (en) * 2022-07-18 2022-08-16 广州万协通信息技术有限公司 Security chip initial authentication method and system
CN115022278A (en) * 2022-06-02 2022-09-06 上海哔哩哔哩科技有限公司 CDN processing method and system
CN115277380A (en) * 2022-08-02 2022-11-01 北京有竹居网络技术有限公司 Domain name resolution-based disaster tolerance method, device, system, equipment and storage medium
CN116382809A (en) * 2023-05-26 2023-07-04 荣耀终端有限公司 Application program starting method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
CN104158919A (en) * 2014-08-20 2014-11-19 安一恒通(北京)科技有限公司 Webpage access implementation method, server and client
CN106357841A (en) * 2016-11-02 2017-01-25 腾讯科技(深圳)有限公司 Domain name resolution method, device and system
CN109819066A (en) * 2019-01-31 2019-05-28 平安科技(深圳)有限公司 A kind of intelligently parsing field name method and device based on geographical location
WO2019120037A1 (en) * 2017-12-18 2019-06-27 Oppo广东移动通信有限公司 Model construction method, network resource preloading method and apparatus, medium, and terminal
CN111190926A (en) * 2019-11-25 2020-05-22 腾讯云计算(北京)有限责任公司 Resource caching method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051717A (en) * 2012-12-25 2013-04-17 北京小米科技有限责任公司 Method, device and equipment for processing http request
CN104158919A (en) * 2014-08-20 2014-11-19 安一恒通(北京)科技有限公司 Webpage access implementation method, server and client
CN106357841A (en) * 2016-11-02 2017-01-25 腾讯科技(深圳)有限公司 Domain name resolution method, device and system
WO2019120037A1 (en) * 2017-12-18 2019-06-27 Oppo广东移动通信有限公司 Model construction method, network resource preloading method and apparatus, medium, and terminal
CN109819066A (en) * 2019-01-31 2019-05-28 平安科技(深圳)有限公司 A kind of intelligently parsing field name method and device based on geographical location
CN111190926A (en) * 2019-11-25 2020-05-22 腾讯云计算(北京)有限责任公司 Resource caching method, device, equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022278A (en) * 2022-06-02 2022-09-06 上海哔哩哔哩科技有限公司 CDN processing method and system
CN114915504A (en) * 2022-07-18 2022-08-16 广州万协通信息技术有限公司 Security chip initial authentication method and system
CN115277380A (en) * 2022-08-02 2022-11-01 北京有竹居网络技术有限公司 Domain name resolution-based disaster tolerance method, device, system, equipment and storage medium
CN116382809A (en) * 2023-05-26 2023-07-04 荣耀终端有限公司 Application program starting method and electronic equipment
CN116382809B (en) * 2023-05-26 2023-10-20 荣耀终端有限公司 Application program starting method and electronic equipment

Also Published As

Publication number Publication date
CN114513488B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN114513488B (en) Resource access method, device, computer equipment and storage medium
Chen et al. End-user mapping: Next generation request routing for content delivery
US8756340B2 (en) DNS wildcard beaconing to determine client location and resolver load for global traffic load balancing
US10015243B2 (en) Optimized content distribution based on metrics derived from the end user
US10361931B2 (en) Methods and apparatus to identify an internet domain to which an encrypted network communication is targeted
US20180285470A1 (en) A Mobile Web Cache Optimization Method Based on HTML5 Application Caching
US8639748B2 (en) Optimized content distribution based on metrics derived from the end user
Wang et al. Estimating the performance of hypothetical cloud service deployments: A measurement-based approach
US10979307B2 (en) Synchronized distributed processing in a communications network
US11165885B2 (en) Routing method and device
US20230128125A1 (en) Systems and methods for processing requests for content of a content distribution network
US20220200957A1 (en) Managing Application Access Controls And Routing In Cloud Computing Platforms
AU2020277977A1 (en) Efficient freshness crawl scheduling
CN111523031A (en) Method and device for recommending interest points
US9729652B2 (en) Dynamically affinitizing users to a version of a website
US9686372B1 (en) Systems and methods for automatically rewriting network page code
CN104202418A (en) Method and system for recommending commercial content distribution network for content provider
Zulfa et al. Performance comparison of cache replacement algorithms onvarious internet traffic
CN110020129B (en) Click rate correction method, prediction method, device, computing equipment and storage medium
CN112040023B (en) Object access method and device, electronic equipment and machine-readable storage medium
Milajerdi et al. A composite-metric based path selection technique for the Tor anonymity network
Chen et al. Coordinated data prefetching for web contents
Xia et al. QoS-Aware data replications and placements for query evaluation of big data analytics
CN109302505B (en) Data transmission method, system, device and storage medium
WO2024031334A1 (en) Routing network traffic using time zone information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant