CN116248630A - Application acceleration method and device, electronic equipment and storage medium - Google Patents

Application acceleration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116248630A
CN116248630A CN202111492465.XA CN202111492465A CN116248630A CN 116248630 A CN116248630 A CN 116248630A CN 202111492465 A CN202111492465 A CN 202111492465A CN 116248630 A CN116248630 A CN 116248630A
Authority
CN
China
Prior art keywords
domain name
name resolution
target
application
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111492465.XA
Other languages
Chinese (zh)
Inventor
黄嘉锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111492465.XA priority Critical patent/CN116248630A/en
Publication of CN116248630A publication Critical patent/CN116248630A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses an application acceleration method, an application acceleration device, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: and acquiring at least one domain name resolution task to be executed based on the acceleration request of the target application. And then executing at least one domain name resolution task, and respectively obtaining the IP addresses corresponding to the application domain names contained in the at least one domain name resolution task. When a starting request aiming at a target application is received, if at least one domain name resolution task is determined to be executed, intercepting the domain name resolution request sent by the target application, and extracting a target domain name in the domain name resolution request. If the application domain name matched with the target domain name exists in at least one domain name resolution task, determining the IP address corresponding to the application domain name as a target IP address corresponding to the target domain name, and accessing a corresponding server based on the target IP address. The domain name resolution request can be resolved in advance based on the method, and the speed of determining the target IP address by the application is improved.

Description

Application acceleration method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application acceleration method, an application acceleration device, an electronic device, and a storage medium.
Background
With the rapid development of science and technology, various websites and application programs bring great convenience to life and production, for example, objects can play online games through handheld electronic devices. However, due to the portability of handheld electronic devices, the network environment in which they are located is also quite different; moreover, in different network environments, the trafficability and accuracy of the corresponding domain name resolution are different, and the quality of the domain name resolution is closely related to the use state of the application program, so that the failure or incorrect domain name resolution often causes the problems of incapability of entering, blocking, dropping and the like of the application program (for example, a game).
In the related art, in order to prevent domain name resolution failure, the following schemes are generally adopted:
scheme 1: the client forwards the domain name resolution request by using the private line network, and the possibility of packet loss of the domain name resolution request is reduced by depending on the stability of the private line.
However, when the scheme 1 is adopted, the problem of delay packet loss on the line of the operator can only be solved, and when the domain name resolution request occurs, the problem of domain name resolution failure caused by jitter packet loss of a network used by the client itself or jitter packet loss of a public network (namely a remote service network) forwarding the domain name resolution request to the domain name resolution server cannot be solved.
Scheme 2: the client forwards the domain name resolution request by using the cellular network and the WI-FI network at the same time, and the possibility of packet loss of the domain name resolution request is reduced by means of a large number of redundant transmission packets.
However, when the scheme 2 is adopted, the problem of packet loss on the network used by the client can only be solved, and when the domain name resolution request occurs, the problem of domain name resolution failure caused by jitter packet loss can not be solved by forwarding the domain name resolution request to the public network of the domain name resolution server.
In summary, in the related art, there is a technical problem that the domain name resolution success rate is low in the application program using process, so that situations such as blocking occur in the application program using process.
Disclosure of Invention
The embodiment of the application acceleration method, the device, the electronic equipment and the storage medium are used for improving the success rate of domain name resolution and avoiding the conditions of blocking and the like in the application program using process.
In one aspect, an application acceleration method is provided, the method comprising:
when an acceleration request aiming at a target application is received, acquiring at least one domain name resolution task to be executed; wherein each domain name resolution task comprises: application domain names of other applications to be accessed by the target application;
Executing the at least one domain name resolution task to respectively obtain Internet Protocol (IP) addresses corresponding to application domain names contained in the at least one domain name resolution task;
when a starting request aiming at the target application is received, if the completion of the execution of the at least one domain name resolution task is determined, intercepting the domain name resolution request sent by the target application, and determining a target domain name carried in the domain name resolution request;
if the application domain name matched with the target domain name exists in the at least one domain name resolution task, determining an IP address corresponding to the application domain name as a target IP address corresponding to the domain name resolution request, and accessing a corresponding server based on the target IP address.
In one aspect, there is provided an application acceleration apparatus, the apparatus comprising:
the acquisition unit is used for acquiring at least one domain name resolution task to be executed when receiving an acceleration request aiming at a target application; wherein each domain name resolution task comprises: application domain names of other applications to be accessed by the target application;
the obtaining unit is used for executing the at least one domain name resolution task and respectively obtaining Internet Protocol (IP) addresses corresponding to application domain names contained in the at least one domain name resolution task;
The determining unit is used for intercepting a domain name resolution request sent by the target application and determining a target domain name carried in the domain name resolution request if the at least one domain name resolution task is determined to be executed when a starting request aiming at the target application is received;
and the processing unit is used for determining the IP address corresponding to the application domain name as the target IP address corresponding to the domain name resolution request if the application domain name matched with the target domain name exists in the at least one domain name resolution task, and accessing a corresponding server based on the target IP address.
Optionally, the apparatus further comprises a storage unit configured to:
and storing the IP address and the corresponding application domain name in a key value pair mode.
In one aspect, an electronic device is provided that includes a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the application acceleration method described above.
In one aspect, a computer program product or computer program is provided, the computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above-described application acceleration method.
In one aspect, a computer readable storage medium is provided comprising program code for causing an electronic device to perform the steps of any one of the application acceleration methods described above when the program product is run on the electronic device.
The beneficial effects of the application are as follows:
according to the application acceleration method, the device, the electronic equipment and the storage medium, when the starting request for the target application is received, at least one domain name resolution task to be executed is acquired, the at least one domain name resolution task is executed, and the IP addresses corresponding to the application domain names contained in the at least one domain name resolution task are respectively acquired. Therefore, when the electronic device receives the starting request for the target application, and determines that an application domain name matched with the target domain name carried by the domain name resolution request sent by the target application exists in at least one domain name resolution task, the IP address corresponding to the application domain name can be determined to be the target IP address corresponding to the domain name resolution request, and the corresponding server is accessed based on the target IP address.
In this way, the domain name resolution request sent by the target application does not need to go through paths of the intelligent terminal, the operator network and the remote service network corresponding to the target application, and the corresponding IP address is quickly and accurately obtained; in addition, before the domain name resolution request is sent by the target application, the IP address is acquired based on the domain name resolution task executed by the acceleration request, so that a more accurate IP address can be acquired, the corresponding IP address can be fed back rapidly and accurately when the electronic equipment really receives the domain name resolution request, the target application can access the target IP address in an acceleration mode, and the conditions of blocking and the like in the using process of the target application are effectively avoided.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the related art, the drawings that are required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present application, and other drawings may be obtained according to the provided drawings without inventive effort for a person having ordinary skill in the art.
Fig. 1 is an alternative schematic diagram of an application scenario in an embodiment of the present application;
FIG. 2 is another alternative schematic diagram of an application scenario in an embodiment of the present application;
FIG. 3 is a schematic flow chart of an alternative method of applying acceleration in an embodiment of the present application;
FIG. 4 is a schematic diagram of a display interface of an accelerator according to an embodiment of the present application;
FIG. 5 is a schematic diagram of acquiring an application domain name according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a domain name resolution task list according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a display interface for accelerating the start progress in an embodiment of the present application;
FIG. 8 is a schematic diagram of a process for performing domain name resolution tasks according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a display interface for accelerating details in an embodiment of the present application;
fig. 10 is a schematic diagram of a relationship between a domain name matching rule and an acceleration forwarding policy in an embodiment of the present application;
FIG. 11 is a schematic diagram of a domain name resolution request processing in an embodiment of the present application;
FIG. 12 is a schematic diagram of a display interface of a target application for accelerating completion in an embodiment of the present application;
FIG. 13 is a schematic flow chart of an alternative method of applying acceleration in an embodiment of the present application;
FIG. 14 is a schematic view of a composition structure of an acceleration device according to an embodiment of the present application;
fig. 15 is a schematic diagram of a hardware composition structure of an electronic device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a terminal device provided in an embodiment of the present application;
fig. 17 is a schematic structural diagram of a server in an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure. Embodiments and features of embodiments in this application may be combined with each other arbitrarily without conflict. Also, while a logical order is depicted in the flowchart, in some cases, the steps depicted or described may be performed in a different order than presented herein.
In order to facilitate understanding of the technical solutions provided in the embodiments of the present application, some key terms related to the embodiments of the present application are explained here:
domain name: domain names, also known as web domains, are typically the names of a computer or group of computers on the internet that are formed by a string of names separated by dots, and are used to locate and identify the computer during data transmission.
IP address: generally, an IP address is a unified address format provided by an IP protocol, and a logical address is allocated to each network and each host on the internet, so as to mask differences in physical addresses.
Application program: generally refers to a computer program that operates in a user mode, with a visual user interface, for performing a particular task or tasks. Hereinafter, for convenience of description, an application program will be simply referred to as an "application".
Private Cloud (Private Cloud): the cloud infrastructure and the software and hardware resources are created in the firewall so that each department in the organization or enterprise can share the resources in the data center. A private cloud is created, typically cloud device (IaaS, infrastructure as a Service, infrastructure as a service) software in addition to hardware resources.
Private cloud computing also includes three levels of cloud hardware, cloud platform, cloud services. In contrast, cloud hardware is a user's own personal computer or server, rather than a data center of a cloud computing vendor. Cloud computing manufacturers build data centers to provide public cloud services for millions of users, thus requiring tens of millions of servers. Private cloud computing serves only friends and relatives to individuals, and staff and clients and suppliers to businesses, so personal or business's own personal computers or servers are sufficient to provide cloud services.
Public Cloud (Public Cloud): typically, a third party provider provides a cloud for users, and public cloud is generally available through the Internet, and may be free or low-cost, and the core attribute of public cloud is shared resource service. There are many examples of such clouds that can provide services throughout the open public network today.
The word "exemplary" is used hereinafter to mean "serving as an example, embodiment, or illustration. Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The terms "first," "second," and the like herein are used for descriptive purposes only and are not to be construed as either explicit or implicit relative importance or to indicate the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature, and in the description of embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
At present, due to portability of an intelligent terminal, geographic positions of different objects using the intelligent terminal are generally different, and the geographic positions of the same object using the intelligent terminal may also change, so that a network environment in which the intelligent terminal is located also changes. Therefore, the intelligent terminal is different in the results of the correspondingly triggered domain name resolution requests under different network environments, so that the situations of inaccurate domain name resolution at home and abroad, failure in resolving the domain name requests caused by sudden packet loss of a network used by the intelligent terminal and the like can occur, and further, the situations of blocking, disconnection and the like occur when the target application on the intelligent terminal is used.
Although the technical solutions described in the foregoing schemes 1 and 2 are proposed in the related art for the above problems, the technical solutions described in the foregoing have the technical problem that the domain name resolution success rate is low in the application use process, resulting in the occurrence of a situation such as a katon in the application use process.
In view of this, in the embodiment of the present application, a domain name resolution scheme is provided, in which, when an acceleration start request for a target application is received, at least one domain name resolution task, acceleration channel access information, and a domain name matching rule are acquired from an acceleration server based on the request, and then at least one domain name resolution task is executed and the corresponding IP address is cached.
Further, after receiving the start request of the target application, the client may intercept the domain name resolution request, and match the target domain name carried by the domain name resolution request with the application domain name in the cache corresponding to the at least one domain name resolution task, and if the matched application domain name can be determined, determine an IP (Internet Protocol Address, internet protocol) address corresponding to the application domain name as a target IP address corresponding to the target domain name from the cache. In addition, when the corresponding application domain name is not matched in the cache corresponding to the at least one domain name resolution task, judging whether to execute an acceleration forwarding strategy on the domain name resolution request or not based on a preset domain name matching rule and a target domain name, further determining an acceleration network channel based on acceleration channel access information, and then performing acceleration forwarding processing on the domain name resolution request through the acceleration network channel. In this way, the speed and the success rate of domain name resolution can be greatly improved by performing the domain name resolution task and accelerating the domain name resolution in real time, so that the target application can accelerate the access to the target IP address, and the experience of using the target application by the object can be improved.
After the design concept of the embodiment of the present application is introduced, some simple descriptions are made below for application scenarios to which the technical solution of the embodiment of the present application may be applied. It should be noted that the application scenarios described below are only for illustrating the embodiments of the present application and are not limiting. In the specific implementation process, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
The method and the device provided by the embodiment of the application can be suitable for most application programs needing domain name resolution requests. The application is, for example, a game application, a social application, or an entertainment application, etc. Referring to fig. 1, a schematic view of a scenario provided in an embodiment of the present application is shown. In this scenario diagram, a plurality of intelligent terminals 101 and acceleration servers 102 are included. The intelligent terminals 101-1, 101-2, … … and 101-n may be used by different users, and accelerators and various applications are installed in the plurality of intelligent terminals 101.
The smart terminal 101 may be, for example, a mobile phone, a tablet personal computer (PAD), a personal computer (Personal computer, PC), a smart television, a smart watch, a smart speaker, a smart car device, a wearable device, or the like, but is not limited thereto. Each intelligent terminal 101 may include one or more processors 1011, memory 1012, and I/O interfaces 1013, etc. to interact with a server.
In this embodiment of the present application, the acceleration server 102 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platform, but is not limited thereto.
For example, each object may select to open an accelerator application on the intelligent terminal 101, then select a target application for acceleration in the accelerator application, send an acceleration request to the acceleration server 102, and similarly, the acceleration server 102 processes the acceleration request sent by each intelligent terminal 101. For example: the object a sends an acceleration request of the acceleration application 1 to the acceleration server 102 through the intelligent terminal 101-1, and then the acceleration server 102 processes the acceleration request and feeds back the processing result of the acceleration request to the intelligent terminal 101-1.
The intelligent terminals 101 and the acceleration server 102, and the intelligent terminals 101 may be directly or indirectly connected through one or more networks 103. The network 103 may be a wired network, or may be a Wireless network, for example, a mobile cellular network, or may be a Wireless-Fidelity (WIFI) network, or may be other possible networks, which is not limited in this embodiment of the present application.
Referring to fig. 2, fig. 2 is a schematic diagram of another scenario provided in an embodiment of the present application. The scene diagram includes: an intelligent terminal 101 with accelerators and other applications installed, an acceleration server 102, an operator network 201, an acceleration network channel 202, a public network channel 203, a first domain name resolution server 204, and a second domain name resolution server 205.
The intelligent terminal 101 may send an acceleration request to the acceleration server 102, so that the acceleration server 102 determines information such as at least one domain name resolution task and an acceleration channel access point to be executed based on the acceleration request, and then feeds back information such as at least one domain name resolution task and an acceleration channel access point to be executed to the intelligent terminal 101, so that the intelligent terminal 101 may obtain information such as at least one domain name resolution task and an acceleration channel access point to be executed.
Wherein the intelligent terminal 101 performs accelerated forwarding of the domain name resolution request through the operator network 201 and the accelerated network channel 202 and the first domain name resolution server 204. And, the intelligent terminal 101 may perform non-expedited forwarding of the domain name resolution request through the carrier network 201 and the public network channel 203 and the second domain name resolution server 205.
Of course, the method provided in the embodiment of the present application is not limited to the application scenario shown in fig. 1 and fig. 2, but may be used in other possible application scenarios, and the embodiment of the present application is not limited.
Referring to fig. 3, a flowchart of an implementation of an application acceleration method according to an embodiment of the present application is shown, where the method may be executed by an electronic device, and the specific implementation flow is as follows:
step 301: when an acceleration request aiming at a target application is received, acquiring at least one domain name resolution task to be executed; wherein each domain name resolution task comprises: application domain names of other applications to be accessed by the target application.
In the embodiment of the application, the object can select to open the accelerator application on the intelligent terminal and then select the target application needing acceleration. Referring to fig. 4, fig. 4 is a schematic diagram of a display interface of an accelerator on an intelligent terminal according to an embodiment of the present application. Wherein the object may select an application on the accelerator's interface that wishes to accelerate, e.g., the object may select application 1 in fig. 4. And in the implementation process, the object can select and add the application to be accelerated from a plurality of applications installed in the intelligent terminal based on the actual requirement. After the application to be accelerated is successfully added on the interface of the accelerator, the object may choose to start accelerating the application to be accelerated again.
Specifically, the operation of the object to select to start the application to be accelerated may be a click operation, a drag operation, a long press operation, or the like, which may, of course, be a voice control, which is not limited in this application.
In the embodiment of the application, after the accelerator application of the object on the intelligent terminal selects to start the application to be accelerated, the intelligent terminal can receive the acceleration request aiming at the application to be accelerated. Then, the intelligent terminal can acquire a key message based on the preset VPN configuration, wherein the key message comprises a domain name resolution request source and an application domain name. The source of the domain name resolution request may be represented as an identifier of the application, for example, an application name, or of course, may be other information that uniquely identifies the application, which is not limited in the embodiment of the present application.
For example, referring to fig. 5, fig. 5 is a schematic diagram of acquiring an application domain name in an embodiment of the present application. Specifically, a message can be captured based on a preset VPN, and then which application the message is sent by can be analyzed, so that an application domain name to be accessed by the application can be determined.
With continued reference to fig. 5, after the intelligent terminal starts the preset VPN, the preset VPN may analyze the received message 1, so as to determine that an application domain name corresponding to the message 1 is: www.qq.com, and the source of message 1 is the application with application identifier a; the preset VPN may further analyze the received message 2, so that an application domain name corresponding to the message 2 may be determined as follows: smoba.qq.com, the source of message 2 is the application whose application identity is B; and, the preset VPN may analyze the received message 3, so as to determine that an application domain name corresponding to the message 3 is: www.xxxx.com, and message 3 is sourced from application identified as F.
It should be noted that, in the practical implementation process, the application identifier may be one or more of a chinese character, a character, an arabic numeral, and other words, which is not limited in this embodiment of the present application.
In the embodiment of the application, after the intelligent terminal obtains the application domain name corresponding to the domain name resolution task to be performed corresponding to the target application, the application domain name and the acceleration request may be sent to an acceleration server corresponding to the accelerator application. Further, the acceleration server may process the acceleration request and determine at least one domain name resolution task based on the application domain name. And the acceleration channel access point and the corresponding domain name resolution server are based on the determined domain name matching rule.
Specifically, the acceleration server may feed back the at least one domain name resolution task to the intelligent terminal in a list form, and of course, the acceleration server may also take other forms, which is not limited in this application. The following description will take at least one domain name resolution task as an example of a domain name resolution task list.
For example, referring to fig. 6, fig. 6 is a schematic diagram of a domain name resolution task list provided in an embodiment of the present application. The domain name resolution task list comprises an application domain name 1 to be resolved, application domain names 2 and … … to be resolved and an application domain name n to be resolved. Wherein n is a positive integer greater than 2. It should be noted that, in the specific implementation process, the domain name resolution task list may include only 1 domain name to be resolved, or may include multiple domain names to be resolved, which is not limited in the embodiment of the present application.
In this embodiment of the present application, the domain name matching rule fed back by the acceleration server is used to decide whether to process the domain name resolution request sent by the target application by using the acceleration forwarding policy or the direct forwarding policy. And the domain name resolution server is a target domain name resolution server for accelerating the domain name resolution request, whereby the domain name resolution server resolves the domain name resolution request forwarded via the accelerating network channel.
In this embodiment of the present application, the access point of the acceleration network channel fed back by the acceleration server may be understood as an entry of a special acceleration network line, and the domain name resolution request forwarded to the access point may be sent out from an exit of the acceleration network channel through the acceleration network channel, and the domain name resolution request of the exit may be forwarded to the domain name resolution server for interaction. In particular implementations, one access point for each accelerated network channel may be determined based on historical experience or other means.
In this embodiment of the present application, after the intelligent terminal receives the acceleration request for the application to be accelerated, the interface of the intelligent terminal may jump from the interface for selecting the application to be accelerated shown in fig. 4 to the interface for showing the acceleration start progress.
For example, referring to fig. 7, fig. 7 is a schematic diagram of a display interface for accelerating a start progress according to an embodiment of the present application. Based on the graph shown in fig. 7, the current acceleration start schedule is 32%. Therefore, the user can accurately know the current acceleration starting progress, and the use experience of the user is improved.
In fig. 7, the acceleration start progress is shown in a percentage manner, and in the actual implementation process, the acceleration start progress may be displayed in the form of a form filling degree, a line length degree, or a filling degree for filling a pattern of any shape, which is not limited in this application. For example, the acceleration start progress at this time may be determined with the filling degree of the pattern of filling water droplets. Further, for convenience of description, an application to be accelerated will be hereinafter referred to as a target application.
Step 302: and executing at least one domain name resolution task, and respectively obtaining Internet Protocol (IP) addresses corresponding to the application domain names contained in the at least one domain name resolution task.
In the embodiment of the application, after the intelligent terminal receives the at least one domain name resolution task fed back by the acceleration server, the intelligent terminal may execute the at least one domain name resolution task.
In the embodiment of the present application, for each domain name resolution task, the following steps may be used, but are not limited to:
step A: and constructing an acceleration domain name resolution request based on the application domain name corresponding to each domain name resolution task.
In the embodiment of the application, the intelligent terminal can determine the application domain name corresponding to each domain name resolution task, and constructs a domain name resolution request according to a standard DNS protocol. The corresponding target domain name resolution server in the domain name resolution request is set as a domain name resolution server acquired from the acceleration server, and the domain name requested to be resolved is set as an application domain name.
And (B) step (B): and forwarding the accelerating domain name resolution request to a target domain name resolution server corresponding to the accelerating domain name resolution request based on the target accelerating network channel determined by the accelerating request.
In the embodiment of the application, when the intelligent terminal uses the target acceleration network channel, the acceleration domain name resolution request is forwarded to the access point of the target acceleration network channel, the target acceleration network channel forwards the domain name resolution request to the exit point, and the exit point sends the domain name resolution request to the target domain name resolution server.
For example, if the application domain name carried in the acceleration request is www.xxxx.com, it is determined that the target acceleration network channel carrying the acceleration domain name resolution request of www.xxxx.com is the dedicated network channel 1, and the target domain name resolution server corresponding to the dedicated network channel 1 is the domain name resolution server 1. In this way, the intelligent terminal can determine to forward the accelerated domain name resolution request to the dedicated network channel 1, and then send the accelerated domain name resolution request to the domain name resolution service 1 through the network channel 1, so that the fast forwarding of the domain name resolution request is realized.
Specifically, the target accelerating network channel is an accelerating dedicated line, two ends of the accelerating dedicated line are respectively an access point and an exit point, the access point receives a domain name resolution request sent by the intelligent terminal, and the exit point sends the domain name resolution request forwarded by the target accelerating network channel.
Specifically, forwarding the domain name resolution request may be implemented based on various protocols, such as the Socks5 protocol, the VPN protocol, and the like, which is not limited in the embodiments of the present application.
Step C: and taking the IP address fed back by the target domain name resolution server as the IP address corresponding to the application domain name contained in each acceleration domain name resolution task.
In the embodiment of the application, after receiving the accelerating domain name resolution request, the target domain name resolution server resolves the accelerating domain name resolution request, determines an IP address corresponding to the application domain name, feeds the IP address back to the intelligent terminal, and then the intelligent terminal uses the IP address fed back by the target domain name resolution server as the IP address corresponding to the application domain name contained in each accelerating domain name resolution task.
For example, assuming that the application domain name is www.zzz.com, and the domain name resolution server 2 receives an accelerated domain name resolution request with www.zzz.com, the domain name server 2 may process the accelerated domain name resolution request to obtain an IP address corresponding to "www.zzz.com" as follows: 12.23.11.14. further, the domain name resolution server 2 may feed back "12.23.11.14" to the intelligent terminal, so that the intelligent terminal uses "12.23.11.14" as the IP address of www.zzz.com.
In this embodiment of the present application, based on the steps a to C, the IP addresses corresponding to the application domain names that are included in each of the at least one domain name resolution task may be obtained respectively.
In the embodiment of the present application, after the IP addresses corresponding to the application domain names respectively included in at least one domain name resolution task are obtained, the IP addresses and the corresponding application domain names may be saved in a key-value pair manner, for example, the application domain names and the IP addresses may be saved in a www.xxx.com-11.12.13.22 manner. Therefore, a good implementation basis can be provided for domain name resolution of the subsequent target application, and the speed of the domain name resolution process and the success rate of domain name resolution corresponding to the target application are improved.
For example, referring to fig. 8, fig. 8 is a schematic diagram of a process for performing domain name resolution tasks according to an embodiment of the present application. The application domain name to be resolved shown in fig. 8, and the acceleration network channel and the target domain name resolution server corresponding to the application domain name may be the same or different.
Step 303: when a starting request aiming at a target application is received, if at least one domain name resolution task is determined to be executed, intercepting the domain name resolution request sent by the target application, and determining a target domain name carried in the domain name resolution request.
In the embodiment of the application, after the intelligent terminal executes at least one domain name resolution task, the display interface of the intelligent terminal can jump from the interface for accelerating the start progress to the interface for accelerating details.
For example, referring to fig. 9, fig. 9 is a schematic diagram of a display interface of acceleration details in an embodiment of the present application. The schematic diagram of the display interface can display information of delay degrees before acceleration and after acceleration, and can also display packet loss rate information. In addition, the interface schematic diagram also comprises a function key for starting the target application and stopping accelerating the target application.
In the embodiment of the application, the object may perform a preset operation on the starting target application in the acceleration detail page currently displayed by the intelligent terminal, where the preset operation is, for example, a click operation, so that the intelligent terminal may receive a starting request for the target application.
In the embodiment of the application, when the intelligent terminal receives a starting request aiming at a target application, if it is determined that at least one domain name resolution task is executed, intercepting the domain name resolution request sent by the target application through a virtual network card, and then extracting a target domain name carried in the domain name resolution request from the domain name resolution request based on a standard DNS protocol.
Step 304: if the application domain name matched with the target domain name exists in at least one domain name resolution task, determining the IP address corresponding to the application domain name as the target IP address corresponding to the domain name resolution request, and accessing a corresponding server based on the target IP address.
In the embodiment of the application, after the intelligent terminal extracts the target domain name carried in the domain name resolution request from the domain name resolution request, it may be determined whether an application domain name matched with the target domain name exists in at least one domain name resolution task.
In one possible implementation manner, when the intelligent terminal determines that the application domain name matched with the target domain name exists in at least one domain name resolution task, determining the IP address corresponding to the application domain name as the target IP address corresponding to the domain name resolution request.
In this way, in the embodiment of the present application, the resolution processing may be performed on the front end of at least one domain name resolution task, so that the domain name resolution speed in the use process of the target application may be greatly improved, and the problem of blocking caused by slow domain name resolution request processing may be effectively solved.
In one possible implementation manner, when the intelligent terminal determines that the application domain name matched with the target domain name does not exist in at least one domain name resolution task, the intelligent terminal can judge whether to execute the acceleration forwarding strategy on the domain name resolution request based on a preset domain name matching rule and the target domain name; the domain name matching rule and the acceleration forwarding policy are acquired when a start request is received.
Referring to fig. 10, fig. 10 is a schematic diagram illustrating a relationship between a domain name matching rule and an acceleration forwarding policy in an embodiment of the present application. Wherein, the acceleration forwarding policy or the direct forwarding policy can be determined to be executed subsequently based on the regular expression included in the domain name matching rule. Specifically, a regular expression may be understood as a preset domain name format.
In this embodiment of the present application, if the accelerated forwarding policy is executed, please continue to refer to fig. 2, a forwarding path from the operator network channel 201 to the accelerated network channel 202 and then to the first domain name resolution server 204 is executed for the domain name resolution request; if the direct forwarding policy is executed, as shown in fig. 2, a forwarding path from the carrier network channel 201 to the public network channel 203 and then to the second domain name resolution server 205 is executed for the domain name resolution request.
In the embodiment of the application, the intelligent terminal may determine whether to execute the accelerated forwarding policy on the domain name resolution request in the following manner, but is not limited to the following manner:
step a: determining whether the target domain name is matched with the domain name included in the domain name matching rule;
step b: and executing the acceleration forwarding strategy on the domain name resolution request when the target domain name is determined to be matched with the domain name included in the domain name matching rule.
In embodiments of the present application, whether to perform the expedited forwarding policy on the domain name resolution request may be determined based on whether the target domain name matches a domain name included in the domain name matching rule. By the method, the processing mode of the domain name resolution request can be simply and efficiently determined, and therefore the processing efficiency of the domain name resolution request is improved.
For example, the domain name included in the domain name matching rule may be a domain name in a preset format determined based on a regular expression, where the domain name in the preset format may be set as a domain name performing an accelerated forwarding policy.
Optionally, when the intelligent terminal determines to execute the acceleration forwarding policy on the domain name resolution request, forwarding the domain name resolution request to a corresponding target domain name resolution server through a corresponding acceleration network channel.
In the embodiment of the application, the intelligent terminal can determine the target position of the electronic equipment for sending the domain name resolution request; based on the target position of the electronic equipment, determining a corresponding target domain name resolution server by combining the mapping relation between each position and each domain name resolution server; forwarding the domain name resolution server request to the target domain name resolution server. The mapping relation between each position and each domain name resolution server can be updated and set based on actual requirements.
In a specific implementation process, assuming that the existing region division rule determines the mapping relationship between each position and each domain name resolution server, if the electronic device 1 is in the region a, the corresponding domain name resolution server is the domain name resolution service 1, and if the electronic device is in the region B, the corresponding domain name resolution service is the domain name resolution server 2, and of course, the mapping relationship between each position and each domain name resolution server may be determined by applying the mapping relationship to a national suit or an external suit or by other methods, which is not limited in the embodiment of the present application.
In the embodiment of the present application, after the intelligent terminal receives the IP address fed back by the target domain name resolution server, the IP address fed back by the target domain name resolution server may be used as the target IP address corresponding to the target domain name.
Therefore, in the embodiment of the application, the intelligent terminal can forward the real-time domain name resolution request sent by the target application through the acceleration channel, so that the problem of domain name resolution failure can be effectively solved, and the success rate of the domain name resolution request is improved.
Optionally, when the intelligent terminal determines that the domain name resolution request does not execute the acceleration forwarding policy in the domain name matching rule, the domain name resolution request may be sent to the target domain name resolution server through the public network channel, and then the IP address fed back by the target domain name resolution server is used as the target IP address corresponding to the target domain name.
For example, referring to fig. 11, fig. 11 is a schematic diagram illustrating a domain name resolution request processing in an embodiment of the present application. When the intelligent terminal determines that the target domain name carried in the domain name resolution request is matched with the domain name in the regular expression executing the acceleration forwarding strategy, and the target domain name carried in the domain name resolution request is not matched with the regular expression executing the direct connection forwarding strategy, executing the acceleration forwarding strategy.
In the embodiment of the application, after the intelligent terminal determines the IP address corresponding to the domain name resolution request, the intelligent terminal can access the IP address, so that the rapid starting of the target application is realized, and the use experience of a user in the use process of the target application program is further improved. For example, referring to fig. 12, fig. 12 is a schematic diagram of a display interface of a target application according to an embodiment of the present application.
In the embodiments of the present application, in order to better describe the method provided in the embodiments of the present application, a specific embodiment is described below. Referring to fig. 13, fig. 13 is a schematic flow chart of an acceleration method according to an embodiment of the present application. In this embodiment, the target application is described as the game application.
Step 1301: an acceleration request for a gaming application is received.
In this embodiment, the user may choose to open an accelerator application on the intelligent terminal and then choose a game application to be accelerated so that the intelligent terminal may receive an acceleration request for the game application.
Step 1302: based on the acceleration request, domain name matching rules, acceleration network channels and a domain name resolution task list are obtained from an acceleration server.
In this embodiment, when the intelligent terminal receives an acceleration request for a game application, firstly, based on an application domain name carried in the acceleration request, a domain name matching rule, an acceleration network channel and a domain name resolution task list are obtained from an acceleration server through a rule configured in advance. Wherein the rules of the preset configuration may be determined based on historical experience, and the rules of the preset configuration may be updated based on actual implementation.
In this embodiment, the domain name resolution task list includes www.zz.com, www.ss.cn, and www.qq.com. The acceleration network channel is region 1 corresponding to acceleration network channel 2 and region 2 corresponding to acceleration network channel 2. The domain name configuration rule is that the preset domain name format in the acceleration forwarding strategy is equal to or less than qq/co, and the preset domain name format in the direct forwarding strategy is equal to or less than qq/cn.
Step 1303: it is determined whether there are unexecuted domain name resolution tasks in the domain name resolution task list. If there is a domain name resolution task in the domain name resolution task list that is not executed, then step 1304 is executed; if there are no unexecuted domain name resolution tasks in the domain name resolution task list, step 1306 is executed.
In this implementation, after the intelligent terminal receives the start request for the game application, it is determined whether the tasks in the domain name resolution task list are all executed and completed.
Step 1304: and forwarding a domain name resolution request comprising a domain name corresponding to the unexecuted domain name resolution task through the acceleration network channel to obtain a corresponding IP address.
In this implementation, when the intelligent terminal determines that the resolution task list includes a domain name resolution task that is not executed, the intelligent terminal may forward a domain name resolution request including a domain name corresponding to the domain name resolution task that is not executed based on the acceleration network channel, so that a corresponding IP address may be obtained.
Step 1305: the obtained IP address and the corresponding domain name are cached in a key value pair mode. After the buffering is finished, step 1303 is returned.
In this embodiment, after determining that the tasks in the domain name resolution task list are all executed, the intelligent terminal confirms that acceleration is successful. In addition, the domain name in the domain name resolution task list and the corresponding IP address can be cached to the intelligent terminal in a key value pair mode.
In this embodiment, the caches include www.zz.com-11.13.14.24, www.ss.cn-22.21.15.17, and www.qq.com-111.23.23.34.
Step 1306: and intercepting the message sent by the game application through the virtual network card.
In this embodiment, the intelligent terminal may locally establish a virtual network card, and then intercept a message sent by the game application through the virtual network card.
Step 1307: and judging whether the message is a domain name resolution request message. When it is determined that the message is a domain name resolution request message, step 1308 is performed; when it is determined that the message is not a domain name resolution request message, step 1316 is performed.
In this embodiment, the intelligent terminal may analyze the intercepted message to determine whether the message is a domain name resolution request message.
Step 1308: and extracting the target domain name included in the message.
In this embodiment, when the intelligent terminal determines that the intercepted message is a domain name resolution request message, a domain name included in the message may be extracted, so that a target domain name included in the message may be obtained.
Step 1309: it is determined whether the same application domain name exists in the cache as the target domain name. When it is determined that the application domain name that is the same as the target domain name exists in the cache, step 1310 is performed; when it is determined that the same application domain name as the target domain name does not exist in the cache, step 1311 is performed.
In this embodiment, the intelligent terminal may match the target domain name extracted from the packet with the application domain name cached in the cache.
Step 1310: and determining a target IP address corresponding to the application domain name corresponding to the target domain name in the cache, and feeding back the target IP address to the game application, so that the game application accesses a corresponding server based on the target IP address.
In this embodiment, if the target domain name is www.qq.com, it may be determined that the cache corresponding to the domain name resolution task list includes the target domain name, so that it may be determined that the IP address corresponding to the target domain name is 111.23.23.34.
In this embodiment, when the intelligent terminal determines that the target domain name extracted from the packet is successfully matched with the application domain name cached in the cache, the target IP address corresponding to the application domain name corresponding to the target domain name in the cache may be determined. And then feeding back the target IP address to the game application, so that the game application accesses the corresponding server based on the target IP address, and the application acceleration flow is ended.
Thus, the domain name resolution speed in the using process of the game application is greatly improved by pre-processing the domain name resolution task; and the problems of game card, slow and disconnection and the like caused by slow processing of the domain name resolution request are effectively solved.
Step 1311: and determining whether the target domain name is matched with the domain name corresponding to the acceleration forwarding strategy in the domain name matching rule. When it is determined that the target domain name matches the domain name corresponding to the forwarding acceleration policy in the domain name matching rule, step 1312 is performed; when it is determined that the target domain name does not match the domain name corresponding to the forwarding acceleration policy in the domain name matching rule, step 1314 is performed.
In this embodiment, if the target domain name is zzz.qq.com, the target domain name matches the domain name corresponding to the forwarding policy in the domain name matching rule, that is, the zzz.qq.com satisfies the preset domain name format of \qq\co.
Step 1312: forwarding a domain name resolution request message to a target domain name resolution server based on the acceleration network channel.
In this embodiment, after determining that the target domain name matches the domain name corresponding to the forwarding acceleration policy in the domain name matching rule, if it is determined that the location of the intelligent terminal corresponding to the game application belongs to the area 1, the domain name resolution request packet may be forwarded to the target domain name resolution server 1 based on the acceleration network channel 1.
Step 1313: and receiving the target IP address fed back by the target domain name resolution server, and feeding back the target IP address to the game application, so that the game application accesses the corresponding server based on the target IP address.
In this embodiment, the intelligent terminal may receive the target IP address corresponding to the target domain name zz.qq.com, i.e. 111.23.23.34, sent by the target domain name resolution server 1.
In this way, the problem of domain name resolution failure can be effectively solved by accelerating the network channel 1 to forward the real-time domain name resolution request, namely the domain name resolution request message, especially the problem that the game application cannot enter due to the domain name resolution failure of the game application in the external area, thereby realizing acceleration of the game application.
Step 1314: forwarding the domain name resolution request message to the target domain name resolution server based on the direct connection forwarding strategy.
In this embodiment, if the target domain name is zz.qq.cn, the intelligent terminal determines that the domain name resolution request message does not hit the acceleration forwarding policy, that is, the target domain name is not matched with the preset domain name format for executing the acceleration forwarding policy in the domain name matching rule.
In this embodiment, the intelligent terminal matches the target domain name with the domain name corresponding to the direct-connection forwarding policy in the domain name matching rule, that is, the zzz.qq.com satisfies the preset domain name format of \qq\cn. Therefore, the domain name resolution request message can be forwarded to the target domain name resolution server 2 based on the direct connection forwarding strategy, namely, the domain name resolution request message is forwarded to the target domain name resolution server 2 directly through a public network channel.
Further, the target domain name resolution server finishes resolving the game domain name resolution request, and feeds back the corresponding IP address to the intelligent terminal, so that the application acceleration process is finished.
It should be noted that, the target domain name resolution server 1 corresponding to the acceleration forwarding policy and the target domain name server 2 corresponding to the direct connection forwarding policy may be the same domain name server or may be different domain name resolution servers, which is not limited in this application.
Step 1315: and receiving the target IP address fed back by the target domain name resolution server, and feeding back the target IP address to the game application, so that the game application accesses the corresponding server based on the target IP address.
In this embodiment, the intelligent terminal may receive the target IP address corresponding to the target domain name zz.qq.cn, i.e. 112.23.23.34, sent by the target domain name resolution server 2.
Therefore, the problem of domain name resolution failure can be effectively solved by forwarding the real-time domain name resolution request through the direct connection channel, namely the public network channel, and acceleration of game application is realized.
Step 1316: judging whether the intercepted message is an IP protocol message or not. When it is determined that the intercepted message is an IP protocol message, step 1317 is performed. When it is determined that the intercepted message is an IP protocol message, step 1318 is performed.
Step 1317: and accelerating and forwarding the intercepted message to a server corresponding to the game application.
Step 1318: and the intercepted message is not processed.
In this embodiment, when the intelligent terminal determines that the received message is not a domain name resolution request message, it further determines whether the message is an IP protocol message. Further, when the intelligent terminal determines that the intercepted message is an IP protocol message, the message is forwarded to a server corresponding to the game application, and when the intelligent terminal determines that the intercepted message is not the IP protocol message, the message is not processed, so that the processing flow of accelerating the application is ended.
Based on the same inventive concept, the embodiment of the present application further provides an application acceleration device, fig. 14 shows that the application acceleration device provided in the embodiment of the present application may be provided in an intelligent terminal, and referring to fig. 14, the application acceleration device 1400 includes an obtaining unit 1401, an obtaining unit 1402, a determining unit 1403, and a processing unit 1404.
An obtaining unit 1401, configured to obtain at least one domain name resolution task to be executed when receiving an acceleration request for a target application; wherein each domain name resolution task comprises: application domain names of other applications to be accessed by the target application;
An obtaining unit 1402, configured to perform the at least one domain name resolution task, and obtain internet protocol IP addresses corresponding to application domain names included in the at least one domain name resolution task respectively;
a determining unit 1403, configured to intercept a domain name resolution request sent by the target application and determine a target domain name carried in the domain name resolution request if it is determined that the at least one domain name resolution task is performed when a start request for the target application is received;
and a processing unit 1404, configured to determine, if an application domain name matching the target domain name exists in the at least one domain name resolution task, an IP address corresponding to the application domain name as a target IP address corresponding to the domain name resolution request, and access a corresponding server based on the target IP address.
Optionally, the obtaining unit 1402 is specifically configured to:
for the at least one domain name resolution task, respectively performing the following operations:
constructing an acceleration domain name resolution request based on the application domain name corresponding to each domain name resolution task;
forwarding the acceleration domain name resolution request to a target domain name resolution server corresponding to the acceleration domain name resolution request based on a target acceleration network channel determined by the acceleration request;
And taking the IP address fed back by the target domain name resolution server as the IP address corresponding to the application domain name contained in each acceleration domain name resolution task.
Optionally, the processing unit 1404 is further configured to:
judging whether to execute an acceleration forwarding strategy on the domain name resolution request or not based on a preset domain name matching rule and the target domain name; the domain name matching rule and the acceleration forwarding strategy are acquired when the starting request is received;
when the acceleration forwarding strategy is determined to be executed on the domain name resolution request, forwarding the domain name resolution request to a corresponding target domain name resolution server through a corresponding acceleration network channel;
and taking the IP address fed back by the target domain name resolution server as a target IP address corresponding to the target domain name.
Optionally, the processing unit 1404 is further configured to:
determining whether the target domain name is matched with a domain name included in the domain name matching rule;
and executing an acceleration forwarding strategy on the domain name resolution request when the target domain name is determined to be matched with the domain name included by the domain name matching rule.
Optionally, the processing unit 1404 is further configured to:
Determining a target position of the electronic equipment for sending the domain name resolution request;
based on the target position of the electronic equipment, determining a corresponding target domain name resolution server by combining the mapping relation between each position and each domain name resolution server;
forwarding the domain name resolution server request to the target domain name resolution server.
Optionally, the processing unit 1404 is further configured to:
when the domain name resolution request is determined not to execute the acceleration forwarding strategy in the domain name matching rule, the domain name resolution request is sent to the target domain name resolution server through a public network channel;
and taking the IP address fed back by the target domain name resolution server as a target IP address corresponding to the target domain name.
Optionally, the apparatus further comprises a storage unit configured to:
and storing the IP address and the corresponding application domain name in a key value pair mode.
For convenience of description, the above parts are respectively described as functionally divided into modules. Of course, the functions of each module may be implemented in the same piece or pieces of software or hardware when implementing the present application.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
The specific implementation manner of each module in the apparatus in the above embodiment has been described in detail in the embodiment related to the method, and will not be described in detail herein.
The principle of solving the problem of the electronic device is similar to that of the method of the above embodiment, so that the implementation of the electronic device can be referred to the implementation of the method, and the repetition is omitted.
Referring to fig. 15, fig. 15 is a block diagram of an electronic device 1500, according to an example embodiment, the apparatus comprising:
a processor 1501;
a memory 1502 for storing operations executable by the processor 1501;
wherein the processor 1501 is configured to perform the operations to implement the application acceleration method in the embodiments of the present disclosure, such as the steps shown in fig. 3.
In an exemplary embodiment, a storage medium is also provided that includes operations, such as memory 1502 including operations that are executable by processor 1501 of electronic device 1500 to perform the above-described methods.
Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Based on the same inventive concept, the embodiment of the application also provides an intelligent terminal 101, wherein the intelligent terminal 101 can be an electronic device such as a smart phone, a tablet computer, a portable computer or a PC. The first client and the second client can be understood as an intelligent terminal.
Referring to fig. 16, the smart terminal 101 includes a display unit 1640, a processor 1680 and a memory 1620, wherein the display unit 1640 includes a display panel 1641 for displaying information input by a user or provided to the user, various object selection interfaces of the smart terminal 101, and the like, and in this embodiment is mainly used for displaying related operation interfaces, shortcut windows, and the like of social software installed in the smart terminal 101. Alternatively, the display panel 1641 may be configured in the form of an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode) or the like.
The processor 1680 is configured to read the computer program and then execute a method defined by the computer program, for example, the processor 1680 reads an application program of the social software, thereby running the social software on the smart terminal 101 and displaying an operation interface related to the social software on the display unit 1640. The processor 1680 may include one or more general-purpose processors and may also include one or more DSPs (Digital Signal Processor, digital signal processors) for performing related operations to implement the techniques provided by the embodiments of the present application.
Memory 1620 generally includes memory and external memory, which may be Random Access Memory (RAM), read Only Memory (ROM), and CACHE memory (CACHE), among others. The external memory can be a hard disk, an optical disk, a USB disk, a floppy disk, a tape drive, etc. The memory 1620 is used to store computer programs including applications corresponding to respective software, etc., and other data, which may include data generated after the operating system or the applications are run, including system data (e.g., configuration parameters of the operating system) and user data. The program instructions in the embodiments of the present application are stored in the memory 1620, and the processor 1680 executes the program instructions in the memory 1620 to implement the functions of the application acceleration method discussed above.
Further, the smart terminal 101 may further include a display unit 1640 for receiving input digital information, character information, or touch operation/noncontact gestures, and generating signal inputs related to user settings and function controls of the smart terminal 101, and the like. Specifically, in the embodiment of the present application, the display unit 1640 may include a display panel 1641. The display panel 1641, such as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of a target object on the display panel 1641 or on the display panel 1641 using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the display panel 1641 may include two parts, a touch detection device and a touch controller. The touch detection device comprises a touch controller, a touch detection device and a touch control device, wherein the touch detection device is used for detecting a touch direction of a user, detecting a signal brought by touch operation and transmitting the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 1680, and can receive commands from the processor 1680 and execute them. In this embodiment of the present application, if the user performs the selection operation on the associated subroutine, the touch detection device in the display panel 1641 detects the touch operation, and then the touch controller sends a signal corresponding to the detected touch operation, the touch controller converts the signal into contact coordinates and sends the contact coordinates to the processor 1680, and the processor 1680 determines the associated subroutine selected by the user according to the received contact coordinates, and controls the display panel 1641 to display an interface for inputting the login account number and the login password, or controls the display panel 1641 to display an interface for successfully logging in the associated subroutine.
The display panel 1641 may be implemented with various types of resistive, capacitive, infrared, and surface acoustic wave. In addition to the display unit 1640, the smart terminal 101 may further include an input unit 1630, and the input unit 1630 may include one or more of, but not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc. In fig. 16, the input unit 1630 includes an image input device 1631 and other input devices 1632 as an example.
In addition to the above, the smart terminal 101 may also include a power supply 1690 for powering other modules, audio circuitry 1660, near field communication module 1670, and RF circuitry 1610. The intelligent terminal 101 may also include one or more sensors 1650, such as acceleration sensors, light sensors, pressure sensors, and the like. The audio circuit 1660 specifically includes a speaker 1661 and a microphone 1662, for example, a user can use voice control, and the intelligent terminal 101 can collect user's voice through the microphone 1662, can control the user's voice, and play a corresponding alert sound through the speaker 1661 when the user needs to be alerted.
Based on the same inventive concept, the embodiment of the present application further provides a server 200, where the server 200 may be the acceleration server described above.
Referring to fig. 17, the server 170 is embodied in the form of a general-purpose server. Components of server 170 may include, but are not limited to: the at least one processing unit 1701, the at least one memory unit 1702, and a bus 1703 that connects the different system components (including the memory unit 1702 and the processing unit 1701).
Bus 1703 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, and a local bus using any of a variety of bus architectures.
The storage unit 1702 may include a readable medium in the form of volatile memory, such as Random Access Memory (RAM) 1721 and/or cache memory unit 1722, and may further include Read Only Memory (ROM) 1723.
The storage unit 1702 may also include a program/utility 1725 having a set (at least one) of program modules 1724, such program modules 1724 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The server 170 may also be in communication with one or more external devices 1704 (e.g., keyboard, pointing device, etc.), one or more devices that enable a user to interact with the server 170, and/or any device (e.g., router, modem, etc.) that enables the server 170 to communicate with one or more other servers. Such communication may occur through an input/output (I/O) interface 1705. Also, the server 170 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet through the network adapter 1706. As shown, the network adapter 1706 communicates with other modules for the server 170 via bus 1703. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with server 170, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
Various aspects of the application acceleration method provided herein may also be implemented in the form of a program product comprising program code for causing an electronic device to carry out the steps of the application acceleration method according to the various exemplary embodiments of the application described herein above when the program product is run on the electronic device, e.g. the electronic device may carry out the steps as shown in fig. 3, based on the same inventive concept as the above described method embodiments.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product of embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code and may run on a server. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a command execution system, apparatus, or device.
The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (15)

1. An application acceleration method, the method comprising:
when an acceleration request aiming at a target application is received, acquiring at least one domain name resolution task to be executed; wherein each domain name resolution task comprises: application domain names of other applications to be accessed by the target application;
executing the at least one domain name resolution task to respectively obtain Internet Protocol (IP) addresses corresponding to application domain names contained in the at least one domain name resolution task;
when a starting request aiming at the target application is received, if the completion of the execution of the at least one domain name resolution task is determined, intercepting the domain name resolution request sent by the target application, and determining a target domain name carried in the domain name resolution request;
If the application domain name matched with the target domain name exists in the at least one domain name resolution task, determining an IP address corresponding to the application domain name as a target IP address corresponding to the domain name resolution request, and accessing a corresponding server based on the target IP address.
2. The method of claim 1, wherein performing the at least one domain name resolution task to obtain IP addresses corresponding to application domain names included in the at least one domain name resolution task, respectively, comprises:
for the at least one domain name resolution task, respectively performing the following operations:
constructing an acceleration domain name resolution request based on the application domain name corresponding to each domain name resolution task;
forwarding the acceleration domain name resolution request to a target domain name resolution server corresponding to the acceleration domain name resolution request based on a target acceleration network channel determined by the acceleration request;
and taking the IP address fed back by the target domain name resolution server as the IP address corresponding to the application domain name contained in each acceleration domain name resolution task.
3. The method of claim 1, wherein if it is determined that there is no application domain name matching the target domain name in the at least one domain name resolution task, the method further comprises:
Judging whether to execute an acceleration forwarding strategy on the domain name resolution request or not based on a preset domain name matching rule and the target domain name; the domain name matching rule and the acceleration forwarding strategy are acquired when the starting request is received;
when the acceleration forwarding strategy is determined to be executed on the domain name resolution request, forwarding the domain name resolution request to a corresponding target domain name resolution server through a corresponding acceleration network channel;
and taking the IP address fed back by the target domain name resolution server as a target IP address corresponding to the target domain name.
4. The method of claim 3, wherein determining whether to perform an expedited forwarding policy for the domain name resolution request based on a preset domain name matching rule and the target domain name comprises:
determining whether the target domain name is matched with a domain name included in the domain name matching rule;
and executing an acceleration forwarding strategy on the domain name resolution request when the target domain name is determined to be matched with the domain name included by the domain name matching rule.
5. The method of claim 3, wherein forwarding the domain name resolution request to a corresponding target domain name resolution server comprises:
Determining a target position of the electronic equipment for sending the domain name resolution request;
based on the target position of the electronic equipment, determining a corresponding target domain name resolution server by combining the mapping relation between each position and each domain name resolution server;
forwarding the domain name resolution server request to the target domain name resolution server.
6. A method as claimed in claim 3, wherein the method further comprises:
when the domain name resolution request is determined not to execute the acceleration forwarding strategy in the domain name matching rule, the domain name resolution request is sent to the target domain name resolution server through a public network channel;
and taking the IP address fed back by the target domain name resolution server as a target IP address corresponding to the target domain name.
7. The method according to any one of claims 1-6, wherein after obtaining the IP addresses corresponding to the application domain names included in each of the at least one domain name resolution task, the method further includes:
and storing the IP address and the corresponding application domain name in a key value pair mode.
8. An application acceleration apparatus, the apparatus comprising:
the acquisition unit is used for acquiring at least one domain name resolution task to be executed when receiving an acceleration request aiming at a target application; wherein each domain name resolution task comprises: application domain names of other applications to be accessed by the target application;
The obtaining unit is used for executing the at least one domain name resolution task and respectively obtaining Internet Protocol (IP) addresses corresponding to application domain names contained in the at least one domain name resolution task;
the determining unit is used for intercepting a domain name resolution request sent by the target application and determining a target domain name carried in the domain name resolution request if the at least one domain name resolution task is determined to be executed when a starting request aiming at the target application is received;
and the processing unit is used for determining the IP address corresponding to the application domain name as the target IP address corresponding to the domain name resolution request if the application domain name matched with the target domain name exists in the at least one domain name resolution task, and accessing a corresponding server based on the target IP address.
9. The apparatus according to claim 8, wherein the obtaining unit is specifically configured to:
for the at least one domain name resolution task, respectively performing the following operations:
constructing an acceleration domain name resolution request based on the application domain name corresponding to each domain name resolution task;
forwarding the acceleration domain name resolution request to a target domain name resolution server corresponding to the acceleration domain name resolution request based on a target acceleration network channel determined by the acceleration request;
And taking the IP address fed back by the target domain name resolution server as the IP address corresponding to the application domain name contained in each acceleration domain name resolution task.
10. The apparatus of claim 8, wherein the processing unit is further to:
judging whether to execute an acceleration forwarding strategy on the domain name resolution request or not based on a preset domain name matching rule and the target domain name; the domain name matching rule and the acceleration forwarding strategy are acquired when the starting request is received;
when the acceleration forwarding strategy is determined to be executed on the domain name resolution request, forwarding the domain name resolution request to a corresponding target domain name resolution server through a corresponding acceleration network channel;
and taking the IP address fed back by the target domain name resolution server as a target IP address corresponding to the target domain name.
11. The apparatus of claim 10, wherein the processing unit is further to:
determining whether the target domain name is matched with a domain name included in the domain name matching rule;
and executing an acceleration forwarding strategy on the domain name resolution request when the target domain name is determined to be matched with the domain name included by the domain name matching rule.
12. The apparatus of claim 10, wherein the processing unit is further to:
determining a target position of the electronic equipment for sending the domain name resolution request;
based on the target position of the electronic equipment, determining a corresponding target domain name resolution server by combining the mapping relation between each position and each domain name resolution server;
forwarding the domain name resolution server request to the target domain name resolution server.
13. The apparatus of claim 10, wherein the processing unit is further to:
when the domain name resolution request is determined not to execute the acceleration forwarding strategy in the domain name matching rule, the domain name resolution request is sent to the target domain name resolution server through a public network channel;
and taking the IP address fed back by the target domain name resolution server as a target IP address corresponding to the target domain name.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of claims 1-7 when the program is executed.
15. A computer readable storage medium, characterized in that it comprises a program code for causing an electronic device to perform the steps of the method according to any one of claims 1-7, when the program product is run on said electronic device.
CN202111492465.XA 2021-12-08 2021-12-08 Application acceleration method and device, electronic equipment and storage medium Pending CN116248630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111492465.XA CN116248630A (en) 2021-12-08 2021-12-08 Application acceleration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111492465.XA CN116248630A (en) 2021-12-08 2021-12-08 Application acceleration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116248630A true CN116248630A (en) 2023-06-09

Family

ID=86630068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111492465.XA Pending CN116248630A (en) 2021-12-08 2021-12-08 Application acceleration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116248630A (en)

Similar Documents

Publication Publication Date Title
US11206451B2 (en) Information interception processing method, terminal, and computer storage medium
US10009335B2 (en) Global unified session identifier across multiple data centers
CN109395400B (en) Cross-game chat information processing method and device, electronic equipment and storage medium
US9749143B2 (en) Web real-time communication call transferring method and apparatus
US10789614B2 (en) Method and system for issuing recommended information
KR102304086B1 (en) An electronic device providing dialog contents, server and method thereof
US20170371508A1 (en) Menu management method, server, and system
CN111414208B (en) Application program starting method, device and equipment
US9973513B2 (en) Method and apparatus for communication number update
US10863312B2 (en) Moving track sharing method and apparatus, and storage medium
WO2014101521A1 (en) Geographical location-based communication method, mobile terminal, server, and system
CN111478849B (en) Service access method, device and storage medium
US10165392B2 (en) Access of virtual resources based on a contextual frame of reference
CN106254319B (en) Light application login control method and device
US20200228611A1 (en) System and method for coupling two separate applications to an application session within a serverless infrastructure
CN103997482A (en) Method of user registration in desktop cloud service, and system
US11144629B2 (en) Point and click authentication
WO2015085735A1 (en) Information requesting method and system
WO2019119280A1 (en) Service processing method, cloud server, and terminal device
US9930038B1 (en) Probabilistically expedited secure connections via connection parameter reuse
US10133442B2 (en) Method and apparatus for accessing a chat room
CN114390239B (en) Communication method, device, system, electronic device, and storage medium
CN116248630A (en) Application acceleration method and device, electronic equipment and storage medium
WO2015123986A1 (en) Data recording method and system, and access server
US9930489B2 (en) Distance display method based on social networking application, terminal, and server

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40088391

Country of ref document: HK